Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/iio/light/
Dtsl2583.c95 int taos_chip_status; member
212 if (chip->taos_chip_status != TSL258X_CHIP_WORKING) { in taos_get_lux()
410 if (chip->taos_chip_status == TSL258X_CHIP_WORKING) { in taos_chip_on()
466 chip->taos_chip_status = TSL258X_CHIP_WORKING; in taos_chip_on()
476 chip->taos_chip_status = TSL258X_CHIP_SUSPENDED; in taos_chip_off()
490 return sprintf(buf, "%d\n", chip->taos_chip_status); in taos_power_state_show()
734 if (chip->taos_chip_status == TSL258X_CHIP_WORKING) in taos_luxtable_store()
825 chip->taos_chip_status = TSL258X_CHIP_UNKNOWN; in taos_probe()
890 if (chip->taos_chip_status == TSL258X_CHIP_WORKING) { in taos_suspend()
892 chip->taos_chip_status = TSL258X_CHIP_SUSPENDED; in taos_suspend()
[all …]