Searched refs:CM36651_PROXIMITY_EV_EN (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/light/ |
H A D | cm36651.c | 99 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()
|
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | cm36651.c | 99 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()
|
Completed in 3 milliseconds