Lines Matching refs:unit
88 /* lookup table of control registers indexed by regulator unit number */
117 /* lookup table of regulator supplies indexed by regulator unit number */
167 switch (pdata->unit) {
223 switch (pdata->unit) {
255 reg = get_ctrl_reg_from_unit_addr(pdata->unit);
273 reg = get_ctrl_reg_from_unit_addr(pdata->unit);
311 switch (pdata->unit) {
330 switch (pdata->unit) {
375 if (pdata->unit == TPS65910_UNIT_VIO)
397 pdata->unit = dev_get_driver_data(dev);
398 if (pdata->unit > TPS65910_UNIT_VMMC)
400 supply_name = supply_names[regulator_supplies[pdata->unit]];