Lines Matching refs:dwapb_read
129 static inline u32 dwapb_read(struct dwapb_gpio *gpio, unsigned int offset) in dwapb_read() function
179 pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_toggle_trigger()
192 u32 irq_status = dwapb_read(gpio, GPIO_INTSTATUS); in dwapb_do_irq()
230 val = dwapb_read(gpio, GPIO_INTEN); in dwapb_irq_enable()
245 val = dwapb_read(gpio, GPIO_INTEN); in dwapb_irq_disable()
289 level = dwapb_read(gpio, GPIO_INTTYPE_LEVEL); in dwapb_irq_set_type()
290 polarity = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_irq_set_type()
351 val_deb = dwapb_read(gpio, GPIO_PORTA_DEBOUNCE); in dwapb_gpio_set_debounce()
761 ctx->dir = dwapb_read(gpio, offset); in dwapb_gpio_suspend()
764 ctx->data = dwapb_read(gpio, offset); in dwapb_gpio_suspend()
767 ctx->ext = dwapb_read(gpio, offset); in dwapb_gpio_suspend()
771 ctx->int_mask = dwapb_read(gpio, GPIO_INTMASK); in dwapb_gpio_suspend()
772 ctx->int_en = dwapb_read(gpio, GPIO_INTEN); in dwapb_gpio_suspend()
773 ctx->int_pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_gpio_suspend()
774 ctx->int_type = dwapb_read(gpio, GPIO_INTTYPE_LEVEL); in dwapb_gpio_suspend()
775 ctx->int_deb = dwapb_read(gpio, GPIO_PORTA_DEBOUNCE); in dwapb_gpio_suspend()