Home
last modified time | relevance | path

Searched +full:dra7 +full:- +full:cpsw +full:- +full:switch (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dti,cpsw-switch.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/ti,cpsw-switch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI SoC Ethernet Switch Controller (CPSW) Device Tree Bindings
10 - Grygorii Strashko <grygorii.strashko@ti.com>
11 - Sekhar Nori <nsekhar@ti.com>
14 The 3-port switch gigabit ethernet subsystem provides ethernet packet
15 communication and can be configured as an ethernet switch. It provides the
24 - const: ti,cpsw-switch
[all …]
Dcpsw.txt1 TI SoC Ethernet Switch Controller Device Tree Bindings
2 ------------------------------------------------------
5 - compatible : Should be one of the below:-
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
12 - interrupts : property with a value describing the interrupt
14 - cpdma_channels : Specifies number of channels in CPDMA
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dti,cpsw-switch.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/ti,cpsw-switch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI SoC Ethernet Switch Controller (CPSW)
10 - Grygorii Strashko <grygorii.strashko@ti.com>
11 - Sekhar Nori <nsekhar@ti.com>
14 The 3-port switch gigabit ethernet subsystem provides ethernet packet
15 communication and can be configured as an ethernet switch. It provides the
24 - const: ti,cpsw-switch
[all …]
Dcpsw.txt1 TI SoC Ethernet Switch Controller Device Tree Bindings
2 ------------------------------------------------------
5 - compatible : Should be one of the below:-
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
12 - interrupts : property with a value describing the interrupt
14 - cpdma_channels : Specifies number of channels in CPDMA
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
Dcpsw_new.c1 // SPDX-License-Identifier: GPL-2.0
3 * Texas Instruments Ethernet Switch Driver
37 #include "cpsw.h"
53 struct cpsw_common *cpsw; member
65 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv() argument
68 if (priv->emac_port == HOST_PORT_NUM) in cpsw_slave_index_priv()
69 return -1; in cpsw_slave_index_priv()
71 return priv->emac_port - 1; in cpsw_slave_index_priv()
74 static bool cpsw_is_switch_en(struct cpsw_common *cpsw) in cpsw_is_switch_en() argument
76 return !cpsw->data.dual_emac; in cpsw_is_switch_en()
[all …]
Dcpsw.c1 // SPDX-License-Identifier: GPL-2.0
3 * Texas Instruments Ethernet Switch Driver
41 #include "cpsw.h"
52 MODULE_PARM_DESC(debug_level, "cpsw debug level (NETIF_MSG bits)");
56 MODULE_PARM_DESC(ale_ageout, "cpsw ale ageout interval (seconds)");
69 struct cpsw_common *cpsw = (priv)->cpsw; \
71 if (cpsw->data.dual_emac) \
72 (func)((cpsw)->slaves + priv->emac_port, ##arg);\
74 for (n = cpsw->data.slaves, \
75 slave = cpsw->slaves; \
[all …]
Dcpsw_ale.c1 // SPDX-License-Identifier: GPL-2.0
3 * Texas Instruments N-Port Ethernet Switch Address Lookup Engine
23 #define BITMASK(bits) (BIT(bits) - 1)
41 /* ALE NetCP NU switch specific Registers */
56 * struct ale_entry_fld - The ALE tbl entry field description
75 * struct cpsw_ale_dev_id - The ALE version/SoC specific configuration
80 * @nu_switch_ale: NU Switch ALE
113 idx2 = (start + bits - 1) / 32; in cpsw_ale_get_field()
116 index = 2 - idx2; /* flip */ in cpsw_ale_get_field()
117 hi_val = ale_entry[index] << ((idx2 * 32) - start); in cpsw_ale_get_field()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_new.c1 // SPDX-License-Identifier: GPL-2.0
3 * Texas Instruments Ethernet Switch Driver
35 #include "cpsw.h"
51 struct cpsw_common *cpsw; member
63 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv() argument
66 if (priv->emac_port == HOST_PORT_NUM) in cpsw_slave_index_priv()
67 return -1; in cpsw_slave_index_priv()
69 return priv->emac_port - 1; in cpsw_slave_index_priv()
72 static bool cpsw_is_switch_en(struct cpsw_common *cpsw) in cpsw_is_switch_en() argument
74 return !cpsw->data.dual_emac; in cpsw_is_switch_en()
[all …]
Dcpsw.c1 // SPDX-License-Identifier: GPL-2.0
3 * Texas Instruments Ethernet Switch Driver
41 #include "cpsw.h"
52 MODULE_PARM_DESC(debug_level, "cpsw debug level (NETIF_MSG bits)");
56 MODULE_PARM_DESC(ale_ageout, "cpsw ale ageout interval (seconds)");
69 struct cpsw_common *cpsw = (priv)->cpsw; \
71 if (cpsw->data.dual_emac) \
72 (func)((cpsw)->slaves + priv->emac_port, ##arg);\
74 for (n = cpsw->data.slaves, \
75 slave = cpsw->slaves; \
[all …]
Dcpsw_ale.c1 // SPDX-License-Identifier: GPL-2.0
3 * Texas Instruments N-Port Ethernet Switch Address Lookup Engine
23 #define BITMASK(bits) (BIT(bits) - 1)
41 /* ALE NetCP NU switch specific Registers */
54 * struct ale_entry_fld - The ALE tbl entry field description
73 * struct ale_dev_id - The ALE version/SoC specific configuration
78 * @nu_switch_ale: NU Switch ALE
111 idx2 = (start + bits - 1) / 32; in cpsw_ale_get_field()
114 idx2 = 2 - idx2; /* flip */ in cpsw_ale_get_field()
115 hi_val = ale_entry[idx2] << ((idx2 * 32) - start); in cpsw_ale_get_field()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Ddra7-l4.dtsi2 compatible = "ti,dra7-l4-cfg", "simple-pm-bus";
3 power-domains = <&prm_coreaon>;
5 clock-names = "fck";
9 reg-names = "ap", "la", "ia0";
10 #address-cells = <1>;
11 #size-cells = <1>;
15 dma-ranges;
18 compatible = "simple-pm-bus";
19 #address-cells = <1>;
20 #size-cells = <1>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Ddra7-l4.dtsi2 compatible = "ti,dra7-l4-cfg", "simple-bus";
6 reg-names = "ap", "la", "ia0";
7 #address-cells = <1>;
8 #size-cells = <1>;
14 compatible = "simple-bus";
15 #address-cells = <1>;
16 #size-cells = <1>;
47 target-module@2000 { /* 0x4a002000, ap 3 08.0 */
48 compatible = "ti,sysc-omap4", "ti,sysc";
50 reg-names = "rev";
[all …]
/kernel/linux/linux-5.10/drivers/bus/
Dti-sysc.c1 // SPDX-License-Identifier: GPL-2.0
3 * ti-sysc.c - Texas Instruments sysc interconnect target driver
24 #include <linux/platform_data/ti-sysc.h>
26 #include <dt-bindings/bus/ti-sysc.h>
96 * struct sysc - TI sysc interconnect target module registers and capabilities
102 * @mdata: ti-sysc to hwmod translation data for a module
119 * @pre_reset_quirk: module specific pre-reset quirk
120 * @post_reset_quirk: module specific post-reset quirk
163 if (ddata->cfg.quirks & SYSC_QUIRK_16BIT) { in sysc_write()
164 writew_relaxed(value & 0xffff, ddata->module_va + offset); in sysc_write()
[all …]
/kernel/linux/linux-6.6/drivers/bus/
Dti-sysc.c1 // SPDX-License-Identifier: GPL-2.0
3 * ti-sysc.c - Texas Instruments sysc interconnect target driver
24 #include <linux/platform_data/ti-sysc.h>
26 #include <dt-bindings/bus/ti-sysc.h>
96 * struct sysc - TI sysc interconnect target module registers and capabilities
102 * @mdata: ti-sysc to hwmod translation data for a module
120 * @pre_reset_quirk: module specific pre-reset quirk
121 * @post_reset_quirk: module specific post-reset quirk
166 if (ddata->cfg.quirks & SYSC_QUIRK_16BIT) { in sysc_write()
167 writew_relaxed(value & 0xffff, ddata->module_va + offset); in sysc_write()
[all …]
/kernel/linux/linux-5.10/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]