Home
last modified time | relevance | path

Searched refs:bank_num (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/sound/isa/msnd/
Dmsnd.c318 int bank_num = DAPQ_tail / PCTODSP_OFFSET(DAQDS__size); in snd_msnd_DAPQ() local
326 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()
/linux-3.4.99/drivers/mfd/
Dasic3.c555 u8 alt, pin, dir, init, bank_num, bit_num; in asic3_gpio_probe() local
563 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()
/linux-3.4.99/sound/oss/
Dmsnd_pinnacle.c855 register int bank_num = DAPQ_tail / PCTODSP_OFFSET(DAQDS__size); in pack_DAPF_to_DAPQ() local
865 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()
/linux-3.4.99/arch/x86/kvm/
Dx86.c1316 unsigned bank_num = mcg_cap & 0xff; in set_msr_mce() local
1331 msr < MSR_IA32_MC0_CTL + 4 * bank_num) { in set_msr_mce()
1796 unsigned bank_num = mcg_cap & 0xff; in get_msr_mce() local
1816 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() local
2366 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() local
2389 if (mce->bank >= bank_num || !(mce->status & MCI_STATUS_VAL)) in kvm_vcpu_ioctl_x86_set_mce()