Searched refs:iadc_read (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/iio/adc/ |
D | qcom-spmi-iadc.c | 126 static int iadc_read(struct iadc_chip *iadc, u16 offset, u8 *data) in iadc_read() function 153 ret = iadc_read(iadc, IADC_PERH_RESET_CTL3, &data); in iadc_reset() 176 ret = iadc_read(iadc, IADC_MODE_CTL, &mode); in iadc_status_show() 180 ret = iadc_read(iadc, IADC_DIG_PARAM, &dig); in iadc_status_show() 184 ret = iadc_read(iadc, IADC_CH_SEL_CTL, &chan); in iadc_status_show() 188 ret = iadc_read(iadc, IADC_CONV_REQ, &req); in iadc_status_show() 192 ret = iadc_read(iadc, IADC_STATUS1, &sta1); in iadc_status_show() 196 ret = iadc_read(iadc, IADC_EN_CTL1, &en); in iadc_status_show() 264 ret = iadc_read(iadc, IADC_STATUS1, &sta1); in iadc_poll_wait_eoc() 408 ret = iadc_read(iadc, IADC_PERPH_TYPE, &val); in iadc_version_check() [all …]
|