| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | mii.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * linux/mii.h: definitions for MII-compatible transceivers 23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */ 24 #define MII_STAT1000 0x0a /* 1000BASE-T status */ 30 #define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */ 42 #define BMCR_SPEED1000 0x0040 /* MSB of Speed (1000) */ 55 #define BMSR_ERCAP 0x0001 /* Ext-reg capability */ 58 #define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */ 60 #define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */ 63 #define BMSR_100HALF2 0x0200 /* Can do 100BASE-T2 HDX */ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | mii.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * linux/mii.h: definitions for MII-compatible transceivers 23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */ 24 #define MII_STAT1000 0x0a /* 1000BASE-T status */ 30 #define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */ 42 #define BMCR_SPEED1000 0x0040 /* MSB of Speed (1000) */ 55 #define BMSR_ERCAP 0x0001 /* Ext-reg capability */ 58 #define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */ 60 #define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */ 63 #define BMSR_100HALF2 0x0200 /* Can do 100BASE-T2 HDX */ [all …]
|
| D | mdio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * Copyright 2006-2009 Solarflare Communications Inc. 25 #define MDIO_MMD_AN 7 /* Auto-Negotiation */ 45 #define MDIO_AN_ADVERTISE 16 /* AN advertising (base page) */ 46 #define MDIO_AN_LPA 19 /* AN LP abilities (base page) */ 58 /* Media-dependent registers. */ 59 #define MDIO_PMA_10GBT_SWAPPOL 130 /* 10GBASE-T pair swap & polarity */ 60 #define MDIO_PMA_10GBT_TXPWR 131 /* 10GBASE-T TX power control */ 61 #define MDIO_PMA_10GBT_SNR 133 /* 10GBASE-T SNR margin, lane A. 62 * Lanes B-D are numbered 134-136. */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/ |
| D | microchip,sparx5-serdes.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/microchip,sparx5-serdes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Steen Hegelund <steen.hegelund@microchip.com> 21 * Rx built-in fault detector (loss-of-lock/loss-of-signal) 22 * Adjustable tx de-emphasis (FFE) 31 The SERDES6G is a high-speed SERDES interface, which can operate at 34 * 100 Mbps (100BASE-FX) 35 * 1.25 Gbps (SGMII/1000BASE-X/1000BASE-KX) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
| D | mv88e1xxx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 #define MII_GBCR 9 /* 1000Base-T control register */ 19 #define MII_GBSR 10 /* 1000Base-T status register */ 21 /* 1000Base-T control register fields */ 28 /* 1000Base-T status register fields */ 72 #define V_PSCR_MDI_XOVER_MODE(x) ((x) << S_PSCR_MDI_XOVER_MODE) argument 73 #define G_PSCR_MDI_XOVER_MODE(x) (((x) >> S_PSCR_MDI_XOVER_MODE) & M_PSCR_MDI_XOVER_MODE) argument 81 #define V_DOWNSHIFT_CNT(x) ((x) << S_DOWNSHIFT_CNT) argument 82 #define G_DOWNSHIFT_CNT(x) (((x) >> S_DOWNSHIFT_CNT) & M_DOWNSHIFT_CNT) argument 108 #define V_PSSR_CABLE_LEN(x) ((x) << S_PSSR_CABLE_LEN) argument [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/ |
| D | mv88e1xxx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 #define MII_GBCR 9 /* 1000Base-T control register */ 19 #define MII_GBSR 10 /* 1000Base-T status register */ 21 /* 1000Base-T control register fields */ 28 /* 1000Base-T status register fields */ 72 #define V_PSCR_MDI_XOVER_MODE(x) ((x) << S_PSCR_MDI_XOVER_MODE) argument 73 #define G_PSCR_MDI_XOVER_MODE(x) (((x) >> S_PSCR_MDI_XOVER_MODE) & M_PSCR_MDI_XOVER_MODE) argument 81 #define V_DOWNSHIFT_CNT(x) ((x) << S_DOWNSHIFT_CNT) argument 82 #define G_DOWNSHIFT_CNT(x) (((x) >> S_DOWNSHIFT_CNT) & M_DOWNSHIFT_CNT) argument 108 #define V_PSSR_CABLE_LEN(x) ((x) << S_PSSR_CABLE_LEN) argument [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
| D | netcp_sgmii.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Sandeep Paulraj <s-paulraj@ti.com> 8 * Wingman Kwok <w-kwok2@ti.com> 22 #define SGMII23_OFFSET(x) ((x - 2) * 0x100) argument 23 #define SGMII_OFFSET(x) ((x <= 1) ? (x * 0x100) : (SGMII23_OFFSET(x))) argument 26 #define SGMII_SRESET_REG(x) (SGMII_OFFSET(x) + 0x004) argument 27 #define SGMII_CTL_REG(x) (SGMII_OFFSET(x) + 0x010) argument 28 #define SGMII_STATUS_REG(x) (SGMII_OFFSET(x) + 0x014) argument 29 #define SGMII_MRADV_REG(x) (SGMII_OFFSET(x) + 0x018) argument 31 static void sgmii_write_reg(void __iomem *base, int reg, u32 val) in sgmii_write_reg() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
| D | netcp_sgmii.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Sandeep Paulraj <s-paulraj@ti.com> 8 * Wingman Kwok <w-kwok2@ti.com> 22 #define SGMII23_OFFSET(x) ((x - 2) * 0x100) argument 23 #define SGMII_OFFSET(x) ((x <= 1) ? (x * 0x100) : (SGMII23_OFFSET(x))) argument 26 #define SGMII_SRESET_REG(x) (SGMII_OFFSET(x) + 0x004) argument 27 #define SGMII_CTL_REG(x) (SGMII_OFFSET(x) + 0x010) argument 28 #define SGMII_STATUS_REG(x) (SGMII_OFFSET(x) + 0x014) argument 29 #define SGMII_MRADV_REG(x) (SGMII_OFFSET(x) + 0x018) argument 31 static void sgmii_write_reg(void __iomem *base, int reg, u32 val) in sgmii_write_reg() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/phy/ |
| D | sfp-bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * struct sfp_bus - internal representation of a sfp bus 50 /* Ubiquiti U-Fiber Instant module claims that support all transceiver in sfp_quirk_ubnt_uf_instant() 52 * modes and set only one mode which module supports: 1000baseX_Full. in sfp_quirk_ubnt_uf_instant() 55 phylink_set(modes, 1000baseX_Full); in sfp_quirk_ubnt_uf_instant() 60 // Alcatel Lucent G-010S-P can operate at 2500base-X, but 66 // Alcatel Lucent G-010S-A can operate at 2500base-X, but 72 // Huawei MA5671A can operate at 2500base-X, but report 1.2GBd 78 // Lantech 8330-262D-E can operate at 2500base-X, but 81 .part = "8330-262D-E", [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | ti,dp83869.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - $ref: "ethernet-phy.yaml#" 14 - Dan Murphy <dmurphy@ti.com> 17 The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 18 with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 19 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 20 100BASE-FX Fiber protocols. 23 the DP83869HM can run 1000BASE-X-to-1000BASE-T and 100BASE-FX-to-100BASE-TX [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | ti,dp83869.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - $ref: ethernet-phy.yaml# 14 - Andrew Davis <afd@ti.com> 17 The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 18 with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 19 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 20 100BASE-FX Fiber protocols. 23 the DP83869HM can run 1000BASE-X-to-1000BASE-T and 100BASE-FX-to-100BASE-TX [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | i915_utils.h | 37 #define FDO_BUG_URL "https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs" 42 #define WARN_ON(x) ({ \ 43 bool __i915_warn_cond = (x); \ 46 WARN(__i915_warn_cond, "WARN_ON(" #x ")"); }) 48 #define WARN_ON(x) WARN((x), "%s", "WARN_ON(" __stringify(x) ")") argument 52 #define WARN_ON_ONCE(x) WARN_ONCE((x), "%s", "WARN_ON_ONCE(" __stringify(x) ")") argument 54 #define MISSING_CASE(x) WARN(1, "Missing case (%s == %ld)\n", \ argument 55 __stringify(x), (long)(x)) 79 #define i915_inject_probe_failure(i915) i915_inject_probe_error((i915), -ENODEV) 105 start__ >= max__ || size__ > max__ - start__; \ [all …]
|
| /kernel/linux/linux-6.6/drivers/cpufreq/ |
| D | armada-37xx-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 24 #include "cpufreq-dt.h" 64 #define ARMADA_37XX_AVS_VSET(x) (0x1C + 4 * (x)) argument 73 #define MIN_VOLT_MV 1000 109 /* {.cpu_freq_max = 1200*1000*1000, .divider = {1, 2, 4, 6} }, */ 110 {.cpu_freq_max = 1000*1000*1000, .divider = {1, 2, 4, 5} }, 111 {.cpu_freq_max = 800*1000*1000, .divider = {1, 2, 3, 4} }, 112 {.cpu_freq_max = 600*1000*1000, .divider = {2, 4, 5, 6} }, 132 static void __init armada37xx_cpufreq_dvfs_setup(struct regmap *base, in armada37xx_cpufreq_dvfs_setup() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | armada-37xx-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 26 #include "cpufreq-dt.h" 66 #define ARMADA_37XX_AVS_VSET(x) (0x1C + 4 * (x)) argument 75 #define MIN_VOLT_MV 1000 109 /* {.cpu_freq_max = 1200*1000*1000, .divider = {1, 2, 4, 6} }, */ 110 {.cpu_freq_max = 1000*1000*1000, .divider = {1, 2, 4, 5} }, 111 {.cpu_freq_max = 800*1000*1000, .divider = {1, 2, 3, 4} }, 112 {.cpu_freq_max = 600*1000*1000, .divider = {2, 4, 5, 6} }, 132 static void __init armada37xx_cpufreq_dvfs_setup(struct regmap *base, in armada37xx_cpufreq_dvfs_setup() argument [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl-0 = <&pinctrl_leds_debug>; 24 pinctrl-names = "default"; 29 linux,default-trigger = "heartbeat"; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atlx/ |
| D | atlx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* atlx_hw.h -- common hardware definitions for Attansic network drivers 4 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. 5 * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com> 6 * Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com> 10 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 26 #define SPEED_1000 1000 149 /* IRQ Anti-Lost Timer Initial Value Register */ 228 /* MAC Half-Duplex Control Register */ 246 /* Wake-On-Lan control register */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
| D | atlx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* atlx_hw.h -- common hardware definitions for Attansic network drivers 4 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. 5 * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com> 6 * Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com> 10 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 26 #define SPEED_1000 1000 149 /* IRQ Anti-Lost Timer Initial Value Register */ 228 /* MAC Half-Duplex Control Register */ 246 /* Wake-On-Lan control register */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
| D | komeda_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0 29 for_each_new_connector_in_state(crtc_st->state, conn, conn_st, i) { in komeda_crtc_get_color_config() 30 if (conn_st->crtc != crtc_st->crtc) in komeda_crtc_get_color_config() 33 conn_bpc = conn->display_info.bpc ? conn->display_info.bpc : 8; in komeda_crtc_get_color_config() 34 conn_color_formats &= conn->display_info.color_formats; in komeda_crtc_get_color_config() 52 if (!kcrtc_st->base.active) { in komeda_crtc_update_clock_ratio() 53 kcrtc_st->clock_ratio = 0; in komeda_crtc_update_clock_ratio() 57 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio() 60 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio() 64 * komeda_crtc_atomic_check - build display output data flow [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/vf/ |
| D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl-0 = <&pinctrl_leds_debug>; 24 pinctrl-names = "default"; 26 led-debug { [all …]
|
| /kernel/linux/linux-6.6/drivers/net/phy/ |
| D | sfp-bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * struct sfp_bus - internal representation of a sfp bus 36 * sfp_parse_port() - Parse the EEPROM base ID, setting the port type 43 * %PORT_TP, %PORT_FIBRE or %PORT_OTHER. If @support is non-%NULL, 55 switch (id->base.connector) { in sfp_parse_port() 76 if (id->base.e1000_base_t) { in sfp_parse_port() 88 dev_warn(bus->sfp_dev, "SFP: unknown connector id 0x%02x\n", in sfp_parse_port() 89 id->base.connector); in sfp_parse_port() 111 * sfp_may_have_phy() - indicate whether the module may have a PHY 120 if (id->base.e1000_base_t) in sfp_may_have_phy() [all …]
|
| /kernel/linux/linux-5.10/drivers/pwm/ |
| D | pwm-hibvt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #define PWM_CFG0_ADDR(x) (((x) * 0x20) + 0x0) argument 19 #define PWM_CFG1_ADDR(x) (((x) * 0x20) + 0x4) argument 20 #define PWM_CFG2_ADDR(x) (((x) * 0x20) + 0x8) argument 21 #define PWM_CTRL_ADDR(x) (((x) * 0x20) + 0xC) argument 38 void __iomem *base; member 71 static void hibvt_pwm_set_bits(void __iomem *base, u32 offset, in hibvt_pwm_set_bits() argument 74 void __iomem *address = base + offset; in hibvt_pwm_set_bits() 87 hibvt_pwm_set_bits(hi_pwm_chip->base, PWM_CTRL_ADDR(pwm->hwpwm), in hibvt_pwm_enable() 95 hibvt_pwm_set_bits(hi_pwm_chip->base, PWM_CTRL_ADDR(pwm->hwpwm), in hibvt_pwm_disable() [all …]
|
| /kernel/linux/linux-5.10/drivers/ide/ |
| D | qd65xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1996-2001 Linus Torvalds & author (see below) 7 * Version 0.03 Cleaned auto-tune, added probe 20 * Samuel Thibault <samuel.thibault@ens-lyon.org> 40 * I/O ports are 0x30-0x31 (and 0x32-0x33 for qd6580) 41 * or 0xb0-0xb1 (and 0xb2-0xb3 for qd6580) 42 * -- qd6500 is a single IDE interface 43 * -- qd6580 is a dual IDE interface 51 * base: Timer1 54 * base+0x01: Config (R/O) [all …]
|
| /kernel/linux/linux-6.6/drivers/pwm/ |
| D | pwm-hibvt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #define PWM_CFG0_ADDR(x) (((x) * 0x20) + 0x0) argument 19 #define PWM_CFG1_ADDR(x) (((x) * 0x20) + 0x4) argument 20 #define PWM_CFG2_ADDR(x) (((x) * 0x20) + 0x8) argument 21 #define PWM_CTRL_ADDR(x) (((x) * 0x20) + 0xC) argument 38 void __iomem *base; member 71 static void hibvt_pwm_set_bits(void __iomem *base, u32 offset, in hibvt_pwm_set_bits() argument 74 void __iomem *address = base + offset; in hibvt_pwm_set_bits() 87 hibvt_pwm_set_bits(hi_pwm_chip->base, PWM_CTRL_ADDR(pwm->hwpwm), in hibvt_pwm_enable() 95 hibvt_pwm_set_bits(hi_pwm_chip->base, PWM_CTRL_ADDR(pwm->hwpwm), in hibvt_pwm_disable() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/ |
| D | komeda_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0 30 for_each_new_connector_in_state(crtc_st->state, conn, conn_st, i) { in komeda_crtc_get_color_config() 31 if (conn_st->crtc != crtc_st->crtc) in komeda_crtc_get_color_config() 34 conn_bpc = conn->display_info.bpc ? conn->display_info.bpc : 8; in komeda_crtc_get_color_config() 35 conn_color_formats &= conn->display_info.color_formats; in komeda_crtc_get_color_config() 53 if (!kcrtc_st->base.active) { in komeda_crtc_update_clock_ratio() 54 kcrtc_st->clock_ratio = 0; in komeda_crtc_update_clock_ratio() 58 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio() 61 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio() 65 * komeda_crtc_atomic_check - build display output data flow [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/pcmcia/ |
| D | nsp_cs.c | 3 NinjaSCSI-3 / NinjaSCSI-32Bi PCMCIA SCSI host adapter card driver 21 I-O DATA PCSC-F (Workbit NinjaSCSI-3) 22 "WBT", "NinjaSCSI-3", "R1.0" 23 I-O DATA CBSC-II (Workbit NinjaSCSI-32Bi in 16bit mode) 56 MODULE_DESCRIPTION("WorkBit NinjaSCSI-3 / NinjaSCSI-32Bi(16bit) PCMCIA SCSI host adapter module"); 81 .name = "WorkBit NinjaSCSI-3/32Bi(16bit)", 90 .dma_boundary = PAGE_SIZE - 1, 94 static nsp_hw_data nsp_data_base; /* attach <-> detect glue */ 169 printk("nsp_cs-debug: 0x%x %s (%d): %s\n", mask, func, line, buf); in nsp_cs_dmessage() 178 * You must be set SCpnt->result before call this function. [all …]
|