Lines Matching defs:mA
38 unsigned mA;
58 static void set_vbus_draw(struct gpio_vbus_data *gpio_vbus, unsigned mA)
67 if (mA) {
68 regulator_set_current_limit(vbus_draw, 0, 1000 * mA);
79 gpio_vbus->mA = mA;
191 static int gpio_vbus_set_power(struct otg_transceiver *otg, unsigned mA)
198 set_vbus_draw(gpio_vbus, mA);
209 /* draw max 0 mA from vbus in suspend mode; or the previously
212 * NOTE: high powered configs (mA > 100) may draw up to 2.5 mA
215 return gpio_vbus_set_power(otg, suspend ? 0 : gpio_vbus->mA);