Lines Matching refs:value
601 static void owl_gpio_set(struct gpio_chip *chip, unsigned int offset, int value)
615 owl_gpio_update_reg(gpio_base + port->dat, offset, value);
641 unsigned int offset, int value)
657 owl_gpio_update_reg(gpio_base + port->dat, offset, value);
668 unsigned int offset, value, irq_type = 0;
713 value = readl_relaxed(gpio_base + port->intc_type + offset);
714 value &= ~(OWL_GPIO_INT_MASK << ((gpio % 16) * 2));
715 value |= irq_type << ((gpio % 16) * 2);
716 writel_relaxed(value, gpio_base + port->intc_type + offset);
758 u32 value;
768 value = readl_relaxed(gpio_base + port->intc_ctl);
769 value |= ((BIT(OWL_GPIO_CTLR_ENABLE) | BIT(OWL_GPIO_CTLR_SAMPLE_CLK_24M))
771 writel_relaxed(value, gpio_base + port->intc_ctl);