Lines Matching defs:common
287 static void am65_cpsw_nuss_get_ver(struct am65_cpsw_common *common) in am65_cpsw_nuss_get_ver()
302 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_add_vid() local
331 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_kill_vid() local
356 struct am65_cpsw_common *common = port->common; in am65_cpsw_slave_set_promisc() local
378 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_rx_mode() local
411 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_host_tx_timeout() local
434 static int am65_cpsw_nuss_rx_push(struct am65_cpsw_common *common, in am65_cpsw_nuss_rx_push()
473 void am65_cpsw_nuss_set_p0_ptype(struct am65_cpsw_common *common) in am65_cpsw_nuss_set_p0_ptype()
507 static void am65_cpsw_destroy_rxq(struct am65_cpsw_common *common, int id) in am65_cpsw_destroy_rxq()
536 static void am65_cpsw_destroy_rxqs(struct am65_cpsw_common *common) in am65_cpsw_destroy_rxqs()
556 static int am65_cpsw_create_rxq(struct am65_cpsw_common *common, int id) in am65_cpsw_create_rxq()
632 static int am65_cpsw_create_rxqs(struct am65_cpsw_common *common) in am65_cpsw_create_rxqs()
660 static void am65_cpsw_destroy_txq(struct am65_cpsw_common *common, int id) in am65_cpsw_destroy_txq()
671 static void am65_cpsw_destroy_txqs(struct am65_cpsw_common *common) in am65_cpsw_destroy_txqs()
694 static int am65_cpsw_create_txq(struct am65_cpsw_common *common, int id) in am65_cpsw_create_txq()
708 static int am65_cpsw_create_txqs(struct am65_cpsw_common *common) in am65_cpsw_create_txqs()
870 static int am65_cpsw_nuss_common_open(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_open()
951 static int am65_cpsw_nuss_common_stop(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_stop()
972 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_stop() local
1003 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_open() local
1098 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_xdp_tx_frame() local
1173 struct am65_cpsw_common *common = flow->common; in am65_cpsw_run_xdp() local
1281 struct am65_cpsw_common *common = flow->common; in am65_cpsw_nuss_rx_packets() local
1403 struct am65_cpsw_common *common = flow->common; in am65_cpsw_nuss_rx_poll() local
1463 am65_cpsw_nuss_tx_compl_packet_xdp(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packet_xdp()
1504 static int am65_cpsw_nuss_tx_compl_packets(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets()
1563 static int am65_cpsw_nuss_tx_compl_packets_2g(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets_2g()
1685 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_xmit() local
1855 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_mac_address() local
2045 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_ndo_xdp_xmit() local
2107 static void am65_cpsw_disable_serdes_phy(struct am65_cpsw_common *common) in am65_cpsw_disable_serdes_phy()
2152 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_config() local
2182 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_down() local
2216 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_up() local
2258 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_slave_disable_unused() local
2272 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_tx_chns() local
2288 static void am65_cpsw_nuss_remove_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_remove_tx_chns()
2306 static int am65_cpsw_nuss_ndev_add_tx_napi(struct am65_cpsw_common *common) in am65_cpsw_nuss_ndev_add_tx_napi()
2345 static int am65_cpsw_nuss_init_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_tx_chns()
2432 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_rx_chns() local
2444 static void am65_cpsw_nuss_remove_rx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_remove_rx_chns()
2465 static int am65_cpsw_nuss_init_rx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_rx_chns()
2609 static int am65_cpsw_nuss_init_host_p(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_host_p()
2647 static int am65_cpsw_init_cpts(struct am65_cpsw_common *common) in am65_cpsw_init_cpts()
2684 static int am65_cpsw_nuss_init_slave_ports(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_slave_ports()
2801 static void am65_cpsw_nuss_phylink_cleanup(struct am65_cpsw_common *common) in am65_cpsw_nuss_phylink_cleanup()
2813 static void am65_cpsw_remove_dt(struct am65_cpsw_common *common) in am65_cpsw_remove_dt()
2825 am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx) in am65_cpsw_nuss_init_port_ndev()
2932 static int am65_cpsw_nuss_init_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_ndevs()
2946 static void am65_cpsw_nuss_cleanup_ndev(struct am65_cpsw_common *common) in am65_cpsw_nuss_cleanup_ndev()
2962 static void am65_cpsw_port_offload_fwd_mark_update(struct am65_cpsw_common *common) in am65_cpsw_port_offload_fwd_mark_update()
2987 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_port_dev_check() local
2999 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_link() local
3027 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_unlink() local
3112 static void am65_cpsw_init_host_port_switch(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_switch()
3125 static void am65_cpsw_init_host_port_emac(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_emac()
3142 struct am65_cpsw_common *common = dl_priv->common; in am65_cpsw_dl_switch_mode_get() local
3157 struct am65_cpsw_common *common = port->common; in am65_cpsw_init_port_emac_ale() local
3316 static int am65_cpsw_nuss_register_devlink(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_devlink()
3383 static void am65_cpsw_unregister_devlink(struct am65_cpsw_common *common) in am65_cpsw_unregister_devlink()
3407 static int am65_cpsw_nuss_register_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_ndevs()
3481 int am65_cpsw_nuss_update_tx_rx_chns(struct am65_cpsw_common *common, in am65_cpsw_nuss_update_tx_rx_chns()
3570 static void am65_cpsw_nuss_apply_socinfo(struct am65_cpsw_common *common) in am65_cpsw_nuss_apply_socinfo()
3588 struct am65_cpsw_common *common; in am65_cpsw_nuss_probe() local
3735 struct am65_cpsw_common *common; in am65_cpsw_nuss_remove() local
3773 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_suspend() local
3811 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_resume() local