Lines Matching refs:max_usb_in_curr

298 	struct ab8500_charger_max_usb_in_curr max_usb_in_curr;  member
730 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P5; in ab8500_charger_max_usb_curr()
734 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P5; in ab8500_charger_max_usb_curr()
738 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P5; in ab8500_charger_max_usb_curr()
742 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P9; in ab8500_charger_max_usb_curr()
751 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P5; in ab8500_charger_max_usb_curr()
759 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_1P3; in ab8500_charger_max_usb_curr()
761 di->max_usb_in_curr.usb_type_max_ua); in ab8500_charger_max_usb_curr()
765 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P5; in ab8500_charger_max_usb_curr()
769 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_1P5; in ab8500_charger_max_usb_curr()
774 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_1P5; in ab8500_charger_max_usb_curr()
781 di->max_usb_in_curr.usb_type_max_ua = in ab8500_charger_max_usb_curr()
788 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P05; in ab8500_charger_max_usb_curr()
800 di->max_usb_in_curr.usb_type_max_ua = in ab8500_charger_max_usb_curr()
804 di->max_usb_in_curr.usb_type_max_ua); in ab8500_charger_max_usb_curr()
812 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P5; in ab8500_charger_max_usb_curr()
814 di->max_usb_in_curr.usb_type_max_ua); in ab8500_charger_max_usb_curr()
818 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P5; in ab8500_charger_max_usb_curr()
823 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P05; in ab8500_charger_max_usb_curr()
828 di->max_usb_in_curr.set_max_ua = di->max_usb_in_curr.usb_type_max_ua; in ab8500_charger_max_usb_curr()
830 link_status, di->max_usb_in_curr.set_max_ua); in ab8500_charger_max_usb_curr()
1110 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P09; in ab8500_charger_get_usb_cur()
1113 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P19; in ab8500_charger_get_usb_cur()
1116 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P29; in ab8500_charger_get_usb_cur()
1119 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P38; in ab8500_charger_get_usb_cur()
1122 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P5; in ab8500_charger_get_usb_cur()
1125 di->max_usb_in_curr.usb_type_max_ua = USB_CH_IP_CUR_LVL_0P05; in ab8500_charger_get_usb_cur()
1129 di->max_usb_in_curr.set_max_ua = di->max_usb_in_curr.usb_type_max_ua; in ab8500_charger_get_usb_cur()
1293 if (di->max_usb_in_curr.set_max_ua > 0) in ab8500_charger_set_vbus_in_curr()
1294 min_value = min(di->max_usb_in_curr.set_max_ua, min_value); in ab8500_charger_set_vbus_in_curr()
1664 di->max_usb_in_curr.usb_type_max_ua); in ab8500_charger_usb_en()
1976 " old: %d\n", di->max_usb_in_curr.usb_type_max_ua, in ab8500_charger_check_vbat_work()
1979 di->max_usb_in_curr.usb_type_max_ua); in ab8500_charger_check_vbat_work()
2260 di->max_usb_in_curr.usb_type_max_ua); in ab8500_charger_usb_link_attach_work()
2452 di->max_usb_in_curr.usb_type_max_ua); in ab8500_charger_usb_state_changed_work()
2691 if (di->max_usb_in_curr.calculated_max_ua != curr_ua) { in ab8500_charger_vbus_drop_end_work()
2693 di->max_usb_in_curr.calculated_max_ua = curr_ua; in ab8500_charger_vbus_drop_end_work()
2696 di->max_usb_in_curr.calculated_max_ua); in ab8500_charger_vbus_drop_end_work()
2702 di->max_usb_in_curr.set_max_ua = in ab8500_charger_vbus_drop_end_work()
2703 di->max_usb_in_curr.calculated_max_ua; in ab8500_charger_vbus_drop_end_work()
2706 di->max_usb_in_curr.set_max_ua); in ab8500_charger_vbus_drop_end_work()
2711 di->max_usb_in_curr.usb_type_max_ua); in ab8500_charger_vbus_drop_end_work()