Searched refs:bank_id (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-bcm-kona.c | 87 int bank_id, u32 lockcode) bcm_kona_gpio_write_lock_regs() 90 writel(lockcode, reg_base + GPIO_PWD_STATUS(bank_id)); bcm_kona_gpio_write_lock_regs() 98 int bank_id = GPIO_BANK(gpio); bcm_kona_gpio_lock_gpio() local 102 val = readl(kona_gpio->reg_base + GPIO_PWD_STATUS(bank_id)); bcm_kona_gpio_lock_gpio() 104 bcm_kona_gpio_write_lock_regs(kona_gpio->reg_base, bank_id, val); bcm_kona_gpio_lock_gpio() 114 int bank_id = GPIO_BANK(gpio); bcm_kona_gpio_unlock_gpio() local 118 val = readl(kona_gpio->reg_base + GPIO_PWD_STATUS(bank_id)); bcm_kona_gpio_unlock_gpio() 120 bcm_kona_gpio_write_lock_regs(kona_gpio->reg_base, bank_id, val); bcm_kona_gpio_unlock_gpio() 129 int bank_id = GPIO_BANK(gpio); bcm_kona_gpio_set() local 146 reg_offset = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); bcm_kona_gpio_set() 160 int bank_id = GPIO_BANK(gpio); bcm_kona_gpio_get() local 175 GPIO_IN_STATUS(bank_id) : GPIO_OUT_STATUS(bank_id); bcm_kona_gpio_get() 225 int bank_id = GPIO_BANK(gpio); bcm_kona_gpio_direction_output() local 238 reg_offset = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); bcm_kona_gpio_direction_output() 327 int bank_id = GPIO_BANK(gpio); bcm_kona_gpio_irq_ack() local 336 val = readl(reg_base + GPIO_INT_STATUS(bank_id)); bcm_kona_gpio_irq_ack() 338 writel(val, reg_base + GPIO_INT_STATUS(bank_id)); bcm_kona_gpio_irq_ack() 348 int bank_id = GPIO_BANK(gpio); bcm_kona_gpio_irq_mask() local 357 val = readl(reg_base + GPIO_INT_MASK(bank_id)); bcm_kona_gpio_irq_mask() 359 writel(val, reg_base + GPIO_INT_MASK(bank_id)); bcm_kona_gpio_irq_mask() 369 int bank_id = GPIO_BANK(gpio); bcm_kona_gpio_irq_unmask() local 378 val = readl(reg_base + GPIO_INT_MSKCLR(bank_id)); bcm_kona_gpio_irq_unmask() 380 writel(val, reg_base + GPIO_INT_MSKCLR(bank_id)); bcm_kona_gpio_irq_unmask() 433 int bit, bank_id; bcm_kona_gpio_irq_handler() local 446 bank_id = bank->id; bcm_kona_gpio_irq_handler() 448 while ((sta = readl(reg_base + GPIO_INT_STATUS(bank_id)) & bcm_kona_gpio_irq_handler() 449 (~(readl(reg_base + GPIO_INT_MASK(bank_id)))))) { bcm_kona_gpio_irq_handler() 451 int hwirq = GPIO_PER_BANK * bank_id + bit; bcm_kona_gpio_irq_handler() 459 writel(readl(reg_base + GPIO_INT_STATUS(bank_id)) | bcm_kona_gpio_irq_handler() 460 BIT(bit), reg_base + GPIO_INT_STATUS(bank_id)); bcm_kona_gpio_irq_handler() 86 bcm_kona_gpio_write_lock_regs(void __iomem *reg_base, int bank_id, u32 lockcode) bcm_kona_gpio_write_lock_regs() argument
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | chmc.c | 74 int bank_id; member in struct:chmc_bank_info 558 bank_in_controller = bp->bank_id & (CHMCTRL_NBANKS - 1); chmc_print_dimm() 634 bp->bank_id = (CHMCTRL_NBANKS * p->portid) + which_bank; chmc_interpret_one_decode_reg()
|
/linux-4.1.27/drivers/pinctrl/ |
H A D | pinctrl-at91.c | 660 dev_err(info->dev, "%s: pin conf %d bank_id %d >= nbanks %d\n", pin_check_config() 666 dev_err(info->dev, "%s: pin conf %d bank_id %d not enabled\n", pin_check_config()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | htt.h | 1167 struct htt_frag_desc_bank_id bank_id[HTT_FRAG_DESC_BANK_MAX]; member in struct:htt_frag_desc_bank_cfg
|
Completed in 444 milliseconds