• Home
  • Raw
  • Download

Lines Matching refs:d

40 static int puv3_gpio_type(struct irq_data *d, unsigned int type)  in puv3_gpio_type()  argument
44 if (d->irq < IRQ_GPIOHIGH) in puv3_gpio_type()
45 mask = 1 << d->irq; in puv3_gpio_type()
47 mask = GPIO_MASK(d->irq); in puv3_gpio_type()
73 static void puv3_low_gpio_ack(struct irq_data *d) in puv3_low_gpio_ack() argument
75 writel((1 << d->irq), GPIO_GEDR); in puv3_low_gpio_ack()
78 static void puv3_low_gpio_mask(struct irq_data *d) in puv3_low_gpio_mask() argument
80 writel(readl(INTC_ICMR) & ~(1 << d->irq), INTC_ICMR); in puv3_low_gpio_mask()
83 static void puv3_low_gpio_unmask(struct irq_data *d) in puv3_low_gpio_unmask() argument
85 writel(readl(INTC_ICMR) | (1 << d->irq), INTC_ICMR); in puv3_low_gpio_unmask()
88 static int puv3_low_gpio_wake(struct irq_data *d, unsigned int on) in puv3_low_gpio_wake() argument
91 writel(readl(PM_PWER) | (1 << d->irq), PM_PWER); in puv3_low_gpio_wake()
93 writel(readl(PM_PWER) & ~(1 << d->irq), PM_PWER); in puv3_low_gpio_wake()
139 static void puv3_high_gpio_ack(struct irq_data *d) in puv3_high_gpio_ack() argument
141 unsigned int mask = GPIO_MASK(d->irq); in puv3_high_gpio_ack()
146 static void puv3_high_gpio_mask(struct irq_data *d) in puv3_high_gpio_mask() argument
148 unsigned int mask = GPIO_MASK(d->irq); in puv3_high_gpio_mask()
156 static void puv3_high_gpio_unmask(struct irq_data *d) in puv3_high_gpio_unmask() argument
158 unsigned int mask = GPIO_MASK(d->irq); in puv3_high_gpio_unmask()
166 static int puv3_high_gpio_wake(struct irq_data *d, unsigned int on) in puv3_high_gpio_wake() argument
188 static void puv3_mask_irq(struct irq_data *d) in puv3_mask_irq() argument
190 writel(readl(INTC_ICMR) & ~(1 << d->irq), INTC_ICMR); in puv3_mask_irq()
193 static void puv3_unmask_irq(struct irq_data *d) in puv3_unmask_irq() argument
195 writel(readl(INTC_ICMR) | (1 << d->irq), INTC_ICMR); in puv3_unmask_irq()
201 static int puv3_set_wake(struct irq_data *d, unsigned int on) in puv3_set_wake() argument
203 if (d->irq == IRQ_RTCAlarm) { in puv3_set_wake()