/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | push.h | 126 #define PUSH_1(X,f,ds,n,o,p,s,mA,dA) do { \ argument 127 PUSH_##o##_HDR((p), s, mA, (ds)+(n)); \ 128 PUSH_##f(X, (p), X##mA, 1, o, (dA), ds, ""); \ 130 #define PUSH_2(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument 131 PUSH_ASSERT((mB) - (mA) == (1?PUSH_##o##_INC), "mthd1"); \ 132 PUSH_1(X, DATA_, 1, (ds) + (n), o, (p), s, X##mA, (dA), ##a); \ 135 #define PUSH_3(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument 136 PUSH_ASSERT((mB) - (mA) == (0?PUSH_##o##_INC), "mthd2"); \ 137 PUSH_2(X, DATA_, 1, (ds) + (n), o, (p), s, X##mA, (dA), ##a); \ 140 #define PUSH_4(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument [all …]
|
/openbmc/linux/Documentation/leds/ |
H A D | leds-lm3556.rst | 22 from 93.75 mA to 1500 mA.The Flash currents are adjusted via the CURRENT 37 93.75 mA:: 43 1500 mA:: 64 46.88 mA:: 70 375 mA:: 107 5.86 mA:: 113 46.875mA::
|
/openbmc/linux/drivers/usb/phy/ |
H A D | phy-gpio-vbus-usb.c | 37 unsigned mA; member 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() 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() 226 return gpio_vbus_set_power(phy, suspend ? 0 : gpio_vbus->mA); in gpio_vbus_set_suspend()
|
H A D | phy.c | 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() 252 usb_phy->chg_cur.cdp_max = (mA > DEFAULT_CDP_CUR_MAX) ? in usb_phy_set_charger_current() 253 DEFAULT_CDP_CUR_MAX : mA; in usb_phy_set_charger_current() [all …]
|
H A D | phy-generic.c | 71 static void nop_set_vbus_draw(struct usb_phy_generic *nop, unsigned mA) in nop_set_vbus_draw() argument 81 if (mA) { in nop_set_vbus_draw() 82 regulator_set_current_limit(vbus_draw, 0, 1000 * mA); in nop_set_vbus_draw() 97 nop->mA = mA; in nop_set_vbus_draw()
|
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | sky81452-backlight.txt | 17 - skyworks,current-limit-mA 18 : It should be 2300mA or 2750mA. 28 skyworks,current-limit-mA = <2300>;
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l34.txt | 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.
|
/openbmc/linux/include/linux/usb/ |
H A D | phy.h | 134 unsigned mA); 229 unsigned int mA); 271 unsigned int mA) in usb_phy_set_charger_current() argument 288 usb_phy_set_power(struct usb_phy *x, unsigned mA) in usb_phy_set_power() argument 293 usb_phy_set_charger_current(x, mA); in usb_phy_set_power() 296 return x->set_power(x, mA); in usb_phy_set_power()
|
H A D | gadget.h | 317 int (*vbus_draw) (struct usb_gadget *, unsigned mA); 432 unsigned mA; member 614 int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA); 634 static inline int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw() argument
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ina3221.rst | 33 curr[123]_input Current(mA) measurement channels 35 curr[123]_crit Critical alert current(mA) setting, activates the 39 curr[123]_max Warning alert current(mA) setting, activates the 46 curr4_input Sum of current(mA) measurement channels, 49 curr4_crit Critical alert current(mA) setting for sum of current
|
H A D | ltc4245.rst | 62 curr1_input 12v current (mA) 63 curr2_input 5v current (mA) 64 curr3_input 3v current (mA) 65 curr4_input Vee (-12v) current (mA)
|
H A D | ltc2990.rst | 55 curr1_input Current in mA across V1-V2 assuming a 1mOhm sense resistor 56 curr2_input Current in mA across V3-V4 assuming a 1mOhm sense resistor
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lm3601x.txt | 20 - flash-max-microamp : Range from 11mA - 1.5A 22 - led-max-microamp : Range from 2.4mA - 376mA
|
/openbmc/linux/Documentation/power/regulator/ |
H A D | overview.rst | 101 - regulator current output limit is 20mA @ 5V but is 102 10mA @ 10V. 110 - Domain-3 current limit is 0mA -> 20mA. 116 from 5mA to 10mA to increase LCD illumination. This passes 120 request next current mA value in brightness table (the
|
/openbmc/linux/Documentation/arch/arm/pxa/ |
H A D | mfp.rst | 179 0b000 - fast 1mA 180 0b001 - fast 2mA 181 0b002 - fast 3mA 182 0b003 - fast 4mA 183 0b004 - slow 6mA 184 0b005 - fast 6mA 185 0b006 - slow 10mA 186 0b007 - fast 10mA 251 * drive strength = fast 3mA (MFP_DS03X)
|
/openbmc/linux/Documentation/w1/masters/ |
H A D | ds2490.rst | 24 - The weak pullup current is a minimum of 0.9mA and maximum of 6.0mA. 25 - The 5V strong pullup is supported with a minimum of 5.9mA and a 26 maximum of 30.4 mA. (From DS2490.pdf)
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | trace.h | 27 __field(unsigned, mA) 48 __entry->mA = g->mA; 66 __entry->speed, __entry->max_speed, __entry->state, __entry->mA,
|
/openbmc/linux/drivers/power/supply/ |
H A D | bq2415x_charger.c | 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() 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() 655 static int bq2415x_set_termination_current(struct bq2415x_device *bq, int mA) in bq2415x_set_termination_current() argument 662 val = (mA * bq->init_data.resistor_sense - 3400) / 3400; in bq2415x_set_termination_current() 786 static bool bq2415x_update_reported_mode(struct bq2415x_device *bq, int mA) in bq2415x_update_reported_mode() argument 790 if (mA == 0) in bq2415x_update_reported_mode() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | nuvoton,npcm7xx-pinctrl.txt | 116 <2> - 2mA 117 <4> - 4mA 118 <8> - 8mA 119 <12> - 12mA 120 <16> - 16mA 121 <24> - 24mA
|
/openbmc/linux/drivers/mfd/ |
H A D | tps65010.c | 675 int tps65010_set_vbus_draw(unsigned mA) in tps65010_set_vbus_draw() argument 684 if (mA >= 500) in tps65010_set_vbus_draw() 685 mA = 500; in tps65010_set_vbus_draw() 686 else if (mA >= 100) in tps65010_set_vbus_draw() 687 mA = 100; in tps65010_set_vbus_draw() 689 mA = 0; in tps65010_set_vbus_draw() 690 the_tps->vbus = mA; in tps65010_set_vbus_draw()
|
/openbmc/u-boot/include/linux/usb/ |
H A D | gadget.h | 443 int (*vbus_draw) (struct usb_gadget *, unsigned mA); 665 static inline int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw() argument 669 return gadget->ops->vbus_draw(gadget, mA); in usb_gadget_vbus_draw()
|
/openbmc/linux/Documentation/input/devices/ |
H A D | amijoy.rst | 35 7 +5V (50mA) 52 7 +5V (50mA) 69 7 +5V (50mA) 86 7 +5V (50mA)
|
/openbmc/linux/include/linux/platform_data/ |
H A D | usb-davinci.h | 20 void davinci_setup_usb(unsigned mA, unsigned potpgt_ms);
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | silabs,si5351.txt | 48 - silabs,drive-strength: output drive strength in mA, shall be one of {2,4,6,8}. 87 * - 8mA output drive strength 104 * - 4mA output drive strength
|