Home
last modified time | relevance | path

Searched refs:lru_index (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/regulator/
Dtps62360-regulator.c74 int lru_index[4]; member
100 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register()
104 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
105 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register()
114 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
116 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register()
426 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe()
459 tps->lru_index[i] = i; in tps62360_probe()
460 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe()
461 tps->lru_index[tps->curr_vset_id] = 0; in tps62360_probe()
Dmax8973-regulator.c119 int lru_index[MAX8973_MAX_VOUT_REG]; member
150 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register()
154 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
155 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register()
164 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
166 tps->lru_index[0] = new_vout_reg; in find_voltage_set_register()
704 max->lru_index[0] = max->curr_vout_reg; in max8973_probe()
726 max->lru_index[i] = i; in max8973_probe()
727 max->lru_index[0] = max->curr_vout_reg; in max8973_probe()
728 max->lru_index[max->curr_vout_reg] = 0; in max8973_probe()