Home
last modified time | relevance | path

Searched refs:mA (Results 1 – 89 of 89) sorted by relevance

/linux-4.1.27/arch/arm/mach-davinci/
Dusb.c85 void __init davinci_setup_usb(unsigned mA, unsigned potpgt_ms) in davinci_setup_usb() argument
87 usb_data.power = mA > 510 ? 255 : mA / 2; in davinci_setup_usb()
114 int __init da8xx_register_usb20(unsigned mA, unsigned potpgt) in da8xx_register_usb20() argument
117 usb_data.power = mA > 510 ? 255 : mA / 2; in da8xx_register_usb20()
130 void __init davinci_setup_usb(unsigned mA, unsigned potpgt_ms) in davinci_setup_usb() argument
135 int __init da8xx_register_usb20(unsigned mA, unsigned potpgt) in da8xx_register_usb20() argument
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/
Dti,bq24735.txt14 must be between 128mA and 8.128A with a 64mA step resolution. The POR value
15 is 0x0000h. This number is in mA (e.g. 8192), see spec for more information
22 value must be between 128mA and 8.064A with a 128mA step resolution. The
23 POR value is 0x1000h. This number is in mA (e.g. 8064), see the spec for
Dlp8727_charger.txt31 /* AC charger: 5% EOC and 500mA charging current */
38 /* USB charger: 10% EOC and 400mA charging current */
/linux-4.1.27/Documentation/leds/
Dleds-lm3556.txt18 from 93.75 mA to 1500 mA.The Flash currents are adjusted via the CURRENT
27 93.75 mA: #echo 1 > sys/class/leds/flash/brightness
29 1500 mA: #echo 16 > sys/class/leds/flash/brightness
41 46.88 mA: #echo 1 > sys/class/leds/torch/brightness
43 375 mA : #echo 8 > sys/class/leds/torch/brightness
63 5.86 mA : #echo 1 > sys/class/leds/indicator/brightness
65 46.875mA : #echo 8 > sys/class/leds/indicator/brightness
Dleds-lp5523.txt57 Format: 10x mA i.e 10 means 1.0 mA
Dleds-lp5521.txt48 Format: 10x mA i.e 10 means 1.0 mA
/linux-4.1.27/Documentation/devicetree/bindings/video/backlight/
Dsky81452-backlight.txt17 - skyworks,current-limit-mA
18 : It should be 2300mA or 2750mA.
28 skyworks,current-limit-mA = <2300>;
/linux-4.1.27/drivers/usb/phy/
Dphy-gpio-vbus-usb.c39 unsigned mA; member
60 static void set_vbus_draw(struct gpio_vbus_data *gpio_vbus, unsigned mA) in set_vbus_draw() argument
70 if (mA) { in set_vbus_draw()
71 regulator_set_current_limit(vbus_draw, 0, 1000 * mA); in set_vbus_draw()
86 gpio_vbus->mA = mA; in set_vbus_draw()
217 static int gpio_vbus_set_power(struct usb_phy *phy, unsigned mA) in gpio_vbus_set_power() argument
224 set_vbus_draw(gpio_vbus, mA); in gpio_vbus_set_power()
241 return gpio_vbus_set_power(phy, suspend ? 0 : gpio_vbus->mA); in gpio_vbus_set_suspend()
Dphy-generic.c76 static void nop_set_vbus_draw(struct usb_phy_generic *nop, unsigned mA) in nop_set_vbus_draw() argument
86 if (mA) { in nop_set_vbus_draw()
87 regulator_set_current_limit(vbus_draw, 0, 1000 * mA); in nop_set_vbus_draw()
102 nop->mA = mA; in nop_set_vbus_draw()
Dphy-generic.h17 unsigned long mA; member
Dphy-ab8500-usb.c1026 static unsigned ab8500_eyediagram_workaroud(struct ab8500_usb *ab, unsigned mA) in ab8500_eyediagram_workaroud() argument
1033 if (mA > 100) in ab8500_eyediagram_workaroud()
1034 mA = 100; in ab8500_eyediagram_workaroud()
1036 return mA; in ab8500_eyediagram_workaroud()
1039 static int ab8500_usb_set_power(struct usb_phy *phy, unsigned mA) in ab8500_usb_set_power() argument
1048 mA = ab8500_eyediagram_workaroud(ab, mA); in ab8500_usb_set_power()
1050 ab->vbus_draw = mA; in ab8500_usb_set_power()
Dphy-isp1301-omap.c103 static inline int tps65010_set_vbus_draw(unsigned mA) in tps65010_set_vbus_draw() argument
105 pr_debug("tps65010: draw %d mA (STUB)\n", mA); in tps65010_set_vbus_draw()
111 static void enable_vbus_draw(struct isp1301 *isp, unsigned mA) in enable_vbus_draw() argument
113 int status = tps65010_set_vbus_draw(mA); in enable_vbus_draw()
115 pr_debug(" VBUS %d mA error %d\n", mA, status); in enable_vbus_draw()
120 static void enable_vbus_draw(struct isp1301 *isp, unsigned mA) in enable_vbus_draw() argument
1401 isp1301_set_power(struct usb_phy *dev, unsigned mA) in isp1301_set_power() argument
1406 enable_vbus_draw(the_transceiver, mA); in isp1301_set_power()
Dphy-msm-usb.c633 static void msm_otg_notify_charger(struct msm_otg *motg, unsigned mA) in msm_otg_notify_charger() argument
635 if (motg->cur_power == mA) in msm_otg_notify_charger()
639 dev_info(motg->phy.dev, "Avail curr from USB = %u\n", mA); in msm_otg_notify_charger()
640 motg->cur_power = mA; in msm_otg_notify_charger()
643 static int msm_otg_set_power(struct usb_phy *phy, unsigned mA) in msm_otg_set_power() argument
655 msm_otg_notify_charger(motg, mA); in msm_otg_set_power()
Dphy-fsl-usb.c646 static int fsl_otg_set_power(struct usb_phy *phy, unsigned mA) in fsl_otg_set_power() argument
651 pr_info("FSL OTG: Draw %d mA\n", mA); in fsl_otg_set_power()
/linux-4.1.27/Documentation/devicetree/bindings/leds/
Dleds-pm8941-wled.txt15 - qcom,current-limit: mA; per-string current limit; value from 0 to 25
16 default: 20mA
17 - qcom,current-boost-limit: mA; boost current limit; one of:
19 default: 805mA
Dleds-lp55xx.txt15 - led-cur: Current setting at each led channel (mA x10, 0 if led is not connected)
/linux-4.1.27/Documentation/devicetree/bindings/rtc/
Drtc-palmas.txt18 backup battery. Device supports the < 100mA and > 100mA charging.
19 The high current will be > 100mA. Absence of this property will
20 charge battery to lower current i.e. < 100mA.
/linux-4.1.27/Documentation/devicetree/bindings/input/touchscreen/
Dstmpe.txt24 - st,i-drive: current limit value of the touchscreen drivers (0 -> 20 mA typical 35
25 mA max, 1 -> 50 mA typical 80 mA max)
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dallwinner,sunxi-pinctrl.txt38 0: 10 mA
39 1: 20 mA
40 2: 30 mA
41 3: 40 mA
Dimg,tz1090-pdc-pinctrl.txt47 - drive-strength: Integer, control drive strength of pins in mA.
48 2: 2mA
49 4: 4mA
50 8: 8mA
51 12: 12mA
Dqcom,pmic-gpio.txt161 1: high (PMIC_GPIO_STRENGTH_HIGH) 0.9mA @ 1.8V - 1.9mA @ 2.6V
162 2: medium (PMIC_GPIO_STRENGTH_MED) 0.6mA @ 1.8V - 1.25mA @ 2.6V
163 3: low (PMIC_GPIO_STRENGTH_LOW) 0.15mA @ 1.8V - 0.3mA @ 2.6V
Dimg,tz1090-pinctrl.txt47 - drive-strength: Integer, control drive strength of pins in mA.
48 2: 2mA
49 4: 4mA
50 8: 8mA
51 12: 12mA
Dbrcm,cygnus-gpio.txt49 Valid drive strength values include 2, 4, 6, 8, 10, 12, 14, 16 (mA)
Dbrcm,bcm11351-pinctrl.txt80 - drive-strength: Integer. Drive strength in mA. Valid values are
81 2, 4, 6, 8, 10, 12, 14, 16 mA.
168 - setting the drive strength to 4 mA
Dpinctrl-bindings.txt186 drive-strength - sink or source at most X mA
230 - drive-strength takes as argument the target strength in mA.
Dqcom,apq8084-pinctrl.txt146 Definition: Selects the drive strength for the specified pins, in mA.
Dqcom,msm8960-pinctrl.txt148 Definition: Selects the drive strength for the specified pins, in mA.
Dqcom,msm8916-pinctrl.txt154 Definition: Selects the drive strength for the specified pins, in mA.
Dfsl,mxs-pinctrl.txt118 to function as a 8-bit mmc device, with 8mA, 3.3V and pull-up configurations
/linux-4.1.27/Documentation/devicetree/bindings/power/
Dbq2415x.txt19 from power supply in mA.
24 - ti,charge-current: integer, maximum charging current in mA.
26 constant-voltage phase drops below this value (in mA).
/linux-4.1.27/Documentation/power/regulator/
Doverview.txt94 - regulator current output limit is 20mA @ 5V but is
95 10mA @ 10V.
103 - Domain-3 current limit is 0mA -> 20mA.
109 from 5mA to 10mA to increase LCD illumination. This passes
113 request next current mA value in brightness table (the
Dconsumer.txt103 to set the limit to 500mA when supplying power.
/linux-4.1.27/Documentation/hwmon/
Dltc424555 curr1_input 12v current (mA)
56 curr2_input 5v current (mA)
57 curr3_input 3v current (mA)
58 curr4_input Vee (-12v) current (mA)
Dtwl4030-madc-hwmon45 battery charging current in mA.
Dltc415147 curr1_input SENSE current (mA)
Dltc426055 curr1_input SENSE current (mA)
Dlineage-pem62 curr1_input Input current (mA, optional)
Dltc426162 curr1_input SENSE current (mA)
Dltc294567 curr1_input SENSE current (mA)
Dina20969 curr1_input current measurement (mA)
/linux-4.1.27/Documentation/arm/pxa/
Dmfp.txt177 0b000 - fast 1mA
178 0b001 - fast 2mA
179 0b002 - fast 3mA
180 0b003 - fast 4mA
181 0b004 - slow 6mA
182 0b005 - fast 6mA
183 0b006 - slow 10mA
184 0b007 - fast 10mA
249 * drive strength = fast 3mA (MFP_DS03X)
/linux-4.1.27/Documentation/w1/masters/
Dds249021 - The weak pullup current is a minimum of 0.9mA and maximum of 6.0mA.
22 - The 5V strong pullup is supported with a minimum of 5.9mA and a
23 maximum of 30.4 mA. (From DS2490.pdf)
/linux-4.1.27/include/linux/usb/
Dphy.h107 unsigned mA);
261 usb_phy_set_power(struct usb_phy *x, unsigned mA) in usb_phy_set_power() argument
264 return x->set_power(x, mA); in usb_phy_set_power()
Dgadget.h487 int (*vbus_draw) (struct usb_gadget *, unsigned mA);
736 static inline int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw() argument
740 return gadget->ops->vbus_draw(gadget, mA); in usb_gadget_vbus_draw()
/linux-4.1.27/drivers/power/
Dbq2415x_charger.c530 static int bq2415x_set_current_limit(struct bq2415x_device *bq, int mA) in bq2415x_set_current_limit() argument
534 if (mA <= 100) in bq2415x_set_current_limit()
536 else if (mA <= 500) in bq2415x_set_current_limit()
538 else if (mA <= 800) in bq2415x_set_current_limit()
629 static int bq2415x_set_charge_current(struct bq2415x_device *bq, int mA) in bq2415x_set_charge_current() argument
636 val = (mA * bq->init_data.resistor_sense - 37400) / 6800; in bq2415x_set_charge_current()
663 static int bq2415x_set_termination_current(struct bq2415x_device *bq, int mA) in bq2415x_set_termination_current() argument
670 val = (mA * bq->init_data.resistor_sense - 3400) / 3400; in bq2415x_set_termination_current()
803 int mA; in bq2415x_notifier_call() local
818 mA = prop.intval; in bq2415x_notifier_call()
[all …]
Dda9030_battery.c111 int mA; member
147 charger->mA, charger->mV); in bat_debug_show()
224 charger->mA = ((val >> 3) & 0xf) * 100; in da9030_charger_update_state()
Dab8500_charger.c3282 unsigned mA = *((unsigned *)power); in ab8500_charger_usb_notifier_call() local
3295 if ((di->usb_state.usb_current == 2) && (mA > 2)) in ab8500_charger_usb_notifier_call()
3297 else if (mA == 0) in ab8500_charger_usb_notifier_call()
3299 else if (mA == 2) in ab8500_charger_usb_notifier_call()
3301 else if (mA >= 8) /* 8, 100, 500 */ in ab8500_charger_usb_notifier_call()
3307 __func__, bm_usb_state, mA); in ab8500_charger_usb_notifier_call()
3311 di->usb_state.usb_current_tmp = mA; in ab8500_charger_usb_notifier_call()
/linux-4.1.27/Documentation/input/
Damijoy.txt20 (7) - +5V (50mA)
32 (7) - +5V (50mA)
44 (7) - +5V (50mA)
56 (7) - +5V (50mA)
Dxpad.txt196 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
207 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dsilabs,si5351.txt44 - silabs,drive-strength: output drive strength in mA, shall be one of {2,4,6,8}.
82 * - 8mA output drive strength
99 * - 4mA output drive strength
/linux-4.1.27/drivers/mfd/
Dtps65010.c698 int tps65010_set_vbus_draw(unsigned mA) in tps65010_set_vbus_draw() argument
707 if (mA >= 500) in tps65010_set_vbus_draw()
708 mA = 500; in tps65010_set_vbus_draw()
709 else if (mA >= 100) in tps65010_set_vbus_draw()
710 mA = 100; in tps65010_set_vbus_draw()
712 mA = 0; in tps65010_set_vbus_draw()
713 the_tps->vbus = mA; in tps65010_set_vbus_draw()
/linux-4.1.27/include/linux/platform_data/
Dusb-davinci.h57 void davinci_setup_usb(unsigned mA, unsigned potpgt_ms);
/linux-4.1.27/arch/arm/boot/dts/
Dam3517-craneboard.dts114 * VDIG1=2.7V,300mA max
115 * VDIG2=1.8V,300mA max
Dtegra30-apalis.dtsi555 * 50 mA typical 80 mA max touchscreen drivers
Dam335x-bone-common.dtsi241 * measurement after shutdown: it should be less than 1 mA.)
Dam57xx-beagle-x15.dts85 /* Based on 5v 500mA AFB02505HHB */
/linux-4.1.27/Documentation/devicetree/bindings/iio/frequency/
Dadf4350.txt28 - adi,charge-pump-current: Charge pump current in mA.
29 Default = 2500mA.
/linux-4.1.27/Documentation/usb/
Dacm.txt76 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
85 C: #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA
90 C:* #Ifs= 2 Cfg#= 2 Atr=60 MxPwr= 0mA
Dproc_usb_info.txt209 | | | | | |__MaxPower in mA
313 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
320 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
327 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
336 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
Dgadget_serial.txt202 C:* #Ifs= 2 Cfg#= 2 Atr=c0 MxPwr= 2mA
234 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
Dpersist.txt11 bus must continue to supply suspend current (around 1-5 mA). This
/linux-4.1.27/include/linux/i2c/
Dtps65010.h135 extern int tps65010_set_vbus_draw(unsigned mA);
/linux-4.1.27/arch/arm/mach-davinci/include/mach/
Dda8xx.h91 int da8xx_register_usb20(unsigned mA, unsigned potpgt);
/linux-4.1.27/Documentation/devicetree/bindings/net/wireless/
Dbrcm,bcm43xx-fmac.txt12 - brcm,drive-strength : drive strength used for SDIO pins on device in mA
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe/
Dusb.txt18 - hub-power-budget : USB power budget for the root hub, in mA.
/linux-4.1.27/drivers/usb/musb/
Dtusb6010.c327 static int tusb_draw_power(struct usb_phy *x, unsigned mA) in tusb_draw_power() argument
343 if (x->otg->default_a || mA < (musb->min_power << 1)) in tusb_draw_power()
344 mA = 0; in tusb_draw_power()
347 if (mA) { in tusb_draw_power()
356 dev_dbg(musb->controller, "draw max %d mA VBUS\n", mA); in tusb_draw_power()
Dblackfin.c349 static int bfin_musb_set_power(struct usb_phy *x, unsigned mA) in bfin_musb_set_power() argument
Dmusb_gadget.c1650 static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in musb_gadget_vbus_draw() argument
1656 return usb_phy_set_power(musb->xceiv, mA); in musb_gadget_vbus_draw()
/linux-4.1.27/Documentation/zh_CN/
Dgpio.txt424 (2 mA vs 20 mA)和电压(1.8V vs 3.3V)是平台特定问题,就像模型一样在
/linux-4.1.27/include/linux/mfd/abx500/
Dab8500-bm.h464 void ab8500_charger_usb_state_changed(u8 bm_usb_state, u16 mA);
/linux-4.1.27/Documentation/w1/slaves/
Dw1_therm48 maximum current draw of 1.5mA and that a 5k pullup resistor is not
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Domap-usb.txt17 100mA when operating in host mode.
Dam33xx-usb.txt45 500mA when operating in host mode.
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dmax77693.txt63 the charging current will be reduced by 105 mA/Celsius.
/linux-4.1.27/drivers/hid/
Dhid-cp2112.c803 int mA;
805 if (sscanf(buf, "%i", &mA) != 1)
808 cfg.max_power = (mA + 1) / 2;
/linux-4.1.27/drivers/usb/gadget/
DKconfig98 int "Maximum VBUS Power usage (2-500 mA)"
108 milliAmperes. The permitted range of values is 2 - 500 mA;
109 0 mA would be legal, but can make some hosts misbehave.
/linux-4.1.27/drivers/staging/emxx_udc/
Demxx_udc.h629 unsigned mA; member
Demxx_udc.c3143 static int nbu2ss_gad_vbus_draw(struct usb_gadget *pgadget, unsigned mA) in nbu2ss_gad_vbus_draw() argument
3158 udc->mA = mA; in nbu2ss_gad_vbus_draw()
3286 udc->mA = 0; in nbu2ss_drv_contest_init()
/linux-4.1.27/Documentation/x86/
Dearlyprintk.txt27 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
/linux-4.1.27/drivers/usb/gadget/udc/
Ds3c-hsudc.c1231 static int s3c_hsudc_vbus_draw(struct usb_gadget *gadget, unsigned mA) in s3c_hsudc_vbus_draw() argument
1239 return usb_phy_set_power(hsudc->transceiver, mA); in s3c_hsudc_vbus_draw()
Dpxa25x_udc.c988 static int pxa25x_udc_vbus_draw(struct usb_gadget *_gadget, unsigned mA) in pxa25x_udc_vbus_draw() argument
995 return usb_phy_set_power(udc->transceiver, mA); in pxa25x_udc_vbus_draw()
Dmv_u3d_core.c1195 static int mv_u3d_vbus_draw(struct usb_gadget *gadget, unsigned mA) in mv_u3d_vbus_draw() argument
1199 u3d->power = mA; in mv_u3d_vbus_draw()
Dpxa27x_udc.c1648 static int pxa_udc_vbus_draw(struct usb_gadget *_gadget, unsigned mA) in pxa_udc_vbus_draw() argument
1654 return usb_phy_set_power(udc->transceiver, mA); in pxa_udc_vbus_draw()
Dfsl_udc_core.c1204 static int fsl_vbus_draw(struct usb_gadget *gadget, unsigned mA) in fsl_vbus_draw() argument
1210 return usb_phy_set_power(udc->transceiver, mA); in fsl_vbus_draw()
Domap_udc.c1287 static int omap_vbus_draw(struct usb_gadget *gadget, unsigned mA) in omap_vbus_draw() argument
1293 return usb_phy_set_power(udc->transceiver, mA); in omap_vbus_draw()
Dpch_udc.c1237 static int pch_udc_pcd_vbus_draw(struct usb_gadget *gadget, unsigned int mA) in pch_udc_pcd_vbus_draw() argument
/linux-4.1.27/drivers/mtd/nand/
DKconfig208 approximately 5mA of power when there is nothing happening.
/linux-4.1.27/Documentation/gpio/
Dgpio-legacy.txt498 Likewise drive strength (2 mA vs 20 mA) and voltage (1.8V vs 3.3V) is a
/linux-4.1.27/drivers/usb/dwc2/
Dgadget.c3211 static int s3c_hsotg_vbus_draw(struct usb_gadget *gadget, unsigned mA) in s3c_hsotg_vbus_draw() argument
3217 return usb_phy_set_power(hsotg->uphy, mA); in s3c_hsotg_vbus_draw()