Searched refs:SX9310_REG_PROX_CTRL0 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/proximity/ |
H A D | sx9310.c | 39 #define SX9310_REG_PROX_CTRL0 0x10 macro 203 regmap_reg_range(SX9310_REG_PROX_CTRL0, SX9310_REG_PROX_CTRL19), 218 regmap_reg_range(SX9310_REG_PROX_CTRL0, SX9310_REG_PROX_CTRL19), 275 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &val); in sx9310_wait_for_sample() 319 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, ®val); in sx9310_read_samp_freq() 669 data->regmap, SX9310_REG_PROX_CTRL0, in sx9310_set_samp_freq() 736 { SX9310_REG_PROX_CTRL0, SX9310_REG_PROX_CTRL0_SCANPERIOD_15MS }, 778 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &ctrl0); in sx9310_init_compensation() 783 ret = regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, in sx9310_init_compensation() 794 regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_init_compensation() [all …]
|