Searched refs:kona_gpio (Results 1 – 1 of 1) sorted by relevance
73 struct bcm_kona_gpio *kona_gpio; member83 static void bcm_kona_gpio_lock_gpio(struct bcm_kona_gpio *kona_gpio, in bcm_kona_gpio_lock_gpio() argument90 raw_spin_lock_irqsave(&kona_gpio->lock, flags); in bcm_kona_gpio_lock_gpio()92 val = readl(kona_gpio->reg_base + GPIO_PWD_STATUS(bank_id)); in bcm_kona_gpio_lock_gpio()94 bcm_kona_gpio_write_lock_regs(kona_gpio->reg_base, bank_id, val); in bcm_kona_gpio_lock_gpio()96 raw_spin_unlock_irqrestore(&kona_gpio->lock, flags); in bcm_kona_gpio_lock_gpio()99 static void bcm_kona_gpio_unlock_gpio(struct bcm_kona_gpio *kona_gpio, in bcm_kona_gpio_unlock_gpio() argument106 raw_spin_lock_irqsave(&kona_gpio->lock, flags); in bcm_kona_gpio_unlock_gpio()108 val = readl(kona_gpio->reg_base + GPIO_PWD_STATUS(bank_id)); in bcm_kona_gpio_unlock_gpio()110 bcm_kona_gpio_write_lock_regs(kona_gpio->reg_base, bank_id, val); in bcm_kona_gpio_unlock_gpio()[all …]