Searched refs:rradc_chip (Results 1 – 1 of 1) sorted by relevance
/drivers/iio/adc/ |
D | qcom-spmi-rradc.c | 216 struct rradc_chip; 236 int (*scale_fn)(struct rradc_chip *chip, u16 adc_code, int *result); 239 struct rradc_chip { struct 257 static int rradc_read(struct rradc_chip *chip, u16 addr, __le16 *buf, int len) in rradc_read() argument 303 static int rradc_get_fab_coeff(struct rradc_chip *chip, int64_t *offset, in rradc_get_fab_coeff() 342 static int rradc_post_process_batt_id(struct rradc_chip *chip, u16 adc_code, in rradc_post_process_batt_id() 356 static int rradc_enable_continuous_mode(struct rradc_chip *chip) in rradc_enable_continuous_mode() 387 static int rradc_disable_continuous_mode(struct rradc_chip *chip) in rradc_disable_continuous_mode() 401 static bool rradc_is_ready(struct rradc_chip *chip, in rradc_is_ready() 425 static int rradc_read_status_in_cont_mode(struct rradc_chip *chip, in rradc_read_status_in_cont_mode() [all …]
|