Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A 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()
H A Dmax8973-regulator.c104 int lru_index[MAX8973_MAX_VOUT_REG]; member
135 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register()
139 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
140 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register()
149 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
151 tps->lru_index[0] = new_vout_reg; in find_voltage_set_register()
669 max->lru_index[0] = max->curr_vout_reg; in max8973_probe()
679 max->lru_index[i] = i; in max8973_probe()
680 max->lru_index[0] = max->curr_vout_reg; in max8973_probe()
681 max->lru_index[max->curr_vout_reg] = 0; in max8973_probe()
/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c5946 u8 lru_index; in pqi_is_parity_write_stream() local
5978 lru_index = 0; in pqi_is_parity_write_stream()
5999 lru_index = i; in pqi_is_parity_write_stream()
6006 lru_index = i; in pqi_is_parity_write_stream()
6011 pqi_stream_data = &device->stream_data[lru_index]; in pqi_is_parity_write_stream()