Searched +full:ocelot +full:- +full:hsio (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mscc/ |
D | ocelot_vsc7514.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Microsemi Ocelot Switch driver 7 #include <linux/dsa/ocelot.h> 20 #include <soc/mscc/ocelot.h> 24 #include "ocelot.h" 29 static int ocelot_chip_init(struct ocelot *ocelot, const struct ocelot_ops *ops) in ocelot_chip_init() argument 33 ocelot->map = vsc7514_regmap; in ocelot_chip_init() 34 ocelot->num_mact_rows = 1024; in ocelot_chip_init() 35 ocelot->ops = ops; in ocelot_chip_init() 37 ret = ocelot_regfields_init(ocelot, vsc7514_regfields); in ocelot_chip_init() [all …]
|
D | ocelot.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Microsemi Ocelot Switch driver 7 #include <linux/dsa/ocelot.h> 14 #include "ocelot.h" 30 /* Caller must hold &ocelot->mact_lock */ 31 static inline u32 ocelot_mact_read_macaccess(struct ocelot *ocelot) in ocelot_mact_read_macaccess() argument 33 return ocelot_read(ocelot, ANA_TABLES_MACACCESS); in ocelot_mact_read_macaccess() 36 /* Caller must hold &ocelot->mact_lock */ 37 static inline int ocelot_mact_wait_for_completion(struct ocelot *ocelot) in ocelot_mact_wait_for_completion() argument 42 ocelot, val, in ocelot_mact_wait_for_completion() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mips/ |
D | mscc.txt | 7 - compatible: "mscc,ocelot", "mscc,luton", "mscc,serval" or "mscc,jr2" 19 - compatible: Should be "mscc,ocelot-chip-regs", "simple-mfd", "syscon" 20 - reg : Should contain registers location and length 24 compatible = "mscc,ocelot-chip-regs", "simple-mfd", "syscon"; 28 o HSIO regs: 30 The SoC has a few registers (HSIO) handling miscellaneous functionalities: 35 - compatible: Should be "mscc,ocelot-hsio", "syscon", "simple-mfd" 36 - reg : Should contain registers location and length 40 compatible = "mscc,ocelot-hsio", "syscon", "simple-mfd";
|
/linux-6.12.1/Documentation/devicetree/bindings/phy/ |
D | mscc,vsc7514-serdes.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/mscc,vsc7514-serdes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microsemi Ocelot SerDes muxing 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 - UNGLinuxDriver@microchip.com 14 On Microsemi Ocelot, there is a handful of registers in HSIO address 23 half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports 24 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode. [all …]
|
/linux-6.12.1/drivers/mfd/ |
D | ocelot-core.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Core driver for the Ocelot chip family. 6 * on-chip MIPS processor, or externally via SPI, I2C, PCIe. This core driver is 7 * intended to be the bus-agnostic glue between, for example, the SPI bus and 10 * Copyright 2021-2022 Innovative Advantage Inc. 12 * Author: Colin Foster <colin.foster@in-advantage.com> 22 #include <linux/mfd/ocelot.h> 27 #include <soc/mscc/ocelot.h> 29 #include "ocelot.h" 91 err = regmap_read(ddata->gcb_regmap, REG_GCB_SOFT_RST, &val); in ocelot_gcb_chip_rst_status() [all …]
|
/linux-6.12.1/arch/mips/boot/dts/mscc/ |
D | ocelot.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 #address-cells = <1>; 6 #size-cells = <1>; 7 compatible = "mscc,ocelot"; 10 #address-cells = <1>; 11 #size-cells = <0>; 25 cpuintc: interrupt-controller { 26 #address-cells = <0>; 27 #interrupt-cells = <1>; 28 interrupt-controller; [all …]
|
/linux-6.12.1/include/soc/mscc/ |
D | ocelot.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 23 * - In one of PGID[0-63]: for the destination masks. There are 2 paths by 25 * - The {DMAC, VID} is present in the MAC table. In that case, the 28 * - The {DMAC, VID} is not present in the MAC table (it is unknown). The 34 * ocelot->num_phys_ports - 1, or a multicast set: the PGIDs from 35 * ocelot->num_phys_ports to 63. By convention, a unicast PGID corresponds to 40 * - In one of PGID[64-79]: for the aggregation mask. The switch classifier 41 * dissects each frame and generates a 4-bit Link Aggregation Code which is 48 * - In one of PGID[80-90]: for the source mask. The third time, the PGID table 60 * PGID_MC: the flooding destinations for non-IP multicast traffic. [all …]
|
/linux-6.12.1/drivers/net/dsa/ocelot/ |
D | felix.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright 2019-2021 NXP 5 * register-compatible with Ocelot and that perform I/O to their host CPU 15 #include <soc/mscc/ocelot.h> 17 #include <linux/dsa/ocelot.h> 28 /* Translate the DSA database API into the ocelot switch library API, 41 return ERR_PTR(-EOPNOTSUPP); in felix_classify_db() 48 struct ocelot *ocelot = ds->priv; in felix_cpu_port_for_conduit() local 53 mutex_lock(&ocelot->fwd_domain_lock); in felix_cpu_port_for_conduit() 54 lag = ocelot_bond_get_id(ocelot, conduit); in felix_cpu_port_for_conduit() [all …]
|