D | qrio.c | 46 u32 direct, mask; in qrio_gpio_direction_output() local 52 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_output() 53 direct |= mask; in qrio_gpio_direction_output() 54 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_output() 61 u32 direct, mask; in qrio_gpio_direction_input() local 67 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_input() 68 direct &= ~mask; in qrio_gpio_direction_input() 69 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_input() 74 u32 direct, mask; in qrio_set_opendrain_gpio() local 80 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_set_opendrain_gpio() [all …]
|