| /kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/ |
| D | emac-sgmii.c | 5 /* Qualcomm Technologies, Inc. EMAC SGMII Controller driver. 14 #include "emac-sgmii.h" 88 /* Initialize the SGMII link between the internal and external PHYs. */ 121 net_err_ratelimited("%s: failed to clear SGMII irq: status:0x%x bits:0x%x\n", in emac_sgmii_irq_clear() 158 /* The SGMII is capable of recovering from some decode in emac_sgmii_interrupt() 193 * SGMII in emac_sgmii_reset_prepare() 214 struct emac_sgmii *sgmii = &adpt->phy; in emac_sgmii_common_open() local 217 if (sgmii->irq) { in emac_sgmii_common_open() 222 writel(0, sgmii->base + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_common_open() 224 ret = request_irq(sgmii->irq, emac_sgmii_interrupt, 0, in emac_sgmii_common_open() [all …]
|
| D | Makefile | 8 qcom-emac-objs := emac.o emac-mac.o emac-phy.o emac-sgmii.o emac-ethtool.o \ 9 emac-sgmii-fsm9900.o emac-sgmii-qdf2432.o \ 10 emac-sgmii-qdf2400.o
|
| D | emac-sgmii-qdf2400.c | 5 /* Qualcomm Technologies, Inc. QDF2400 EMAC SGMII Controller driver. 19 /* SGMII digital lane registers */ 46 /* SGMII digital lane register values */ 185 /* SGMII lane-x init */ in emac_sgmii_init_qdf2400() 202 netdev_err(adpt->netdev, "SGMII failed to start\n"); in emac_sgmii_init_qdf2400() 211 /* Mask out all the SGMII Interrupt */ in emac_sgmii_init_qdf2400()
|
| D | emac-sgmii-qdf2432.c | 5 /* Qualcomm Technologies, Inc. QDF2432 EMAC SGMII Controller driver. 19 /* SGMII digital lane registers */ 44 /* SGMII digital lane register values */ 172 /* SGMII lane-x init */ in emac_sgmii_init_qdf2432() 189 netdev_err(adpt->netdev, "SGMII failed to start\n"); in emac_sgmii_init_qdf2432() 198 /* Mask out all the SGMII Interrupt */ in emac_sgmii_init_qdf2432()
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/qualcomm/emac/ |
| D | emac-sgmii.c | 13 /* Qualcomm Technologies, Inc. EMAC SGMII Controller driver. 22 #include "emac-sgmii.h" 96 /* Initialize the SGMII link between the internal and external PHYs. */ 129 net_err_ratelimited("%s: failed to clear SGMII irq: status:0x%x bits:0x%x\n", in emac_sgmii_irq_clear() 166 /* The SGMII is capable of recovering from some decode in emac_sgmii_interrupt() 201 * SGMII in emac_sgmii_reset_prepare() 222 struct emac_sgmii *sgmii = &adpt->phy; in emac_sgmii_common_open() local 225 if (sgmii->irq) { in emac_sgmii_common_open() 230 writel(0, sgmii->base + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_common_open() 232 ret = request_irq(sgmii->irq, emac_sgmii_interrupt, 0, in emac_sgmii_common_open() [all …]
|
| D | Makefile | 7 qcom-emac-objs := emac.o emac-mac.o emac-phy.o emac-sgmii.o emac-ethtool.o \ 8 emac-sgmii-fsm9900.o emac-sgmii-qdf2432.o \ 9 emac-sgmii-qdf2400.o
|
| D | emac-sgmii-qdf2432.c | 13 /* Qualcomm Technologies, Inc. QDF2432 EMAC SGMII Controller driver. 27 /* SGMII digital lane registers */ 52 /* SGMII digital lane register values */ 180 /* SGMII lane-x init */ in emac_sgmii_init_qdf2432() 197 netdev_err(adpt->netdev, "SGMII failed to start\n"); in emac_sgmii_init_qdf2432() 206 /* Mask out all the SGMII Interrupt */ in emac_sgmii_init_qdf2432()
|
| D | emac-sgmii-qdf2400.c | 13 /* Qualcomm Technologies, Inc. QDF2400 EMAC SGMII Controller driver. 27 /* SGMII digital lane registers */ 54 /* SGMII digital lane register values */ 193 /* SGMII lane-x init */ in emac_sgmii_init_qdf2400() 210 netdev_err(adpt->netdev, "SGMII failed to start\n"); in emac_sgmii_init_qdf2400() 219 /* Mask out all the SGMII Interrupt */ in emac_sgmii_init_qdf2400()
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/ |
| D | socfpga-dwmac.txt | 21 altr,sgmii-to-sgmii-converter: phandle to the TSE SGMII converter 23 This device node has additional phandle dependency, the sgmii converter: 26 - compatible : Should be altr,gmii-to-sgmii-2.0 32 compatible = "altr,gmii-to-sgmii-2.0"; 49 phy-mode = "sgmii"; 50 altr,gmii-to-sgmii-converter = <&gmii_to_sgmii_converter>;
|
| D | qcom-emac.txt | 3 This network controller consists of two devices: a MAC and an SGMII 20 - compatible : Should be "qcom,fsm9900-emac-sgmii" or "qcom,qdf2432-emac-sgmii". 61 compatible = "qcom,fsm9900-emac-sgmii"; 107 compatible = "qcom,qdf2432-emac-sgmii";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | socfpga-dwmac.txt | 27 altr,sgmii-to-sgmii-converter: phandle to the TSE SGMII converter 29 This device node has additional phandle dependency, the sgmii converter: 32 - compatible : Should be altr,gmii-to-sgmii-2.0 38 compatible = "altr,gmii-to-sgmii-2.0"; 55 phy-mode = "sgmii"; 56 altr,gmii-to-sgmii-converter = <&gmii_to_sgmii_converter>;
|
| D | qcom-emac.txt | 3 This network controller consists of two devices: a MAC and an SGMII 20 - compatible : Should be "qcom,fsm9900-emac-sgmii" or "qcom,qdf2432-emac-sgmii". 61 compatible = "qcom,fsm9900-emac-sgmii"; 107 compatible = "qcom,qdf2432-emac-sgmii";
|
| /kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
| D | cvmx-helper-sgmii.c | 29 * Functions for SGMII initialization, configuration, 45 * Perform initialization required only once for an SGMII port. 67 * interval. SGMII specifies a 1.6ms interval. in __cvmx_helper_sgmii_hardware_init_one_time() 78 /* SGMII */ in __cvmx_helper_sgmii_hardware_init_one_time() 89 * In SGMII PHY mode, tx_Config_Reg<D15:D0> is in __cvmx_helper_sgmii_hardware_init_one_time() 90 * PCS*_SGM*_AN_ADV_REG. In SGMII MAC mode, in __cvmx_helper_sgmii_hardware_init_one_time() 158 cvmx_dprintf("SGMII%d: Timeout waiting for port %d " in __cvmx_helper_sgmii_hardware_init_link() 167 * sgmii negotiation starts. in __cvmx_helper_sgmii_hardware_init_link() 177 * that sgmii autonegotiation is complete. In MAC mode this in __cvmx_helper_sgmii_hardware_init_link() 185 /* cvmx_dprintf("SGMII%d: Port %d link timeout\n", interface, index); */ in __cvmx_helper_sgmii_hardware_init_link() [all …]
|
| /kernel/linux/linux-4.19/arch/mips/cavium-octeon/executive/ |
| D | cvmx-helper-sgmii.c | 29 * Functions for SGMII initialization, configuration, 45 * Perform initialization required only once for an SGMII port. 67 * interval. SGMII specifies a 1.6ms interval. in __cvmx_helper_sgmii_hardware_init_one_time() 78 /* SGMII */ in __cvmx_helper_sgmii_hardware_init_one_time() 89 * In SGMII PHY mode, tx_Config_Reg<D15:D0> is in __cvmx_helper_sgmii_hardware_init_one_time() 90 * PCS*_SGM*_AN_ADV_REG. In SGMII MAC mode, in __cvmx_helper_sgmii_hardware_init_one_time() 158 cvmx_dprintf("SGMII%d: Timeout waiting for port %d " in __cvmx_helper_sgmii_hardware_init_link() 167 * sgmii negotiation starts. in __cvmx_helper_sgmii_hardware_init_link() 177 * that sgmii autonegotiation is complete. In MAC mode this in __cvmx_helper_sgmii_hardware_init_link() 185 /* cvmx_dprintf("SGMII%d: Port %d link timeout\n", interface, index); */ in __cvmx_helper_sgmii_hardware_init_link() [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/boot/dts/fsl/ |
| D | p5040ds.dts | 179 phy-connection-type = "sgmii"; 183 phy-connection-type = "sgmii"; 187 phy-connection-type = "sgmii"; 191 phy-connection-type = "sgmii"; 207 phy-connection-type = "sgmii"; 211 phy-connection-type = "sgmii"; 215 phy-connection-type = "sgmii"; 219 phy-connection-type = "sgmii"; 314 hydra_sg_slot2: sgmii-mdio@28 { 337 hydra_sg_slot3: sgmii-mdio@68 { [all …]
|
| D | t4240rdb.dts | 158 phy-connection-type = "sgmii"; 163 phy-connection-type = "sgmii"; 168 phy-connection-type = "sgmii"; 173 phy-connection-type = "sgmii"; 198 phy-connection-type = "sgmii"; 203 phy-connection-type = "sgmii"; 208 phy-connection-type = "sgmii"; 213 phy-connection-type = "sgmii";
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/ |
| D | p5040ds.dts | 179 phy-connection-type = "sgmii"; 183 phy-connection-type = "sgmii"; 187 phy-connection-type = "sgmii"; 191 phy-connection-type = "sgmii"; 207 phy-connection-type = "sgmii"; 211 phy-connection-type = "sgmii"; 215 phy-connection-type = "sgmii"; 219 phy-connection-type = "sgmii"; 314 hydra_sg_slot2: sgmii-mdio@28 { 337 hydra_sg_slot3: sgmii-mdio@68 { [all …]
|
| D | t4240rdb.dts | 157 phy-connection-type = "sgmii"; 162 phy-connection-type = "sgmii"; 167 phy-connection-type = "sgmii"; 172 phy-connection-type = "sgmii"; 197 phy-connection-type = "sgmii"; 202 phy-connection-type = "sgmii"; 207 phy-connection-type = "sgmii"; 212 phy-connection-type = "sgmii";
|
| /kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
| D | Kconfig | 15 - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet) 16 - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet) 17 - SJA1105R (Gen. 2, SGMII, No TT-Ethernet) 18 - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
|
| /kernel/linux/linux-4.19/arch/mips/boot/dts/cavium-octeon/ |
| D | octeon_68xx.dts | 74 cavium,qlm-trim = "4,sgmii"; 83 cavium,qlm-trim = "4,sgmii"; 92 cavium,qlm-trim = "4,sgmii"; 101 cavium,qlm-trim = "4,sgmii"; 118 cavium,qlm-trim = "0,sgmii"; 127 cavium,qlm-trim = "0,sgmii"; 136 cavium,qlm-trim = "0,sgmii"; 145 cavium,qlm-trim = "0,sgmii"; 162 cavium,qlm-trim = "2,sgmii"; 171 cavium,qlm-trim = "2,sgmii"; [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/cavium-octeon/ |
| D | octeon_68xx.dts | 74 cavium,qlm-trim = "4,sgmii"; 83 cavium,qlm-trim = "4,sgmii"; 92 cavium,qlm-trim = "4,sgmii"; 101 cavium,qlm-trim = "4,sgmii"; 118 cavium,qlm-trim = "0,sgmii"; 127 cavium,qlm-trim = "0,sgmii"; 136 cavium,qlm-trim = "0,sgmii"; 145 cavium,qlm-trim = "0,sgmii"; 162 cavium,qlm-trim = "2,sgmii"; 171 cavium,qlm-trim = "2,sgmii"; [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/mscc/ |
| D | ocelot_pcb120.dts | 89 phy-mode = "sgmii"; 95 phy-mode = "sgmii"; 101 phy-mode = "sgmii"; 107 phy-mode = "sgmii";
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/freescale/fman/ |
| D | fman_memac.c | 51 /* SGMII Control defines */ 59 /* SGMII Device Ability for SGMII defines */ 69 /* SGMII IF Mode defines */ 518 /* SGMII mode */ in setup_sgmii_internal_phy() 541 /* Device ability according to SGMII specification */ in setup_sgmii_internal_phy() 545 /* Adjust link timer for SGMII - in setup_sgmii_internal_phy() 546 * According to Cisco SGMII specification the timer should be 1.6 ms. in setup_sgmii_internal_phy() 548 * - When running as 1G SGMII, Serdes clock is 125 MHz, so in setup_sgmii_internal_phy() 551 * - When running as 2.5G SGMII, Serdes clock is 312.5 MHz, so in setup_sgmii_internal_phy() 554 * Since link_timer value of 1G SGMII will be too short for 2.5 SGMII, in setup_sgmii_internal_phy() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
| D | fman_memac.c | 51 /* SGMII Control defines */ 59 /* SGMII Device Ability for SGMII defines */ 69 /* SGMII IF Mode defines */ 518 /* SGMII mode */ in setup_sgmii_internal_phy() 541 /* Device ability according to SGMII specification */ in setup_sgmii_internal_phy() 545 /* Adjust link timer for SGMII - in setup_sgmii_internal_phy() 546 * According to Cisco SGMII specification the timer should be 1.6 ms. in setup_sgmii_internal_phy() 548 * - When running as 1G SGMII, Serdes clock is 125 MHz, so in setup_sgmii_internal_phy() 551 * - When running as 2.5G SGMII, Serdes clock is 312.5 MHz, so in setup_sgmii_internal_phy() 554 * Since link_timer value of 1G SGMII will be too short for 2.5 SGMII, in setup_sgmii_internal_phy() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
| D | cvmx-helper-sgmii.h | 31 * Functions for SGMII initialization, configuration, 39 * Probe a SGMII interface and determine the number of ports 40 * connected to it. The SGMII interface should still be down after 51 * Bringup and enable a SGMII interface. After this call packet
|