Lines Matching refs:cpsw_priv
81 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()
732 struct cpsw_priv *priv = arg; in cpsw_restore_vlans()
742 static void cpsw_restore(struct cpsw_priv *priv) in cpsw_restore()
756 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_open()
873 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_stop()
903 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_start_xmit()
963 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_set_mac_address()
996 static inline int cpsw_add_vlan_ale_entry(struct cpsw_priv *priv, in cpsw_add_vlan_ale_entry()
1048 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_vlan_rx_add_vid()
1084 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_vlan_rx_kill_vid()
1119 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_ndo_xdp_xmit()
1187 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_set_pauseparam()
1427 static int cpsw_probe_dual_emac(struct cpsw_priv *priv) in cpsw_probe_dual_emac()
1432 struct cpsw_priv *priv_sl2; in cpsw_probe_dual_emac()
1435 ndev = devm_alloc_etherdev_mqs(cpsw->dev, sizeof(struct cpsw_priv), in cpsw_probe_dual_emac()
1499 struct cpsw_priv *priv; in cpsw_probe()
1614 ndev = devm_alloc_etherdev_mqs(dev, sizeof(struct cpsw_priv), in cpsw_probe()