Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpio/
Dgpio-xgene.c40 unsigned long bank_offset; in xgene_gpio_get() local
43 bank_offset = GPIO_DATA_OFFSET + GPIO_BANK_OFFSET(offset); in xgene_gpio_get()
45 return !!(ioread32(chip->base + bank_offset) & BIT(bit_offset)); in xgene_gpio_get()
51 unsigned long bank_offset; in __xgene_gpio_set() local
54 bank_offset = GPIO_SET_DR_OFFSET + GPIO_BANK_OFFSET(offset); in __xgene_gpio_set()
57 setval = ioread32(chip->base + bank_offset); in __xgene_gpio_set()
62 iowrite32(setval, chip->base + bank_offset); in __xgene_gpio_set()
78 unsigned long bank_offset, bit_offset; in xgene_gpio_get_direction() local
80 bank_offset = GPIO_SET_DR_OFFSET + GPIO_BANK_OFFSET(offset); in xgene_gpio_get_direction()
83 if (ioread32(chip->base + bank_offset) & BIT(bit_offset)) in xgene_gpio_get_direction()
[all …]
Dgpio-zynq.c630 unsigned int bank_offset = gpio->p_data->bank_min[bank_num]; in zynq_gpio_handle_bank_irq() local
638 generic_handle_domain_irq(irqdomain, offset + bank_offset); in zynq_gpio_handle_bank_irq()
/linux-6.12.1/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c841 unsigned short bank_offset = bank - pctl->desc->pin_base / in sunxi_pmx_request() local
843 struct sunxi_pinctrl_regulator *s_reg = &pctl->regulators[bank_offset]; in sunxi_pmx_request()
848 if (WARN_ON_ONCE(bank_offset >= ARRAY_SIZE(pctl->regulators))) in sunxi_pmx_request()
887 unsigned short bank_offset = bank - pctl->desc->pin_base / in sunxi_pmx_free() local
889 struct sunxi_pinctrl_regulator *s_reg = &pctl->regulators[bank_offset]; in sunxi_pmx_free()
/linux-6.12.1/drivers/net/wireless/microchip/wilc1000/
Dwlan.c1484 int bank_offset = get_bank_offset_from_bank_index(i); in wilc_load_mac_from_nv() local
1490 WILC_NVMEM_BANK_BASE + bank_offset, in wilc_load_mac_from_nv()
1497 WILC_NVMEM_BANK_BASE + bank_offset + 4, in wilc_load_mac_from_nv()