Lines Matching refs:dcdc
250 int data, dcdc = rdev_get_id(dev);
253 if (dcdc < TPS6507X_DCDC_1 || dcdc > TPS6507X_DCDC_3)
256 shift = TPS6507X_MAX_REG_ID - dcdc;
286 int dcdc = rdev_get_id(dev);
289 if (dcdc < TPS6507X_DCDC_1 || dcdc > TPS6507X_DCDC_3)
292 shift = TPS6507X_MAX_REG_ID - dcdc;
299 int dcdc = rdev_get_id(dev);
302 if (dcdc < TPS6507X_DCDC_1 || dcdc > TPS6507X_DCDC_3)
305 shift = TPS6507X_MAX_REG_ID - dcdc;
340 int data, dcdc = rdev_get_id(dev);
343 switch (dcdc) {
348 if (tps->info[dcdc]->defdcdc_default)
354 if (tps->info[dcdc]->defdcdc_default)
368 return tps->info[dcdc]->table[data] * 1000;
375 int data, vsel, dcdc = rdev_get_id(dev);
378 switch (dcdc) {
383 if (tps->info[dcdc]->defdcdc_default)
389 if (tps->info[dcdc]->defdcdc_default)
398 if (min_uV < tps->info[dcdc]->min_uV
399 || min_uV > tps->info[dcdc]->max_uV)
401 if (max_uV < tps->info[dcdc]->min_uV
402 || max_uV > tps->info[dcdc]->max_uV)
405 for (vsel = 0; vsel < tps->info[dcdc]->table_len; vsel++) {
406 int mV = tps->info[dcdc]->table[vsel];
415 if (vsel == tps->info[dcdc]->table_len)
500 int dcdc = rdev_get_id(dev);
502 if (dcdc < TPS6507X_DCDC_1 || dcdc > TPS6507X_DCDC_3)
505 if (selector >= tps->info[dcdc]->table_len)
508 return tps->info[dcdc]->table[selector] * 1000;