Searched refs:PL061_PIN_TO_ADDR (Results 1 – 1 of 1) sorted by relevance
66 #define PL061_PIN_TO_ADDR(pin) (1 << (pin + 2)) macro192 if (bus_read_1(sc->sc_mem_res, PL061_PIN_TO_ADDR(pin))) in pl061_pin_get()212 bus_write_1(sc->sc_mem_res, PL061_PIN_TO_ADDR(pin), d); in pl061_pin_set()229 d = ~bus_read_1(sc->sc_mem_res, PL061_PIN_TO_ADDR(pin)); in pl061_pin_toggle()230 bus_write_1(sc->sc_mem_res, PL061_PIN_TO_ADDR(pin), d); in pl061_pin_toggle()