Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dtsl2772.c189 struct tsl2772_lux tsl2772_device_lux[TSL2772_MAX_LUX_TABLE_SIZE]; member
463 for (p = (struct tsl2772_lux *)chip->tsl2772_device_lux; p->ch0 != 0; in tsl2772_get_lux()
634 memcpy(chip->tsl2772_device_lux, in tsl2772_defaults()
638 memcpy(chip->tsl2772_device_lux, in tsl2772_defaults()
986 chip->tsl2772_device_lux[i].ch0, in in_illuminance0_lux_table_show()
987 chip->tsl2772_device_lux[i].ch1); in in_illuminance0_lux_table_show()
988 if (chip->tsl2772_device_lux[i].ch0 == 0) { in in_illuminance0_lux_table_show()
1009 int value[ARRAY_SIZE(chip->tsl2772_device_lux) * 2 + 1]; in in_illuminance0_lux_table_store()
1022 n > ((ARRAY_SIZE(chip->tsl2772_device_lux) - 1) * 2)) in in_illuminance0_lux_table_store()
1035 memset(chip->tsl2772_device_lux, 0, sizeof(chip->tsl2772_device_lux)); in in_illuminance0_lux_table_store()
[all …]