Lines Matching refs:ab8500_btemp
92 struct ab8500_btemp { struct
124 struct ab8500_btemp *ab8500_btemp_get(void) in ab8500_btemp_get() argument
126 struct ab8500_btemp *btemp; in ab8500_btemp_get()
127 btemp = list_first_entry(&ab8500_btemp_list, struct ab8500_btemp, node); in ab8500_btemp_get()
143 static int ab8500_btemp_batctrl_volt_to_res(struct ab8500_btemp *di, in ab8500_btemp_batctrl_volt_to_res()
181 static int ab8500_btemp_read_batctrl_voltage(struct ab8500_btemp *di) in ab8500_btemp_read_batctrl_voltage()
204 static int ab8500_btemp_curr_source_enable(struct ab8500_btemp *di, in ab8500_btemp_curr_source_enable()
395 static int ab8500_btemp_get_batctrl_res(struct ab8500_btemp *di) in ab8500_btemp_get_batctrl_res()
470 static int ab8500_btemp_res_to_temp(struct ab8500_btemp *di, in ab8500_btemp_res_to_temp()
502 static int ab8500_btemp_measure_temp(struct ab8500_btemp *di) in ab8500_btemp_measure_temp()
559 static int ab8500_btemp_id(struct ab8500_btemp *di) in ab8500_btemp_id()
634 struct ab8500_btemp *di = container_of(work, in ab8500_btemp_periodic_work()
635 struct ab8500_btemp, btemp_periodic_work.work); in ab8500_btemp_periodic_work()
685 struct ab8500_btemp *di = _di; in ab8500_btemp_batctrlindb_handler()
703 struct ab8500_btemp *di = _di; in ab8500_btemp_templow_handler()
730 struct ab8500_btemp *di = _di; in ab8500_btemp_temphigh_handler()
752 struct ab8500_btemp *di = _di; in ab8500_btemp_lowmed_handler()
774 struct ab8500_btemp *di = _di; in ab8500_btemp_medhigh_handler()
795 static void ab8500_btemp_periodic(struct ab8500_btemp *di, in ab8500_btemp_periodic()
816 int ab8500_btemp_get_temp(struct ab8500_btemp *di) in ab8500_btemp_get_temp()
860 int ab8500_btemp_get_batctrl_temp(struct ab8500_btemp *btemp) in ab8500_btemp_get_batctrl_temp()
884 struct ab8500_btemp *di = power_supply_get_drvdata(psy); in ab8500_btemp_get_property()
910 struct ab8500_btemp *di; in ab8500_btemp_get_ext_psy_data()
988 struct ab8500_btemp *di = power_supply_get_drvdata(psy); in ab8500_btemp_external_power_changed()
1006 struct ab8500_btemp *di = platform_get_drvdata(pdev); in ab8500_btemp_resume()
1016 struct ab8500_btemp *di = platform_get_drvdata(pdev); in ab8500_btemp_suspend()
1029 struct ab8500_btemp *di = platform_get_drvdata(pdev); in ab8500_btemp_remove()
1066 struct ab8500_btemp *di; in ab8500_btemp_probe()