Home
last modified time | relevance | path

Searched refs:als_mutex (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iio/light/
H A Dtsl2583.c99 struct mutex als_mutex; member
477 mutex_lock(&chip->als_mutex); in in_illuminance_input_target_show()
479 mutex_unlock(&chip->als_mutex); in in_illuminance_input_target_show()
495 mutex_lock(&chip->als_mutex); in in_illuminance_input_target_store()
497 mutex_unlock(&chip->als_mutex); in in_illuminance_input_target_store()
513 mutex_lock(&chip->als_mutex); in in_illuminance_calibrate_store()
521 mutex_unlock(&chip->als_mutex); in in_illuminance_calibrate_store()
566 mutex_lock(&chip->als_mutex); in in_illuminance_lux_table_store()
595 mutex_unlock(&chip->als_mutex); in in_illuminance_lux_table_store()
667 mutex_lock(&chip->als_mutex); in tsl2583_read_raw()
[all …]
H A Dtsl2591.c169 struct mutex als_mutex; member
722 mutex_lock(&chip->als_mutex); in tsl2591_read_raw()
773 mutex_unlock(&chip->als_mutex); in tsl2591_read_raw()
790 mutex_lock(&chip->als_mutex); in tsl2591_write_raw()
825 mutex_unlock(&chip->als_mutex); in tsl2591_write_raw()
863 mutex_lock(&chip->als_mutex); in tsl2591_read_event_value()
901 mutex_unlock(&chip->als_mutex); in tsl2591_read_event_value()
919 mutex_lock(&chip->als_mutex); in tsl2591_write_event_value()
970 mutex_unlock(&chip->als_mutex); in tsl2591_write_event_value()
1028 mutex_lock(&chip->als_mutex); in tsl2591_suspend()
[all …]
H A Dtsl2772.c170 struct mutex als_mutex; member
418 mutex_lock(&chip->als_mutex); in tsl2772_get_lux()
495 mutex_unlock(&chip->als_mutex); in tsl2772_get_lux()
847 mutex_lock(&chip->als_mutex); in tsl2772_invoke_change()
860 mutex_unlock(&chip->als_mutex); in tsl2772_invoke_change()
1816 mutex_init(&chip->als_mutex); in tsl2772_probe()