Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dgp2ap020a00f.c246 enum gp2ap020a00f_opmode cur_opmode; member
420 data->cur_opmode = op; in gp2ap020a00f_set_operation_mode()
478 if (data->cur_opmode == GP2AP020A00F_OPMODE_SHUTDOWN) in gp2ap020a00f_alter_opmode()
483 if (data->cur_opmode == GP2AP020A00F_OPMODE_ALS_AND_PS) in gp2ap020a00f_alter_opmode()
501 if (data->cur_opmode != GP2AP020A00F_OPMODE_SHUTDOWN) in gp2ap020a00f_exec_cmd()
507 if (data->cur_opmode != GP2AP020A00F_OPMODE_SHUTDOWN) in gp2ap020a00f_exec_cmd()
513 if (data->cur_opmode != GP2AP020A00F_OPMODE_SHUTDOWN) in gp2ap020a00f_exec_cmd()
519 if (data->cur_opmode == GP2AP020A00F_OPMODE_PROX_DETECT) in gp2ap020a00f_exec_cmd()
630 data->cur_opmode == GP2AP020A00F_OPMODE_PS) in gp2ap020a00f_exec_cmd()
657 data->cur_opmode == GP2AP020A00F_OPMODE_PS) in gp2ap020a00f_exec_cmd()
[all …]