Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_bcm2711.c15 #define GPIO_REG_SHIFT(n, cnt, bits) ((n % cnt) * bits) macro
83 shift = GPIO_REG_SHIFT(RPI_PIN_NUM(port, pin), FSEL_GROUPS, FSEL_BITS); in gpio_bcm2711_pin_configure()
96 shift = GPIO_REG_SHIFT(RPI_PIN_NUM(port, pin), IO_GROUPS, IO_BITS); in gpio_bcm2711_pin_configure()
112 shift = GPIO_REG_SHIFT(RPI_PIN_NUM(port, pin), PULL_GROUPS, PULL_BITS); in gpio_bcm2711_pin_configure()
226 shift = GPIO_REG_SHIFT(RPI_PIN_NUM(port, pin), IO_GROUPS, IO_BITS); in gpio_bcm2711_pin_interrupt_configure()