Home
last modified time | relevance | path

Searched refs:tx_port (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dxdp_redirect_map.c11 } tx_port SEC(".maps");
16 return bpf_redirect_map(&tx_port, 0, 0); in xdp_redirect_map_0()
22 return bpf_redirect_map(&tx_port, 1, 0); in xdp_redirect_map_1()
28 return bpf_redirect_map(&tx_port, 2, 0); in xdp_redirect_map_2()
/linux-5.19.10/tools/testing/selftests/bpf/
Dtest_xdp_veth.sh106 bpftool map update pinned $BPF_DIR/maps/tx_port key 0 0 0 0 value 122 0 0 0
107 bpftool map update pinned $BPF_DIR/maps/tx_port key 1 0 0 0 value 133 0 0 0
108 bpftool map update pinned $BPF_DIR/maps/tx_port key 2 0 0 0 value 111 0 0 0
/linux-5.19.10/samples/bpf/
Dxdp_router_ipv4.bpf.c71 } tx_port SEC(".maps");
171 ret = bpf_redirect_map(&tx_port, forward_to, 0); in xdp_router_ipv4_prog()
Dxdp_redirect_cpu.bpf.c45 } tx_port SEC(".maps");
507 return bpf_redirect_map(&tx_port, 0, 0); in xdp_redirect_cpu_devmap()
Dxdp_redirect_cpu_user.c289 err = bpf_map_update_elem(bpf_map__fd(skel->maps.tx_port), &key, &val, 0); in set_cpumap_prog()
Dxdp_router_ipv4_user.c655 tx_port_map_fd = bpf_map__fd(skel->maps.tx_port); in main()
/linux-5.19.10/sound/soc/codecs/
Dwcd9335.c1806 int tx_port, tx_port_reg; in wcd9335_set_decimator_rate() local
1810 tx_port = ch->port; in wcd9335_set_decimator_rate()
1811 if ((tx_port == 12) || (tx_port >= 14)) { in wcd9335_set_decimator_rate()
1813 tx_port, dai->id); in wcd9335_set_decimator_rate()
1817 if (tx_port < 4) { in wcd9335_set_decimator_rate()
1819 shift = (tx_port << 1); in wcd9335_set_decimator_rate()
1821 } else if ((tx_port >= 4) && (tx_port < 8)) { in wcd9335_set_decimator_rate()
1823 shift = ((tx_port - 4) << 1); in wcd9335_set_decimator_rate()
1825 } else if ((tx_port >= 8) && (tx_port < 11)) { in wcd9335_set_decimator_rate()
1827 shift = ((tx_port - 8) << 1); in wcd9335_set_decimator_rate()
[all …]
Dwcd934x.c1641 int tx_port, tx_port_reg; in wcd934x_set_decimator_rate() local
1645 tx_port = ch->port; in wcd934x_set_decimator_rate()
1647 switch (tx_port) { in wcd934x_set_decimator_rate()
1650 shift = (tx_port << 1); in wcd934x_set_decimator_rate()
1655 shift = ((tx_port - 4) << 1); in wcd934x_set_decimator_rate()
1660 shift = ((tx_port - 8) << 1); in wcd934x_set_decimator_rate()
1675 tx_port, dai->id); in wcd934x_set_decimator_rate()
1683 switch (tx_port) { in wcd934x_set_decimator_rate()
1686 decimator = tx_port; in wcd934x_set_decimator_rate()
1690 decimator = ((tx_port == 9) ? 7 : 6); in wcd934x_set_decimator_rate()
[all …]
/linux-5.19.10/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c890 struct fman_port *tx_port) in dpaa_fq_setup() argument
920 dpaa_setup_egress(priv, fq, tx_port, in dpaa_fq_setup()