Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/iio/light/
Dtsl2583.c117 static struct taos_lux taos_device_lux[11] = { variable
274 for (p = (struct taos_lux *) taos_device_lux; in taos_get_lux()
692 for (i = 0; i < ARRAY_SIZE(taos_device_lux); i++) { in taos_luxtable_show()
694 taos_device_lux[i].ratio, in taos_luxtable_show()
695 taos_device_lux[i].ch0, in taos_luxtable_show()
696 taos_device_lux[i].ch1); in taos_luxtable_show()
697 if (taos_device_lux[i].ratio == 0) { in taos_luxtable_show()
714 int value[ARRAY_SIZE(taos_device_lux)*3 + 1]; in taos_luxtable_store()
725 if ((n % 3) || n < 6 || n > ((ARRAY_SIZE(taos_device_lux) - 1) * 3)) { in taos_luxtable_store()
738 memset(taos_device_lux, 0, sizeof(taos_device_lux)); in taos_luxtable_store()
[all …]