Lines Matching refs:intpin
269 pintsel_attach(const struct gpio_lpc11u6x_shared *shared, uint8_t intpin) in pintsel_attach() argument
278 if ((pintsel_reg[irq] & BIT_MASK(5)) == intpin) { in pintsel_attach()
288 pintsel_reg[ret] = intpin; in pintsel_attach()
305 pintsel_detach(const struct gpio_lpc11u6x_shared *shared, uint8_t intpin) in pintsel_detach() argument
312 if ((pintsel_reg[irq] & BIT_MASK(5)) == intpin) { in pintsel_detach()
328 uint8_t intpin; in gpio_lpc11u6x_pin_interrupt_configure() local
349 intpin = pin; in gpio_lpc11u6x_pin_interrupt_configure()
351 intpin += 24; in gpio_lpc11u6x_pin_interrupt_configure()
353 intpin += 56; in gpio_lpc11u6x_pin_interrupt_configure()
357 irq = pintsel_detach(config->shared, intpin); in gpio_lpc11u6x_pin_interrupt_configure()
359 irq = pintsel_attach(config->shared, intpin); in gpio_lpc11u6x_pin_interrupt_configure()
437 uint32_t intpin; in gpio_lpc11u6x_isr() local
452 intpin = pintsel_reg[irq] & BIT_MASK(5); in gpio_lpc11u6x_isr()
453 if (intpin < 24) { in gpio_lpc11u6x_isr()
454 pins[0] |= BIT(intpin); in gpio_lpc11u6x_isr()
455 } else if (intpin < 56) { in gpio_lpc11u6x_isr()
456 pins[1] |= BIT(intpin - 24); in gpio_lpc11u6x_isr()
458 pins[2] |= BIT(intpin - 56); in gpio_lpc11u6x_isr()