Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/proximity/
H A Dvcnl3020.c19 #define VCNL_COMMAND 0x80 /* Command register */ macro
164 rc = regmap_read(data->regmap, VCNL_COMMAND, &cmd); in vcnl3020_is_in_periodic_mode()
187 rc = regmap_write(data->regmap, VCNL_COMMAND, VCNL_PS_OD); in vcnl3020_measure_proximity()
192 rc = regmap_read_poll_timeout(data->regmap, VCNL_COMMAND, reg, in vcnl3020_measure_proximity()
380 rc = regmap_write(data->regmap, VCNL_COMMAND, cmd); in vcnl3020_enable_periodic()
409 rc = regmap_write(data->regmap, VCNL_COMMAND, 0); in vcnl3020_disable_periodic()