Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/thermal/qcom/
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() argument
243 return regmap_bulk_read(adc_tm->regmap, adc_tm->base + offset, data, len); in adc_tm5_read()
246 static int adc_tm5_write(struct adc_tm5_chip *adc_tm, u16 offset, u8 *data, int len) in adc_tm5_write() argument
248 return regmap_bulk_write(adc_tm->regmap, adc_tm->base + offset, data, len); in adc_tm5_write()
251 static int adc_tm5_reg_update(struct adc_tm5_chip *adc_tm, u16 offset, u8 mask, u8 val) in adc_tm5_reg_update() argument
253 return regmap_write_bits(adc_tm->regmap, adc_tm->base + offset, mask, val); in adc_tm5_reg_update()
668 static int adc_tm5_register_tzd(struct adc_tm5_chip *adc_tm) in adc_tm5_register_tzd() argument
673 for (i = 0; i < adc_tm->nchannels; i++) { in adc_tm5_register_tzd()
674 adc_tm->channels[i].chip = adc_tm; in adc_tm5_register_tzd()
675 tzd = devm_thermal_of_zone_register(adc_tm->dev, in adc_tm5_register_tzd()
[all …]