Searched refs:tx_port (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/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()
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | eth.c | 190 static void bmi_tx_port_disable(struct fm_bmi_tx_port *tx_port) in bmi_tx_port_disable() argument 194 clrbits_be32(&tx_port->fmbm_tcfg, FMBM_TCFG_EN); in bmi_tx_port_disable() 197 while ((in_be32(&tx_port->fmbm_tst) & FMBM_TST_BSY) && timeout--) in bmi_tx_port_disable() 201 static void bmi_tx_port_init(struct fm_bmi_tx_port *tx_port) in bmi_tx_port_init() argument 204 out_be32(&tx_port->fmbm_tcfg, FMBM_TCFG_IM); in bmi_tx_port_init() 206 out_be32(&tx_port->fmbm_tfne, NIA_ENG_RISC | NIA_RISC_AC_IM_TX); in bmi_tx_port_init() 207 out_be32(&tx_port->fmbm_tfene, NIA_ENG_RISC | NIA_RISC_AC_IM_TX); in bmi_tx_port_init() 209 clrbits_be32(&tx_port->fmbm_tfca, FMBM_TFCA_ORDER | FMBM_TFCA_MR_MASK); in bmi_tx_port_init() 210 setbits_be32(&tx_port->fmbm_tfca, FMBM_TFCA_MR(4)); in bmi_tx_port_init() 212 out_be32(&tx_port->fmbm_tstc, FMBM_TSTC_EN); in bmi_tx_port_init() [all …]
|
H A D | fm.h | 121 struct fm_bmi_tx_port *tx_port; member
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_xdp_veth.sh | 106 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
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_devmap.rst | 143 called tx_port. 152 } tx_port SEC(".maps"); 186 all the interfaces in the ``tx_port`` devmap. 193 return bpf_redirect_map(&tx_port, 0, BPF_F_BROADCAST | BPF_F_EXCLUDE_INGRESS); 199 The following code snippet shows how to update a devmap called ``tx_port``. 207 ret = bpf_map_update_elem(bpf_map__fd(tx_port), &ifindex, &redirect_ifindex, 0);
|
/openbmc/linux/samples/bpf/ |
H A D | xdp_router_ipv4.bpf.c | 71 } tx_port SEC(".maps"); 171 ret = bpf_redirect_map(&tx_port, forward_to, 0); in xdp_router_ipv4_prog()
|
H A D | xdp_router_ipv4_user.c | 655 tx_port_map_fd = bpf_map__fd(skel->maps.tx_port); in main()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wcd9335.c | 1797 int tx_port, tx_port_reg; in wcd9335_set_decimator_rate() local 1801 tx_port = ch->port; in wcd9335_set_decimator_rate() 1802 if ((tx_port == 12) || (tx_port >= 14)) { in wcd9335_set_decimator_rate() 1804 tx_port, dai->id); in wcd9335_set_decimator_rate() 1808 if (tx_port < 4) { in wcd9335_set_decimator_rate() 1810 shift = (tx_port << 1); in wcd9335_set_decimator_rate() 1812 } else if (tx_port < 8) { in wcd9335_set_decimator_rate() 1814 shift = ((tx_port - 4) << 1); in wcd9335_set_decimator_rate() 1816 } else if (tx_port < 11) { in wcd9335_set_decimator_rate() 1818 shift = ((tx_port - 8) << 1); in wcd9335_set_decimator_rate() [all …]
|
H A D | wcd934x.c | 1641 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 …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ds90ub960.c | 2422 u32 tx_port; in ub960_configure_ports_for_streaming() member 2452 rx_data[nport].tx_port = ub960_pad_to_port(priv, route->source_pad); in ub960_configure_ports_for_streaming() 2543 if (rx_data[nport].tx_port == 1) in ub960_configure_ports_for_streaming()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 936 struct fman_port *tx_port) in dpaa_fq_setup() argument 970 dpaa_setup_egress(priv, fq, tx_port, in dpaa_fq_setup()
|