Lines Matching defs:common
155 static void am65_cpsw_nuss_get_ver(struct am65_cpsw_common *common) in am65_cpsw_nuss_get_ver()
170 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_add_vid() local
199 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_kill_vid() local
224 struct am65_cpsw_common *common = port->common; in am65_cpsw_slave_set_promisc() local
246 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_rx_mode() local
279 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_host_tx_timeout() local
302 static int am65_cpsw_nuss_rx_push(struct am65_cpsw_common *common, in am65_cpsw_nuss_rx_push()
338 void am65_cpsw_nuss_set_p0_ptype(struct am65_cpsw_common *common) in am65_cpsw_nuss_set_p0_ptype()
367 static int am65_cpsw_nuss_common_open(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_open()
471 static int am65_cpsw_nuss_common_stop(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_stop()
533 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_stop() local
564 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_open() local
706 static int am65_cpsw_nuss_rx_packets(struct am65_cpsw_common *common, in am65_cpsw_nuss_rx_packets()
802 struct am65_cpsw_common *common = am65_cpsw_napi_to_common(napi_rx); in am65_cpsw_nuss_rx_poll() local
932 static int am65_cpsw_nuss_tx_compl_packets(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets()
977 static int am65_cpsw_nuss_tx_compl_packets_2g(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets_2g()
1045 struct am65_cpsw_common *common = dev_id; in am65_cpsw_nuss_rx_irq() local
1067 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_xmit() local
1231 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_mac_address() local
1260 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_hwtstamp_set() local
1452 static void am65_cpsw_disable_serdes_phy(struct am65_cpsw_common *common) in am65_cpsw_disable_serdes_phy()
1499 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_config() local
1512 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_down() local
1538 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_up() local
1576 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_slave_disable_unused() local
1590 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_tx_chns() local
1606 void am65_cpsw_nuss_remove_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_remove_tx_chns()
1631 static int am65_cpsw_nuss_ndev_add_tx_napi(struct am65_cpsw_common *common) in am65_cpsw_nuss_ndev_add_tx_napi()
1657 static int am65_cpsw_nuss_init_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_tx_chns()
1741 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_rx_chns() local
1755 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_remove_rx_chns() local
1776 static int am65_cpsw_nuss_init_rx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_rx_chns()
1885 static int am65_cpsw_nuss_init_host_p(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_host_p()
1928 static int am65_cpsw_init_cpts(struct am65_cpsw_common *common) in am65_cpsw_init_cpts()
1965 static int am65_cpsw_nuss_init_slave_ports(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_slave_ports()
2086 static void am65_cpsw_nuss_phylink_cleanup(struct am65_cpsw_common *common) in am65_cpsw_nuss_phylink_cleanup()
2099 am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx) in am65_cpsw_nuss_init_port_ndev()
2189 static int am65_cpsw_nuss_init_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_ndevs()
2203 static void am65_cpsw_nuss_cleanup_ndev(struct am65_cpsw_common *common) in am65_cpsw_nuss_cleanup_ndev()
2215 static void am65_cpsw_port_offload_fwd_mark_update(struct am65_cpsw_common *common) in am65_cpsw_port_offload_fwd_mark_update()
2240 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_port_dev_check() local
2252 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_link() local
2280 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_unlink() local
2365 static void am65_cpsw_init_host_port_switch(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_switch()
2378 static void am65_cpsw_init_host_port_emac(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_emac()
2395 struct am65_cpsw_common *common = dl_priv->common; in am65_cpsw_dl_switch_mode_get() local
2410 struct am65_cpsw_common *common = port->common; in am65_cpsw_init_port_emac_ale() local
2568 static int am65_cpsw_nuss_register_devlink(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_devlink()
2635 static void am65_cpsw_unregister_devlink(struct am65_cpsw_common *common) in am65_cpsw_unregister_devlink()
2659 static int am65_cpsw_nuss_register_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_ndevs()
2710 int am65_cpsw_nuss_update_tx_chns(struct am65_cpsw_common *common, int num_tx) in am65_cpsw_nuss_update_tx_chns()
2778 static void am65_cpsw_nuss_apply_socinfo(struct am65_cpsw_common *common) in am65_cpsw_nuss_apply_socinfo()
2796 struct am65_cpsw_common *common; in am65_cpsw_nuss_probe() local
2939 struct am65_cpsw_common *common; in am65_cpsw_nuss_remove() local
2968 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_suspend() local
3006 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_resume() local