Searched refs:gprt (Results 1 – 1 of 1) sorted by relevance
32 u32 gprt; in qrio_get_gpio() local36 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_get_gpio()38 return (gprt >> gpio_nr) & 1U; in qrio_get_gpio()43 u32 gprt, mask; in qrio_set_gpio() local49 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_set_gpio()51 gprt |= mask; in qrio_set_gpio()53 gprt &= ~mask; in qrio_set_gpio()55 out_be32(qrio_base + port_off + GPRT_OFF, gprt); in qrio_set_gpio()
Completed in 2 milliseconds