Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/qcom/
H A Dqcom-spmi-adc-tm5.c241 static int adc_tm5_read(struct adc_tm5_chip *adc_tm, u16 offset, u8 *data, int len) in adc_tm5_read() function
262 ret = adc_tm5_read(chip, ADC_TM5_STATUS_LOW, &status_low, sizeof(status_low)); in adc_tm5_isr()
268 ret = adc_tm5_read(chip, ADC_TM5_STATUS_HIGH, &status_high, sizeof(status_high)); in adc_tm5_isr()
282 ret = adc_tm5_read(chip, ADC_TM5_M_EN(ch), &ctl, sizeof(ctl)); in adc_tm5_isr()
311 ret = adc_tm5_read(chip, ADC_TM_GEN2_STATUS_LOW_CLR, &status_low, sizeof(status_low)); in adc_tm5_gen2_isr()
427 ret = adc_tm5_read(chip, ADC_TM_GEN2_CFG_HS_SET, &data, sizeof(data)); in adc_tm5_gen2_conv_req()
456 ret = adc_tm5_read(chip, ADC_TM_GEN2_CH_CTL, &val, sizeof(val)); in adc_tm5_gen2_disable_channel()
517 ret = adc_tm5_read(chip, reg, buf, sizeof(buf)); in adc_tm5_configure()
577 ret = adc_tm5_read(chip, ADC_TM_GEN2_SID, buf, sizeof(buf)); in adc_tm5_gen2_configure()
726 ret = adc_tm5_read(chip, ADC_TM5_NUM_BTM, in adc_tm5_init()
[all …]