Lines Matching refs:mA
37 unsigned mA;
58 static void set_vbus_draw(struct gpio_vbus_data *gpio_vbus, unsigned mA)
68 if (mA) {
69 regulator_set_current_limit(vbus_draw, 0, 1000 * mA);
84 gpio_vbus->mA = mA;
202 static int gpio_vbus_set_power(struct usb_phy *phy, unsigned mA)
209 set_vbus_draw(gpio_vbus, mA);
220 /* draw max 0 mA from vbus in suspend mode; or the previously
223 * NOTE: high powered configs (mA > 100) may draw up to 2.5 mA
226 return gpio_vbus_set_power(phy, suspend ? 0 : gpio_vbus->mA);