Searched refs:DIRM_OFFSET (Results 1 – 1 of 1) sorted by relevance
25 #define DIRM_OFFSET(__bank) (0x204 + 0x40 * (__bank)) macro147 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