Lines Matching refs:base
55 GPIO_Type *base = get_base(dev); in mcux_igpio_configure() local
207 GPIO_WritePinOutput(base, pin, 1); in mcux_igpio_configure()
211 GPIO_WritePinOutput(base, pin, 0); in mcux_igpio_configure()
214 WRITE_BIT(base->GDIR, pin, flags & GPIO_OUTPUT); in mcux_igpio_configure()
221 GPIO_Type *base = get_base(dev); in mcux_igpio_port_get_raw() local
223 *value = base->DR; in mcux_igpio_port_get_raw()
232 GPIO_Type *base = get_base(dev); in mcux_igpio_port_set_masked_raw() local
234 base->DR = (base->DR & ~mask) | (mask & value); in mcux_igpio_port_set_masked_raw()
242 GPIO_Type *base = get_base(dev); in mcux_igpio_port_set_bits_raw() local
244 GPIO_PortSet(base, mask); in mcux_igpio_port_set_bits_raw()
252 GPIO_Type *base = get_base(dev); in mcux_igpio_port_clear_bits_raw() local
254 GPIO_PortClear(base, mask); in mcux_igpio_port_clear_bits_raw()
262 GPIO_Type *base = get_base(dev); in mcux_igpio_port_toggle_bits() local
264 GPIO_PortToggle(base, mask); in mcux_igpio_port_toggle_bits()
275 GPIO_Type *base = get_base(dev); in mcux_igpio_pin_interrupt_configure() local
288 WRITE_BIT(base->IMR, pin, 0); in mcux_igpio_pin_interrupt_configure()
309 base->ICR1 = (base->ICR1 & ~(3 << shift)) | (icr << shift); in mcux_igpio_pin_interrupt_configure()
312 base->ICR2 = (base->ICR2 & ~(3 << shift)) | (icr << shift); in mcux_igpio_pin_interrupt_configure()
319 WRITE_BIT(base->EDGE_SEL, pin, trig == GPIO_INT_TRIG_BOTH); in mcux_igpio_pin_interrupt_configure()
320 WRITE_BIT(base->ISR, pin, 1); in mcux_igpio_pin_interrupt_configure()
321 WRITE_BIT(base->IMR, pin, 1); in mcux_igpio_pin_interrupt_configure()
340 GPIO_Type *base = get_base(dev); in mcux_igpio_port_isr() local
343 int_flags = base->ISR; in mcux_igpio_port_isr()
344 base->ISR = int_flags; in mcux_igpio_port_isr()