Home
last modified time | relevance | path

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

/drivers/thermal/qcom/
Dqcom-spmi-adc-tm5.c246 static int adc_tm5_write(struct adc_tm5_chip *adc_tm, u16 offset, u8 *data, int len) in adc_tm5_write() function
323 ret = adc_tm5_write(chip, ADC_TM_GEN2_STATUS_LOW_CLR, &status_low, sizeof(status_low)); in adc_tm5_gen2_isr()
329 ret = adc_tm5_write(chip, ADC_TM_GEN2_STATUS_HIGH_CLR, &status_high, sizeof(status_high)); in adc_tm5_gen2_isr()
401 ret = adc_tm5_write(chip, ADC_TM_GEN2_EN_CTL1, &data, 1); in adc_tm5_gen2_conv_req()
408 ret = adc_tm5_write(chip, ADC_TM_GEN2_CFG_HS_SET, &data, 1); in adc_tm5_gen2_conv_req()
415 ret = adc_tm5_write(chip, ADC_TM_GEN2_CONV_REQ, &data, 1); in adc_tm5_gen2_conv_req()
465 ret = adc_tm5_write(chip, ADC_TM_GEN2_CH_CTL, &val, 1); in adc_tm5_gen2_disable_channel()
472 ret = adc_tm5_write(chip, ADC_TM_GEN2_MEAS_IRQ_EN, &val, 1); in adc_tm5_gen2_disable_channel()
494 ret = adc_tm5_write(chip, ADC_TM_EN_CTL1, &data, sizeof(data)); in adc_tm5_enable()
501 ret = adc_tm5_write(chip, ADC_TM_CONV_REQ, &data, sizeof(data)); in adc_tm5_enable()
[all …]