Lines Matching refs:ab8500_charger

169 	struct ab8500_charger, usb_chg)
171 struct ab8500_charger, ac_chg)
275 struct ab8500_charger { struct
350 static void ab8500_enable_disable_sw_fallback(struct ab8500_charger *di, in ab8500_enable_disable_sw_fallback()
415 static void ab8500_power_supply_changed(struct ab8500_charger *di, in ab8500_power_supply_changed()
442 static void ab8500_charger_set_usb_connected(struct ab8500_charger *di, in ab8500_charger_set_usb_connected()
484 static int ab8500_charger_get_ac_voltage(struct ab8500_charger *di) in ab8500_charger_get_ac_voltage()
509 static int ab8500_charger_ac_cv(struct ab8500_charger *di) in ab8500_charger_ac_cv()
539 static int ab8500_charger_get_vbus_voltage(struct ab8500_charger *di) in ab8500_charger_get_vbus_voltage()
565 static int ab8500_charger_get_usb_current(struct ab8500_charger *di) in ab8500_charger_get_usb_current()
591 static int ab8500_charger_get_ac_current(struct ab8500_charger *di) in ab8500_charger_get_ac_current()
616 static int ab8500_charger_usb_cv(struct ab8500_charger *di) in ab8500_charger_usb_cv()
658 static int ab8500_charger_detect_chargers(struct ab8500_charger *di, bool probe) in ab8500_charger_detect_chargers()
710 static int ab8500_charger_max_usb_curr(struct ab8500_charger *di, in ab8500_charger_max_usb_curr()
842 static int ab8500_charger_read_usb_type(struct ab8500_charger *di) in ab8500_charger_read_usb_type()
882 static int ab8500_charger_detect_usb_type(struct ab8500_charger *di) in ab8500_charger_detect_usb_type()
1056 static int ab8500_current_to_regval(struct ab8500_charger *di, int curr_ua) in ab8500_current_to_regval()
1076 static int ab8500_vbus_in_curr_to_regval(struct ab8500_charger *di, int curr_ua) in ab8500_vbus_in_curr_to_regval()
1105 static int ab8500_charger_get_usb_cur(struct ab8500_charger *di) in ab8500_charger_get_usb_cur()
1142 static bool ab8500_charger_check_continue_stepping(struct ab8500_charger *di, in ab8500_charger_check_continue_stepping()
1164 static int ab8500_charger_set_current(struct ab8500_charger *di, in ab8500_charger_set_current()
1285 static int ab8500_charger_set_vbus_in_curr(struct ab8500_charger *di, in ab8500_charger_set_vbus_in_curr()
1330 static int ab8500_charger_set_main_in_curr(struct ab8500_charger *di, in ab8500_charger_set_main_in_curr()
1345 static int ab8500_charger_set_output_curr(struct ab8500_charger *di, in ab8500_charger_set_output_curr()
1360 static int ab8500_charger_led_en(struct ab8500_charger *di, int on) in ab8500_charger_led_en()
1414 struct ab8500_charger *di = to_ab8500_charger_ac_device_info(charger); in ab8500_charger_ac_en()
1590 struct ab8500_charger *di = to_ab8500_charger_usb_device_info(charger); in ab8500_charger_usb_en()
1746 struct ab8500_charger *di = to_ab8500_charger_usb_device_info(charger); in ab8500_charger_usb_check_enable()
1795 struct ab8500_charger *di = to_ab8500_charger_ac_device_info(charger); in ab8500_charger_ac_check_enable()
1840 struct ab8500_charger *di; in ab8500_charger_watchdog_kick()
1869 struct ab8500_charger *di; in ab8500_charger_update_charger_current()
1902 struct ab8500_charger *di; in ab8500_charger_get_ext_psy_data()
1961 struct ab8500_charger *di = container_of(work, in ab8500_charger_check_vbat_work()
1962 struct ab8500_charger, check_vbat_work.work); in ab8500_charger_check_vbat_work()
2007 struct ab8500_charger *di = container_of(work, in ab8500_charger_check_hw_failure_work()
2008 struct ab8500_charger, check_hw_failure_work.work); in ab8500_charger_check_hw_failure_work()
2061 struct ab8500_charger *di = container_of(work, in ab8500_charger_kick_watchdog_work()
2062 struct ab8500_charger, kick_wd_work.work); in ab8500_charger_kick_watchdog_work()
2084 struct ab8500_charger *di = container_of(work, in ab8500_charger_ac_work()
2085 struct ab8500_charger, ac_work); in ab8500_charger_ac_work()
2109 struct ab8500_charger *di = container_of(work, in ab8500_charger_usb_attached_work()
2110 struct ab8500_charger, in ab8500_charger_usb_attached_work()
2147 struct ab8500_charger *di = container_of(work, in ab8500_charger_ac_attached_work()
2148 struct ab8500_charger, in ab8500_charger_ac_attached_work()
2195 struct ab8500_charger *di = container_of(work, in ab8500_charger_detect_usb_type_work()
2196 struct ab8500_charger, detect_usb_type_work); in ab8500_charger_detect_usb_type_work()
2253 struct ab8500_charger *di = in ab8500_charger_usb_link_attach_work()
2254 container_of(work, struct ab8500_charger, attach_work.work); in ab8500_charger_usb_link_attach_work()
2282 struct ab8500_charger *di = container_of(work, in ab8500_charger_usb_link_status_work()
2283 struct ab8500_charger, usb_link_status_work); in ab8500_charger_usb_link_status_work()
2410 struct ab8500_charger *di = container_of(work, in ab8500_charger_usb_state_changed_work()
2411 struct ab8500_charger, usb_state_changed_work.work); in ab8500_charger_usb_state_changed_work()
2478 struct ab8500_charger *di = container_of(work, in ab8500_charger_check_usbchargernotok_work()
2479 struct ab8500_charger, check_usbchgnotok_work.work); in ab8500_charger_check_usbchargernotok_work()
2516 struct ab8500_charger *di = container_of(work, in ab8500_charger_check_main_thermal_prot_work()
2517 struct ab8500_charger, check_main_thermal_prot_work); in ab8500_charger_check_main_thermal_prot_work()
2546 struct ab8500_charger *di = container_of(work, in ab8500_charger_check_usb_thermal_prot_work()
2547 struct ab8500_charger, check_usb_thermal_prot_work); in ab8500_charger_check_usb_thermal_prot_work()
2573 struct ab8500_charger *di = _di; in ab8500_charger_mainchunplugdet_handler()
2594 struct ab8500_charger *di = _di; in ab8500_charger_mainchplugdet_handler()
2618 struct ab8500_charger *di = _di; in ab8500_charger_mainextchnotok_handler()
2640 struct ab8500_charger *di = _di; in ab8500_charger_mainchthprotr_handler()
2659 struct ab8500_charger *di = _di; in ab8500_charger_mainchthprotf_handler()
2670 struct ab8500_charger *di = container_of(work, in ab8500_charger_vbus_drop_end_work()
2671 struct ab8500_charger, vbus_drop_end_work.work); in ab8500_charger_vbus_drop_end_work()
2723 struct ab8500_charger *di = _di; in ab8500_charger_vbusdetf_handler()
2741 struct ab8500_charger *di = _di; in ab8500_charger_vbusdetr_handler()
2760 struct ab8500_charger *di = _di; in ab8500_charger_usblinkstatus_handler()
2779 struct ab8500_charger *di = _di; in ab8500_charger_usbchthprotr_handler()
2798 struct ab8500_charger *di = _di; in ab8500_charger_usbchthprotf_handler()
2816 struct ab8500_charger *di = _di; in ab8500_charger_usbchargernotokr_handler()
2833 struct ab8500_charger *di = _di; in ab8500_charger_chwdexp_handler()
2862 struct ab8500_charger *di = _di; in ab8500_charger_vbuschdropend_handler()
2886 struct ab8500_charger *di = _di; in ab8500_charger_vbusovv_handler()
2916 struct ab8500_charger *di; in ab8500_charger_ac_get_property()
2983 struct ab8500_charger *di; in ab8500_charger_usb_get_property()
3050 static int ab8500_charger_init_hw_registers(struct ab8500_charger *di) in ab8500_charger_init_hw_registers()
3198 struct ab8500_charger *di = in ab8500_charger_usb_notifier_call()
3199 container_of(nb, struct ab8500_charger, nb); in ab8500_charger_usb_notifier_call()
3248 struct ab8500_charger *di = dev_get_drvdata(dev); in ab8500_charger_resume()
3284 struct ab8500_charger *di = dev_get_drvdata(dev); in ab8500_charger_suspend()
3331 struct ab8500_charger *di = dev_get_drvdata(dev); in ab8500_charger_bind()
3374 struct ab8500_charger *di = dev_get_drvdata(dev); in ab8500_charger_unbind()
3413 struct ab8500_charger *di; in ab8500_charger_probe()
3695 struct ab8500_charger *di = platform_get_drvdata(pdev); in ab8500_charger_remove()