Searched refs:bank_offset (Results 1 – 4 of 4) sorted by relevance
40 unsigned long bank_offset; in xgene_gpio_get() local43 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() local54 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() local80 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 …]
630 unsigned int bank_offset = gpio->p_data->bank_min[bank_num]; in zynq_gpio_handle_bank_irq() local638 generic_handle_domain_irq(irqdomain, offset + bank_offset); in zynq_gpio_handle_bank_irq()
841 unsigned short bank_offset = bank - pctl->desc->pin_base / in sunxi_pmx_request() local843 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() local889 struct sunxi_pinctrl_regulator *s_reg = &pctl->regulators[bank_offset]; in sunxi_pmx_free()
1484 int bank_offset = get_bank_offset_from_bank_index(i); in wilc_load_mac_from_nv() local1490 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()