Lines Matching defs:cpsw
52 struct cpsw_common *cpsw; member
64 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv()
73 static bool cpsw_is_switch_en(struct cpsw_common *cpsw) in cpsw_is_switch_en()
80 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_set_promiscious() local
127 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local
253 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local
288 struct cpsw_common *cpsw; in cpsw_rx_handler() local
401 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry() local
441 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid() local
491 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore() local
503 static void cpsw_init_stp_ale_entry(struct cpsw_common *cpsw) in cpsw_init_stp_ale_entry()
512 static void cpsw_init_host_port_switch(struct cpsw_common *cpsw) in cpsw_init_host_port_switch()
531 static void cpsw_init_host_port_dual_mac(struct cpsw_common *cpsw) in cpsw_init_host_port_dual_mac()
549 struct cpsw_common *cpsw = priv->cpsw; in cpsw_init_host_port() local
590 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_dual_emac_def_ale_entries() local
616 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_switch_def_ale_entries() local
650 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local
719 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open() local
792 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_stop() local
830 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_open() local
921 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_start_xmit() local
982 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_mac_address() local
1018 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_kill_vid() local
1086 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_ndo_poll_controller() local
1121 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_port_parent_id() local
1154 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_drvinfo() local
1166 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_set_pauseparam() local
1223 static int cpsw_probe_dt(struct cpsw_common *cpsw) in cpsw_probe_dt()
1353 static void cpsw_remove_dt(struct cpsw_common *cpsw) in cpsw_remove_dt()
1371 static int cpsw_create_ports(struct cpsw_common *cpsw) in cpsw_create_ports()
1444 static void cpsw_unregister_ports(struct cpsw_common *cpsw) in cpsw_unregister_ports()
1456 static int cpsw_register_ports(struct cpsw_common *cpsw) in cpsw_register_ports()
1482 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_port_dev_check() local
1490 static void cpsw_port_offload_fwd_mark_update(struct cpsw_common *cpsw) in cpsw_port_offload_fwd_mark_update()
1514 struct cpsw_common *cpsw = priv->cpsw; in cpsw_netdevice_port_link() local
1542 struct cpsw_common *cpsw = priv->cpsw; in cpsw_netdevice_port_unlink() local
1590 static int cpsw_register_notifiers(struct cpsw_common *cpsw) in cpsw_register_notifiers()
1607 static void cpsw_unregister_notifiers(struct cpsw_common *cpsw) in cpsw_unregister_notifiers()
1620 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_switch_mode_get() local
1636 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_switch_mode_set() local
1754 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_get() local
1773 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_set() local
1806 static int cpsw_register_devlink(struct cpsw_common *cpsw) in cpsw_register_devlink()
1842 static void cpsw_unregister_devlink(struct cpsw_common *cpsw) in cpsw_unregister_devlink()
1869 struct cpsw_common *cpsw; in cpsw_probe() local
2060 struct cpsw_common *cpsw = platform_get_drvdata(pdev); in cpsw_remove() local
2083 struct cpsw_common *cpsw = dev_get_drvdata(dev); in cpsw_suspend() local
2107 struct cpsw_common *cpsw = dev_get_drvdata(dev); in cpsw_resume() local