Home
last modified time | relevance | path

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

/u-boot/board/keymile/common/
A Dqrio.c30 int qrio_get_gpio(u8 port_off, u8 gpio_nr) in qrio_get_gpio() argument
36 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_get_gpio()
41 void qrio_set_gpio(u8 port_off, u8 gpio_nr, bool value) in qrio_set_gpio() argument
49 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_set_gpio()
55 out_be32(qrio_base + port_off + GPRT_OFF, gprt); in qrio_set_gpio()
66 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_output()
68 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_output()
70 qrio_set_gpio(port_off, gpio_nr, value); in qrio_gpio_direction_output()
81 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_input()
83 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_input()
[all …]
A Dqrio.h15 int qrio_get_gpio(u8 port_off, u8 gpio_nr);
16 void qrio_set_opendrain_gpio(u8 port_off, u8 gpio_nr, u8 val);
17 void qrio_set_gpio(u8 port_off, u8 gpio_nr, bool value);
18 void qrio_gpio_direction_output(u8 port_off, u8 gpio_nr, bool value);
19 void qrio_gpio_direction_input(u8 port_off, u8 gpio_nr);

Completed in 5 milliseconds