| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | nvidia,tegra234-mgbe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/nvidia,tegra234-mgbe.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra234 MGBE Multi-Gigabit Ethernet Controller 10 - Thierry Reding <treding@nvidia.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 const: nvidia,tegra234-mgbe 20 reg-names: 22 - const: hypervisor [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/ |
| D | clk-aspeed.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <linux/clk-provider.h> 10 #include <linux/reset-controller.h> 17 * struct aspeed_gate_data - Aspeed gated clocks 19 * @reset_idx: bit used to reset this IP in the reset register. -1 if no 34 * struct aspeed_clk_gate - Aspeed specific clk_gate structure 35 * @hw: handle between common and hardware-specific interfaces 38 * @reset_idx: bit used to reset this IP in the reset register. -1 if no 40 * @flags: hardware-specific flags 59 * struct aspeed_reset - Aspeed reset controller [all …]
|
| D | clk-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #define pr_fmt(fmt) "clk-aspeed: " fmt 13 #include <dt-bindings/clock/aspeed-clock.h> 15 #include "clk-aspeed.h" 49 [ASPEED_CLK_GATE_ECLK] = { 0, 6, "eclk-gate", "eclk", 0 }, /* Video Engine */ 50 [ASPEED_CLK_GATE_GCLK] = { 1, 7, "gclk-gate", NULL, 0 }, /* 2D engine */ 51 [ASPEED_CLK_GATE_MCLK] = { 2, -1, "mclk-gate", "mpll", CLK_IS_CRITICAL }, /* SDRAM */ 52 [ASPEED_CLK_GATE_VCLK] = { 3, -1, "vclk-gate", NULL, 0 }, /* Video Capture */ 53 [ASPEED_CLK_GATE_BCLK] = { 4, 8, "bclk-gate", "bclk", CLK_IS_CRITICAL }, /* PCIe/PCI */ 54 [ASPEED_CLK_GATE_DCLK] = { 5, -1, "dclk-gate", NULL, CLK_IS_CRITICAL }, /* DAC */ [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/ |
| D | clk-aspeed.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <linux/clk-provider.h> 10 #include <linux/reset-controller.h> 17 * struct aspeed_gate_data - Aspeed gated clocks 19 * @reset_idx: bit used to reset this IP in the reset register. -1 if no 34 * struct aspeed_clk_gate - Aspeed specific clk_gate structure 35 * @hw: handle between common and hardware-specific interfaces 38 * @reset_idx: bit used to reset this IP in the reset register. -1 if no 40 * @flags: hardware-specific flags 59 * struct aspeed_reset - Aspeed reset controller [all …]
|
| D | clk-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #define pr_fmt(fmt) "clk-aspeed: " fmt 13 #include <dt-bindings/clock/aspeed-clock.h> 15 #include "clk-aspeed.h" 49 [ASPEED_CLK_GATE_ECLK] = { 0, 6, "eclk-gate", "eclk", 0 }, /* Video Engine */ 50 [ASPEED_CLK_GATE_GCLK] = { 1, 7, "gclk-gate", NULL, 0 }, /* 2D engine */ 51 [ASPEED_CLK_GATE_MCLK] = { 2, -1, "mclk-gate", "mpll", CLK_IS_CRITICAL }, /* SDRAM */ 52 [ASPEED_CLK_GATE_VCLK] = { 3, -1, "vclk-gate", NULL, 0 }, /* Video Capture */ 53 [ASPEED_CLK_GATE_BCLK] = { 4, 8, "bclk-gate", "bclk", CLK_IS_CRITICAL }, /* PCIe/PCI */ 54 [ASPEED_CLK_GATE_DCLK] = { 5, -1, "dclk-gate", NULL, CLK_IS_CRITICAL }, /* DAC */ [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mp-venice-gw74xx.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 17 compatible = "gateworks,imx8mp-gw74xx", "fsl,imx8mp"; 30 stdout-path = &uart2; 38 gpio-keys { 39 compatible = "gpio-keys"; [all …]
|
| D | imx8mm-venice-gw7901.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 17 compatible = "gw,imx8mm-gw7901", "fsl,imx8mm"; 30 stdout-path = &uart2; 38 gpio-keys { 39 compatible = "gpio-keys"; [all …]
|
| D | imx8mm-venice-gw7902.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/net/ti-dp83867.h> 12 #include <dt-bindings/phy/phy-imx8-pcie.h> 18 compatible = "gw,imx8mm-gw7902", "fsl,imx8mm"; 27 stdout-path = &uart2; 36 compatible = "fixed-clock"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/apm/ |
| D | apm-storm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dts file for AppliedMicro (APM) X-Gene Storm SOC 9 compatible = "apm,xgene-storm"; 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 15 #address-cells = <2>; 16 #size-cells = <0>; 22 enable-method = "spin-table"; 23 cpu-release-addr = <0x1 0x0000fff8>; [all …]
|
| D | apm-shadowcat.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dts file for AppliedMicro (APM) X-Gene Shadowcat SOC 9 compatible = "apm,xgene-shadowcat"; 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 15 #address-cells = <2>; 16 #size-cells = <0>; 22 enable-method = "spin-table"; 23 cpu-release-addr = <0x1 0x0000fff8>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/apm/ |
| D | apm-storm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dts file for AppliedMicro (APM) X-Gene Storm SOC 9 compatible = "apm,xgene-storm"; 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 15 #address-cells = <2>; 16 #size-cells = <0>; 22 enable-method = "spin-table"; 23 cpu-release-addr = <0x1 0x0000fff8>; [all …]
|
| D | apm-shadowcat.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dts file for AppliedMicro (APM) X-Gene Shadowcat SOC 9 compatible = "apm,xgene-shadowcat"; 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 15 #address-cells = <2>; 16 #size-cells = <0>; 22 enable-method = "spin-table"; 23 cpu-release-addr = <0x1 0x0000fff8>; [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/nxp/ |
| D | clk-lpc32xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <linux/clk-provider.h> 12 #include <dt-bindings/clock/lpc32xx-clock.h> 244 LPC32XX_CLK_DEFINE(MAC, "mac", 0x0, LPC32XX_CLK_HCLK), 253 * divider register does not contain information about selected rate. 393 regmap_read(clk_regmap, clk->reg, &val); in clk_mask_enable() 395 if (clk->busy_mask && (val & clk->busy_mask) == clk->busy) in clk_mask_enable() 396 return -EBUSY; in clk_mask_enable() 398 return regmap_update_bits(clk_regmap, clk->reg, in clk_mask_enable() 399 clk->enable_mask, clk->enable); in clk_mask_enable() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/nxp/ |
| D | clk-lpc32xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <linux/clk-provider.h> 12 #include <dt-bindings/clock/lpc32xx-clock.h> 244 LPC32XX_CLK_DEFINE(MAC, "mac", 0x0, LPC32XX_CLK_HCLK), 253 * divider register does not contain information about selected rate. 393 regmap_read(clk_regmap, clk->reg, &val); in clk_mask_enable() 395 if (clk->busy_mask && (val & clk->busy_mask) == clk->busy) in clk_mask_enable() 396 return -EBUSY; in clk_mask_enable() 398 return regmap_update_bits(clk_regmap, clk->reg, in clk_mask_enable() 399 clk->enable_mask, clk->enable); in clk_mask_enable() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/actions/ |
| D | owl-emac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Actions Semi Owl SoCs Ethernet MAC driver 12 #define OWL_EMAC_DRVNAME "owl-emac" 49 #define OWL_EMAC_VAL_MAC_CSR5_TS_DATA 0x03 /* Transferring data HOST -> FIFO */ 55 #define OWL_EMAC_VAL_MAC_CSR5_RS_DATA 0x07 /* Transferring data FIFO -> HOST */ 59 #define OWL_EMAC_BIT_MAC_CSR5_GTE BIT(11) /* General-purpose timer expiration */ 98 #define OWL_EMAC_BIT_MAC_CSR7_GTE BIT(11) /* General-purpose timer overflow */ 125 #define OWL_EMAC_MSK_MAC_CSR10_CLKDIV GENMASK(30, 28) /* Clock divider */ 133 #define OWL_EMAC_VAL_MAC_CSR10_OPCODE_CDS 0x03 /* Clock divider set */ 140 /* General-purpose timer and interrupt mitigation control register */ [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/intel/socfpga/ |
| D | socfpga_arria10.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/reset/altr,rst-mgr-a10.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 enable-method = "altr,socfpga-a10-smp"; 19 compatible = "arm,cortex-a9"; 22 next-level-cache = <&L2>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | socfpga_arria10.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/reset/altr,rst-mgr-a10.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 enable-method = "altr,socfpga-a10-smp"; 19 compatible = "arm,cortex-a9"; 22 next-level-cache = <&L2>; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
| D | dwmac-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 "rx-pcs", "tx", "tx-pcs", "mac-divider", "mac", "mgbe", "ptp-ref", "mac" 66 clk_bulk_disable_unprepare(ARRAY_SIZE(mgbe_clks), mgbe->clks); in tegra_mgbe_suspend() 68 return reset_control_assert(mgbe->rst_mac); in tegra_mgbe_suspend() 77 err = clk_bulk_prepare_enable(ARRAY_SIZE(mgbe_clks), mgbe->clks); in tegra_mgbe_resume() 81 err = reset_control_deassert(mgbe->rst_mac); in tegra_mgbe_resume() 86 writel(MAC_SBD_INTR, mgbe->regs + MGBE_WRAP_COMMON_INTR_ENABLE); in tegra_mgbe_resume() 89 writel(mgbe->iommu_sid, mgbe->hv + MGBE_WRAP_AXI_ASID0_CTRL); in tegra_mgbe_resume() 91 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_STATUS); in tegra_mgbe_resume() 93 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL); in tegra_mgbe_resume() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | stmmac.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 51 * specified frequency limit 0f 2.5 MHz, by programming a clock divider 161 /* FPE link-partner hand-shaking mPacket type */ 227 /* MAC ----- optional PCS ----- SerDes ----- optional PHY ----- Media 231 * mac_interface is the MAC-side interface, which may be the same 234 * MAC and PCS, and phy_interface describes the interface mode 238 /* phy_interface is the PHY-side interface - the interface used by
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/rdc/ |
| D | r6040.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * RDC R6040 Fast Ethernet MAC support 7 * Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> 8 * Copyright (C) 2007-2012 Florian Fainelli <f.fainelli@gmail.com> 43 /* RDC MAC I/O Size */ 46 /* MAX RDC MAC */ 49 /* MAC registers */ 57 #define MAC_RST 0x0001 /* Reset the MAC */ 62 #define TM2TX 0x0001 /* Trigger MAC to transmit */ 66 #define TX_FIFO_UNDR 0x0200 /* TX FIFO under-run */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/rdc/ |
| D | r6040.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * RDC R6040 Fast Ethernet MAC support 7 * Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> 8 * Copyright (C) 2007-2012 Florian Fainelli <f.fainelli@gmail.com> 43 /* RDC MAC I/O Size */ 46 /* MAX RDC MAC */ 49 /* MAC registers */ 57 #define MAC_RST 0x0001 /* Reset the MAC */ 62 #define TM2TX 0x0001 /* Trigger MAC to transmit */ 66 #define TX_FIFO_UNDR 0x0200 /* TX FIFO under-run */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | eswitch.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 60 bool mpfs; /* UC MAC was added to MPFs */ 61 /* A flag indicating that mac was added due to mc promiscuous vport */ 71 return -EOPNOTSUPP; in mlx5_eswitch_check() 74 return -EOPNOTSUPP; in mlx5_eswitch_check() 88 return dev->priv.eswitch; in mlx5_devlink_eswitch_get() 96 if (!esw || !MLX5_CAP_GEN(esw->dev, vport_group_manager)) in mlx5_eswitch_get_vport() 97 return ERR_PTR(-EPERM); in mlx5_eswitch_get_vport() 101 if (idx > esw->total_vports - 1) { in mlx5_eswitch_get_vport() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/ |
| D | am43xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 sys_clkin_ck: clock-sys-clkin-31@40 { 9 #clock-cells = <0>; 10 compatible = "ti,mux-clock"; 11 clock-output-names = "sys_clkin_ck"; 13 ti,bit-shift = <31>; 17 crystal_freq_sel_ck: clock-crystal-freq-sel-29@40 { 18 #clock-cells = <0>; 19 compatible = "ti,mux-clock"; 20 clock-output-names = "crystal_freq_sel_ck"; [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/b53/ |
| D | b53_regs.h | 5 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org> 101 /* Power-down mode control */ 121 * Override Ports 0-7 State on devices with xMII interfaces (8 bit) 235 /* Ingress mirror divider register (16 bit) */ 239 /* Ingress mirror MAC address register (48 bit) */ 245 /* Egress mirror divider register (16 bit) */ 248 /* Egress mirror MAC address register (48 bit) */ 299 /* MAC Address Index Register (48 bit) */ 305 /* ARL Table MAC/VID Entry N Registers (64 bit) 343 /* ARL Search MAC/VID Result (64 bit) */
|
| /kernel/linux/linux-6.6/drivers/net/dsa/b53/ |
| D | b53_regs.h | 5 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org> 101 /* Power-down mode control */ 121 * Override Ports 0-7 State on devices with xMII interfaces (8 bit) 236 /* Ingress mirror divider register (16 bit) */ 240 /* Ingress mirror MAC address register (48 bit) */ 246 /* Egress mirror divider register (16 bit) */ 249 /* Egress mirror MAC address register (48 bit) */ 300 /* MAC Address Index Register (48 bit) */ 306 /* ARL Table MAC/VID Entry N Registers (64 bit) 344 /* ARL Search MAC/VID Result (64 bit) */
|