Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/regulator/
Dtps62360-regulator.c73 int lru_index[4]; member
99 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register()
103 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
104 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register()
113 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
115 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register()
421 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe()
452 tps->lru_index[i] = i; in tps62360_probe()
453 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe()
454 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()
685 max->lru_index[0] = max->curr_vout_reg; in max8973_probe()
707 max->lru_index[i] = i; in max8973_probe()
708 max->lru_index[0] = max->curr_vout_reg; in max8973_probe()
709 max->lru_index[max->curr_vout_reg] = 0; in max8973_probe()
/linux-5.19.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c5856 u8 lru_index; in pqi_is_parity_write_stream() local
5888 lru_index = 0; in pqi_is_parity_write_stream()
5908 lru_index = i; in pqi_is_parity_write_stream()
5915 lru_index = i; in pqi_is_parity_write_stream()
5920 pqi_stream_data = &device->stream_data[lru_index]; in pqi_is_parity_write_stream()