/linux/Documentation/devicetree/bindings/power/supply/ |
H A 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 */
|
H A D | bq24257.yaml | 59 of 500,000 is used (=500mA) instead.
|
/linux/drivers/power/supply/ |
H A D | pcf50633-charger.c | 36 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma) in pcf50633_mbc_usb_curlim_set() argument 44 if (ma >= 1000) { in pcf50633_mbc_usb_curlim_set() 46 ma = 1000; in pcf50633_mbc_usb_curlim_set() 47 } else if (ma >= 500) { in pcf50633_mbc_usb_curlim_set() 49 ma = 500; in pcf50633_mbc_usb_curlim_set() 50 } else if (ma >= 100) { in pcf50633_mbc_usb_curlim_set() 52 ma = 100; in pcf50633_mbc_usb_curlim_set() 55 ma = 0; in pcf50633_mbc_usb_curlim_set() 61 dev_err(pcf->dev, "error setting usb curlim to %d mA\n", ma); in pcf50633_mbc_usb_curlim_set() 63 dev_info(pcf->dev, "usb curlim to %d mA\n", ma); in pcf50633_mbc_usb_curlim_set() [all …]
|
H A D | bq2415x_charger.c | 521 /* set current limit in mA */ 522 static int bq2415x_set_current_limit(struct bq2415x_device *bq, int mA) in bq2415x_set_current_limit() argument 526 if (mA <= 100) in bq2415x_set_current_limit() 528 else if (mA <= 500) in bq2415x_set_current_limit() 530 else if (mA <= 800) in bq2415x_set_current_limit() 539 /* get current limit in mA */ 551 return 500; in bq2415x_get_current_limit() 620 /* set charge current in mA (platform data must provide resistor sense) */ 621 static int bq2415x_set_charge_current(struct bq2415x_device *bq, int mA) in bq2415x_set_charge_current() argument 628 val = (mA * bq->init_data.resistor_sense - 37400) / 6800; in bq2415x_set_charge_current() [all …]
|
H A D | ucs1002_power.c | 30 * weighting of the registers is given in mA/hrs. 147 * B0: 0.01084 mA/h rounded to 11 uA/h in ucs1002_get_charge() 148 * B1: 0.02169 mA/h rounded to 22 uA/h in ucs1002_get_charge() 149 * B2: 0.04340 mA/h rounded to 43 uA/h in ucs1002_get_charge() 150 * B3: 0.08676 mA/h rounded to 87 uA/h in ucs1002_get_charge() 151 * B4: 0.17350 mA/h rounded to 173 uÁ/h in ucs1002_get_charge() 156 * B6: 0.00271 mA/h rounded to 3 uA/h in ucs1002_get_charge() 157 * B7: 0.005422 mA/h rounded to 5 uA/h in ucs1002_get_charge() 206 * is from 9.76 mA to 2.5 A. in ucs1002_get_current() 230 * port switch. The range is from 500mA to 2.5 A. [all …]
|
H A 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 …]
|
/linux/include/linux/power/ |
H A D | bq2415x_charger.h | 29 BQ2415X_MODE_NONE, /* unknown charger (100mA) */ 30 BQ2415X_MODE_HOST_CHARGER, /* usb host/hub charger (500mA) */ 36 int current_limit; /* mA */ 39 int charge_current; /* mA */ 40 int termination_current; /* mA */
|
/linux/drivers/media/dvb-frontends/ |
H A D | lnbp21.h | 31 0:Iout=500-650mA Isc=300mA 32 1:Iout=400-550mA Isc=200mA */
|
/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 195 When not present, the DAC short-circuit current limit is 32mA in 196 either source or sink for VOUT and 4mA sink for IOUT. 197 When present, the limit is 16mA in either source or sink for VOUT, 198 1mA sink for IOUT. 212 enum: [250, 500, 750, 1000] 222 enum: [0, 50, 500, 1000, 10000] 237 enum: [0, 50, 500, 1000, 10000]
|
/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad5755.yaml | 86 4: 4 mA to 20 mA current range. 87 5: 0 mA to 20 mA current range. 88 6: 0 mA to 24 mA current range. 108 - enum: [64000, 32000, 16000, 8000, 4000, 2000, 1000, 500, 250, 125, 64, 32, 16, 8, 4, 0]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | st,stmpe.yaml | 158 3 = 500 us - recommended 171 2 = 500 us - recommended 189 0 = 20 mA (typical 35 mA max) 190 1 = 50 mA (typical 80 mA max)
|
/linux/arch/mips/include/asm/mach-rc32434/ |
H A D | prom.h | 25 * 675 Mass Ave, Cambridge, MA 02139, USA. 39 #define BOARD_RB532 "500" 40 #define BOARD_RB532A "500r5"
|
/linux/drivers/net/wireless/intel/iwlwifi/cfg/ |
H A D | ax210.c | 35 #define IWL_MA_A_HR_B_FW_PRE "iwlwifi-ma-a0-hr-b0" 36 #define IWL_MA_A_GF_A_FW_PRE "iwlwifi-ma-a0-gf-a0" 37 #define IWL_MA_A_GF4_A_FW_PRE "iwlwifi-ma-a0-gf4-a0" 38 #define IWL_MA_A_MR_A_FW_PRE "iwlwifi-ma-a0-mr-a0" 39 #define IWL_MA_B_HR_B_FW_PRE "iwlwifi-ma-b0-hr-b0" 40 #define IWL_MA_B_GF_A_FW_PRE "iwlwifi-ma-b0-gf-a0" 41 #define IWL_MA_B_GF4_A_FW_PRE "iwlwifi-ma-b0-gf4-a0" 42 #define IWL_MA_B_MR_A_FW_PRE "iwlwifi-ma-b0-mr-a0" 150 .xtal_latency = 500, 278 .fw_name_mac = "ma", [all …]
|
/linux/drivers/usb/phy/ |
H A D | phy.c | 19 #define DEFAULT_SDP_CUR_MAX 500 22 #define DEFAULT_DCP_CUR_MIN 500 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() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l36.txt | 18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA. 20 Range starts at 1600mA and goes to a maximum of 4500mA with increments of 21 50mA. 70 6 = 500ms
|
H A D | cirrus,cs42l43.yaml | 135 enum: [ 0, 125, 250, 500, 750, 1000, 1250, 1500 ] 136 default: 500 142 enum: [ 0, 125, 250, 500, 750, 1000, 1250, 1500 ] 143 default: 500 165 enum: [ 0, 125, 250, 500, 750, 1000, 1250, 1500 ] 166 default: 500 172 enum: [ 0, 125, 250, 500, 750, 1000, 1250, 1500 ] 173 default: 500 238 description: Set drive strength in mA
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt8183-pinctrl.yaml | 114 enum: [125, 250, 500, 1000] 122 2/4/6/8/10/12/14/16mA driving. But in specific driving setup, they 123 can support 0.125/0.25/0.5/1mA adjustment. If we enable specific 126 When E1=0/E0=0, the strength is 0.125mA. 127 When E1=0/E0=1, the strength is 0.25mA. 128 When E1=1/E0=0, the strength is 0.5mA. 129 When E1=1/E0=1, the strength is 1mA.
|
H A D | mediatek,mt8365-pinctrl.yaml | 118 enum: [125, 250, 500, 1000] 126 2/4/6/8/10/12/14/16mA driving. But in specific driving setup, they 127 can support 0.125/0.25/0.5/1mA adjustment. If we enable specific 130 When E1=0/E0=0, the strength is 0.125mA. 131 When E1=0/E0=1, the strength is 0.25mA. 132 When E1=1/E0=0, the strength is 0.5mA. 133 When E1=1/E0=1, the strength is 1mA.
|
/linux/drivers/mfd/ |
H A D | tps65010.c | 139 ? ((chgconfig & TPS_VBUS_500MA) ? 500 : 100) in dbg_chgconf() 412 if (tps->vbus == 500) in tps65010_work() 675 * 0 mA -- DON'T DRAW (might supply power instead) 676 * 100 mA -- usb unit load (slowest charge rate) 677 * 500 mA -- usb high power (fast battery charge) 679 int tps65010_set_vbus_draw(unsigned mA) in tps65010_set_vbus_draw() argument 688 if (mA >= 500) in tps65010_set_vbus_draw() 689 mA = 500; in tps65010_set_vbus_draw() 690 else if (mA >= 100) in tps65010_set_vbus_draw() 691 mA = 100; in tps65010_set_vbus_draw() [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | stmpe-ts.c | 59 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us, 63 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms, 70 * (0 -> 20 mA typical 35 mA max, 1 -> 50 mA typical 80 mA max)
|
/linux/drivers/usb/gadget/ |
H A D | Kconfig | 100 int "Maximum VBUS Power usage (2-500 mA)" 101 range 2 500 110 milliAmperes. The permitted range of values is 2 - 500 mA; 111 0 mA would be legal, but can make some hosts misbehave.
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-sgm3140.yaml | 7 title: SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver
|
/linux/include/linux/usb/ |
H A D | pd.h | 233 #define PDO_FIXED_CURR_SHIFT 0 /* 10mA units */ 236 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) argument 238 #define PDO_FIXED(mv, ma, flags) \ argument 240 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 258 #define PDO_VAR_MAX_CURR_SHIFT 0 /* 10mA units */ 262 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) argument 279 #define PDO_PPS_APDO_MAX_CURR_SHIFT 0 /* 50mA units */ 288 #define PDO_PPS_APDO_MAX_CURR(ma) \ argument 289 ((((ma) / 50) & PDO_PPS_APDO_CURR_MASK) << PDO_PPS_APDO_MAX_CURR_SHIFT) 365 #define PDO_FIXED_OP_CURR(ma) ((((ma) / 10) & RDO_CURR_MASK) << RDO_FIXED_OP_CURR_SHIFT) argument [all …]
|
/linux/include/linux/mfd/ |
H A D | tps65010.h | 25 * 675 Mass Ave, Cambridge, MA 02139, USA. 133 * 0 mA -- DON'T DRAW (might supply power instead) 134 * 100 mA -- usb unit load (slowest charge rate) 135 * 500 mA -- usb high power (fast battery charge) 137 extern int tps65010_set_vbus_draw(unsigned mA);
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | am33xx-usb.txt | 44 - mentor,power: Should be "500". This signifies the controller can supply up to 45 500mA when operating in host mode. 114 mentor,power = <500>; 160 mentor,power = <500>;
|