/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | richtek,rt5033-charger.yaml | 27 Current of pre-charge mode. The pre-charge current levels are 350 mA 28 to 650 mA programmed by I2C per 100 mA. 31 Current of fast-charge mode. The fast-charge current levels are 700 mA 32 to 2000 mA programmed by I2C per 100 mA. 35 This property is end of charge current. Its level ranges from 150 mA 36 to 600 mA. Between 150 mA and 300 mA in 50 mA steps, between 300 mA and 37 600 mA in 100 mA steps.
|
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 | bq2415x.yaml | 36 description: initial maximum current charger can pull from power supply in mA. 50 description: maximum charging current in mA. 56 below this value (in mA). 88 ti,current-limit = <100>; 92 ti,termination-current = <100>;
|
/linux/include/linux/usb/ |
H A D | pd.h | 237 #define PDO_FIXED_CURR_SHIFT 0 /* 10mA units */ 240 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) 242 #define PDO_FIXED(mv, ma, flags) \ 244 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 262 #define PDO_VAR_MAX_CURR_SHIFT 0 /* 10mA units */ argument 266 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) 281 #define PDO_PPS_APDO_MAX_VOLT_SHIFT 17 /* 100mV units */ 282 #define PDO_PPS_APDO_MIN_VOLT_SHIFT 8 /* 100m 236 PDO_FIXED_CURR(ma) global() argument 238 PDO_FIXED(mv,ma,flags) global() argument 288 PDO_PPS_APDO_MAX_CURR(ma) global() argument 365 PDO_FIXED_OP_CURR(ma) global() argument 366 PDO_FIXED_MAX_CURR(ma) global() argument 393 PDO_PROG_OP_CURR(ma) global() argument [all...] |
H A D | musb.h | 90 /* (HOST or OTG) mA/2 power supplied on (default = 8mA) */ 93 /* (PERIPHERAL) mA/2 max power consumed (default = 100mA) */
|
/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 | 507 ((ret >> 2) & 0x1) * 100; in bq2415x_get_vender_code() 522 /* set current limit in mA */ in bq2415x_set_current_limit() argument 523 static int bq2415x_set_current_limit(struct bq2415x_device *bq, int mA) in bq2415x_set_current_limit() 527 if (mA <= 100) in bq2415x_set_current_limit() 529 else if (mA <= 500) in bq2415x_set_current_limit() 531 else if (mA <= 800) in bq2415x_set_current_limit() 540 /* get current limit in mA */ in bq2415x_get_current_limit() 550 return 100; in bq2415x_get_current_limit() 565 /* round to 100m in bq2415x_set_weak_battery_voltage() 621 bq2415x_set_charge_current(struct bq2415x_device * bq,int mA) bq2415x_set_charge_current() argument 655 bq2415x_set_termination_current(struct bq2415x_device * bq,int mA) bq2415x_set_termination_current() argument 786 bq2415x_update_reported_mode(struct bq2415x_device * bq,int mA) bq2415x_update_reported_mode() argument [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 */ 48 #define VBUS_ISPOUT_VHOLD_SET_LSB_RES 100 /* 100mV */ 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 */ [all …]
|
H A D | max77976_charger.c | 71 /* CHG_CNFG_02.CHG_CC: charge current limit, 100..5500 mA, 50 mA steps */ 76 /* CHG_CNFG_09.CHGIN_ILIM: input current limit, 100..3200 mA, 100 mA steps */
|
/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-hdmi-mt8195.c | 242 else if (tmds_clk >= 54 * MEGA && (tmds_clk * 100) < 14835 * MEGA) in mtk_hdmi_pll_calc() 244 else if ((tmds_clk * 100) >= 14835 * MEGA && (tmds_clk * 10) < 2967 * MEGA) in mtk_hdmi_pll_calc() 314 * 3G < data rate <= 6G: enable impedance 100ohm, in mtk_hdmi_pll_drv_setting() 315 * data channel bias 24mA, clock channel bias 20mA in mtk_hdmi_pll_drv_setting() 317 * enalbe impedance 100ohm in mtk_hdmi_pll_drv_setting() 318 * data channel 20mA, clock channel 16mA in mtk_hdmi_pll_drv_setting() 320 * data channel & clock channel bias 10mA in mtk_hdmi_pll_drv_setting() 325 data_channel_bias = 0x3c; /* 24mA */ in mtk_hdmi_pll_drv_setting() [all...] |
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt8365-pinctrl.yaml | 77 - enum: [100, 101, 102, 103] 83 100: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled. 91 - enum: [100, 101, 102, 103] 97 100: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled. 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/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/gpu/drm/vc4/ |
H A D | vc4_hdmi_phy.c | 662 /* 200mA */ 671 /* 200mA */ 674 /* 17.6 mA */ 678 /* 200mA */ 687 /* 200mA */ 690 /* 17.6 mA */ 694 /* 200mA */ 703 /* 200mA */ 706 /* 17.6 mA */ 711 /* 200mA */ [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l34.txt | 15 increments of 100mV. 28 - cirrus,boost-peak-milliamp : Boost converter peak current limit in mA. The 29 range starts at 1200mA and goes to a maximum of 3840mA with increments of 30 80mA. The default value is 2480mA.
|
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. 68 4 = 100ms (Default)
|
/linux/arch/parisc/include/asm/ |
H A D | assembly.h | 63 #define STREGM std,ma 278 fstd,ma %fr0, 8(\regs) 279 fstd,ma %fr1, 8(\regs) 280 fstd,ma %fr2, 8(\regs) 281 fstd,ma %fr3, 8(\regs) 282 fstd,ma %fr4, 8(\regs) 283 fstd,ma %fr5, 8(\regs) 284 fstd,ma %fr6, 8(\regs) 285 fstd,ma %fr7, 8(\regs) 286 fstd,ma %fr8, 8(\regs) [all …]
|
/linux/drivers/iio/dac/ |
H A D | ad5758.c | 130 * 1000: 0 mA to 20 mA current range 131 * 1001: 0 mA to 24 mA current range 132 * 1010: 4 mA to 20 mA current range 133 * 1011: ±20 mA current range 134 * 1100: ±24 mA current range 135 * 1101: -1 mA to +22 mA current range 274 usleep_range(100, 1000); in ad5758_wait_for_task_complete() 310 /* Perform a software reset and wait at least 100us */ in ad5758_soft_reset() 311 usleep_range(100, 1000); in ad5758_soft_reset() 481 usleep_range(100, 1000); in ad5758_reset() [all …]
|
/linux/drivers/mfd/ |
H A D | tps65010.c | 133 case 3: p = 100; break; in dbg_chgconf() 139 ? ((chgconfig & TPS_VBUS_500MA) ? 500 : 100) in dbg_chgconf() 150 char buf [100]; in show_chgstatus() 158 char buf [100]; in show_regstatus() 166 char buf [100]; in show_chgconfig() 187 char buf[100]; in dbg_show() 256 (value & 0x7f) * 10, (v2 & 0x7f) * 100); in dbg_show() 265 (value & 0x7f) * 10, (v2 & 0x7f) * 100); in dbg_show() 414 else if (tps->vbus >= 100) in tps65010_work() 590 tps->vbus = 100; in tps65010_probe() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | st,stmpe.yaml | 157 2 = 100 us 170 1 = 100 us 176 7 = 100 ms 189 0 = 20 mA (typical 35 mA max) 190 1 = 50 mA (typical 80 mA max)
|
/linux/Documentation/leds/ |
H A D | leds-mt6370-rgb.rst | 13 a sink current up to 24mA and a CHG_VIN power good indicator LED with sink 14 current up to 6mA. It provides three operation modes for RGB LEDs: 51 * Tr2: Second rising time for 31% - 100% load. 52 * Ton: On time for 100% load. 53 * Tf1: First falling time for 100% - 31% load.
|
/linux/include/dt-bindings/usb/ |
H A D | pd.h | 27 #define PDO_FIXED_CURR_SHIFT 0 /* 10mA units */ 30 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) argument 32 #define PDO_FIXED(mv, ma, flags) \ argument 34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 52 #define PDO_VAR_MAX_CURR_SHIFT 0 /* 10mA units */ 56 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) argument 69 #define PDO_PPS_APDO_MAX_VOLT_SHIFT 17 /* 100mV units */ 70 #define PDO_PPS_APDO_MIN_VOLT_SHIFT 8 /* 100mV units */ 71 #define PDO_PPS_APDO_MAX_CURR_SHIFT 0 /* 50mA units */ 77 ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MIN_VOLT_SHIFT) [all …]
|
/linux/include/linux/regulator/ |
H A D | consumer.h | 23 * e.g. Devices x,y,z share regulator r. Device x and y draw 20mA each during 24 * IO and 1mA at idle. Device z draws 100mA when under load and 5mA when 25 * idling. Regulator r has > 90% efficiency in NORMAL mode at loads > 100mA 26 * but this drops rapidly to 60% when below 100mA. Regulator r has > 90% 27 * efficiency in IDLE mode at loads < 10mA. Thus regulator r will operate 28 * in normal mode for loads > 10mA and in IDLE mode for load <= 10mA.
|
/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, 64 * 4 -> 5 ms, 5 -> 10 ms, 6 for 50 ms, 7 -> 100 ms) 70 * (0 -> 20 mA typical 35 mA max, 1 -> 50 mA typical 80 mA max) 118 udelay(100); in stmpe_work()
|
/linux/drivers/media/i2c/ |
H A D | ad5820.c | 182 * Minimum current is 0 mA, maximum is 100 mA. Thus, 1 code is in ad5820_init_controls() 183 * equivalent to 100/1023 = 0.0978 mA. Nevertheless, we do not use [mA] in ad5820_init_controls()
|
/linux/drivers/platform/x86/amd/pmf/ |
H A D | pmf.h | 218 u16 gfx_activity; /* GFX busy % [0-100] */ 221 u16 vcn_activity; /* VCN busy % [0-100] */ 224 u16 ipu_busy[8]; /* NPU busy % [0-100] */ 227 u16 core_c0residency[16]; /* C0 residency % [0-100] */ 262 u16 currents[2]; /* in mA */ 277 u16 vdd_tdc_val; /* in mA */ 278 u16 soc_tdc_val; /* in mA */ 279 u16 vdd_edc_val; /* in mA */ 280 u16 soc_edcv_al; /* in mA */
|