Lines Matching defs:common

160 static void am65_cpsw_nuss_get_ver(struct am65_cpsw_common *common)  in am65_cpsw_nuss_get_ver()
175 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_add_vid() local
204 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_kill_vid() local
229 struct am65_cpsw_common *common = port->common; in am65_cpsw_slave_set_promisc() local
251 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_rx_mode() local
284 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_host_tx_timeout() local
307 static int am65_cpsw_nuss_rx_push(struct am65_cpsw_common *common, in am65_cpsw_nuss_rx_push()
343 void am65_cpsw_nuss_set_p0_ptype(struct am65_cpsw_common *common) in am65_cpsw_nuss_set_p0_ptype()
443 static int am65_cpsw_nuss_common_open(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_open()
576 static int am65_cpsw_nuss_common_stop(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_stop()
641 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_stop() local
672 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_open() local
797 static int am65_cpsw_nuss_rx_packets(struct am65_cpsw_common *common, in am65_cpsw_nuss_rx_packets()
893 struct am65_cpsw_common *common = in am65_cpsw_nuss_rx_timer_callback() local
902 struct am65_cpsw_common *common = am65_cpsw_napi_to_common(napi_rx); in am65_cpsw_nuss_rx_poll() local
988 static int am65_cpsw_nuss_tx_compl_packets(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets()
1034 static int am65_cpsw_nuss_tx_compl_packets_2g(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets_2g()
1122 struct am65_cpsw_common *common = dev_id; in am65_cpsw_nuss_rx_irq() local
1144 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_xmit() local
1308 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_mac_address() local
1337 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_hwtstamp_set() local
1530 static void am65_cpsw_disable_serdes_phy(struct am65_cpsw_common *common) in am65_cpsw_disable_serdes_phy()
1575 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_config() local
1605 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_down() local
1639 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_up() local
1681 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_slave_disable_unused() local
1695 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_tx_chns() local
1711 void am65_cpsw_nuss_remove_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_remove_tx_chns()
1737 static int am65_cpsw_nuss_ndev_add_tx_napi(struct am65_cpsw_common *common) in am65_cpsw_nuss_ndev_add_tx_napi()
1765 static int am65_cpsw_nuss_init_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_tx_chns()
1850 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_rx_chns() local
1864 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_remove_rx_chns() local
1885 static int am65_cpsw_nuss_init_rx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_rx_chns()
1996 static int am65_cpsw_nuss_init_host_p(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_host_p()
2039 static int am65_cpsw_init_cpts(struct am65_cpsw_common *common) in am65_cpsw_init_cpts()
2076 static int am65_cpsw_nuss_init_slave_ports(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_slave_ports()
2200 static void am65_cpsw_nuss_phylink_cleanup(struct am65_cpsw_common *common) in am65_cpsw_nuss_phylink_cleanup()
2213 am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx) in am65_cpsw_nuss_init_port_ndev()
2324 static int am65_cpsw_nuss_init_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_ndevs()
2338 static void am65_cpsw_nuss_cleanup_ndev(struct am65_cpsw_common *common) in am65_cpsw_nuss_cleanup_ndev()
2350 static void am65_cpsw_port_offload_fwd_mark_update(struct am65_cpsw_common *common) in am65_cpsw_port_offload_fwd_mark_update()
2375 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_port_dev_check() local
2387 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_link() local
2415 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_unlink() local
2500 static void am65_cpsw_init_host_port_switch(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_switch()
2513 static void am65_cpsw_init_host_port_emac(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_emac()
2530 struct am65_cpsw_common *common = dl_priv->common; in am65_cpsw_dl_switch_mode_get() local
2545 struct am65_cpsw_common *common = port->common; in am65_cpsw_init_port_emac_ale() local
2703 static int am65_cpsw_nuss_register_devlink(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_devlink()
2770 static void am65_cpsw_unregister_devlink(struct am65_cpsw_common *common) in am65_cpsw_unregister_devlink()
2794 static int am65_cpsw_nuss_register_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_ndevs()
2845 int am65_cpsw_nuss_update_tx_chns(struct am65_cpsw_common *common, int num_tx) in am65_cpsw_nuss_update_tx_chns()
2921 static void am65_cpsw_nuss_apply_socinfo(struct am65_cpsw_common *common) in am65_cpsw_nuss_apply_socinfo()
2939 struct am65_cpsw_common *common; in am65_cpsw_nuss_probe() local
3083 struct am65_cpsw_common *common; in am65_cpsw_nuss_remove() local
3118 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_suspend() local
3156 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_resume() local