Lines Matching refs:ab8500_btemp
92 struct ab8500_btemp { struct
124 struct ab8500_btemp *ab8500_btemp_get(void) in ab8500_btemp_get() argument
126 return list_first_entry(&ab8500_btemp_list, struct ab8500_btemp, node); in ab8500_btemp_get()
140 static int ab8500_btemp_batctrl_volt_to_res(struct ab8500_btemp *di, in ab8500_btemp_batctrl_volt_to_res()
178 static int ab8500_btemp_read_batctrl_voltage(struct ab8500_btemp *di) in ab8500_btemp_read_batctrl_voltage()
201 static int ab8500_btemp_curr_source_enable(struct ab8500_btemp *di, in ab8500_btemp_curr_source_enable()
350 static int ab8500_btemp_get_batctrl_res(struct ab8500_btemp *di) in ab8500_btemp_get_batctrl_res()
425 static int ab8500_btemp_res_to_temp(struct ab8500_btemp *di, in ab8500_btemp_res_to_temp()
456 static int ab8500_btemp_measure_temp(struct ab8500_btemp *di) in ab8500_btemp_measure_temp()
513 static int ab8500_btemp_id(struct ab8500_btemp *di) in ab8500_btemp_id()
573 struct ab8500_btemp *di = container_of(work, in ab8500_btemp_periodic_work()
574 struct ab8500_btemp, btemp_periodic_work.work); in ab8500_btemp_periodic_work()
624 struct ab8500_btemp *di = _di; in ab8500_btemp_batctrlindb_handler()
642 struct ab8500_btemp *di = _di; in ab8500_btemp_templow_handler()
669 struct ab8500_btemp *di = _di; in ab8500_btemp_temphigh_handler()
691 struct ab8500_btemp *di = _di; in ab8500_btemp_lowmed_handler()
713 struct ab8500_btemp *di = _di; in ab8500_btemp_medhigh_handler()
734 static void ab8500_btemp_periodic(struct ab8500_btemp *di, in ab8500_btemp_periodic()
755 int ab8500_btemp_get_temp(struct ab8500_btemp *di) in ab8500_btemp_get_temp()
799 int ab8500_btemp_get_batctrl_temp(struct ab8500_btemp *btemp) in ab8500_btemp_get_batctrl_temp()
823 struct ab8500_btemp *di = power_supply_get_drvdata(psy); in ab8500_btemp_get_property()
850 struct ab8500_btemp *di; in ab8500_btemp_get_ext_psy_data()
922 struct ab8500_btemp *di = power_supply_get_drvdata(psy); in ab8500_btemp_external_power_changed()
940 struct ab8500_btemp *di = platform_get_drvdata(pdev); in ab8500_btemp_resume()
950 struct ab8500_btemp *di = platform_get_drvdata(pdev); in ab8500_btemp_suspend()
963 struct ab8500_btemp *di = platform_get_drvdata(pdev); in ab8500_btemp_remove()
1000 struct ab8500_btemp *di; in ab8500_btemp_probe()