Home
last modified time | relevance | path

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

/drivers/regulator/
Dtps62360-regulator.c60 int lru_index[4]; member
86 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register()
90 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
91 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register()
100 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
102 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register()
401 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe()
432 tps->lru_index[i] = i; in tps62360_probe()
433 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe()
434 tps->lru_index[tps->curr_vset_id] = 0; in tps62360_probe()
Dmax8973-regulator.c106 int lru_index[MAX8973_MAX_VOUT_REG]; member
137 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register()
141 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
142 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register()
151 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
153 tps->lru_index[0] = new_vout_reg; in find_voltage_set_register()
672 max->lru_index[0] = max->curr_vout_reg; in max8973_probe()
694 max->lru_index[i] = i; in max8973_probe()
695 max->lru_index[0] = max->curr_vout_reg; in max8973_probe()
696 max->lru_index[max->curr_vout_reg] = 0; in max8973_probe()
/drivers/scsi/smartpqi/
Dsmartpqi_init.c5932 u8 lru_index; in pqi_is_parity_write_stream() local
5964 lru_index = 0; in pqi_is_parity_write_stream()
5984 lru_index = i; in pqi_is_parity_write_stream()
5991 lru_index = i; in pqi_is_parity_write_stream()
5996 pqi_stream_data = &device->stream_data[lru_index]; in pqi_is_parity_write_stream()