Lines Matching refs:ab8500_btemp
93 struct ab8500_btemp { struct
126 struct ab8500_btemp *ab8500_btemp_get(void) in ab8500_btemp_get() argument
128 return list_first_entry(&ab8500_btemp_list, struct ab8500_btemp, node); in ab8500_btemp_get()
142 static int ab8500_btemp_batctrl_volt_to_res(struct ab8500_btemp *di, in ab8500_btemp_batctrl_volt_to_res()
180 static int ab8500_btemp_read_batctrl_voltage(struct ab8500_btemp *di) in ab8500_btemp_read_batctrl_voltage()
203 static int ab8500_btemp_curr_source_enable(struct ab8500_btemp *di, in ab8500_btemp_curr_source_enable()
352 static int ab8500_btemp_get_batctrl_res(struct ab8500_btemp *di) in ab8500_btemp_get_batctrl_res()
427 static int ab8500_btemp_res_to_temp(struct ab8500_btemp *di, in ab8500_btemp_res_to_temp()
458 static int ab8500_btemp_measure_temp(struct ab8500_btemp *di) in ab8500_btemp_measure_temp()
515 static int ab8500_btemp_id(struct ab8500_btemp *di) in ab8500_btemp_id()
575 struct ab8500_btemp *di = container_of(work, in ab8500_btemp_periodic_work()
576 struct ab8500_btemp, btemp_periodic_work.work); in ab8500_btemp_periodic_work()
626 struct ab8500_btemp *di = _di; in ab8500_btemp_batctrlindb_handler()
644 struct ab8500_btemp *di = _di; in ab8500_btemp_templow_handler()
671 struct ab8500_btemp *di = _di; in ab8500_btemp_temphigh_handler()
693 struct ab8500_btemp *di = _di; in ab8500_btemp_lowmed_handler()
715 struct ab8500_btemp *di = _di; in ab8500_btemp_medhigh_handler()
736 static void ab8500_btemp_periodic(struct ab8500_btemp *di, in ab8500_btemp_periodic()
757 int ab8500_btemp_get_temp(struct ab8500_btemp *di) in ab8500_btemp_get_temp()
801 int ab8500_btemp_get_batctrl_temp(struct ab8500_btemp *btemp) in ab8500_btemp_get_batctrl_temp()
825 struct ab8500_btemp *di = power_supply_get_drvdata(psy); in ab8500_btemp_get_property()
852 struct ab8500_btemp *di; in ab8500_btemp_get_ext_psy_data()
924 struct ab8500_btemp *di = power_supply_get_drvdata(psy); in ab8500_btemp_external_power_changed()
942 struct ab8500_btemp *di = platform_get_drvdata(pdev); in ab8500_btemp_resume()
952 struct ab8500_btemp *di = platform_get_drvdata(pdev); in ab8500_btemp_suspend()
965 struct ab8500_btemp *di = platform_get_drvdata(pdev); in ab8500_btemp_remove()
1002 struct ab8500_btemp *di; in ab8500_btemp_probe()