Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dlp8788-charger.c137 lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data); in lp8788_is_charger_detected()
155 lp8788_read_byte(pchg->lp, LP8788_CHG_IDCIN, &read); in lp8788_charger_get_property()
173 ret = lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data); in lp8788_get_battery_status()
205 ret = lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data); in lp8788_get_battery_health()
225 ret = lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data); in lp8788_get_battery_present()
267 ret = lp8788_read_byte(lp, LP8788_CHG_STATUS, &data); in lp8788_get_battery_capacity()
312 lp8788_read_byte(pchg->lp, LP8788_CHG_IBATT, &read); in lp8788_get_battery_charging_current()
325 lp8788_read_byte(pchg->lp, LP8788_CHG_VTERM, &read); in lp8788_get_charging_termination_voltage()
602 lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data); in lp8788_show_charger_status()
618 lp8788_read_byte(pchg->lp, LP8788_CHG_EOC, &val); in lp8788_show_eoc_time()
[all …]
/Linux-v5.10/drivers/regulator/
Dlp8788-buck.c179 lp8788_read_byte(buck->lp, LP8788_BUCK_DVS_SEL, &val); in lp8788_get_buck_dvs_ctrl_mode()
219 lp8788_read_byte(buck->lp, LP8788_BUCK_DVS_SEL, &val); in lp8788_select_buck_vout_addr()
242 lp8788_read_byte(buck->lp, LP8788_BUCK_DVS_SEL, &val); in lp8788_select_buck_vout_addr()
284 ret = lp8788_read_byte(buck->lp, addr, &val); in lp8788_buck12_get_voltage_sel()
297 if (lp8788_read_byte(buck->lp, addr, &val)) in lp8788_buck_enable_time()
333 ret = lp8788_read_byte(buck->lp, LP8788_BUCK_PWM, &val); in lp8788_buck_get_mode()
Dlp8788-ldo.c159 if (lp8788_read_byte(ldo->lp, addr, &val)) in lp8788_ldo_enable_time()
/Linux-v5.10/drivers/mfd/
Dlp8788.c122 int lp8788_read_byte(struct lp8788 *lp, u8 reg, u8 *data) in lp8788_read_byte() function
136 EXPORT_SYMBOL_GPL(lp8788_read_byte);
/Linux-v5.10/include/linux/mfd/
Dlp8788.h326 int lp8788_read_byte(struct lp8788 *lp, u8 reg, u8 *data);
/Linux-v5.10/drivers/iio/adc/
Dlp8788_adc.c70 ret = lp8788_read_byte(adc->lp, LP8788_ADC_DONE, &data); in lp8788_get_adc_result()