Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dcm36651.c99 CM36651_PROXIMITY_EV_EN, enumerator
214 if (!test_bit(CM36651_PROXIMITY_EV_EN, &cm36651->flags)) { in cm36651_read_output()
285 if (test_bit(CM36651_PROXIMITY_EV_EN, &cm36651->flags)) in cm36651_set_operation_mode()
286 return CM36651_PROXIMITY_EV_EN; in cm36651_set_operation_mode()
292 if (test_bit(CM36651_PROXIMITY_EV_EN, &cm36651->flags)) { in cm36651_set_operation_mode()
297 set_bit(CM36651_PROXIMITY_EV_EN, &cm36651->flags); in cm36651_set_operation_mode()
309 if (!test_bit(CM36651_PROXIMITY_EV_EN, &cm36651->flags)) { in cm36651_set_operation_mode()
314 clear_bit(CM36651_PROXIMITY_EV_EN, &cm36651->flags); in cm36651_set_operation_mode()
557 event_en = test_bit(CM36651_PROXIMITY_EV_EN, &cm36651->flags); in cm36651_read_prox_event_config()