Searched refs:bank_num (Results 1 – 4 of 4) sorted by relevance
318 int bank_num = DAPQ_tail / PCTODSP_OFFSET(DAQDS__size); in snd_msnd_DAPQ() local326 DAQD = bank_num * DAQDS__size + chip->mappedbase + in snd_msnd_DAPQ()350 DAPQ_tail = (++bank_num % 3) * PCTODSP_OFFSET(DAQDS__size); in snd_msnd_DAPQ()355 if (2 == bank_num) in snd_msnd_DAPQ()
555 u8 alt, pin, dir, init, bank_num, bit_num; in asic3_gpio_probe() local563 bank_num = ASIC3_GPIO_TO_BANK(pin); in asic3_gpio_probe()566 alt_reg[bank_num] |= (alt << bit_num); in asic3_gpio_probe()567 out_reg[bank_num] |= (init << bit_num); in asic3_gpio_probe()568 dir_reg[bank_num] |= (dir << bit_num); in asic3_gpio_probe()
855 register int bank_num = DAPQ_tail / PCTODSP_OFFSET(DAQDS__size); in pack_DAPF_to_DAPQ() local865 dev.base + bank_num * DAP_BUFF_SIZE, in pack_DAPF_to_DAPQ()871 dev.base + bank_num * DAP_BUFF_SIZE, in pack_DAPF_to_DAPQ()881 DAQD = bank_num * DAQDS__size + dev.base + DAPQ_DATA_BUFF; in pack_DAPF_to_DAPQ()888 DAPQ_tail = (++bank_num % 3) * PCTODSP_OFFSET(DAQDS__size); in pack_DAPF_to_DAPQ()
1316 unsigned bank_num = mcg_cap & 0xff; in set_msr_mce() local1331 msr < MSR_IA32_MC0_CTL + 4 * bank_num) { in set_msr_mce()1796 unsigned bank_num = mcg_cap & 0xff; in get_msr_mce() local1816 msr < MSR_IA32_MC0_CTL + 4 * bank_num) { in get_msr_mce()2363 unsigned bank_num = mcg_cap & 0xff, bank; in kvm_vcpu_ioctl_x86_setup_mce() local2366 if (!bank_num || bank_num >= KVM_MAX_MCE_BANKS) in kvm_vcpu_ioctl_x86_setup_mce()2376 for (bank = 0; bank < bank_num; bank++) in kvm_vcpu_ioctl_x86_setup_mce()2386 unsigned bank_num = mcg_cap & 0xff; in kvm_vcpu_ioctl_x86_set_mce() local2389 if (mce->bank >= bank_num || !(mce->status & MCI_STATUS_VAL)) in kvm_vcpu_ioctl_x86_set_mce()