Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/
A Dversal_gpio.c25 #define DIRM_OFFSET(__bank) (0x204 + 0x40 * (__bank)) macro
147 reg = io_read32(chip->base + DIRM_OFFSET(bank)); in gpio_set_direction()
149 io_write32(chip->base + DIRM_OFFSET(bank), reg); in gpio_set_direction()
163 reg = io_read32(chip->base + DIRM_OFFSET(bank)); in gpio_set_direction()
165 io_write32(chip->base + DIRM_OFFSET(bank), reg); in gpio_set_direction()
177 if (io_read32(chip->base + DIRM_OFFSET(bank)) & BIT(pin)) in gpio_get_direction()

Completed in 2 milliseconds