Home
last modified time | relevance | path

Searched +full:100 +full:ma (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Drichtek,rt5033-charger.yaml27 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 Dti,lp8727.yaml53 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 Dbq2415x.yaml36 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>;
/openbmc/linux/include/linux/usb/
H A Dpd.h232 #define PDO_FIXED_CURR_SHIFT 0 /* 10mA units */
235 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) argument
237 #define PDO_FIXED(mv, ma, flags) \ argument
239 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma))
257 #define PDO_VAR_MAX_CURR_SHIFT 0 /* 10mA units */
261 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) argument
276 #define PDO_PPS_APDO_MAX_VOLT_SHIFT 17 /* 100mV units */
277 #define PDO_PPS_APDO_MIN_VOLT_SHIFT 8 /* 100mV units */
278 #define PDO_PPS_APDO_MAX_CURR_SHIFT 0 /* 50mA units */
284 ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MIN_VOLT_SHIFT)
[all …]
H A Dmusb.h90 /* (HOST or OTG) mA/2 power supplied on (default = 8mA) */
93 /* (PERIPHERAL) mA/2 max power consumed (default = 100mA) */
/openbmc/linux/drivers/power/supply/
H A Dpcf50633-charger.c36 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 Dbq2415x_charger.c506 ((ret >> 2) & 0x1) * 100; in bq2415x_get_vender_code()
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 */
549 return 100; in bq2415x_get_current_limit()
564 /* round to 100mV */ in bq2415x_set_weak_battery_voltage()
587 return 100 * (34 + ret); in bq2415x_get_weak_battery_voltage()
[all …]
H A Daxp288_charger.c41 #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 …]
/openbmc/linux/drivers/phy/mediatek/
H A Dphy-mtk-hdmi-mt8195.c240 else if (tmds_clk >= 54 * MEGA && (tmds_clk * 100) < 14835 * MEGA) in mtk_hdmi_pll_calc()
242 else if ((tmds_clk * 100) >= 14835 * MEGA && (tmds_clk * 10) < 2967 * MEGA) in mtk_hdmi_pll_calc()
312 * 3G < data rate <= 6G: enable impedance 100ohm, in mtk_hdmi_pll_drv_setting()
313 * data channel bias 24mA, clock channel bias 20mA in mtk_hdmi_pll_drv_setting()
315 * enalbe impedance 100ohm in mtk_hdmi_pll_drv_setting()
316 * data channel 20mA, clock channel 16mA in mtk_hdmi_pll_drv_setting()
318 * data channel & clock channel bias 10mA in mtk_hdmi_pll_drv_setting()
323 data_channel_bias = 0x3c; /* 24mA */ in mtk_hdmi_pll_drv_setting()
324 clk_channel_bias = 0x34; /* 20mA */ in mtk_hdmi_pll_drv_setting()
326 impedance = 0x36; /* 100ohm */ in mtk_hdmi_pll_drv_setting()
[all …]
/openbmc/linux/drivers/usb/phy/
H A Dphy-gpio-vbus-usb.c37 unsigned mA; member
45 * This driver relies on "both edges" triggering. VBUS has 100 msec to
58 static void set_vbus_draw(struct gpio_vbus_data *gpio_vbus, unsigned mA) in set_vbus_draw() argument
68 if (mA) { in set_vbus_draw()
69 regulator_set_current_limit(vbus_draw, 0, 1000 * mA); in set_vbus_draw()
84 gpio_vbus->mA = mA; in set_vbus_draw()
119 set_vbus_draw(gpio_vbus, 100); in gpio_vbus_work()
158 schedule_delayed_work(&gpio_vbus->work, msecs_to_jiffies(100)); in gpio_vbus_irq()
202 static int gpio_vbus_set_power(struct usb_phy *phy, unsigned mA) in gpio_vbus_set_power() argument
209 set_vbus_draw(gpio_vbus, mA); in gpio_vbus_set_power()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-imx8/sci/svc/pad/
H A Dapi.h22 #define SC_PAD_28FDSOI_DSE_18V_1MA 0U /* Drive strength of 1mA for 1.8v */
23 #define SC_PAD_28FDSOI_DSE_18V_2MA 1U /* Drive strength of 2mA for 1.8v */
24 #define SC_PAD_28FDSOI_DSE_18V_4MA 2U /* Drive strength of 4mA for 1.8v */
25 #define SC_PAD_28FDSOI_DSE_18V_6MA 3U /* Drive strength of 6mA for 1.8v */
26 #define SC_PAD_28FDSOI_DSE_18V_8MA 4U /* Drive strength of 8mA for 1.8v */
27 #define SC_PAD_28FDSOI_DSE_18V_10MA 5U /* Drive strength of 10mA for 1.8v */
28 #define SC_PAD_28FDSOI_DSE_18V_12MA 6U /* Drive strength of 12mA for 1.8v */
30 #define SC_PAD_28FDSOI_DSE_33V_2MA 0U /* Drive strength of 2mA for 3.3v */
31 #define SC_PAD_28FDSOI_DSE_33V_4MA 1U /* Drive strength of 4mA for 3.3v */
32 #define SC_PAD_28FDSOI_DSE_33V_8MA 2U /* Drive strength of 8mA for 3.3v */
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmediatek,mt8365-pinctrl.yaml77 - 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.
/openbmc/linux/include/linux/power/
H A Dbq2415x_charger.h29 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 */
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dcs35l34.txt15 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.
/openbmc/u-boot/include/power/
H A Dsandbox_pmic.h72 /* BUCK1 Amperage: min: 150mA, step: 25mA, max: 250mA */
87 /* LDO1 Amperage: min: 100mA, step: 50mA, max: 200mA */
/openbmc/linux/Documentation/leds/
H A Dleds-mt6370-rgb.rst13 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.
/openbmc/linux/arch/parisc/include/asm/
H A Dassembly.h63 #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 …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stmpe.yaml157 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)
/openbmc/linux/drivers/iio/dac/
H A Dad5758.c130 * 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 …]
/openbmc/linux/drivers/mfd/
H A Dtps65010.c133 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 …]
/openbmc/linux/include/dt-bindings/usb/
H A Dpd.h27 #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 …]
/openbmc/linux/include/linux/regulator/
H A Dconsumer.h23 * 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.
/openbmc/linux/drivers/input/touchscreen/
H A Dstmpe-ts.c59 * (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()
/openbmc/u-boot/include/linux/usb/
H A Dmusb.h106 /* (HOST or OTG) mA/2 power supplied on (default = 8mA) */
109 /* (PERIPHERAL) mA/2 max power consumed (default = 100mA) */
/openbmc/linux/drivers/media/i2c/
H A Dad5820.c182 * 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()

12345678910>>...16