Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dgp2ap020a00f.c181 #define GP2AP020A00F_THRESH_VAL_ID(reg_addr) ((reg_addr - 4) / 2) macro
916 GP2AP020A00F_THRESH_VAL_ID(GP2AP020A00F_TH_L_REG); in gp2ap020a00f_thresh_event_handler()
930 GP2AP020A00F_THRESH_VAL_ID(GP2AP020A00F_TL_L_REG); in gp2ap020a00f_thresh_event_handler()
1034 thresh_val_id = GP2AP020A00F_THRESH_VAL_ID(thresh_reg_l); in gp2ap020a00f_write_event_val()
1097 *val = data->thresh_val[GP2AP020A00F_THRESH_VAL_ID(thresh_reg_l)]; in gp2ap020a00f_read_event_val()