Searched refs:reporting_modes (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | apds990x.c | 833 static const char *reporting_modes[] = {"trigger", "periodic"}; variable 841 reporting_modes[!!chip->prox_continuous_mode]); in apds990x_prox_reporting_mode_show() 851 ret = sysfs_match_string(reporting_modes, buf); in apds990x_prox_reporting_mode_store() 866 return sprintf(buf, "%s %s\n", reporting_modes[0], reporting_modes[1]); in apds990x_prox_reporting_avail_show()
|
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | apds990x.c | 833 static const char *reporting_modes[] = {"trigger", "periodic"}; variable 841 reporting_modes[!!chip->prox_continuous_mode]); in apds990x_prox_reporting_mode_show() 851 ret = sysfs_match_string(reporting_modes, buf); in apds990x_prox_reporting_mode_store() 866 return sprintf(buf, "%s %s\n", reporting_modes[0], reporting_modes[1]); in apds990x_prox_reporting_avail_show()
|
Completed in 6 milliseconds