Lines Matching defs:cpsw

51 	struct cpsw_common *cpsw;  member
63 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv()
72 static bool cpsw_is_switch_en(struct cpsw_common *cpsw) in cpsw_is_switch_en()
79 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_set_promiscious() local
126 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local
252 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local
287 struct cpsw_common *cpsw; in cpsw_rx_handler() local
408 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry() local
448 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid() local
498 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore() local
510 static void cpsw_init_stp_ale_entry(struct cpsw_common *cpsw) in cpsw_init_stp_ale_entry()
519 static void cpsw_init_host_port_switch(struct cpsw_common *cpsw) in cpsw_init_host_port_switch()
538 static void cpsw_init_host_port_dual_mac(struct cpsw_common *cpsw) in cpsw_init_host_port_dual_mac()
556 struct cpsw_common *cpsw = priv->cpsw; in cpsw_init_host_port() local
597 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_dual_emac_def_ale_entries() local
623 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_switch_def_ale_entries() local
657 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local
726 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open() local
796 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_stop() local
834 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_open() local
925 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_start_xmit() local
986 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_mac_address() local
1022 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_kill_vid() local
1090 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_ndo_poll_controller() local
1127 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_port_parent_id() local
1160 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_drvinfo() local
1172 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_set_pauseparam() local
1229 static int cpsw_probe_dt(struct cpsw_common *cpsw) in cpsw_probe_dt()
1359 static void cpsw_remove_dt(struct cpsw_common *cpsw) in cpsw_remove_dt()
1377 static int cpsw_create_ports(struct cpsw_common *cpsw) in cpsw_create_ports()
1449 static void cpsw_unregister_ports(struct cpsw_common *cpsw) in cpsw_unregister_ports()
1461 static int cpsw_register_ports(struct cpsw_common *cpsw) in cpsw_register_ports()
1487 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_port_dev_check() local
1495 static void cpsw_port_offload_fwd_mark_update(struct cpsw_common *cpsw) in cpsw_port_offload_fwd_mark_update()
1518 struct cpsw_common *cpsw = priv->cpsw; in cpsw_netdevice_port_link() local
1540 struct cpsw_common *cpsw = priv->cpsw; in cpsw_netdevice_port_unlink() local
1584 static int cpsw_register_notifiers(struct cpsw_common *cpsw) in cpsw_register_notifiers()
1601 static void cpsw_unregister_notifiers(struct cpsw_common *cpsw) in cpsw_unregister_notifiers()
1614 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_switch_mode_get() local
1630 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_switch_mode_set() local
1746 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_get() local
1765 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_set() local
1798 static int cpsw_register_devlink(struct cpsw_common *cpsw) in cpsw_register_devlink()
1834 static void cpsw_unregister_devlink(struct cpsw_common *cpsw) in cpsw_unregister_devlink()
1861 struct cpsw_common *cpsw; in cpsw_probe() local
2053 struct cpsw_common *cpsw = platform_get_drvdata(pdev); in cpsw_remove() local
2076 struct cpsw_common *cpsw = dev_get_drvdata(dev); in cpsw_suspend() local
2100 struct cpsw_common *cpsw = dev_get_drvdata(dev); in cpsw_resume() local