Home
last modified time | relevance | path

Searched refs:cpsw_priv (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_switchdev.c23 struct cpsw_priv *priv;
27 static int cpsw_port_stp_state_set(struct cpsw_priv *priv, u8 state) in cpsw_port_stp_state_set()
58 static int cpsw_port_attr_br_flags_set(struct cpsw_priv *priv, in cpsw_port_attr_br_flags_set()
93 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_port_attr_set()
119 static u16 cpsw_get_pvid(struct cpsw_priv *priv) in cpsw_get_pvid()
141 static void cpsw_set_pvid(struct cpsw_priv *priv, u16 vid, bool cfi, u32 cos) in cpsw_set_pvid()
165 static int cpsw_port_vlan_add(struct cpsw_priv *priv, bool untag, bool pvid, in cpsw_port_vlan_add()
212 static int cpsw_port_vlan_del(struct cpsw_priv *priv, u16 vid, in cpsw_port_vlan_del()
250 static int cpsw_port_vlans_add(struct cpsw_priv *priv, in cpsw_port_vlans_add()
263 static int cpsw_port_mdb_add(struct cpsw_priv *priv, in cpsw_port_mdb_add()
[all …]
Dcpsw_priv.c34 int (*cpsw_slave_index)(struct cpsw_common *cpsw, struct cpsw_priv *priv);
232 struct cpsw_priv *priv = netdev_priv(skb->dev); in cpsw_rx_vlan_encap()
272 void cpsw_set_slave_mac(struct cpsw_slave *slave, struct cpsw_priv *priv) in cpsw_set_slave_mac()
292 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_tx_timeout()
554 static void cpsw_hwtstamp_v1(struct cpsw_priv *priv) in cpsw_hwtstamp_v1()
578 static void cpsw_hwtstamp_v2(struct cpsw_priv *priv) in cpsw_hwtstamp_v2()
619 struct cpsw_priv *priv = netdev_priv(dev); in cpsw_hwtstamp_set()
680 struct cpsw_priv *priv = netdev_priv(dev); in cpsw_hwtstamp_get()
708 struct cpsw_priv *priv = netdev_priv(dev); in cpsw_ndo_ioctl()
735 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_set_tx_maxrate()
[all …]
Dcpsw_ethtool.c143 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_get_msglevel()
150 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_msglevel()
169 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_coalesce()
310 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_get_pauseparam()
319 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_get_wol()
332 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_wol()
363 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ethtool_op_begin()
376 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ethtool_op_complete()
401 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_get_link_ksettings()
415 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_link_ksettings()
[all …]
Dcpsw_priv.h372 struct cpsw_priv { struct
396 #define ndev_to_cpsw(ndev) (((struct cpsw_priv *)netdev_priv(ndev))->cpsw) argument
400 struct cpsw_priv *priv);
441 int cpsw_fill_rx_channels(struct cpsw_priv *priv);
448 int cpsw_xdp_tx_frame(struct cpsw_priv *priv, struct xdp_frame *xdpf,
450 int cpsw_run_xdp(struct cpsw_priv *priv, int ch, struct xdp_buff *xdp,
461 void cpsw_set_slave_mac(struct cpsw_slave *slave, struct cpsw_priv *priv);
468 bool cpsw_shp_is_off(struct cpsw_priv *priv);
469 void cpsw_cbs_resume(struct cpsw_slave *slave, struct cpsw_priv *priv);
470 void cpsw_mqprio_resume(struct cpsw_slave *slave, struct cpsw_priv *priv);
[all …]
Dcpsw_new.c66 struct cpsw_priv *priv) in cpsw_slave_index_priv()
127 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_mc()
253 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_set_rx_mode()
292 struct cpsw_priv *priv; in cpsw_rx_handler()
399 static int cpsw_add_vlan_ale_entry(struct cpsw_priv *priv, in cpsw_add_vlan_ale_entry()
441 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_vlan_rx_add_vid()
478 struct cpsw_priv *priv = arg; in cpsw_restore_vlans()
488 static void cpsw_restore(struct cpsw_priv *priv) in cpsw_restore()
548 static void cpsw_init_host_port(struct cpsw_priv *priv) in cpsw_init_host_port()
587 static void cpsw_port_add_dual_emac_def_ale_entries(struct cpsw_priv *priv, in cpsw_port_add_dual_emac_def_ale_entries()
[all …]
Dcpsw.c81 struct cpsw_priv *priv) in cpsw_slave_index_priv()
181 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_mc()
310 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_set_rx_mode()
354 struct cpsw_priv *priv; in cpsw_rx_handler()
455 struct cpsw_priv *priv, bool *link) in _cpsw_adjust_link()
521 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_adjust_link()
541 struct cpsw_priv *priv, struct cpsw_slave *slave, in cpsw_add_dual_emac_def_ale_entries()
562 static void cpsw_slave_open(struct cpsw_slave *slave, struct cpsw_priv *priv) in cpsw_slave_open()
651 static inline void cpsw_add_default_vlan(struct cpsw_priv *priv) in cpsw_add_default_vlan()
677 static void cpsw_init_host_port(struct cpsw_priv *priv) in cpsw_init_host_port()
[all …]
DMakefile17 ti_cpsw-y := cpsw.o davinci_cpdma.o cpsw_ale.o cpsw_priv.o cpsw_sl.o cpsw_ethtool.o
19 ti_cpsw_new-y := cpsw_switchdev.o cpsw_new.o davinci_cpdma.o cpsw_ale.o cpsw_sl.o cpsw_priv.o cpsw_…