Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Dtsl2583.c95 struct tsl2583_lux als_device_lux[TSL2583_MAX_LUX_TABLE_ENTRIES]; member
146 memcpy(chip->als_settings.als_device_lux, tsl2583_default_lux, in tsl2583_defaults()
240 for (p = (struct tsl2583_lux *)chip->als_settings.als_device_lux; in tsl2583_get_lux()
535 for (i = 0; i < ARRAY_SIZE(chip->als_settings.als_device_lux); i++) { in in_illuminance_lux_table_show()
537 chip->als_settings.als_device_lux[i].ratio, in in_illuminance_lux_table_show()
538 chip->als_settings.als_device_lux[i].ch0, in in_illuminance_lux_table_show()
539 chip->als_settings.als_device_lux[i].ch1); in in_illuminance_lux_table_show()
540 if (chip->als_settings.als_device_lux[i].ratio == 0) { in in_illuminance_lux_table_show()
589 memcpy(chip->als_settings.als_device_lux, &value[1], in in_illuminance_lux_table_store()