Searched defs:cpsw (Results 1 – 8 of 8) sorted by relevance
53 struct cpsw_common *cpsw; member 65 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv() argument 74 static bool cpsw_is_switch_en(struct cpsw_common *cpsw) in cpsw_is_switch_en() argument 81 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_set_promiscious() local 128 struct cpsw_common *cpsw = priv->cpsw; cpsw_set_mc() local 254 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_set_rx_mode() local 289 struct cpsw_common *cpsw; cpsw_rx_handler() local 406 struct cpsw_common *cpsw = priv->cpsw; cpsw_add_vlan_ale_entry() local 446 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_vlan_rx_add_vid() local 494 struct cpsw_common *cpsw = priv->cpsw; cpsw_restore() local 508 cpsw_init_stp_ale_entry(struct cpsw_common * cpsw) cpsw_init_stp_ale_entry() argument 517 cpsw_init_host_port_switch(struct cpsw_common * cpsw) cpsw_init_host_port_switch() argument 536 cpsw_init_host_port_dual_mac(struct cpsw_common * cpsw) cpsw_init_host_port_dual_mac() argument 554 struct cpsw_common *cpsw = priv->cpsw; cpsw_init_host_port() local 595 struct cpsw_common *cpsw = priv->cpsw; cpsw_port_add_dual_emac_def_ale_entries() local 621 struct cpsw_common *cpsw = priv->cpsw; cpsw_port_add_switch_def_ale_entries() local 655 struct cpsw_common *cpsw = priv->cpsw; cpsw_adjust_link() local 724 struct cpsw_common *cpsw = priv->cpsw; cpsw_slave_open() local 799 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_stop() local 837 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_open() local 926 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_start_xmit() local 987 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_set_mac_address() local 1021 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_vlan_rx_kill_vid() local 1087 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); cpsw_ndo_poll_controller() local 1122 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); cpsw_get_port_parent_id() local 1157 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); cpsw_get_drvinfo() local 1169 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); cpsw_set_pauseparam() local 1225 cpsw_probe_dt(struct cpsw_common * cpsw) cpsw_probe_dt() argument 1354 cpsw_remove_dt(struct cpsw_common * cpsw) cpsw_remove_dt() argument 1372 cpsw_create_ports(struct cpsw_common * cpsw) cpsw_create_ports() argument 1448 cpsw_unregister_ports(struct cpsw_common * cpsw) cpsw_unregister_ports() argument 1460 cpsw_register_ports(struct cpsw_common * cpsw) cpsw_register_ports() argument 1486 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); cpsw_port_dev_check() local 1494 cpsw_port_offload_fwd_mark_update(struct cpsw_common * cpsw) cpsw_port_offload_fwd_mark_update() argument 1518 struct cpsw_common *cpsw = priv->cpsw; cpsw_netdevice_port_link() local 1546 struct cpsw_common *cpsw = priv->cpsw; cpsw_netdevice_port_unlink() local 1594 cpsw_register_notifiers(struct cpsw_common * cpsw) cpsw_register_notifiers() argument 1611 cpsw_unregister_notifiers(struct cpsw_common * cpsw) cpsw_unregister_notifiers() argument 1624 struct cpsw_common *cpsw = dl_priv->cpsw; cpsw_dl_switch_mode_get() local 1641 struct cpsw_common *cpsw = dl_priv->cpsw; cpsw_dl_switch_mode_set() local 1759 struct cpsw_common *cpsw = dl_priv->cpsw; cpsw_dl_ale_ctrl_get() local 1779 struct cpsw_common *cpsw = dl_priv->cpsw; cpsw_dl_ale_ctrl_set() local 1812 cpsw_register_devlink(struct cpsw_common * cpsw) cpsw_register_devlink() argument 1840 cpsw_unregister_devlink(struct cpsw_common * cpsw) cpsw_unregister_devlink() argument 1866 struct cpsw_common *cpsw; cpsw_probe() local 2056 struct cpsw_common *cpsw = platform_get_drvdata(pdev); cpsw_remove() local 2082 struct cpsw_common *cpsw = dev_get_drvdata(dev); cpsw_suspend() local 2106 struct cpsw_common *cpsw = dev_get_drvdata(dev); cpsw_resume() local [all...]
36 void cpsw_intr_enable(struct cpsw_common *cpsw) in cpsw_intr_enable() argument 44 void cpsw_intr_disable(struct cpsw_common *cpsw) in cpsw_intr_disable() argument 88 struct cpsw_common *cpsw = dev_id; cpsw_tx_interrupt() local 104 struct cpsw_common *cpsw = dev_id; cpsw_rx_interrupt() local 120 struct cpsw_common *cpsw = dev_id; cpsw_misc_interrupt() local 132 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); cpsw_tx_mq_poll() local 164 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); cpsw_tx_poll() local 182 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); cpsw_rx_mq_poll() local 214 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); cpsw_rx_poll() local 234 struct cpsw_common *cpsw = priv->cpsw; cpsw_rx_vlan_encap() local 293 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_tx_timeout() local 309 cpsw_get_common_speed(struct cpsw_common * cpsw) cpsw_get_common_speed() argument 320 cpsw_need_resplit(struct cpsw_common * cpsw) cpsw_need_resplit() argument 347 cpsw_split_res(struct cpsw_common * cpsw) cpsw_split_res() argument 432 cpsw_init_common(struct cpsw_common * cpsw,void __iomem * ss_regs,int ale_ageout,phys_addr_t desc_mem_phys,int descs_pool_size) cpsw_init_common() argument 556 struct cpsw_common *cpsw = priv->cpsw; cpsw_hwtstamp_v1() local 580 struct cpsw_common *cpsw = priv->cpsw; cpsw_hwtstamp_v2() local 622 struct cpsw_common *cpsw = priv->cpsw; cpsw_hwtstamp_set() local 685 struct cpsw_common *cpsw = ndev_to_cpsw(dev); cpsw_hwtstamp_get() local 716 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_set_tx_maxrate() local 772 struct cpsw_common *cpsw = priv->cpsw; cpsw_shp_is_off() local 788 struct cpsw_common *cpsw = priv->cpsw; cpsw_fifo_shp_on() local 804 struct cpsw_common *cpsw = priv->cpsw; cpsw_set_fifo_bw() local 864 struct cpsw_common *cpsw = priv->cpsw; cpsw_set_fifo_rlimit() local 916 struct cpsw_common *cpsw = priv->cpsw; cpsw_set_cbs() local 976 struct cpsw_common *cpsw = priv->cpsw; cpsw_set_mqprio() local 1062 struct cpsw_common *cpsw = priv->cpsw; cpsw_mqprio_resume() local 1084 struct cpsw_common *cpsw = priv->cpsw; cpsw_fill_rx_channels() local 1127 cpsw_create_page_pool(struct cpsw_common * cpsw,int size) cpsw_create_page_pool() argument 1147 cpsw_create_rx_pool(struct cpsw_common * cpsw,int ch) cpsw_create_rx_pool() argument 1164 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndev_create_xdp_rxq() local 1193 cpsw_destroy_xdp_rxqs(struct cpsw_common * cpsw) cpsw_destroy_xdp_rxqs() argument 1212 cpsw_create_xdp_rxqs(struct cpsw_common * cpsw) cpsw_create_xdp_rxqs() argument 1274 struct cpsw_common *cpsw = priv->cpsw; cpsw_xdp_tx_frame() local 1307 struct cpsw_common *cpsw = priv->cpsw; cpsw_run_xdp() local [all...]
80 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv() argument 96 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); cpsw_set_promiscious() local 182 struct cpsw_common *cpsw = priv->cpsw; cpsw_set_mc() local 311 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_set_rx_mode() local 349 struct cpsw_common *cpsw = ndev_to_cpsw(xmeta->ndev); cpsw_rx_handler() local 464 struct cpsw_common *cpsw = priv->cpsw; _cpsw_adjust_link() local 526 struct cpsw_common *cpsw = priv->cpsw; cpsw_adjust_link() local 548 struct cpsw_common *cpsw = priv->cpsw; cpsw_add_dual_emac_def_ale_entries() local 570 struct cpsw_common *cpsw = priv->cpsw; cpsw_slave_open() local 659 struct cpsw_common *cpsw = priv->cpsw; cpsw_add_default_vlan() local 687 struct cpsw_common *cpsw = priv->cpsw; cpsw_init_host_port() local 719 cpsw_slave_stop(struct cpsw_slave * slave,struct cpsw_common * cpsw) cpsw_slave_stop() argument 763 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_open() local 880 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_stop() local 910 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_start_xmit() local 971 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_set_mac_address() local 1009 struct cpsw_common *cpsw = priv->cpsw; cpsw_add_vlan_ale_entry() local 1055 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_vlan_rx_add_vid() local 1091 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_vlan_rx_kill_vid() local 1126 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_xdp_xmit() local 1150 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); cpsw_ndo_poll_controller() local 1166 struct cpsw_common *cpsw = priv->cpsw; cpsw_ndo_ioctl() local 1205 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); cpsw_get_drvinfo() local 1428 struct cpsw_common *cpsw = platform_get_drvdata(pdev); cpsw_remove_dt() local 1457 struct cpsw_common *cpsw = priv->cpsw; cpsw_probe_dual_emac() local 1532 struct cpsw_common *cpsw; cpsw_probe() local 1760 struct cpsw_common *cpsw = platform_get_drvdata(pdev); cpsw_remove() local 1787 struct cpsw_common *cpsw = dev_get_drvdata(dev); cpsw_suspend() local 1807 struct cpsw_common *cpsw = dev_get_drvdata(dev); cpsw_resume() local [all...]
29 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_stp_state_set() local 62 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_attr_br_flags_set() local 121 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_pvid() local 143 struct cpsw_common *cpsw = priv->cpsw; cpsw_set_pvid() local 169 struct cpsw_common *cpsw = priv->cpsw; cpsw_port_vlan_add() local 216 struct cpsw_common *cpsw = priv->cpsw; cpsw_port_vlan_del() local 269 struct cpsw_common *cpsw = priv->cpsw; cpsw_port_mdb_add() local 292 struct cpsw_common *cpsw = priv->cpsw; cpsw_port_mdb_del() local 382 struct cpsw_common *cpsw = priv->cpsw; cpsw_switchdev_event_work() local 519 cpsw_switchdev_register_notifiers(struct cpsw_common * cpsw) cpsw_switchdev_register_notifiers() argument 540 cpsw_switchdev_unregister_notifiers(struct cpsw_common * cpsw) cpsw_switchdev_unregister_notifiers() argument [all...]
27 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_stp_state_set() local 60 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_attr_br_flags_set() local 119 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_get_pvid() local 135 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_set_pvid() local 153 struct am65_cpsw_common *cpsw = port->common; am65_cpsw_port_vlan_add() local 201 struct am65_cpsw_common *cpsw = port->common; am65_cpsw_port_vlan_del() local 261 struct am65_cpsw_common *cpsw = port->common; am65_cpsw_port_mdb_add() local 284 struct am65_cpsw_common *cpsw = port->common; am65_cpsw_port_mdb_del() local 372 struct am65_cpsw_common *cpsw = port->common; am65_cpsw_switchdev_event_work() local 509 am65_cpsw_switchdev_register_notifiers(struct am65_cpsw_common * cpsw) am65_cpsw_switchdev_register_notifiers() argument 530 am65_cpsw_switchdev_unregister_notifiers(struct am65_cpsw_common * cpsw) am65_cpsw_switchdev_unregister_notifiers() argument [all...]
19 static inline int am65_cpsw_switchdev_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_register_notifiers() argument 24 static inline void am65_cpsw_switchdev_unregister_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_unregister_notifiers() argument
3005 static int am65_cpsw_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_register_notifiers() argument 3027 am65_cpsw_unregister_notifiers(struct am65_cpsw_common * cpsw) am65_cpsw_unregister_notifiers() argument 3039 am65_cpsw_init_stp_ale_entry(struct am65_cpsw_common * cpsw) am65_cpsw_init_stp_ale_entry() argument 3113 struct am65_cpsw_common *cpsw = port->common; am65_cpsw_init_port_switch_ale() local 3140 struct am65_cpsw_common *cpsw = dl_priv->common; am65_cpsw_dl_switch_mode_set() local [all...]
389 struct cpsw_common *cpsw; member [all...]