| /linux-6.15/drivers/net/ethernet/ti/ |
| H A D | cpsw_new.c | 128 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local 254 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local 406 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry() local 446 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid() local 494 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore() local 554 struct cpsw_common *cpsw = priv->cpsw; in cpsw_init_host_port() local 595 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_dual_emac_def_ale_entries() local 621 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_switch_def_ale_entries() local 655 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local 1393 priv->cpsw = cpsw; in cpsw_create_ports() [all …]
|
| H A D | cpsw_ethtool.c | 175 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_coalesce() local 320 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_wol() local 333 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_wol() local 364 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ethtool_op_begin() local 402 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_link_ksettings() local 416 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_link_ksettings() local 428 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_eee() local 440 struct cpsw_common *cpsw = priv->cpsw; in cpsw_nway_reset() local 477 struct cpsw_common *cpsw = priv->cpsw; in cpsw_resume_data_pass() local 525 struct cpsw_common *cpsw = priv->cpsw; in cpsw_update_channels_res() local [all …]
|
| H A D | cpsw.c | 69 struct cpsw_common *cpsw = (priv)->cpsw; \ 182 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local 311 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local 464 struct cpsw_common *cpsw = priv->cpsw; in _cpsw_adjust_link() local 526 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local 548 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_dual_emac_def_ale_entries() local 570 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open() local 659 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_default_vlan() local 687 struct cpsw_common *cpsw = priv->cpsw; in cpsw_init_host_port() local 1448 priv_sl2->cpsw = cpsw; in cpsw_probe_dual_emac() [all …]
|
| H A D | cpsw_priv.c | 234 struct cpsw_common *cpsw = priv->cpsw; in cpsw_rx_vlan_encap() local 293 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_tx_timeout() local 556 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_v1() local 580 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_v2() local 620 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_set() local 709 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_ioctl() local 736 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_tx_maxrate() local 792 struct cpsw_common *cpsw = priv->cpsw; in cpsw_shp_is_off() local 808 struct cpsw_common *cpsw = priv->cpsw; in cpsw_fifo_shp_on() local 824 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_fifo_bw() local [all …]
|
| H A D | cpsw_switchdev.c | 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 128 if (cpsw->version == CPSW_VERSION_1) in cpsw_get_pvid() 143 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_pvid() local 154 if (cpsw->version == CPSW_VERSION_1) in cpsw_set_pvid() 169 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_add() local 216 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_del() local 269 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_add() local 292 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_del() local [all …]
|
| H A D | Makefile | 6 obj-$(CONFIG_TI_CPSW) += cpsw-common.o 7 obj-$(CONFIG_TI_DAVINCI_EMAC) += cpsw-common.o 8 obj-$(CONFIG_TI_CPSW_SWITCHDEV) += cpsw-common.o 14 obj-$(CONFIG_TI_CPSW_PHY_SEL) += cpsw-phy-sel.o 17 ti_cpsw-y := cpsw.o davinci_cpdma.o cpsw_ale.o cpsw_priv.o cpsw_sl.o cpsw_ethtool.o 28 obj-$(CONFIG_TI_K3_AM65_CPSW_NUSS) += ti-am65-cpsw-nuss.o 29 ti-am65-cpsw-nuss-y := am65-cpsw-nuss.o cpsw_sl.o am65-cpsw-ethtool.o cpsw_ale.o 30 ti-am65-cpsw-nuss-$(CONFIG_TI_AM65_CPSW_QOS) += am65-cpsw-qos.o 31 ti-am65-cpsw-nuss-$(CONFIG_TI_K3_AM65_CPSW_SWITCHDEV) += am65-cpsw-switchdev.o
|
| H A D | am65-cpsw-switchdev.c | 27 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_stp_state_set() local 49 ret = cpsw_ale_control_set(cpsw->ale, port->port_id, in am65_cpsw_port_stp_state_set() 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; in am65_cpsw_port_vlan_add() local 201 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_vlan_del() local 261 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_mdb_add() local 284 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_mdb_del() local 293 cpsw_ale_del_mcast(cpsw->ale, mdb->addr, del_mask, in am65_cpsw_port_mdb_del() [all …]
|
| H A D | am65-cpsw-switchdev.h | 16 int am65_cpsw_switchdev_register_notifiers(struct am65_cpsw_common *cpsw); 17 void am65_cpsw_switchdev_unregister_notifiers(struct am65_cpsw_common *cpsw); 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
|
| H A D | cpsw_priv.h | 389 struct cpsw_common *cpsw; member 396 #define ndev_to_cpsw(ndev) (((struct cpsw_priv *)netdev_priv(ndev))->cpsw) 399 extern int (*cpsw_slave_index)(struct cpsw_common *cpsw, 437 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs, 440 void cpsw_split_res(struct cpsw_common *cpsw); 442 void cpsw_intr_enable(struct cpsw_common *cpsw); 443 void cpsw_intr_disable(struct cpsw_common *cpsw); 445 int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw); 446 void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw); 463 int cpsw_need_resplit(struct cpsw_common *cpsw);
|
| H A D | cpsw_switchdev.h | 12 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw); 13 void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);
|
| H A D | am65-cpsw-nuss.c | 2986 if (AM65_CPSW_IS_CPSW2G(cpsw) || in am65_cpsw_register_notifiers() 3006 if (AM65_CPSW_IS_CPSW2G(cpsw) || in am65_cpsw_unregister_notifiers() 3127 if (switch_en == !cpsw->is_emac_mode) in am65_cpsw_dl_switch_mode_set() 3130 if (!switch_en && cpsw->br_members) { in am65_cpsw_dl_switch_mode_set() 3137 cpsw->is_emac_mode = !switch_en; in am65_cpsw_dl_switch_mode_set() 3139 for (i = 0; i < cpsw->port_num; i++) { in am65_cpsw_dl_switch_mode_set() 3150 for (i = 0; i < cpsw->port_num; i++) { in am65_cpsw_dl_switch_mode_set() 3175 am65_cpsw_init_host_port_switch(cpsw); in am65_cpsw_dl_switch_mode_set() 3177 for (i = 0; i < cpsw->port_num; i++) { in am65_cpsw_dl_switch_mode_set() 3196 am65_cpsw_init_host_port_emac(cpsw); in am65_cpsw_dl_switch_mode_set() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/net/ |
| H A D | cpsw-phy-sel.txt | 5 - compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and 6 "ti,dra7xx-cpsw-phy-sel" for dra7xx platform 7 "ti,am43xx-cpsw-phy-sel" for am43xx platform 8 - reg : physical base address and size of the cpsw 18 phy_sel: cpsw-phy-sel@44e10650 { 19 compatible = "ti,am3352-cpsw-phy-sel"; 25 phy_sel: cpsw-phy-sel@44e10650 { 26 compatible = "ti,am3352-cpsw-phy-sel";
|
| H A D | cpsw.txt | 6 "ti,cpsw" for backward compatible 7 "ti,am335x-cpsw" for AM335x controllers 8 "ti,am4372-cpsw" for AM437x controllers 9 "ti,dra7-cpsw" for DRA7x controllers 10 - reg : physical base address and size of the cpsw 24 Note that in legacy cases cpsw-phy-sel may be 37 driven low so that cpsw slave 0 and phy data 72 compatible = "ti,cpsw"; 86 cpsw-phy-sel = <&phy_sel>; 105 compatible = "ti,cpsw"; [all …]
|
| H A D | ti,cpsw-switch.yaml | 4 $id: http://devicetree.org/schemas/net/ti,cpsw-switch.yaml# 24 - const: ti,cpsw-switch 26 - const: ti,am335x-cpsw-switch 27 - const: ti,cpsw-switch 29 - const: ti,am4372-cpsw-switch 30 - const: ti,cpsw-switch 32 - const: ti,dra7-cpsw-switch 33 - const: ti,cpsw-switch 180 compatible = "ti,dra7-cpsw-switch","ti,cpsw-switch"; 221 compatible = "ti,cpsw-mdio","ti,davinci_mdio";
|
| H A D | ti,k3-am654-cpsw-nuss.yaml | 4 $id: http://devicetree.org/schemas/net/ti,k3-am654-cpsw-nuss.yaml# 57 - ti,am642-cpsw-nuss 58 - ti,am654-cpsw-nuss 60 - ti,j721e-cpsw-nuss 249 compatible = "ti,am654-cpsw-nuss"; 291 compatible = "ti,cpsw-mdio","ti,davinci_mdio";
|
| H A D | ti,davinci-mdio.yaml | 26 - const: ti,cpsw-mdio 30 - const: ti,cpsw-mdio
|
| /linux-6.15/Documentation/networking/devlink/ |
| H A D | am65-nuss-cpsw-switch.rst | 4 am65-cpsw-nuss devlink support 7 This document describes the devlink features implemented by the ``am65-cpsw-nuss`` 13 The ``am65-cpsw-nuss`` driver implements the following driver-specific
|
| H A D | ti-cpsw-switch.rst | 4 ti-cpsw-switch devlink support 7 This document describes the devlink features implemented by the ``ti-cpsw-switch`` 13 The ``ti-cpsw-switch`` driver implements the following driver-specific
|
| H A D | index.rst | 94 ti-cpsw-switch 95 am65-nuss-cpsw-switch
|
| /linux-6.15/arch/arm/boot/dts/ti/omap/ |
| H A D | am335x-sancloud-bbe-common.dtsi | 7 cpsw_default: cpsw-default-pins { 25 cpsw_sleep: cpsw-sleep-pins {
|
| H A D | am335x-chiliboard.dts | 46 cpsw_default: cpsw-default-pins { 60 cpsw_sleep: cpsw-sleep-pins {
|
| H A D | am335x-moxa-uc-2101.dts | 31 cpsw_default: cpsw-default-pins {
|
| H A D | am335x-lxm.dts | 62 cpsw_default: cpsw-default-pins { 88 cpsw_sleep: cpsw-sleep-pins {
|
| /linux-6.15/Documentation/networking/device_drivers/ethernet/ |
| H A D | index.rst | 54 ti/cpsw
|
| /linux-6.15/arch/arm64/boot/dts/ti/ |
| H A D | k3-j721s2-evm-gesi-exp-board.dtso | 25 main_cpsw_mdio_default_pins: main-cpsw-mdio-default-pins {
|