Searched refs:bank_index (Results 1 – 2 of 2) sorted by relevance
214 int bank_index; member682 index = req->bank_index; in cpcap_adc_phase()692 index = req->bank_index; in cpcap_adc_phase()807 addr = CPCAP_REG_ADCD0 + req->bank_index * 4; in cpcap_adc_read_bank_scaled()829 req->bank_index = channel; in cpcap_adc_init_request()832 req->bank_index = channel - 8; in cpcap_adc_init_request()835 req->bank_index = CPCAP_ADC_BATTP; in cpcap_adc_init_request()838 req->bank_index = CPCAP_ADC_BATTI; in cpcap_adc_init_request()
507 static int tpm2_init_bank_info(struct tpm_chip *chip, u32 bank_index) in tpm2_init_bank_info() argument509 struct tpm_bank_info *bank = chip->allocated_banks + bank_index; in tpm2_init_bank_info()