Home
last modified time | relevance | path

Searched refs:GET_PORT_NUM (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/drivers/gpio/
Dgpio_b91.c30 #define GET_PORT_NUM(gpio) ((uint8_t)(((uint32_t)gpio - DT_REG_ADDR(DT_NODELABEL(gpioa))) / \ macro
104 BM_SET(reg_irq_risc0_en(GET_PORT_NUM(gpio)), BIT(pin)); in gpiob_b91_irq_en_set()
106 BM_SET(reg_irq_risc1_en(GET_PORT_NUM(gpio)), BIT(pin)); in gpiob_b91_irq_en_set()
121 BM_CLR(reg_irq_risc0_en(GET_PORT_NUM(gpio)), BIT(pin)); in gpiob_b91_irq_en_clr()
123 BM_CLR(reg_irq_risc1_en(GET_PORT_NUM(gpio)), BIT(pin)); in gpiob_b91_irq_en_clr()
137 status = reg_irq_risc0_en(GET_PORT_NUM(gpio)); in gpio_b91_irq_en_get()
139 status = reg_irq_risc1_en(GET_PORT_NUM(gpio)); in gpio_b91_irq_en_get()
231 analog_reg = 0x0e + (GET_PORT_NUM(gpio) << 1) + ((pin & 0xf0) ? 1 : 0); in gpio_b91_up_down_res_set()
Dgpio_ifx_cat1.c53 #define GET_PORT_NUM(dev) \ macro
69 cyhal_gpio_t gpio_pin = CYHAL_GET_GPIO(GET_PORT_NUM(dev), pin); in gpio_cat1_configure()
244 cyhal_gpio_t gpio_pin = CYHAL_GET_GPIO(GET_PORT_NUM(dev), pin); in gpio_cat1_pin_interrupt_configure()