Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/mfd/abx500/
Dab8500-gpadc.h53 struct ab8500_gpadc;
55 struct ab8500_gpadc *ab8500_gpadc_get(char *name);
56 int ab8500_gpadc_sw_hw_convert(struct ab8500_gpadc *gpadc, u8 channel,
58 static inline int ab8500_gpadc_convert(struct ab8500_gpadc *gpadc, u8 channel) in ab8500_gpadc_convert()
64 int ab8500_gpadc_read_raw(struct ab8500_gpadc *gpadc, u8 channel,
66 int ab8500_gpadc_double_read_raw(struct ab8500_gpadc *gpadc, u8 channel,
69 int ab8500_gpadc_ad_to_voltage(struct ab8500_gpadc *gpadc,
71 void ab8540_gpadc_get_otp(struct ab8500_gpadc *gpadc,
Dab8500-bm.h456 struct ab8500_gpadc;
/Linux-v5.4/drivers/mfd/
Dab8500-gpadc.c158 struct ab8500_gpadc { struct
176 struct ab8500_gpadc *ab8500_gpadc_get(char *name) in ab8500_gpadc_get() argument
178 struct ab8500_gpadc *gpadc; in ab8500_gpadc_get()
192 int ab8500_gpadc_ad_to_voltage(struct ab8500_gpadc *gpadc, u8 channel, in ab8500_gpadc_ad_to_voltage()
310 int ab8500_gpadc_sw_hw_convert(struct ab8500_gpadc *gpadc, u8 channel, in ab8500_gpadc_sw_hw_convert()
350 int ab8500_gpadc_read_raw(struct ab8500_gpadc *gpadc, u8 channel, in ab8500_gpadc_read_raw()
358 int ab8500_gpadc_double_read_raw(struct ab8500_gpadc *gpadc, u8 channel, in ab8500_gpadc_double_read_raw()
610 struct ab8500_gpadc *gpadc = _gpadc; in ab8500_bm_gpadcconvend_handler()
633 static void ab8500_gpadc_read_calibration_data(struct ab8500_gpadc *gpadc) in ab8500_gpadc_read_calibration_data()
874 struct ab8500_gpadc *gpadc = dev_get_drvdata(dev); in ab8500_gpadc_runtime_suspend()
[all …]
Dab8500-debugfs.c1653 struct ab8500_gpadc *gpadc; in ab8500_gpadc_bat_ctrl_show()
1672 struct ab8500_gpadc *gpadc; in ab8500_gpadc_btemp_ball_show()
1691 struct ab8500_gpadc *gpadc; in ab8500_gpadc_main_charger_v_show()
1710 struct ab8500_gpadc *gpadc; in ab8500_gpadc_acc_detect1_show()
1729 struct ab8500_gpadc *gpadc; in ab8500_gpadc_acc_detect2_show()
1748 struct ab8500_gpadc *gpadc; in ab8500_gpadc_aux1_show()
1767 struct ab8500_gpadc *gpadc; in ab8500_gpadc_aux2_show()
1786 struct ab8500_gpadc *gpadc; in ab8500_gpadc_main_bat_v_show()
1805 struct ab8500_gpadc *gpadc; in ab8500_gpadc_vbus_v_show()
1824 struct ab8500_gpadc *gpadc; in ab8500_gpadc_main_charger_c_show()
[all …]
/Linux-v5.4/drivers/hwmon/
Dab8500.c43 struct ab8500_gpadc *gpadc;
/Linux-v5.4/drivers/power/supply/
Dab8500_btemp.c99 struct ab8500_gpadc *gpadc;
Dab8500_fg.c227 struct ab8500_gpadc *gpadc;
Dab8500_charger.c286 struct ab8500_gpadc *gpadc;