Lines Matching refs:chg_cur
79 usb_phy->chg_cur.sdp_min = DEFAULT_SDP_CUR_MIN; in usb_phy_set_default_current()
80 usb_phy->chg_cur.sdp_max = DEFAULT_SDP_CUR_MAX; in usb_phy_set_default_current()
81 usb_phy->chg_cur.dcp_min = DEFAULT_DCP_CUR_MIN; in usb_phy_set_default_current()
82 usb_phy->chg_cur.dcp_max = DEFAULT_DCP_CUR_MAX; in usb_phy_set_default_current()
83 usb_phy->chg_cur.cdp_min = DEFAULT_CDP_CUR_MIN; in usb_phy_set_default_current()
84 usb_phy->chg_cur.cdp_max = DEFAULT_CDP_CUR_MAX; in usb_phy_set_default_current()
85 usb_phy->chg_cur.aca_min = DEFAULT_ACA_CUR_MIN; in usb_phy_set_default_current()
86 usb_phy->chg_cur.aca_max = DEFAULT_ACA_CUR_MAX; in usb_phy_set_default_current()
197 if (usb_phy->chg_cur.sdp_max == mA) in usb_phy_set_charger_current()
200 usb_phy->chg_cur.sdp_max = (mA > DEFAULT_SDP_CUR_MAX_SS) ? in usb_phy_set_charger_current()
204 if (usb_phy->chg_cur.dcp_max == mA) in usb_phy_set_charger_current()
207 usb_phy->chg_cur.dcp_max = (mA > DEFAULT_DCP_CUR_MAX) ? in usb_phy_set_charger_current()
211 if (usb_phy->chg_cur.cdp_max == mA) in usb_phy_set_charger_current()
214 usb_phy->chg_cur.cdp_max = (mA > DEFAULT_CDP_CUR_MAX) ? in usb_phy_set_charger_current()
218 if (usb_phy->chg_cur.aca_max == mA) in usb_phy_set_charger_current()
221 usb_phy->chg_cur.aca_max = (mA > DEFAULT_ACA_CUR_MAX) ? in usb_phy_set_charger_current()
247 *min = usb_phy->chg_cur.sdp_min; in usb_phy_get_charger_current()
248 *max = usb_phy->chg_cur.sdp_max; in usb_phy_get_charger_current()
251 *min = usb_phy->chg_cur.dcp_min; in usb_phy_get_charger_current()
252 *max = usb_phy->chg_cur.dcp_max; in usb_phy_get_charger_current()
255 *min = usb_phy->chg_cur.cdp_min; in usb_phy_get_charger_current()
256 *max = usb_phy->chg_cur.cdp_max; in usb_phy_get_charger_current()
259 *min = usb_phy->chg_cur.aca_min; in usb_phy_get_charger_current()
260 *max = usb_phy->chg_cur.aca_max; in usb_phy_get_charger_current()