Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-zynq.c192 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 …]
Dgpio-davinci.c54 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()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-rockchip.c157 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()
805 if (data->num == bank->bank_num && in rockchip_get_recalced_mux()
[all …]
Dpinctrl-st.c1485 int bank_num = of_alias_get_id(np, "gpio"); in st_gpiolib_register_bank() local
1497 bank->gpio_chip.base = bank_num * ST_GPIO_PINS_PER_BANK; in st_gpiolib_register_bank()
1506 range->id = bank_num; in st_gpiolib_register_bank()
1561 dev_err(dev, "Failed to add gpiochip(%d)!\n", bank_num); in st_gpiolib_register_bank()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dadf_transport.c188 u32 bank_num, u32 num_msgs, in adf_create_ring() argument
200 if (bank_num >= GET_MAX_BANKS(accel_dev)) { in adf_create_ring()
228 bank = &transport_data->banks[bank_num]; in adf_create_ring()
344 u32 bank_num, void __iomem *csr_addr) in adf_init_bank() argument
352 bank->bank_number = bank_num; in adf_init_bank()
361 ADF_ETRMGR_COALESCING_ENABLED_FORMAT, bank_num, in adf_init_bank()
363 adf_get_coalesc_timer(bank, "Accelerator0", bank_num); in adf_init_bank()
368 WRITE_CSR_RING_CONFIG(csr_addr, bank_num, i, 0); in adf_init_bank()
369 WRITE_CSR_RING_BASE(csr_addr, bank_num, i, 0); in adf_init_bank()
394 WRITE_CSR_INT_FLAG(csr_addr, bank_num, ADF_BANK_INT_FLAG_CLEAR_MASK); in adf_init_bank()
[all …]
Dadf_transport.h13 u32 bank_num, u32 num_mgs, u32 msg_size,
/kernel/linux/linux-5.10/sound/isa/msnd/
Dmsnd.c306 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()
/kernel/linux/linux-5.10/drivers/mfd/
Dasic3.c566 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()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch52489 - * @bank_num: number of the bank, to account for holes
52513 - u8 bank_num;
52541 + .bank_num = id, \
52554 .bank_num = id, \
52583 - * @bank_num: bank number.
52591 - u8 bank_num;
52632 + .bank_num = ID, \
52900 - .bank_num = 2,
52907 - .bank_num = 3,
52914 - .bank_num = 3,
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c2867 unsigned bank_num = mcg_cap & 0xff; in set_msr_mce() local
2885 msr < MSR_IA32_MCx_CTL(bank_num)) { in set_msr_mce()
2888 MSR_IA32_MCx_CTL(bank_num) - MSR_IA32_MC0_CTL); in set_msr_mce()
3384 unsigned bank_num = mcg_cap & 0xff; in get_msr_mce() local
3404 msr < MSR_IA32_MCx_CTL(bank_num)) { in get_msr_mce()
3407 MSR_IA32_MCx_CTL(bank_num) - MSR_IA32_MC0_CTL); in get_msr_mce()
4229 unsigned bank_num = mcg_cap & 0xff, bank; in kvm_vcpu_ioctl_x86_setup_mce() local
4232 if (!bank_num || bank_num > KVM_MAX_MCE_BANKS) in kvm_vcpu_ioctl_x86_setup_mce()
4242 for (bank = 0; bank < bank_num; bank++) in kvm_vcpu_ioctl_x86_setup_mce()
4254 unsigned bank_num = mcg_cap & 0xff; in kvm_vcpu_ioctl_x86_set_mce() local
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c97 u32 bank_num; member
1947 pctrl->bank_num = id; in npcm7xx_gpio_of()
1955 for (id = 0 ; id < pctrl->bank_num ; id++) { in npcm7xx_gpio_register()