Lines Matching defs:common

288 static void am65_cpsw_nuss_get_ver(struct am65_cpsw_common *common)  in am65_cpsw_nuss_get_ver()
303 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_add_vid() local
332 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_kill_vid() local
357 struct am65_cpsw_common *common = port->common; in am65_cpsw_slave_set_promisc() local
379 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_rx_mode() local
412 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_host_tx_timeout() local
435 static int am65_cpsw_nuss_rx_push(struct am65_cpsw_common *common, in am65_cpsw_nuss_rx_push()
474 void am65_cpsw_nuss_set_p0_ptype(struct am65_cpsw_common *common) in am65_cpsw_nuss_set_p0_ptype()
508 static void am65_cpsw_destroy_rxq(struct am65_cpsw_common *common, int id) in am65_cpsw_destroy_rxq()
537 static void am65_cpsw_destroy_rxqs(struct am65_cpsw_common *common) in am65_cpsw_destroy_rxqs()
557 static int am65_cpsw_create_rxq(struct am65_cpsw_common *common, int id) in am65_cpsw_create_rxq()
633 static int am65_cpsw_create_rxqs(struct am65_cpsw_common *common) in am65_cpsw_create_rxqs()
661 static void am65_cpsw_destroy_txq(struct am65_cpsw_common *common, int id) in am65_cpsw_destroy_txq()
672 static void am65_cpsw_destroy_txqs(struct am65_cpsw_common *common) in am65_cpsw_destroy_txqs()
695 static int am65_cpsw_create_txq(struct am65_cpsw_common *common, int id) in am65_cpsw_create_txq()
709 static int am65_cpsw_create_txqs(struct am65_cpsw_common *common) in am65_cpsw_create_txqs()
869 static int am65_cpsw_nuss_common_open(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_open()
950 static int am65_cpsw_nuss_common_stop(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_stop()
971 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_stop() local
1002 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_open() local
1097 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_xdp_tx_frame() local
1172 struct am65_cpsw_common *common = flow->common; in am65_cpsw_run_xdp() local
1273 struct am65_cpsw_common *common = flow->common; in am65_cpsw_nuss_rx_packets() local
1400 struct am65_cpsw_common *common = flow->common; in am65_cpsw_nuss_rx_poll() local
1454 static int am65_cpsw_nuss_tx_compl_packets(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets()
1593 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_xmit() local
1764 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_mac_address() local
1954 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_ndo_xdp_xmit() local
2016 static void am65_cpsw_disable_serdes_phy(struct am65_cpsw_common *common) in am65_cpsw_disable_serdes_phy()
2061 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_config() local
2091 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_down() local
2125 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_up() local
2167 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_slave_disable_unused() local
2181 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_tx_chns() local
2197 static void am65_cpsw_nuss_remove_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_remove_tx_chns()
2215 static int am65_cpsw_nuss_ndev_add_tx_napi(struct am65_cpsw_common *common) in am65_cpsw_nuss_ndev_add_tx_napi()
2254 static int am65_cpsw_nuss_init_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_tx_chns()
2341 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_rx_chns() local
2353 static void am65_cpsw_nuss_remove_rx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_remove_rx_chns()
2374 static int am65_cpsw_nuss_init_rx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_rx_chns()
2517 static int am65_cpsw_nuss_init_host_p(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_host_p()
2555 static int am65_cpsw_init_cpts(struct am65_cpsw_common *common) in am65_cpsw_init_cpts()
2592 static int am65_cpsw_nuss_init_slave_ports(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_slave_ports()
2734 static void am65_cpsw_nuss_phylink_cleanup(struct am65_cpsw_common *common) in am65_cpsw_nuss_phylink_cleanup()
2746 static void am65_cpsw_remove_dt(struct am65_cpsw_common *common) in am65_cpsw_remove_dt()
2758 am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx) in am65_cpsw_nuss_init_port_ndev()
2865 static int am65_cpsw_nuss_init_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_ndevs()
2879 static void am65_cpsw_nuss_cleanup_ndev(struct am65_cpsw_common *common) in am65_cpsw_nuss_cleanup_ndev()
2895 static void am65_cpsw_port_offload_fwd_mark_update(struct am65_cpsw_common *common) in am65_cpsw_port_offload_fwd_mark_update()
2920 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_port_dev_check() local
2932 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_link() local
2960 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_unlink() local
3045 static void am65_cpsw_init_host_port_switch(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_switch()
3058 static void am65_cpsw_init_host_port_emac(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_emac()
3075 struct am65_cpsw_common *common = dl_priv->common; in am65_cpsw_dl_switch_mode_get() local
3090 struct am65_cpsw_common *common = port->common; in am65_cpsw_init_port_emac_ale() local
3249 static int am65_cpsw_nuss_register_devlink(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_devlink()
3316 static void am65_cpsw_unregister_devlink(struct am65_cpsw_common *common) in am65_cpsw_unregister_devlink()
3340 static int am65_cpsw_nuss_register_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_ndevs()
3414 int am65_cpsw_nuss_update_tx_rx_chns(struct am65_cpsw_common *common, in am65_cpsw_nuss_update_tx_rx_chns()
3503 static void am65_cpsw_nuss_apply_socinfo(struct am65_cpsw_common *common) in am65_cpsw_nuss_apply_socinfo()
3521 struct am65_cpsw_common *common; in am65_cpsw_nuss_probe() local
3672 struct am65_cpsw_common *common; in am65_cpsw_nuss_remove() local
3710 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_suspend() local
3748 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_resume() local