Lines Matching refs:am65_cpsw_common

158 static void am65_cpsw_nuss_get_ver(struct am65_cpsw_common *common)  in am65_cpsw_nuss_get_ver()
173 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_add_vid()
202 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_kill_vid()
227 struct am65_cpsw_common *common = port->common; in am65_cpsw_slave_set_promisc()
249 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_rx_mode()
282 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_host_tx_timeout()
305 static int am65_cpsw_nuss_rx_push(struct am65_cpsw_common *common, in am65_cpsw_nuss_rx_push()
341 void am65_cpsw_nuss_set_p0_ptype(struct am65_cpsw_common *common) in am65_cpsw_nuss_set_p0_ptype()
365 static void am65_cpsw_init_host_port_switch(struct am65_cpsw_common *common);
366 static void am65_cpsw_init_host_port_emac(struct am65_cpsw_common *common);
370 static int am65_cpsw_nuss_common_open(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_open()
476 static int am65_cpsw_nuss_common_stop(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_stop()
538 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_stop()
569 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_open()
715 static int am65_cpsw_nuss_rx_packets(struct am65_cpsw_common *common, in am65_cpsw_nuss_rx_packets()
811 struct am65_cpsw_common *common = am65_cpsw_napi_to_common(napi_rx); in am65_cpsw_nuss_rx_poll()
941 static int am65_cpsw_nuss_tx_compl_packets(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets()
986 static int am65_cpsw_nuss_tx_compl_packets_2g(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets_2g()
1054 struct am65_cpsw_common *common = dev_id; in am65_cpsw_nuss_rx_irq()
1076 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_xmit()
1240 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_mac_address()
1269 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_hwtstamp_set()
1462 static void am65_cpsw_disable_serdes_phy(struct am65_cpsw_common *common) in am65_cpsw_disable_serdes_phy()
1507 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_config()
1537 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_down()
1571 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_up()
1613 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_slave_disable_unused()
1627 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_tx_chns()
1643 void am65_cpsw_nuss_remove_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_remove_tx_chns()
1669 static int am65_cpsw_nuss_ndev_add_tx_napi(struct am65_cpsw_common *common) in am65_cpsw_nuss_ndev_add_tx_napi()
1695 static int am65_cpsw_nuss_init_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_tx_chns()
1780 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_rx_chns()
1794 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_remove_rx_chns()
1815 static int am65_cpsw_nuss_init_rx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_rx_chns()
1924 static int am65_cpsw_nuss_init_host_p(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_host_p()
1967 static int am65_cpsw_init_cpts(struct am65_cpsw_common *common) in am65_cpsw_init_cpts()
2004 static int am65_cpsw_nuss_init_slave_ports(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_slave_ports()
2125 static void am65_cpsw_nuss_phylink_cleanup(struct am65_cpsw_common *common) in am65_cpsw_nuss_phylink_cleanup()
2138 am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx) in am65_cpsw_nuss_init_port_ndev()
2247 static int am65_cpsw_nuss_init_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_ndevs()
2261 static void am65_cpsw_nuss_cleanup_ndev(struct am65_cpsw_common *common) in am65_cpsw_nuss_cleanup_ndev()
2273 static void am65_cpsw_port_offload_fwd_mark_update(struct am65_cpsw_common *common) in am65_cpsw_port_offload_fwd_mark_update()
2298 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_port_dev_check()
2310 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_link()
2338 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_unlink()
2383 static int am65_cpsw_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_register_notifiers()
2405 static void am65_cpsw_unregister_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_unregister_notifiers()
2417 static void am65_cpsw_init_stp_ale_entry(struct am65_cpsw_common *cpsw) in am65_cpsw_init_stp_ale_entry()
2423 static void am65_cpsw_init_host_port_switch(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_switch()
2436 static void am65_cpsw_init_host_port_emac(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_emac()
2453 struct am65_cpsw_common *common = dl_priv->common; in am65_cpsw_dl_switch_mode_get()
2468 struct am65_cpsw_common *common = port->common; in am65_cpsw_init_port_emac_ale()
2491 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_init_port_switch_ale()
2517 struct am65_cpsw_common *cpsw = dl_priv->common; in am65_cpsw_dl_switch_mode_set()
2626 static int am65_cpsw_nuss_register_devlink(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_devlink()
2693 static void am65_cpsw_unregister_devlink(struct am65_cpsw_common *common) in am65_cpsw_unregister_devlink()
2717 static int am65_cpsw_nuss_register_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_ndevs()
2786 int am65_cpsw_nuss_update_tx_chns(struct am65_cpsw_common *common, int num_tx) in am65_cpsw_nuss_update_tx_chns()
2862 static void am65_cpsw_nuss_apply_socinfo(struct am65_cpsw_common *common) in am65_cpsw_nuss_apply_socinfo()
2880 struct am65_cpsw_common *common; in am65_cpsw_nuss_probe()
2888 common = devm_kzalloc(dev, sizeof(struct am65_cpsw_common), GFP_KERNEL); in am65_cpsw_nuss_probe()
3024 struct am65_cpsw_common *common; in am65_cpsw_nuss_remove()
3054 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_suspend()
3092 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_resume()