Searched refs:gpio_idx (Results 1 – 1 of 1) sorted by relevance
167 u32 gpio_idx = d->hwirq; in gpio_set_irq_type() local171 port->both_edges &= ~(1 << gpio_idx); in gpio_set_irq_type()183 val = port->gen_gc.gc.get(&port->gen_gc.gc, gpio_idx); in gpio_set_irq_type()186 pr_debug("mxc: set GPIO %d to low trigger\n", gpio_idx); in gpio_set_irq_type()189 pr_debug("mxc: set GPIO %d to high trigger\n", gpio_idx); in gpio_set_irq_type()191 port->both_edges |= 1 << gpio_idx; in gpio_set_irq_type()208 writel(val | (1 << gpio_idx), in gpio_set_irq_type()211 writel(val & ~(1 << gpio_idx), in gpio_set_irq_type()216 reg += GPIO_ICR1 + ((gpio_idx & 0x10) >> 2); /* lower or upper register */ in gpio_set_irq_type()217 bit = gpio_idx & 0xf; in gpio_set_irq_type()[all …]