Lines Matching refs:device_mask
105 u8 device_mask; member
111 .device_mask = RPR0521_MODE_PXS_MASK,
115 .device_mask = RPR0521_MODE_ALS_MASK,
119 .device_mask = RPR0521_MODE_ALS_MASK,
329 u8 device_mask) in rpr0521_set_power_state() argument
334 if (device_mask & RPR0521_MODE_ALS_MASK) { in rpr0521_set_power_state()
339 if (device_mask & RPR0521_MODE_PXS_MASK) { in rpr0521_set_power_state()
722 u8 device_mask; in rpr0521_read_raw() local
734 device_mask = rpr0521_data_reg[chan->address].device_mask; in rpr0521_read_raw()
737 ret = rpr0521_set_power_state(data, true, device_mask); in rpr0521_read_raw()
745 rpr0521_set_power_state(data, false, device_mask); in rpr0521_read_raw()
749 ret = rpr0521_set_power_state(data, false, device_mask); in rpr0521_read_raw()