Searched refs:tx_port (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | xdp_redirect_map.c | 11 } 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()
|
| /OK3568_Linux_fs/u-boot/drivers/net/fm/ |
| H A D | eth.c | 191 static void bmi_tx_port_disable(struct fm_bmi_tx_port *tx_port) in bmi_tx_port_disable() argument 195 clrbits_be32(&tx_port->fmbm_tcfg, FMBM_TCFG_EN); in bmi_tx_port_disable() 198 while ((in_be32(&tx_port->fmbm_tst) & FMBM_TST_BSY) && timeout--) in bmi_tx_port_disable() 202 static void bmi_tx_port_init(struct fm_bmi_tx_port *tx_port) in bmi_tx_port_init() argument 205 out_be32(&tx_port->fmbm_tcfg, FMBM_TCFG_IM); in bmi_tx_port_init() 207 out_be32(&tx_port->fmbm_tfne, NIA_ENG_RISC | NIA_RISC_AC_IM_TX); in bmi_tx_port_init() 208 out_be32(&tx_port->fmbm_tfene, NIA_ENG_RISC | NIA_RISC_AC_IM_TX); in bmi_tx_port_init() 210 clrbits_be32(&tx_port->fmbm_tfca, FMBM_TFCA_ORDER | FMBM_TFCA_MR_MASK); in bmi_tx_port_init() 211 setbits_be32(&tx_port->fmbm_tfca, FMBM_TFCA_MR(4)); in bmi_tx_port_init() 213 out_be32(&tx_port->fmbm_tstc, FMBM_TSTC_EN); in bmi_tx_port_init() [all …]
|
| H A D | fm.h | 122 struct fm_bmi_tx_port *tx_port; member
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_xdp_veth.sh | 103 bpftool map update pinned $BPF_DIR/maps/tx_port key 0 0 0 0 value 122 0 0 0 104 bpftool map update pinned $BPF_DIR/maps/tx_port key 1 0 0 0 value 133 0 0 0 105 bpftool map update pinned $BPF_DIR/maps/tx_port key 2 0 0 0 value 111 0 0 0
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | xdp_redirect_map_kern.c | 27 } tx_port SEC(".maps"); 82 return bpf_redirect_map(&tx_port, vport, 0); in xdp_redirect_map_prog()
|
| H A D | xdp_redirect_kern.c | 27 } tx_port SEC(".maps"); 71 ifindex = bpf_map_lookup_elem(&tx_port, &port); in xdp_redirect_prog()
|
| H A D | xdp_router_ipv4_kern.c | 82 } tx_port SEC(".maps"); 181 return bpf_redirect_map(&tx_port, forward_to, 0); in xdp_router_ipv4_prog()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | wcd9335.c | 1794 int tx_port, tx_port_reg; in wcd9335_set_decimator_rate() local 1798 tx_port = ch->port; in wcd9335_set_decimator_rate() 1799 if ((tx_port == 12) || (tx_port >= 14)) { in wcd9335_set_decimator_rate() 1801 tx_port, dai->id); in wcd9335_set_decimator_rate() 1805 if (tx_port < 4) { in wcd9335_set_decimator_rate() 1807 shift = (tx_port << 1); in wcd9335_set_decimator_rate() 1809 } else if ((tx_port >= 4) && (tx_port < 8)) { in wcd9335_set_decimator_rate() 1811 shift = ((tx_port - 4) << 1); in wcd9335_set_decimator_rate() 1813 } else if ((tx_port >= 8) && (tx_port < 11)) { in wcd9335_set_decimator_rate() 1815 shift = ((tx_port - 8) << 1); in wcd9335_set_decimator_rate() [all …]
|
| H A D | wcd934x.c | 1557 int tx_port, tx_port_reg; in wcd934x_set_decimator_rate() local 1561 tx_port = ch->port; in wcd934x_set_decimator_rate() 1563 switch (tx_port) { in wcd934x_set_decimator_rate() 1566 shift = (tx_port << 1); in wcd934x_set_decimator_rate() 1571 shift = ((tx_port - 4) << 1); in wcd934x_set_decimator_rate() 1576 shift = ((tx_port - 8) << 1); in wcd934x_set_decimator_rate() 1591 tx_port, dai->id); in wcd934x_set_decimator_rate() 1599 switch (tx_port) { in wcd934x_set_decimator_rate() 1602 decimator = tx_port; in wcd934x_set_decimator_rate() 1606 decimator = ((tx_port == 9) ? 7 : 6); in wcd934x_set_decimator_rate() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_eth.c | 913 struct fman_port *tx_port) in dpaa_fq_setup() argument 943 dpaa_setup_egress(priv, fq, tx_port, in dpaa_fq_setup()
|