Home
last modified time | relevance | path

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

/openbmc/u-boot/board/keymile/kmp204x/
H A Dqrio.c16 int qrio_get_gpio(u8 port_off, u8 gpio_nr) in qrio_get_gpio() argument
22 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_get_gpio()
27 void qrio_set_gpio(u8 port_off, u8 gpio_nr, bool value) in qrio_set_gpio() argument
35 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_set_gpio()
41 out_be32(qrio_base + port_off + GPRT_OFF, gprt); in qrio_set_gpio()
52 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_output()
54 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_output()
56 qrio_set_gpio(port_off, gpio_nr, value); in qrio_gpio_direction_output()
67 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_input()
69 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_input()
[all …]
H A Dkmp204x.h11 int qrio_get_gpio(u8 port_off, u8 gpio_nr);
12 void qrio_set_opendrain_gpio(u8 port_off, u8 gpio_nr, u8 val);
13 void qrio_set_gpio(u8 port_off, u8 gpio_nr, bool value);
14 void qrio_gpio_direction_output(u8 port_off, u8 gpio_nr, bool value);
15 void qrio_gpio_direction_input(u8 port_off, u8 gpio_nr);
/openbmc/linux/tools/testing/selftests/net/
H A Dpsock_fanout.c418 (uint16_t)(PORT_BASE + port_off)); in test_datapath()
434 pair_udp_open(fds_udp[1], PORT_BASE + port_off); in test_datapath()
489 int port_off = 2, tries = 20, ret; in main() local
499 ret = test_datapath(PACKET_FANOUT_HASH, port_off, in main()
503 ret = test_datapath(PACKET_FANOUT_HASH, ++port_off, in main()
514 port_off, expect_lb[0], expect_lb[1]); in main()
516 port_off, expect_rb[0], expect_rb[1]); in main()
519 port_off, expect_bpf[0], expect_bpf[1]); in main()
521 port_off, expect_bpf[0], expect_bpf[1]); in main()
524 ret |= test_datapath(PACKET_FANOUT_CPU, port_off, in main()
[all …]