Home
last modified time | relevance | path

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

/drivers/net/ethernet/ti/
Dcpsw_switchdev.c23 struct cpsw_priv *priv;
27 static int cpsw_port_stp_state_set(struct cpsw_priv *priv, in cpsw_port_stp_state_set()
62 static int cpsw_port_attr_br_flags_set(struct cpsw_priv *priv, in cpsw_port_attr_br_flags_set()
98 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_port_attr_set()
124 static u16 cpsw_get_pvid(struct cpsw_priv *priv) in cpsw_get_pvid()
146 static void cpsw_set_pvid(struct cpsw_priv *priv, u16 vid, bool cfi, u32 cos) in cpsw_set_pvid()
170 static int cpsw_port_vlan_add(struct cpsw_priv *priv, bool untag, bool pvid, in cpsw_port_vlan_add()
217 static int cpsw_port_vlan_del(struct cpsw_priv *priv, u16 vid, in cpsw_port_vlan_del()
255 static int cpsw_port_vlans_add(struct cpsw_priv *priv, in cpsw_port_vlans_add()
285 static int cpsw_port_vlans_del(struct cpsw_priv *priv, in cpsw_port_vlans_del()
[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()
165 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_coalesce()
306 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_get_pauseparam()
315 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_get_wol()
328 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_wol()
359 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ethtool_op_begin()
374 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ethtool_op_complete()
399 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_get_link_ksettings()
413 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_link_ksettings()
[all …]
Dcpsw_priv.c33 int (*cpsw_slave_index)(struct cpsw_common *cpsw, struct cpsw_priv *priv);
231 struct cpsw_priv *priv = netdev_priv(skb->dev); in cpsw_rx_vlan_encap()
271 void cpsw_set_slave_mac(struct cpsw_slave *slave, struct cpsw_priv *priv) in cpsw_set_slave_mac()
291 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_tx_timeout()
552 static void cpsw_hwtstamp_v1(struct cpsw_priv *priv) in cpsw_hwtstamp_v1()
576 static void cpsw_hwtstamp_v2(struct cpsw_priv *priv) in cpsw_hwtstamp_v2()
617 struct cpsw_priv *priv = netdev_priv(dev); in cpsw_hwtstamp_set()
682 struct cpsw_priv *priv = netdev_priv(dev); in cpsw_hwtstamp_get()
710 struct cpsw_priv *priv = netdev_priv(dev); in cpsw_ndo_ioctl()
731 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_set_tx_maxrate()
[all …]
Dcpsw_priv.h365 struct cpsw_priv { struct
387 #define ndev_to_cpsw(ndev) (((struct cpsw_priv *)netdev_priv(ndev))->cpsw) argument
391 struct cpsw_priv *priv);
433 int cpsw_fill_rx_channels(struct cpsw_priv *priv);
440 int cpsw_xdp_tx_frame(struct cpsw_priv *priv, struct xdp_frame *xdpf,
442 int cpsw_run_xdp(struct cpsw_priv *priv, int ch, struct xdp_buff *xdp,
453 void cpsw_set_slave_mac(struct cpsw_slave *slave, struct cpsw_priv *priv);
460 bool cpsw_shp_is_off(struct cpsw_priv *priv);
461 void cpsw_cbs_resume(struct cpsw_slave *slave, struct cpsw_priv *priv);
462 void cpsw_mqprio_resume(struct cpsw_slave *slave, struct cpsw_priv *priv);
Dcpsw_new.c64 struct cpsw_priv *priv) in cpsw_slave_index_priv()
125 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_mc()
251 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_set_rx_mode()
290 struct cpsw_priv *priv; in cpsw_rx_handler()
405 static int cpsw_add_vlan_ale_entry(struct cpsw_priv *priv, in cpsw_add_vlan_ale_entry()
447 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_vlan_rx_add_vid()
486 struct cpsw_priv *priv = arg; in cpsw_restore_vlans()
496 static void cpsw_restore(struct cpsw_priv *priv) in cpsw_restore()
554 static void cpsw_init_host_port(struct cpsw_priv *priv) in cpsw_init_host_port()
593 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()
463 struct cpsw_priv *priv, bool *link) in _cpsw_adjust_link()
529 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_adjust_link()
549 struct cpsw_priv *priv, struct cpsw_slave *slave, in cpsw_add_dual_emac_def_ale_entries()
570 static void cpsw_slave_open(struct cpsw_slave *slave, struct cpsw_priv *priv) in cpsw_slave_open()
657 static inline void cpsw_add_default_vlan(struct cpsw_priv *priv) in cpsw_add_default_vlan()
683 static void cpsw_init_host_port(struct cpsw_priv *priv) in cpsw_init_host_port()
[all …]
DMakefile18 ti_cpsw-y := cpsw.o davinci_cpdma.o cpsw_ale.o cpsw_priv.o cpsw_sl.o cpsw_ethtool.o
20 ti_cpsw_new-y := cpsw_switchdev.o cpsw_new.o davinci_cpdma.o cpsw_ale.o cpsw_sl.o cpsw_priv.o cpsw_…