Searched refs:port_off (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/board/keymile/kmp204x/ |
H A D | qrio.c | 16 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() 44 void qrio_gpio_direction_output(u8 port_off, u8 gpio_nr, bool value) in qrio_gpio_direction_output() argument 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() 59 void qrio_gpio_direction_input(u8 port_off, u8 gpio_nr) in qrio_gpio_direction_input() argument [all …]
|
H A D | kmp204x.h | 11 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 D | psock_fanout.c | 408 static int test_datapath(uint16_t typeflags, int port_off, in test_datapath() argument 418 (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() 512 port_off, expect_hash_rb[0], expect_hash_rb[1]); 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() [all …]
|