| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | ti,lp8727.yaml | 53 0 = 90mA, 1 = 100mA, 2 = 400mA, 3 = 450mA, 4 = 500mA, 5 = 600mA, 54 6 = 700mA, 7 = 800mA, 8 = 900mA, 9 = 1000mA 76 /* AC charger: 5% EOC and 500mA charging current */ 83 /* USB charger: 10% EOC and 400mA charging current */
|
| /kernel/linux/linux-5.10/Documentation/usb/ |
| D | acm.rst | 23 Temple Place, Suite 330, Boston, MA 02111-1307 USA 75 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 80 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA 89 C: #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA 94 C:* #Ifs= 2 Cfg#= 2 Atr=60 MxPwr= 0mA
|
| /kernel/linux/linux-6.6/Documentation/usb/ |
| D | acm.rst | 23 Temple Place, Suite 330, Boston, MA 02111-1307 USA 75 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 80 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA 89 C: #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA 94 C:* #Ifs= 2 Cfg#= 2 Atr=60 MxPwr= 0mA
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | axp288_charger.c | 41 #define VBUS_ISPOUT_CUR_LIM_900MA 0x0 /* 900mA */ 42 #define VBUS_ISPOUT_CUR_LIM_1500MA 0x1 /* 1500mA */ 43 #define VBUS_ISPOUT_CUR_LIM_2000MA 0x2 /* 2000mA */ 44 #define VBUS_ISPOUT_CUR_NO_LIM 0x3 /* 2500mA */ 54 #define CHRG_CCCV_CC_OFFSET 200 /* 200mA */ 55 #define CHRG_CCCV_CC_LSB_RES 200 /* 200mA */ 79 #define CHRG_VBUS_ILIM_100MA 0x0 /* 100mA */ 80 #define CHRG_VBUS_ILIM_500MA 0x1 /* 500mA */ 81 #define CHRG_VBUS_ILIM_900MA 0x2 /* 900mA */ 82 #define CHRG_VBUS_ILIM_1500MA 0x3 /* 1500mA */ [all …]
|
| D | adp5061.c | 82 #define ADP5061_ICHG_MAX 1300 // mA 120 700, 750, 800, 850, 900, 950, 1000, 1050, 1100, 1200, 1300, 132 800, 900, 1000, 1200, 1500, 1800, 2100, 195 /* Convert from uA to mA */ in adp5061_set_input_current_limit() 319 /* Convert from uA to mA */ in adp5061_set_const_chg_current() 374 /* Convert from uA to mA */ in adp5061_set_prechg_current()
|
| D | sc2731_charger.c | 46 /* Default current definition (unit is mA) */ 49 #define SC2731_CURRENT_LIMIT_900 900 120 /* Calculate the step value, each step is 50 mA */ in sc2731_charger_set_current() 123 /* Set pre-charge current as 450 mA */ in sc2731_charger_set_current() 387 * default charge termination current to 120 mA, and default in sc2731_charger_hw_init()
|
| D | wm831x_power.c | 134 900, 203 { 900, 14 << WM831X_CHG_FAST_ILIM_SHIFT }, 287 "trickle charge current limit", "mA"); in wm831x_config_battery() 295 "fast charge current limit", "mA"); in wm831x_config_battery() 299 "end of charge current threshold", "mA"); in wm831x_config_battery()
|
| D | mt6370-charger.c | 718 /* ICHG/IEOC Workaround, ICHG can not be set less than 900mA */ in mt6370_chg_init_setting() 721 dev_err(priv->dev, "Failed to set ICHG to 900mA"); in mt6370_chg_init_setting()
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | axp288_charger.c | 40 #define VBUS_ISPOUT_CUR_LIM_900MA 0x0 /* 900mA */ 41 #define VBUS_ISPOUT_CUR_LIM_1500MA 0x1 /* 1500mA */ 42 #define VBUS_ISPOUT_CUR_LIM_2000MA 0x2 /* 2000mA */ 43 #define VBUS_ISPOUT_CUR_NO_LIM 0x3 /* 2500mA */ 53 #define CHRG_CCCV_CC_OFFSET 200 /* 200mA */ 54 #define CHRG_CCCV_CC_LSB_RES 200 /* 200mA */ 78 #define CHRG_VBUS_ILIM_100MA 0x0 /* 100mA */ 79 #define CHRG_VBUS_ILIM_500MA 0x1 /* 500mA */ 80 #define CHRG_VBUS_ILIM_900MA 0x2 /* 900mA */ 81 #define CHRG_VBUS_ILIM_1500MA 0x3 /* 1500mA */ [all …]
|
| D | adp5061.c | 82 #define ADP5061_ICHG_MAX 1300 // mA 120 700, 750, 800, 850, 900, 950, 1000, 1050, 1100, 1200, 1300, 132 800, 900, 1000, 1200, 1500, 1800, 2100, 195 /* Convert from uA to mA */ in adp5061_set_input_current_limit() 319 /* Convert from uA to mA */ in adp5061_set_const_chg_current() 374 /* Convert from uA to mA */ in adp5061_set_prechg_current()
|
| D | sc2731_charger.c | 46 /* Default current definition (unit is mA) */ 49 #define SC2731_CURRENT_LIMIT_900 900 120 /* Calculate the step value, each step is 50 mA */ in sc2731_charger_set_current() 123 /* Set pre-charge current as 450 mA */ in sc2731_charger_set_current() 387 * default charge termination current to 120 mA, and default in sc2731_charger_hw_init()
|
| D | wm831x_power.c | 134 900, 203 { 900, 14 << WM831X_CHG_FAST_ILIM_SHIFT }, 287 "trickle charge current limit", "mA"); in wm831x_config_battery() 295 "fast charge current limit", "mA"); in wm831x_config_battery() 299 "end of charge current threshold", "mA"); in wm831x_config_battery()
|
| D | ab8500_charger.c | 146 /* VBUS input current limits supported in AB8500 in mA */ 157 #define USB_CH_IP_CUR_LVL_0P9 900 702 * is maximum 500 mA. Every occurrence of USB_STAT_*_HOST_* in ab8500_charger_max_usb_curr() 730 * can consume (900mA). Closest level is 500mA in ab8500_charger_max_usb_curr() 738 * Dedicated charger level minus 120mA (20mA for ACA and in ab8500_charger_max_usb_curr() 739 * 100mA for potential accessory). Closest level is 1300mA in ab8500_charger_max_usb_curr() 1071 * the standard usb host. This will be in mA. 1072 * This function converts current in mA to a value that can be written 1124 * @ich: charger current, in mA 1202 dev_dbg(di->dev, "%s set charger current: %d mA for reg: 0x%02x\n", in ab8500_charger_set_current() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/phy/ |
| D | phy.c | 21 #define DEFAULT_SDP_CUR_MAX_SS 900 182 * @mA: the current need to be set 193 void usb_phy_set_charger_current(struct usb_phy *usb_phy, unsigned int mA) in usb_phy_set_charger_current() argument 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() 201 DEFAULT_SDP_CUR_MAX_SS : mA; 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() 208 DEFAULT_DCP_CUR_MAX : mA; in usb_phy_set_charger_current() 211 if (usb_phy->chg_cur.cdp_max == mA) in usb_phy_set_charger_current() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/phy/ |
| D | phy.c | 21 #define DEFAULT_SDP_CUR_MAX_SS 900 220 * @mA: the current need to be set 231 void usb_phy_set_charger_current(struct usb_phy *usb_phy, unsigned int mA) in usb_phy_set_charger_current() argument 235 if (usb_phy->chg_cur.sdp_max == mA) in usb_phy_set_charger_current() 238 usb_phy->chg_cur.sdp_max = (mA > DEFAULT_SDP_CUR_MAX_SS) ? in usb_phy_set_charger_current() 239 DEFAULT_SDP_CUR_MAX_SS : mA; in usb_phy_set_charger_current() 242 if (usb_phy->chg_cur.dcp_max == mA) in usb_phy_set_charger_current() 245 usb_phy->chg_cur.dcp_max = (mA > DEFAULT_DCP_CUR_MAX) ? in usb_phy_set_charger_current() 246 DEFAULT_DCP_CUR_MAX : mA; in usb_phy_set_charger_current() 249 if (usb_phy->chg_cur.cdp_max == mA) in usb_phy_set_charger_current() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/connector/ |
| D | usb-connector.yaml | 104 USB 2.0 and USB 3.2 specifications, 5V 500mA for USB 2.0 ports and 105 5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane 229 5V@500mA) upon entering SNK_DISCOVERY(instead of 3A or the 1.5A, Rp current advertised, during
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3308.dtsi | 93 min-residency-us = <900>; 747 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 752 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 757 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 762 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 767 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 772 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 777 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 782 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 787 pcfg_pull_up_12ma: pcfg-pull-up-12ma { [all …]
|
| D | rk3328.dtsi | 99 min-residency-us = <900>; 1090 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1095 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1100 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1105 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1110 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1115 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1120 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 1125 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 1130 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3308.dtsi | 93 min-residency-us = <900>; 863 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 868 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 873 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 878 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 883 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 888 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 893 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 898 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 903 pcfg_pull_up_12ma: pcfg-pull-up-12ma { [all …]
|
| D | rk3328.dtsi | 99 min-residency-us = <900>; 1121 pcfg_pull_none_2ma: pcfg-pull-none-2ma { 1126 pcfg_pull_up_2ma: pcfg-pull-up-2ma { 1131 pcfg_pull_up_4ma: pcfg-pull-up-4ma { 1136 pcfg_pull_none_4ma: pcfg-pull-none-4ma { 1141 pcfg_pull_down_4ma: pcfg-pull-down-4ma { 1146 pcfg_pull_none_8ma: pcfg-pull-none-8ma { 1151 pcfg_pull_up_8ma: pcfg-pull-up-8ma { 1156 pcfg_pull_none_12ma: pcfg-pull-none-12ma { 1161 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
|
| /kernel/linux/linux-6.6/drivers/usb/gadget/ |
| D | composite.c | 544 * USB 3.x supports up to 900mA, but since 900 isn't divisible in encode_bMaxPower() 545 * by 8 the integral division will effectively cap to 896mA. in encode_bMaxPower() 547 return min(val, 900U) / 8; in encode_bMaxPower() 1046 power = min(power, 900U); in set_config() 2336 * draw at max 100mA while in a connected, but unconfigured state. in composite_reset() 2456 * more than 100mA from USB must report itself as bus-powered in in composite_dev_prepare() 2652 maxpower = min(maxpower, 900U); in composite_resume()
|
| /kernel/linux/linux-5.10/drivers/usb/gadget/ |
| D | composite.c | 494 * USB 3.x supports up to 900mA, but since 900 isn't divisible in encode_bMaxPower() 495 * by 8 the integral division will effectively cap to 896mA. in encode_bMaxPower() 497 return min(val, 900U) / 8; in encode_bMaxPower() 916 power = min(power, 900U); in set_config() 2195 * more than 100mA from USB must report itself as bus-powered in in composite_dev_prepare() 2383 maxpower = min(maxpower, 900U); in composite_resume()
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| D | dib7000m.c | 279 if (state->revision == 0x4000) { // workaround for PA/MA in dib7000m_set_adc_state() 553 // Tuner IO bank: max drive (14mA) 573 dib7000m_write_word(state, 900, 0xff0f); in dib7000m_demod_reset() 578 dib7000m_write_word(state, 900, 0); in dib7000m_demod_reset() 1442 .name = "DiBcom 7000MA/MB/PA/PB/MC", 1473 MODULE_DESCRIPTION("Driver for the DiBcom 7000MA/MB/PA/PB/MC COFDM demodulator");
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| D | dib7000m.c | 279 if (state->revision == 0x4000) { // workaround for PA/MA in dib7000m_set_adc_state() 553 // Tuner IO bank: max drive (14mA) 573 dib7000m_write_word(state, 900, 0xff0f); in dib7000m_demod_reset() 578 dib7000m_write_word(state, 900, 0); in dib7000m_demod_reset() 1442 .name = "DiBcom 7000MA/MB/PA/PB/MC", 1473 MODULE_DESCRIPTION("Driver for the DiBcom 7000MA/MB/PA/PB/MC COFDM demodulator");
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | power_supply.h | 417 * at 900mA to 4340mV, then maintenance charged at 600mA and 4150mV for up to 418 * 60 hours, then maintenance charged at 600mA and 4100mV for up to 200 hours.
|