Lines Matching refs:gptd_regs
27 struct gptd_regs *gptd_regs; member
34 uint32_t pending_flag = config->gptd_regs->GPTDPF; in gpio_kb1200_isr()
37 config->gptd_regs->GPTDPF |= pending_flag; in gpio_kb1200_isr()
126 WRITE_BIT(config->gptd_regs->GPTDIE, pin, 0); in kb1200_gpio_pin_interrupt_configure()
129 WRITE_BIT(config->gptd_regs->GPTDEL, pin, 0); in kb1200_gpio_pin_interrupt_configure()
133 WRITE_BIT(config->gptd_regs->GPTDCHG, pin, 1); in kb1200_gpio_pin_interrupt_configure()
136 WRITE_BIT(config->gptd_regs->GPTDCHG, pin, 0); in kb1200_gpio_pin_interrupt_configure()
137 WRITE_BIT(config->gptd_regs->GPTDPS, pin, 1); in kb1200_gpio_pin_interrupt_configure()
141 WRITE_BIT(config->gptd_regs->GPTDCHG, pin, 0); in kb1200_gpio_pin_interrupt_configure()
142 WRITE_BIT(config->gptd_regs->GPTDPS, pin, 0); in kb1200_gpio_pin_interrupt_configure()
145 WRITE_BIT(config->gptd_regs->GPTDEL, pin, 1); in kb1200_gpio_pin_interrupt_configure()
147 WRITE_BIT(config->gptd_regs->GPTDCHG, pin, 0); in kb1200_gpio_pin_interrupt_configure()
149 WRITE_BIT(config->gptd_regs->GPTDPS, pin, 1); in kb1200_gpio_pin_interrupt_configure()
151 WRITE_BIT(config->gptd_regs->GPTDPS, pin, 0); in kb1200_gpio_pin_interrupt_configure()
155 WRITE_BIT(config->gptd_regs->GPTDPF, pin, 1); in kb1200_gpio_pin_interrupt_configure()
157 WRITE_BIT(config->gptd_regs->GPTDIE, pin, 1); in kb1200_gpio_pin_interrupt_configure()
174 return config->gptd_regs->GPTDPF; in kb1200_gpio_get_pending_int()
203 .gptd_regs = (struct gptd_regs *)DT_INST_REG_ADDR_BY_IDX(n, 1), \