Searched refs:port_off (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/u-boot/board/keymile/kmp204x/ |
| H A D | qrio.c | 17 int qrio_get_gpio(u8 port_off, u8 gpio_nr) in qrio_get_gpio() argument 23 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_get_gpio() 28 void qrio_set_gpio(u8 port_off, u8 gpio_nr, bool value) in qrio_set_gpio() argument 36 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_set_gpio() 42 out_be32(qrio_base + port_off + GPRT_OFF, gprt); in qrio_set_gpio() 45 void qrio_gpio_direction_output(u8 port_off, u8 gpio_nr, bool value) in qrio_gpio_direction_output() argument 53 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_output() 55 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_output() 57 qrio_set_gpio(port_off, gpio_nr, value); in qrio_gpio_direction_output() 60 void qrio_gpio_direction_input(u8 port_off, u8 gpio_nr) in qrio_gpio_direction_input() argument [all …]
|
| H A D | kmp204x.h | 12 int qrio_get_gpio(u8 port_off, u8 gpio_nr); 13 void qrio_set_opendrain_gpio(u8 port_off, u8 gpio_nr, u8 val); 14 void qrio_set_gpio(u8 port_off, u8 gpio_nr, bool value); 15 void qrio_gpio_direction_output(u8 port_off, u8 gpio_nr, bool value); 16 void qrio_gpio_direction_input(u8 port_off, u8 gpio_nr);
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | psock_fanout.c | 344 static int test_datapath(uint16_t typeflags, int port_off, in test_datapath() argument 354 (uint16_t)(PORT_BASE + port_off)); in test_datapath() 370 pair_udp_open(fds_udp[1], PORT_BASE + port_off); in test_datapath() 425 int port_off = 2, tries = 20, ret; in main() local 432 ret = test_datapath(PACKET_FANOUT_HASH, port_off, in main() 436 ret = test_datapath(PACKET_FANOUT_HASH, ++port_off, in main() 445 port_off, expect_hash_rb[0], expect_hash_rb[1]); in main() 447 port_off, expect_lb[0], expect_lb[1]); in main() 449 port_off, expect_rb[0], expect_rb[1]); in main() 452 port_off, expect_bpf[0], expect_bpf[1]); in main() [all …]
|