Lines Matching defs:common
187 static void am65_cpsw_nuss_get_ver(struct am65_cpsw_common *common) in am65_cpsw_nuss_get_ver()
202 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_add_vid() local
231 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_kill_vid() local
256 struct am65_cpsw_common *common = port->common; in am65_cpsw_slave_set_promisc() local
278 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_rx_mode() local
311 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_host_tx_timeout() local
334 static int am65_cpsw_nuss_rx_push(struct am65_cpsw_common *common, in am65_cpsw_nuss_rx_push()
373 void am65_cpsw_nuss_set_p0_ptype(struct am65_cpsw_common *common) in am65_cpsw_nuss_set_p0_ptype()
402 static void am65_cpsw_destroy_xdp_rxqs(struct am65_cpsw_common *common) in am65_cpsw_destroy_xdp_rxqs()
429 static int am65_cpsw_create_xdp_rxqs(struct am65_cpsw_common *common) in am65_cpsw_create_xdp_rxqs()
618 static int am65_cpsw_nuss_common_open(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_open()
770 static int am65_cpsw_nuss_common_stop(struct am65_cpsw_common *common) in am65_cpsw_nuss_common_stop()
837 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_stop() local
868 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_open() local
953 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_xdp_tx_frame() local
1028 struct am65_cpsw_common *common = flow->common; in am65_cpsw_run_xdp() local
1143 struct am65_cpsw_common *common = flow->common; in am65_cpsw_nuss_rx_packets() local
1272 struct am65_cpsw_common *common = flow->common; in am65_cpsw_nuss_rx_poll() local
1342 am65_cpsw_nuss_tx_compl_packet_xdp(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packet_xdp()
1391 static int am65_cpsw_nuss_tx_compl_packets(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets()
1450 static int am65_cpsw_nuss_tx_compl_packets_2g(struct am65_cpsw_common *common, in am65_cpsw_nuss_tx_compl_packets_2g()
1572 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_xmit() local
1742 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_nuss_ndo_slave_set_mac_address() local
1956 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_ndo_xdp_xmit() local
2018 static void am65_cpsw_disable_serdes_phy(struct am65_cpsw_common *common) in am65_cpsw_disable_serdes_phy()
2063 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_config() local
2093 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_down() local
2127 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_mac_link_up() local
2169 struct am65_cpsw_common *common = port->common; in am65_cpsw_nuss_slave_disable_unused() local
2183 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_tx_chns() local
2199 static void am65_cpsw_nuss_remove_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_remove_tx_chns()
2219 static int am65_cpsw_nuss_ndev_add_tx_napi(struct am65_cpsw_common *common) in am65_cpsw_nuss_ndev_add_tx_napi()
2247 static int am65_cpsw_nuss_init_tx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_tx_chns()
2336 struct am65_cpsw_common *common = data; in am65_cpsw_nuss_free_rx_chns() local
2348 static void am65_cpsw_nuss_remove_rx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_remove_rx_chns()
2370 static int am65_cpsw_nuss_init_rx_chns(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_rx_chns()
2505 static int am65_cpsw_nuss_init_host_p(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_host_p()
2548 static int am65_cpsw_init_cpts(struct am65_cpsw_common *common) in am65_cpsw_init_cpts()
2585 static int am65_cpsw_nuss_init_slave_ports(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_slave_ports()
2709 static void am65_cpsw_nuss_phylink_cleanup(struct am65_cpsw_common *common) in am65_cpsw_nuss_phylink_cleanup()
2722 am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx) in am65_cpsw_nuss_init_port_ndev()
2838 static int am65_cpsw_nuss_init_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_init_ndevs()
2852 static void am65_cpsw_nuss_cleanup_ndev(struct am65_cpsw_common *common) in am65_cpsw_nuss_cleanup_ndev()
2868 static void am65_cpsw_port_offload_fwd_mark_update(struct am65_cpsw_common *common) in am65_cpsw_port_offload_fwd_mark_update()
2893 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_port_dev_check() local
2905 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_link() local
2933 struct am65_cpsw_common *common = am65_ndev_to_common(ndev); in am65_cpsw_netdevice_port_unlink() local
3018 static void am65_cpsw_init_host_port_switch(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_switch()
3031 static void am65_cpsw_init_host_port_emac(struct am65_cpsw_common *common) in am65_cpsw_init_host_port_emac()
3048 struct am65_cpsw_common *common = dl_priv->common; in am65_cpsw_dl_switch_mode_get() local
3063 struct am65_cpsw_common *common = port->common; in am65_cpsw_init_port_emac_ale() local
3222 static int am65_cpsw_nuss_register_devlink(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_devlink()
3289 static void am65_cpsw_unregister_devlink(struct am65_cpsw_common *common) in am65_cpsw_unregister_devlink()
3313 static int am65_cpsw_nuss_register_ndevs(struct am65_cpsw_common *common) in am65_cpsw_nuss_register_ndevs()
3383 int am65_cpsw_nuss_update_tx_rx_chns(struct am65_cpsw_common *common, in am65_cpsw_nuss_update_tx_rx_chns()
3469 static void am65_cpsw_nuss_apply_socinfo(struct am65_cpsw_common *common) in am65_cpsw_nuss_apply_socinfo()
3487 struct am65_cpsw_common *common; in am65_cpsw_nuss_probe() local
3633 struct am65_cpsw_common *common; in am65_cpsw_nuss_remove() local
3668 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_suspend() local
3706 struct am65_cpsw_common *common = dev_get_drvdata(dev); in am65_cpsw_nuss_resume() local