Lines Matching refs:dwapb_read
139 static inline u32 dwapb_read(struct dwapb_gpio *gpio, unsigned int offset) in dwapb_read() function
181 pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_toggle_trigger()
198 irq_status = dwapb_read(gpio, GPIO_INTSTATUS); in dwapb_do_irq()
247 val = dwapb_read(gpio, GPIO_INTMASK) | BIT(irqd_to_hwirq(d)); in dwapb_irq_mask()
260 val = dwapb_read(gpio, GPIO_INTMASK) & ~BIT(irqd_to_hwirq(d)); in dwapb_irq_unmask()
273 val = dwapb_read(gpio, GPIO_INTEN); in dwapb_irq_enable()
287 val = dwapb_read(gpio, GPIO_INTEN); in dwapb_irq_disable()
304 level = dwapb_read(gpio, GPIO_INTTYPE_LEVEL); in dwapb_irq_set_type()
305 polarity = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_irq_set_type()
370 val_deb = dwapb_read(gpio, GPIO_PORTA_DEBOUNCE); in dwapb_gpio_set_debounce()
746 ctx->dir = dwapb_read(gpio, offset); in dwapb_gpio_suspend()
749 ctx->data = dwapb_read(gpio, offset); in dwapb_gpio_suspend()
752 ctx->ext = dwapb_read(gpio, offset); in dwapb_gpio_suspend()
756 ctx->int_mask = dwapb_read(gpio, GPIO_INTMASK); in dwapb_gpio_suspend()
757 ctx->int_en = dwapb_read(gpio, GPIO_INTEN); in dwapb_gpio_suspend()
758 ctx->int_pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_gpio_suspend()
759 ctx->int_type = dwapb_read(gpio, GPIO_INTTYPE_LEVEL); in dwapb_gpio_suspend()
760 ctx->int_deb = dwapb_read(gpio, GPIO_PORTA_DEBOUNCE); in dwapb_gpio_suspend()