Lines Matching refs:table_len
135 u8 table_len; member
258 data &= (tps->info[dcdc]->table_len - 1); in tps65023_dcdc_get_voltage()
282 for (vsel = 0; vsel < tps->info[dcdc]->table_len; vsel++) { in tps65023_dcdc_set_voltage()
293 if (vsel == tps->info[dcdc]->table_len) in tps65023_dcdc_set_voltage()
324 data &= (tps->info[ldo]->table_len - 1); in tps65023_ldo_get_voltage()
343 for (vsel = 0; vsel < tps->info[ldo]->table_len; vsel++) { in tps65023_ldo_set_voltage()
352 if (vsel == tps->info[ldo]->table_len) in tps65023_ldo_set_voltage()
376 if (selector >= tps->info[dcdc]->table_len) in tps65023_dcdc_list_voltage()
393 if (selector >= tps->info[ldo]->table_len) in tps65023_ldo_list_voltage()
468 tps->desc[i].n_voltages = info->table_len; in tps_65023_probe()
543 .table_len = ARRAY_SIZE(VCORE_VSEL_table),
551 .table_len = ARRAY_SIZE(TPS65020_LDO1_VSEL_table),
558 .table_len = ARRAY_SIZE(TPS65020_LDO2_VSEL_table),
580 .table_len = ARRAY_SIZE(VCORE_VSEL_table),
587 .table_len = ARRAY_SIZE(TPS65023_LDO1_VSEL_table),
594 .table_len = ARRAY_SIZE(TPS65023_LDO2_VSEL_table),
604 .table_len = ARRAY_SIZE(VCORE_VSEL_table),
623 .table_len = ARRAY_SIZE(TPS65023_LDO1_VSEL_table),
630 .table_len = ARRAY_SIZE(TPS65023_LDO2_VSEL_table),