Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dapds9300.c23 #define APDS9300_CMD BIT(7) /* Select command register. Must write as 1 */ macro
93 u8 flags = APDS9300_CMD | APDS9300_WORD; in apds9300_get_adc_val()
120 | APDS9300_CMD | APDS9300_WORD, value); in apds9300_set_thresh_low()
141 | APDS9300_CMD | APDS9300_WORD, value); in apds9300_set_thresh_hi()
161 APDS9300_INTERRUPT | APDS9300_CMD, cmd); in apds9300_set_intr_state()
179 APDS9300_CONTROL | APDS9300_CMD, cmd); in apds9300_set_power_state()
194 ret = i2c_smbus_write_byte(data->client, APDS9300_CLEAR | APDS9300_CMD); in apds9300_clear_intr()
215 APDS9300_CONTROL | APDS9300_CMD); in apds9300_chip_init()