Lines Matching defs:ab8500_charger
169 struct ab8500_charger, usb_chg)
171 struct ab8500_charger, ac_chg)
218 * struct ab8500_charger - ab8500 Charger device information
275 struct ab8500_charger {
350 static void ab8500_enable_disable_sw_fallback(struct ab8500_charger *di,
411 * @di: pointer to the ab8500_charger structure
415 static void ab8500_power_supply_changed(struct ab8500_charger *di,
442 static void ab8500_charger_set_usb_connected(struct ab8500_charger *di,
480 * @di: pointer to the ab8500_charger structure
484 static int ab8500_charger_get_ac_voltage(struct ab8500_charger *di)
502 * @di: pointer to the ab8500_charger structure
506 static int ab8500_charger_ac_cv(struct ab8500_charger *di)
531 * @di: pointer to the ab8500_charger structure
536 static int ab8500_charger_get_vbus_voltage(struct ab8500_charger *di)
554 * @di: pointer to the ab8500_charger structure
559 static int ab8500_charger_get_usb_current(struct ab8500_charger *di)
577 * @di: pointer to the ab8500_charger structure
582 static int ab8500_charger_get_ac_current(struct ab8500_charger *di)
600 * @di: pointer to the ab8500_charger structure
604 static int ab8500_charger_usb_cv(struct ab8500_charger *di)
631 * @di: pointer to the ab8500_charger structure
646 static int ab8500_charger_detect_chargers(struct ab8500_charger *di, bool probe)
691 * @di: pointer to the ab8500_charger structure
698 static int ab8500_charger_max_usb_curr(struct ab8500_charger *di,
825 * @di: pointer to the ab8500_charger structure
830 static int ab8500_charger_read_usb_type(struct ab8500_charger *di)
865 * @di: pointer to the ab8500_charger structure
870 static int ab8500_charger_detect_usb_type(struct ab8500_charger *di)
1044 static int ab8500_current_to_regval(struct ab8500_charger *di, int curr_ua)
1064 static int ab8500_vbus_in_curr_to_regval(struct ab8500_charger *di, int curr_ua)
1086 * @di: pointer to the ab8500_charger structure
1093 static int ab8500_charger_get_usb_cur(struct ab8500_charger *di)
1123 * @di: pointer to the ab8500_charger structure
1130 static bool ab8500_charger_check_continue_stepping(struct ab8500_charger *di,
1141 * @di: pointer to the ab8500_charger structure
1152 static int ab8500_charger_set_current(struct ab8500_charger *di,
1267 * @di: pointer to the ab8500_charger structure
1273 static int ab8500_charger_set_vbus_in_curr(struct ab8500_charger *di,
1312 * @di: pointer to the ab8500_charger structure
1318 static int ab8500_charger_set_main_in_curr(struct ab8500_charger *di,
1327 * @di: pointer to the ab8500_charger structure
1333 static int ab8500_charger_set_output_curr(struct ab8500_charger *di,
1342 * @di: pointer to the ab8500_charger structure
1348 static int ab8500_charger_led_en(struct ab8500_charger *di, int on)
1385 * @di: pointer to the ab8500_charger structure
1402 struct ab8500_charger *di = to_ab8500_charger_ac_device_info(charger);
1562 * @di: pointer to the ab8500_charger structure
1578 struct ab8500_charger *di = to_ab8500_charger_usb_device_info(charger);
1734 struct ab8500_charger *di = to_ab8500_charger_usb_device_info(charger);
1783 struct ab8500_charger *di = to_ab8500_charger_ac_device_info(charger);
1820 * @di: pointer to the ab8500_charger structure
1828 struct ab8500_charger *di;
1847 * @charger: pointer to the ab8500_charger structure
1857 struct ab8500_charger *di;
1890 struct ab8500_charger *di;
1949 struct ab8500_charger *di = container_of(work,
1950 struct ab8500_charger, check_vbat_work.work);
1996 struct ab8500_charger *di = container_of(work,
1997 struct ab8500_charger, check_hw_failure_work.work);
2050 struct ab8500_charger *di = container_of(work,
2051 struct ab8500_charger, kick_wd_work.work);
2073 struct ab8500_charger *di = container_of(work,
2074 struct ab8500_charger, ac_work);
2098 struct ab8500_charger *di = container_of(work,
2099 struct ab8500_charger,
2136 struct ab8500_charger *di = container_of(work,
2137 struct ab8500_charger,
2184 struct ab8500_charger *di = container_of(work,
2185 struct ab8500_charger, detect_usb_type_work);
2242 struct ab8500_charger *di =
2243 container_of(work, struct ab8500_charger, attach_work.work);
2271 struct ab8500_charger *di = container_of(work,
2272 struct ab8500_charger, usb_link_status_work);
2399 struct ab8500_charger *di = container_of(work,
2400 struct ab8500_charger, usb_state_changed_work.work);
2467 struct ab8500_charger *di = container_of(work,
2468 struct ab8500_charger, check_usbchgnotok_work.work);
2505 struct ab8500_charger *di = container_of(work,
2506 struct ab8500_charger, check_main_thermal_prot_work);
2535 struct ab8500_charger *di = container_of(work,
2536 struct ab8500_charger, check_usb_thermal_prot_work);
2556 * @_di: pointer to the ab8500_charger structure
2562 struct ab8500_charger *di = _di;
2577 * @_di: pointer to the ab8500_charger structure
2583 struct ab8500_charger *di = _di;
2601 * @_di: pointer to the ab8500_charger structure
2607 struct ab8500_charger *di = _di;
2623 * @_di: pointer to the ab8500_charger structure
2629 struct ab8500_charger *di = _di;
2642 * @_di: pointer to the ab8500_charger structure
2648 struct ab8500_charger *di = _di;
2659 struct ab8500_charger *di = container_of(work,
2660 struct ab8500_charger, vbus_drop_end_work.work);
2706 * @_di: pointer to the ab8500_charger structure
2712 struct ab8500_charger *di = _di;
2724 * @_di: pointer to the ab8500_charger structure
2730 struct ab8500_charger *di = _di;
2743 * @_di: pointer to the ab8500_charger structure
2749 struct ab8500_charger *di = _di;
2762 * @_di: pointer to the ab8500_charger structure
2768 struct ab8500_charger *di = _di;
2781 * @_di: pointer to the ab8500_charger structure
2787 struct ab8500_charger *di = _di;
2799 * @_di: pointer to the ab8500_charger structure
2805 struct ab8500_charger *di = _di;
2816 * @_di: pointer to the ab8500_charger structure
2822 struct ab8500_charger *di = _di;
2845 * @_di: pointer to the ab8500_charger structure
2851 struct ab8500_charger *di = _di;
2869 * @_di: pointer to the ab8500_charger structure
2875 struct ab8500_charger *di = _di;
2905 struct ab8500_charger *di;
2972 struct ab8500_charger *di;
3034 * @di: pointer to the ab8500_charger structure
3039 static int ab8500_charger_init_hw_registers(struct ab8500_charger *di)
3187 struct ab8500_charger *di =
3188 container_of(nb, struct ab8500_charger, nb);
3237 struct ab8500_charger *di = dev_get_drvdata(dev);
3273 struct ab8500_charger *di = dev_get_drvdata(dev);
3320 struct ab8500_charger *di = dev_get_drvdata(dev);
3363 struct ab8500_charger *di = dev_get_drvdata(dev);
3402 struct ab8500_charger *di;
3684 struct ab8500_charger *di = platform_get_drvdata(pdev);