Lines Matching refs:gpio_mask
262 static bool omap_gpio_is_off_wakeup_capable(struct gpio_bank *bank, u32 gpio_mask) in omap_gpio_is_off_wakeup_capable() argument
267 return !!(~no_wake & gpio_mask); in omap_gpio_is_off_wakeup_capable()
469 static void omap_clear_gpio_irqbank(struct gpio_bank *bank, int gpio_mask) in omap_clear_gpio_irqbank() argument
474 writel_relaxed(gpio_mask, reg); in omap_clear_gpio_irqbank()
479 writel_relaxed(gpio_mask, reg); in omap_clear_gpio_irqbank()
510 u32 gpio_mask = BIT(offset); in omap_set_gpio_irqenable() local
515 bank->context.irqenable1 |= gpio_mask; in omap_set_gpio_irqenable()
518 bank->context.irqenable1 &= ~gpio_mask; in omap_set_gpio_irqenable()
520 writel_relaxed(gpio_mask, reg); in omap_set_gpio_irqenable()
523 omap_gpio_rmw(reg + bank->regs->irqenable, gpio_mask, in omap_set_gpio_irqenable()
534 (bank->regs->edgectrl1 || !(bank->non_wakeup_gpios & gpio_mask))) { in omap_set_gpio_irqenable()
537 gpio_mask, enable); in omap_set_gpio_irqenable()