/Linux-v5.10/drivers/gpio/ |
D | gpio-zynq.c | 192 unsigned int *bank_num, in zynq_gpio_get_bank_pin() argument 201 *bank_num = bank; in zynq_gpio_get_bank_pin() 212 *bank_num = 0; in zynq_gpio_get_bank_pin() 228 unsigned int bank_num, bank_pin_num; in zynq_gpio_get_value() local 231 zynq_gpio_get_bank_pin(pin, &bank_num, &bank_pin_num, gpio); in zynq_gpio_get_value() 235 if (bank_num <= 1) { in zynq_gpio_get_value() 237 ZYNQ_GPIO_DATA_RO_OFFSET(bank_num)); in zynq_gpio_get_value() 240 ZYNQ_GPIO_DATA_OFFSET(bank_num)); in zynq_gpio_get_value() 243 if (bank_num <= 2) { in zynq_gpio_get_value() 245 ZYNQ_GPIO_DATA_RO_OFFSET(bank_num)); in zynq_gpio_get_value() [all …]
|
D | gpio-davinci.c | 54 int bank_num; member 336 int bank_num; in gpio_irq_handler() local 341 bank_num = irqdata->bank_num; in gpio_irq_handler() 346 if ((bank_num % 2) == 1) in gpio_irq_handler() 370 hw_irq = (bank_num / 2) * 32 + bit; in gpio_irq_handler() 608 irqdata->bank_num = bank; in davinci_gpio_irq_setup()
|
/Linux-v5.10/drivers/pinctrl/ |
D | pinctrl-rockchip.c | 157 u8 bank_num; member 175 .bank_num = id, \ 188 .bank_num = id, \ 201 .bank_num = id, \ 222 .bank_num = id, \ 248 .bank_num = id, \ 272 .bank_num = id, \ 325 u8 bank_num; member 449 if (b->bank_num == num) in bank_num_to_bank() 790 if (data->num == bank->bank_num && in rockchip_get_recalced_mux() [all …]
|
D | pinctrl-st.c | 1486 int bank_num = of_alias_get_id(np, "gpio"); in st_gpiolib_register_bank() local 1498 bank->gpio_chip.base = bank_num * ST_GPIO_PINS_PER_BANK; in st_gpiolib_register_bank() 1507 range->id = bank_num; in st_gpiolib_register_bank() 1562 dev_err(dev, "Failed to add gpiochip(%d)!\n", bank_num); in st_gpiolib_register_bank()
|
/Linux-v5.10/drivers/crypto/qat/qat_common/ |
D | adf_transport.c | 187 u32 bank_num, u32 num_msgs, in adf_create_ring() argument 199 if (bank_num >= GET_MAX_BANKS(accel_dev)) { in adf_create_ring() 227 bank = &transport_data->banks[bank_num]; in adf_create_ring() 343 u32 bank_num, void __iomem *csr_addr) in adf_init_bank() argument 351 bank->bank_number = bank_num; in adf_init_bank() 360 ADF_ETRMGR_COALESCING_ENABLED_FORMAT, bank_num, in adf_init_bank() 362 adf_get_coalesc_timer(bank, "Accelerator0", bank_num); in adf_init_bank() 367 WRITE_CSR_RING_CONFIG(csr_addr, bank_num, i, 0); in adf_init_bank() 368 WRITE_CSR_RING_BASE(csr_addr, bank_num, i, 0); in adf_init_bank() 393 WRITE_CSR_INT_FLAG(csr_addr, bank_num, ADF_BANK_INT_FLAG_CLEAR_MASK); in adf_init_bank() [all …]
|
D | adf_transport.h | 13 u32 bank_num, u32 num_mgs, u32 msg_size,
|
/Linux-v5.10/sound/isa/msnd/ |
D | msnd.c | 306 int bank_num = DAPQ_tail / PCTODSP_OFFSET(DAQDS__size); in snd_msnd_DAPQ() local 314 DAQD = bank_num * DAQDS__size + chip->mappedbase + in snd_msnd_DAPQ() 338 DAPQ_tail = (++bank_num % 3) * PCTODSP_OFFSET(DAQDS__size); in snd_msnd_DAPQ() 343 if (2 == bank_num) in snd_msnd_DAPQ()
|
/Linux-v5.10/drivers/mfd/ |
D | asic3.c | 566 u8 alt, pin, dir, init, bank_num, bit_num; in asic3_gpio_probe() local 574 bank_num = ASIC3_GPIO_TO_BANK(pin); in asic3_gpio_probe() 577 alt_reg[bank_num] |= (alt << bit_num); in asic3_gpio_probe() 578 out_reg[bank_num] |= (init << bit_num); in asic3_gpio_probe() 579 dir_reg[bank_num] |= (dir << bit_num); in asic3_gpio_probe()
|
/Linux-v5.10/arch/x86/kvm/ |
D | x86.c | 2798 unsigned bank_num = mcg_cap & 0xff; in set_msr_mce() local 2816 msr < MSR_IA32_MCx_CTL(bank_num)) { in set_msr_mce() 2819 MSR_IA32_MCx_CTL(bank_num) - MSR_IA32_MC0_CTL); in set_msr_mce() 3305 unsigned bank_num = mcg_cap & 0xff; in get_msr_mce() local 3325 msr < MSR_IA32_MCx_CTL(bank_num)) { in get_msr_mce() 3328 MSR_IA32_MCx_CTL(bank_num) - MSR_IA32_MC0_CTL); in get_msr_mce() 4128 unsigned bank_num = mcg_cap & 0xff, bank; in kvm_vcpu_ioctl_x86_setup_mce() local 4131 if (!bank_num || bank_num > KVM_MAX_MCE_BANKS) in kvm_vcpu_ioctl_x86_setup_mce() 4141 for (bank = 0; bank < bank_num; bank++) in kvm_vcpu_ioctl_x86_setup_mce() 4153 unsigned bank_num = mcg_cap & 0xff; in kvm_vcpu_ioctl_x86_set_mce() local [all …]
|
/Linux-v5.10/drivers/pinctrl/nuvoton/ |
D | pinctrl-npcm7xx.c | 98 u32 bank_num; member 1948 pctrl->bank_num = id; in npcm7xx_gpio_of() 1956 for (id = 0 ; id < pctrl->bank_num ; id++) { in npcm7xx_gpio_register()
|