Searched refs:bank_index (Results 1 – 2 of 2) sorted by relevance
214 int bank_index; member675 index = req->bank_index; in cpcap_adc_phase()685 index = req->bank_index; in cpcap_adc_phase()800 addr = CPCAP_REG_ADCD0 + req->bank_index * 4; in cpcap_adc_read_bank_scaled()822 req->bank_index = channel; in cpcap_adc_init_request()825 req->bank_index = channel - 8; in cpcap_adc_init_request()828 req->bank_index = CPCAP_ADC_BATTP; in cpcap_adc_init_request()831 req->bank_index = CPCAP_ADC_BATTI; in cpcap_adc_init_request()
544 static int tpm2_init_bank_info(struct tpm_chip *chip, u32 bank_index) in tpm2_init_bank_info() argument546 struct tpm_bank_info *bank = chip->allocated_banks + bank_index; in tpm2_init_bank_info()