__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
* linux/mdio.h: definitions for MDIO (clause 45) transceivers
* Copyright 2006-2009 Solarflare Communications Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation, incorporated herein by reference.
*/
#ifndef __LINUX_MDIO_H__
#define __LINUX_MDIO_H__
#include <linux/types.h>
#include <linux/mii.h>
/* MDIO Manageable Devices (MMDs). */
#define MDIO_MMD_PMAPMD 1 /* Physical Medium Attachment/
* Physical Medium Dependent */
#define MDIO_MMD_WIS 2 /* WAN Interface Sublayer */
#define MDIO_MMD_PCS 3 /* Physical Coding Sublayer */
#define MDIO_MMD_PHYXS 4 /* PHY Extender Sublayer */
#define MDIO_MMD_DTEXS 5 /* DTE Extender Sublayer */
#define MDIO_MMD_TC 6 /* Transmission Convergence */
#define MDIO_MMD_AN 7 /* Auto-Negotiation */
#define MDIO_MMD_C22EXT 29 /* Clause 22 extension */
#define MDIO_MMD_VEND1 30 /* Vendor specific 1 */
#define MDIO_MMD_VEND2 31 /* Vendor specific 2 */
/* Generic MDIO registers. */
#define MDIO_CTRL1 MII_BMCR
#define MDIO_STAT1 MII_BMSR
#define MDIO_DEVID1 MII_PHYSID1
#define MDIO_DEVID2 MII_PHYSID2
#define MDIO_SPEED 4 /* Speed ability */
#define MDIO_DEVS1 5 /* Devices in package */
#define MDIO_DEVS2 6
#define MDIO_CTRL2 7 /* 10G control 2 */
#define MDIO_STAT2 8 /* 10G status 2 */
#define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */
#define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */
#define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */
#define MDIO_PKGID1 14 /* Package identifier */
#define MDIO_PKGID2 15
#define MDIO_AN_ADVERTISE 16 /* AN advertising (base page) */
#define MDIO_AN_LPA 19 /* AN LP abilities (base page) */
#define MDIO_PCS_EEE_ABLE 20 /* EEE Capability register */
#define MDIO_PCS_EEE_ABLE2 21 /* EEE Capability register 2 */
#define MDIO_PMA_NG_EXTABLE 21 /* 2.5G/5G PMA/PMD extended ability */
#define MDIO_PCS_EEE_WK_ERR 22 /* EEE wake error counter */
#define MDIO_PHYXS_LNSTAT 24 /* PHY XGXS lane state */
#define MDIO_AN_EEE_ADV 60 /* EEE advertisement */
#define MDIO_AN_EEE_LPABLE 61 /* EEE link partner ability */
#define MDIO_AN_EEE_ADV2 62 /* EEE advertisement 2 */
#define MDIO_AN_EEE_LPABLE2 63 /* EEE link partner ability 2 */
#define MDIO_AN_CTRL2 64 /* AN THP bypass request control */
/* Media-dependent registers. */
#define MDIO_PMA_10GBT_SWAPPOL 130 /* 10GBASE-T pair swap & polarity */
#define MDIO_PMA_10GBT_TXPWR 131 /* 10GBASE-T TX power control */
#define MDIO_PMA_10GBT_SNR 133 /* 10GBASE-T SNR margin, lane A.
* Lanes B-D are numbered 134-136. */
#define MDIO_PMA_10GBR_FSRT_CSR 147 /* 10GBASE-R fast retrain status and control */
#define MDIO_PMA_10GBR_FECABLE 170 /* 10GBASE-R FEC ability */
#define MDIO_PCS_10GBX_STAT1 24 /* 10GBASE-X PCS status 1 */
#define MDIO_PCS_10GBRT_STAT1 32 /* 10GBASE-R/-T PCS status 1 */
#define MDIO_PCS_10GBRT_STAT2 33 /* 10GBASE-R/-T PCS status 2 */
#define MDIO_AN_10GBT_CTRL 32 /* 10GBASE-T auto-negotiation control */
#define MDIO_AN_10GBT_STAT 33 /* 10GBASE-T auto-negotiation status */
#define MDIO_B10L_PMA_CTRL 2294 /* 10BASE-T1L PMA control */
#define MDIO_PMA_10T1L_STAT 2295 /* 10BASE-T1L PMA status */
#define MDIO_PCS_10T1L_CTRL 2278 /* 10BASE-T1L PCS control */
#define MDIO_PMA_PMD_BT1 18 /* BASE-T1 PMA/PMD extended ability */
#define MDIO_AN_T1_CTRL 512 /* BASE-T1 AN control */
#define MDIO_AN_T1_STAT 513 /* BASE-T1 AN status */
#define MDIO_AN_T1_ADV_L 514 /* BASE-T1 AN advertisement register [15:0] */
#define MDIO_AN_T1_ADV_M 515 /* BASE-T1 AN advertisement register [31:16] */
#define MDIO_AN_T1_ADV_H 516 /* BASE-T1 AN advertisement register [47:32] */
#define MDIO_AN_T1_LP_L 517 /* BASE-T1 AN LP Base Page ability register [15:0] */
#define MDIO_AN_T1_LP_M 518 /* BASE-T1 AN LP Base Page ability register [31:16] */
#define MDIO_AN_T1_LP_H 519 /* BASE-T1 AN LP Base Page ability register [47:32] */
#define MDIO_AN_10BT1_AN_CTRL 526 /* 10BASE-T1 AN control register */
#define MDIO_AN_10BT1_AN_STAT 527 /* 10BASE-T1 AN status register */
#define MDIO_PMA_PMD_BT1_CTRL 2100 /* BASE-T1 PMA/PMD control register */
#define MDIO_PCS_1000BT1_CTRL 2304 /* 1000BASE-T1 PCS control register */
#define MDIO_PCS_1000BT1_STAT 2305 /* 1000BASE-T1 PCS status register */
/* LASI (Link Alarm Status Interrupt) registers, defined by XENPAK MSA. */
#define MDIO_PMA_LASI_RXCTRL 0x9000 /* RX_ALARM control */
#define MDIO_PMA_LASI_TXCTRL 0x9001 /* TX_ALARM control */
#define MDIO_PMA_LASI_CTRL 0x9002 /* LASI control */
#define MDIO_PMA_LASI_RXSTAT 0x9003 /* RX_ALARM status */
#define MDIO_PMA_LASI_TXSTAT 0x9004 /* TX_ALARM status */
#define MDIO_PMA_LASI_STAT 0x9005 /* LASI status */
/* Control register 1. */
/* Enable extended speed selection */
#define MDIO_CTRL1_SPEEDSELEXT (BMCR_SPEED1000 | BMCR_SPEED100)
/* All speed selection bits */
#define MDIO_CTRL1_SPEEDSEL (MDIO_CTRL1_SPEEDSELEXT | 0x003c)
#define MDIO_CTRL1_FULLDPLX BMCR_FULLDPLX
#define MDIO_CTRL1_LPOWER BMCR_PDOWN
#define MDIO_CTRL1_RESET BMCR_RESET
#define MDIO_PMA_CTRL1_LOOPBACK 0x0001
#define MDIO_PMA_CTRL1_SPEED1000 BMCR_SPEED1000
#define MDIO_PMA_CTRL1_SPEED100 BMCR_SPEED100
#define MDIO_PCS_CTRL1_LOOPBACK BMCR_LOOPBACK
#define MDIO_PHYXS_CTRL1_LOOPBACK BMCR_LOOPBACK
#define MDIO_AN_CTRL1_RESTART BMCR_ANRESTART
#define MDIO_AN_CTRL1_ENABLE BMCR_ANENABLE
#define MDIO_AN_CTRL1_XNP 0x2000 /* Enable extended next page */
#define MDIO_PCS_CTRL1_CLKSTOP_EN 0x400 /* Stop the clock during LPI */
/* 10 Gb/s */
#define MDIO_CTRL1_SPEED10G (MDIO_CTRL1_SPEEDSELEXT | 0x00)
/* 10PASS-TS/2BASE-TL */
#define MDIO_CTRL1_SPEED10P2B (MDIO_CTRL1_SPEEDSELEXT | 0x04)
/* 2.5 Gb/s */
#define MDIO_CTRL1_SPEED2_5G (MDIO_CTRL1_SPEEDSELEXT | 0x18)
/* 5 Gb/s */
#define MDIO_CTRL1_SPEED5G (MDIO_CTRL1_SPEEDSELEXT | 0x1c)
/* Status register 1. */
#define MDIO_STAT1_LPOWERABLE 0x0002 /* Low-power ability */
#define MDIO_STAT1_LSTATUS BMSR_LSTATUS
#define MDIO_STAT1_FAULT 0x0080 /* Fault */
#define MDIO_AN_STAT1_LPABLE 0x0001 /* Link partner AN ability */
#define MDIO_AN_STAT1_ABLE BMSR_ANEGCAPABLE
#define MDIO_AN_STAT1_RFAULT BMSR_RFAULT
#define MDIO_AN_STAT1_COMPLETE BMSR_ANEGCOMPLETE
#define MDIO_AN_STAT1_PAGE 0x0040 /* Page received */
#define MDIO_AN_STAT1_XNP 0x0080 /* Extended next page status */
/* Speed register. */
#define MDIO_SPEED_10G 0x0001 /* 10G capable */
#define MDIO_PMA_SPEED_2B 0x0002 /* 2BASE-TL capable */
#define MDIO_PMA_SPEED_10P 0x0004 /* 10PASS-TS capable */
#define MDIO_PMA_SPEED_1000 0x0010 /* 1000M capable */
#define MDIO_PMA_SPEED_100 0x0020 /* 100M capable */
#define MDIO_PMA_SPEED_10 0x0040 /* 10M capable */
#define MDIO_PCS_SPEED_10P2B 0x0002 /* 10PASS-TS/2BASE-TL capable */
#define MDIO_PCS_SPEED_2_5G 0x0040 /* 2.5G capable */
#define MDIO_PCS_SPEED_5G 0x0080 /* 5G capable */
/* Device present registers. */
#define MDIO_DEVS_PRESENT(devad) (1 << (devad))
#define MDIO_DEVS_C22PRESENT MDIO_DEVS_PRESENT(0)
#define MDIO_DEVS_PMAPMD MDIO_DEVS_PRESENT(MDIO_MMD_PMAPMD)
#define MDIO_DEVS_WIS MDIO_DEVS_PRESENT(MDIO_MMD_WIS)
#define MDIO_DEVS_PCS MDIO_DEVS_PRESENT(MDIO_MMD_PCS)
#define MDIO_DEVS_PHYXS MDIO_DEVS_PRESENT(MDIO_MMD_PHYXS)
#define MDIO_DEVS_DTEXS MDIO_DEVS_PRESENT(MDIO_MMD_DTEXS)
#define MDIO_DEVS_TC MDIO_DEVS_PRESENT(MDIO_MMD_TC)
#define MDIO_DEVS_AN MDIO_DEVS_PRESENT(MDIO_MMD_AN)
#define MDIO_DEVS_C22EXT MDIO_DEVS_PRESENT(MDIO_MMD_C22EXT)
#define MDIO_DEVS_VEND1 MDIO_DEVS_PRESENT(MDIO_MMD_VEND1)
#define MDIO_DEVS_VEND2 MDIO_DEVS_PRESENT(MDIO_MMD_VEND2)
/* Control register 2. */
#define MDIO_PMA_CTRL2_TYPE 0x000f /* PMA/PMD type selection */
#define MDIO_PMA_CTRL2_10GBCX4 0x0000 /* 10GBASE-CX4 type */
#define MDIO_PMA_CTRL2_10GBEW 0x0001 /* 10GBASE-EW type */
#define MDIO_PMA_CTRL2_10GBLW 0x0002 /* 10GBASE-LW type */
#define MDIO_PMA_CTRL2_10GBSW 0x0003 /* 10GBASE-SW type */
#define MDIO_PMA_CTRL2_10GBLX4 0x0004 /* 10GBASE-LX4 type */
#define MDIO_PMA_CTRL2_10GBER 0x0005 /* 10GBASE-ER type */
#define MDIO_PMA_CTRL2_10GBLR 0x0006 /* 10GBASE-LR type */
#define MDIO_PMA_CTRL2_10GBSR 0x0007 /* 10GBASE-SR type */
#define MDIO_PMA_CTRL2_10GBLRM 0x0008 /* 10GBASE-LRM type */
#define MDIO_PMA_CTRL2_10GBT 0x0009 /* 10GBASE-T type */
#define MDIO_PMA_CTRL2_10GBKX4 0x000a /* 10GBASE-KX4 type */
#define MDIO_PMA_CTRL2_10GBKR 0x000b /* 10GBASE-KR type */
#define MDIO_PMA_CTRL2_1000BT 0x000c /* 1000BASE-T type */
#define MDIO_PMA_CTRL2_1000BKX 0x000d /* 1000BASE-KX type */
#define MDIO_PMA_CTRL2_100BTX 0x000e /* 100BASE-TX type */
#define MDIO_PMA_CTRL2_10BT 0x000f /* 10BASE-T type */
#define MDIO_PMA_CTRL2_2_5GBT 0x0030 /* 2.5GBaseT type */
#define MDIO_PMA_CTRL2_5GBT 0x0031 /* 5GBaseT type */
#define MDIO_PMA_CTRL2_BASET1 0x003D /* BASE-T1 type */
#define MDIO_PCS_CTRL2_TYPE 0x0003 /* PCS type selection */
#define MDIO_PCS_CTRL2_10GBR 0x0000 /* 10GBASE-R type */
#define MDIO_PCS_CTRL2_10GBX 0x0001 /* 10GBASE-X type */
#define MDIO_PCS_CTRL2_10GBW 0x0002 /* 10GBASE-W type */
#define MDIO_PCS_CTRL2_10GBT 0x0003 /* 10GBASE-T type */
/* Status register 2. */
#define MDIO_STAT2_RXFAULT 0x0400 /* Receive fault */
#define MDIO_STAT2_TXFAULT 0x0800 /* Transmit fault */
#define MDIO_STAT2_DEVPRST 0xc000 /* Device present */
#define MDIO_STAT2_DEVPRST_VAL 0x8000 /* Device present value */
#define MDIO_PMA_STAT2_LBABLE 0x0001 /* PMA loopback ability */
#define MDIO_PMA_STAT2_10GBEW 0x0002 /* 10GBASE-EW ability */
#define MDIO_PMA_STAT2_10GBLW 0x0004 /* 10GBASE-LW ability */
#define MDIO_PMA_STAT2_10GBSW 0x0008 /* 10GBASE-SW ability */
#define MDIO_PMA_STAT2_10GBLX4 0x0010 /* 10GBASE-LX4 ability */
#define MDIO_PMA_STAT2_10GBER 0x0020 /* 10GBASE-ER ability */
#define MDIO_PMA_STAT2_10GBLR 0x0040 /* 10GBASE-LR ability */
#define MDIO_PMA_STAT2_10GBSR 0x0080 /* 10GBASE-SR ability */
#define MDIO_PMD_STAT2_TXDISAB 0x0100 /* PMD TX disable ability */
#define MDIO_PMA_STAT2_EXTABLE 0x0200 /* Extended abilities */
#define MDIO_PMA_STAT2_RXFLTABLE 0x1000 /* Receive fault ability */
#define MDIO_PMA_STAT2_TXFLTABLE 0x2000 /* Transmit fault ability */
#define MDIO_PCS_STAT2_10GBR 0x0001 /* 10GBASE-R capable */
#define MDIO_PCS_STAT2_10GBX 0x0002 /* 10GBASE-X capable */
#define MDIO_PCS_STAT2_10GBW 0x0004 /* 10GBASE-W capable */
#define MDIO_PCS_STAT2_RXFLTABLE 0x1000 /* Receive fault ability */
#define MDIO_PCS_STAT2_TXFLTABLE 0x2000 /* Transmit fault ability */
/* Transmit disable register. */
#define MDIO_PMD_TXDIS_GLOBAL 0x0001 /* Global PMD TX disable */
#define MDIO_PMD_TXDIS_0 0x0002 /* PMD TX disable 0 */
#define MDIO_PMD_TXDIS_1 0x0004 /* PMD TX disable 1 */
#define MDIO_PMD_TXDIS_2 0x0008 /* PMD TX disable 2 */
#define MDIO_PMD_TXDIS_3 0x0010 /* PMD TX disable 3 */
/* Receive signal detect register. */
#define MDIO_PMD_RXDET_GLOBAL 0x0001 /* Global PMD RX signal detect */
#define MDIO_PMD_RXDET_0 0x0002 /* PMD RX signal detect 0 */
#define MDIO_PMD_RXDET_1 0x0004 /* PMD RX signal detect 1 */
#define MDIO_PMD_RXDET_2 0x0008 /* PMD RX signal detect 2 */
#define MDIO_PMD_RXDET_3 0x0010 /* PMD RX signal detect 3 */
/* Extended abilities register. */
#define MDIO_PMA_EXTABLE_10GCX4 0x0001 /* 10GBASE-CX4 ability */
#define MDIO_PMA_EXTABLE_10GBLRM 0x0002 /* 10GBASE-LRM ability */
#define MDIO_PMA_EXTABLE_10GBT 0x0004 /* 10GBASE-T ability */
#define MDIO_PMA_EXTABLE_10GBKX4 0x0008 /* 10GBASE-KX4 ability */
#define MDIO_PMA_EXTABLE_10GBKR 0x0010 /* 10GBASE-KR ability */
#define MDIO_PMA_EXTABLE_1000BT 0x0020 /* 1000BASE-T ability */
#define MDIO_PMA_EXTABLE_1000BKX 0x0040 /* 1000BASE-KX ability */
#define MDIO_PMA_EXTABLE_100BTX 0x0080 /* 100BASE-TX ability */
#define MDIO_PMA_EXTABLE_10BT 0x0100 /* 10BASE-T ability */
#define MDIO_PMA_EXTABLE_BT1 0x0800 /* BASE-T1 ability */
#define MDIO_PMA_EXTABLE_NBT 0x4000 /* 2.5/5GBASE-T ability */
/* AN Clause 73 linkword */
#define MDIO_AN_C73_0_S_MASK GENMASK(4, 0)
#define MDIO_AN_C73_0_E_MASK GENMASK(9, 5)
#define MDIO_AN_C73_0_PAUSE BIT(10)
#define MDIO_AN_C73_0_ASM_DIR BIT(11)
#define MDIO_AN_C73_0_C2 BIT(12)
#define MDIO_AN_C73_0_RF BIT(13)
#define MDIO_AN_C73_0_ACK BIT(14)
#define MDIO_AN_C73_0_NP BIT(15)
#define MDIO_AN_C73_1_T_MASK GENMASK(4, 0)
#define MDIO_AN_C73_1_1000BASE_KX BIT(5)
#define MDIO_AN_C73_1_10GBASE_KX4 BIT(6)
#define MDIO_AN_C73_1_10GBASE_KR BIT(7)
#define MDIO_AN_C73_1_40GBASE_KR4 BIT(8)
#define MDIO_AN_C73_1_40GBASE_CR4 BIT(9)
#define MDIO_AN_C73_1_100GBASE_CR10 BIT(10)
#define MDIO_AN_C73_1_100GBASE_KP4 BIT(11)
#define MDIO_AN_C73_1_100GBASE_KR4 BIT(12)
#define MDIO_AN_C73_1_100GBASE_CR4 BIT(13)
#define MDIO_AN_C73_1_25GBASE_R_S BIT(14)
#define MDIO_AN_C73_1_25GBASE_R BIT(15)
#define MDIO_AN_C73_2_2500BASE_KX BIT(0)
#define MDIO_AN_C73_2_5GBASE_KR BIT(1)
/* PHY XGXS lane state register. */
#define MDIO_PHYXS_LNSTAT_SYNC0 0x0001
#define MDIO_PHYXS_LNSTAT_SYNC1 0x0002
#define MDIO_PHYXS_LNSTAT_SYNC2 0x0004
#define MDIO_PHYXS_LNSTAT_SYNC3 0x0008
#define MDIO_PHYXS_LNSTAT_ALIGN 0x1000
/* PMA 10GBASE-T pair swap & polarity */
#define MDIO_PMA_10GBT_SWAPPOL_ABNX 0x0001 /* Pair A/B uncrossed */
#define MDIO_PMA_10GBT_SWAPPOL_CDNX 0x0002 /* Pair C/D uncrossed */
#define MDIO_PMA_10GBT_SWAPPOL_AREV 0x0100 /* Pair A polarity reversed */
#define MDIO_PMA_10GBT_SWAPPOL_BREV 0x0200 /* Pair B polarity reversed */
#define MDIO_PMA_10GBT_SWAPPOL_CREV 0x0400 /* Pair C polarity reversed */
#define MDIO_PMA_10GBT_SWAPPOL_DREV 0x0800 /* Pair D polarity reversed */
/* PMA 10GBASE-T TX power register. */
#define MDIO_PMA_10GBT_TXPWR_SHORT 0x0001 /* Short-reach mode */
/* PMA 10GBASE-T SNR registers. */
/* Value is SNR margin in dB, clamped to range [-127, 127], plus 0x8000. */
#define MDIO_PMA_10GBT_SNR_BIAS 0x8000
#define MDIO_PMA_10GBT_SNR_MAX 127
/* PMA 10GBASE-R FEC ability register. */
#define MDIO_PMA_10GBR_FECABLE_ABLE 0x0001 /* FEC ability */
#define MDIO_PMA_10GBR_FECABLE_ERRABLE 0x0002 /* FEC error indic. ability */
/* PMA 10GBASE-R Fast Retrain status and control register. */
#define MDIO_PMA_10GBR_FSRT_ENABLE 0x0001 /* Fast retrain enable */
/* PCS 10GBASE-R/-T status register 1. */
#define MDIO_PCS_10GBRT_STAT1_BLKLK 0x0001 /* Block lock attained */
/* PCS 10GBASE-R/-T status register 2. */
#define MDIO_PCS_10GBRT_STAT2_ERR 0x00ff
#define MDIO_PCS_10GBRT_STAT2_BER 0x3f00
/* AN 10GBASE-T control register. */
#define MDIO_AN_10GBT_CTRL_ADVFSRT2_5G 0x0020 /* Advertise 2.5GBASE-T fast retrain */
#define MDIO_AN_10GBT_CTRL_ADV2_5G 0x0080 /* Advertise 2.5GBASE-T */
#define MDIO_AN_10GBT_CTRL_ADV5G 0x0100 /* Advertise 5GBASE-T */
#define MDIO_AN_10GBT_CTRL_ADV10G 0x1000 /* Advertise 10GBASE-T */
/* AN 10GBASE-T status register. */
#define MDIO_AN_10GBT_STAT_LP2_5G 0x0020 /* LP is 2.5GBT capable */
#define MDIO_AN_10GBT_STAT_LP5G 0x0040 /* LP is 5GBT capable */
#define MDIO_AN_10GBT_STAT_LPTRR 0x0200 /* LP training reset req. */
#define MDIO_AN_10GBT_STAT_LPLTABLE 0x0400 /* LP loop timing ability */
#define MDIO_AN_10GBT_STAT_LP10G 0x0800 /* LP is 10GBT capable */
#define MDIO_AN_10GBT_STAT_REMOK 0x1000 /* Remote OK */
#define MDIO_AN_10GBT_STAT_LOCOK 0x2000 /* Local OK */
#define MDIO_AN_10GBT_STAT_MS 0x4000 /* Master/slave config */
#define MDIO_AN_10GBT_STAT_MSFLT 0x8000 /* Master/slave config fault */
/* 10BASE-T1L PMA control */
#define MDIO_PMA_10T1L_CTRL_LB_EN 0x0001 /* Enable loopback mode */
#define MDIO_PMA_10T1L_CTRL_EEE_EN 0x0400 /* Enable EEE mode */
#define MDIO_PMA_10T1L_CTRL_LOW_POWER 0x0800 /* Low-power mode */
#define MDIO_PMA_10T1L_CTRL_2V4_EN 0x1000 /* Enable 2.4 Vpp operating mode */
#define MDIO_PMA_10T1L_CTRL_TX_DIS 0x4000 /* Transmit disable */
#define MDIO_PMA_10T1L_CTRL_PMA_RST 0x8000 /* MA reset */
/* 10BASE-T1L PMA status register. */
#define MDIO_PMA_10T1L_STAT_LINK 0x0001 /* PMA receive link up */
#define MDIO_PMA_10T1L_STAT_FAULT 0x0002 /* Fault condition detected */
#define MDIO_PMA_10T1L_STAT_POLARITY 0x0004 /* Receive polarity is reversed */
#define MDIO_PMA_10T1L_STAT_RECV_FAULT 0x0200 /* Able to detect fault on receive path */
#define MDIO_PMA_10T1L_STAT_EEE 0x0400 /* PHY has EEE ability */
#define MDIO_PMA_10T1L_STAT_LOW_POWER 0x0800 /* PMA has low-power ability */
#define MDIO_PMA_10T1L_STAT_2V4_ABLE 0x1000 /* PHY has 2.4 Vpp operating mode ability */
#define MDIO_PMA_10T1L_STAT_LB_ABLE 0x2000 /* PHY has loopback ability */
/* 10BASE-T1L PCS control register. */
#define MDIO_PCS_10T1L_CTRL_LB 0x4000 /* Enable PCS level loopback mode */
#define MDIO_PCS_10T1L_CTRL_RESET 0x8000 /* PCS reset */
/* BASE-T1 PMA/PMD extended ability register. */
#define MDIO_PMA_PMD_BT1_B100_ABLE 0x0001 /* 100BASE-T1 Ability */
#define MDIO_PMA_PMD_BT1_B1000_ABLE 0x0002 /* 1000BASE-T1 Ability */
#define MDIO_PMA_PMD_BT1_B10L_ABLE 0x0004 /* 10BASE-T1L Ability */
/* BASE-T1 auto-negotiation advertisement register [15:0] */
#define MDIO_AN_T1_ADV_L_PAUSE_CAP ADVERTISE_PAUSE_CAP
#define MDIO_AN_T1_ADV_L_PAUSE_ASYM ADVERTISE_PAUSE_ASYM
#define MDIO_AN_T1_ADV_L_FORCE_MS 0x1000 /* Force Master/slave Configuration */
#define MDIO_AN_T1_ADV_L_REMOTE_FAULT ADVERTISE_RFAULT
#define MDIO_AN_T1_ADV_L_ACK ADVERTISE_LPACK
#define MDIO_AN_T1_ADV_L_NEXT_PAGE_REQ ADVERTISE_NPAGE
/* BASE-T1 auto-negotiation advertisement register [31:16] */
#define MDIO_AN_T1_ADV_M_B10L 0x4000 /* device is compatible with 10BASE-T1L */
#define MDIO_AN_T1_ADV_M_MST 0x0010 /* advertise master preference */
/* BASE-T1 auto-negotiation advertisement register [47:32] */
#define MDIO_AN_T1_ADV_H_10L_TX_HI_REQ 0x1000 /* 10BASE-T1L High Level Transmit Request */
#define MDIO_AN_T1_ADV_H_10L_TX_HI 0x2000 /* 10BASE-T1L High Level Transmit Ability */
/* BASE-T1 AN LP Base Page ability register [15:0] */
#define MDIO_AN_T1_LP_L_PAUSE_CAP LPA_PAUSE_CAP
#define MDIO_AN_T1_LP_L_PAUSE_ASYM LPA_PAUSE_ASYM
#define MDIO_AN_T1_LP_L_FORCE_MS 0x1000 /* LP Force Master/slave Configuration */
#define MDIO_AN_T1_LP_L_REMOTE_FAULT LPA_RFAULT
#define MDIO_AN_T1_LP_L_ACK LPA_LPACK
#define MDIO_AN_T1_LP_L_NEXT_PAGE_REQ LPA_NPAGE
/* BASE-T1 AN LP Base Page ability register [31:16] */
#define MDIO_AN_T1_LP_M_MST 0x0010 /* LP master preference */
#define MDIO_AN_T1_LP_M_B10L 0x4000 /* LP is compatible with 10BASE-T1L */
/* BASE-T1 AN LP Base Page ability register [47:32] */
#define MDIO_AN_T1_LP_H_10L_TX_HI_REQ 0x1000 /* 10BASE-T1L High Level LP Transmit Request */
#define MDIO_AN_T1_LP_H_10L_TX_HI 0x2000 /* 10BASE-T1L High Level LP Transmit Ability */
/* 10BASE-T1 AN control register */
#define MDIO_AN_10BT1_AN_CTRL_ADV_EEE_T1L 0x4000 /* 10BASE-T1L EEE ability advertisement */
/* 10BASE-T1 AN status register */
#define MDIO_AN_10BT1_AN_STAT_LPA_EEE_T1L 0x4000 /* 10BASE-T1L LP EEE ability advertisement */
/* BASE-T1 PMA/PMD control register */
#define MDIO_PMA_PMD_BT1_CTRL_STRAP 0x000F /* Type selection (Strap) */
#define MDIO_PMA_PMD_BT1_CTRL_STRAP_B1000 0x0001 /* Select 1000BASE-T1 */
#define MDIO_PMA_PMD_BT1_CTRL_CFG_MST 0x4000 /* MASTER-SLAVE config value */
/* 1000BASE-T1 PCS control register */
#define MDIO_PCS_1000BT1_CTRL_LOW_POWER 0x0800 /* Low power mode */
#define MDIO_PCS_1000BT1_CTRL_DISABLE_TX 0x4000 /* Global PMA transmit disable */
#define MDIO_PCS_1000BT1_CTRL_RESET 0x8000 /* Software reset value */
/* 1000BASE-T1 PCS status register */
#define MDIO_PCS_1000BT1_STAT_LINK 0x0004 /* PCS Link is up */
#define MDIO_PCS_1000BT1_STAT_FAULT 0x0080 /* There is a fault condition */
/* EEE Supported/Advertisement/LP Advertisement registers.
*
* EEE capability Register (3.20), Advertisement (7.60) and
* Link partner ability (7.61) registers have and can use the same identical
* bit masks.
*/
#define MDIO_AN_EEE_ADV_100TX 0x0002 /* Advertise 100TX EEE cap */
#define MDIO_AN_EEE_ADV_1000T 0x0004 /* Advertise 1000T EEE cap */
/* Note: the two defines above can be potentially used by the user-land
* and cannot remove them now.
* So, we define the new generic MDIO_EEE_100TX and MDIO_EEE_1000T macros
* using the previous ones (that can be considered obsolete).
*/
#define MDIO_EEE_100TX MDIO_AN_EEE_ADV_100TX /* 100TX EEE cap */
#define MDIO_EEE_1000T MDIO_AN_EEE_ADV_1000T /* 1000T EEE cap */
#define MDIO_EEE_10GT 0x0008 /* 10GT EEE cap */
#define MDIO_EEE_1000KX 0x0010 /* 1000KX EEE cap */
#define MDIO_EEE_10GKX4 0x0020 /* 10G KX4 EEE cap */
#define MDIO_EEE_10GKR 0x0040 /* 10G KR EEE cap */
#define MDIO_EEE_40GR_FW 0x0100 /* 40G R fast wake */
#define MDIO_EEE_40GR_DS 0x0200 /* 40G R deep sleep */
#define MDIO_EEE_100GR_FW 0x1000 /* 100G R fast wake */
#define MDIO_EEE_100GR_DS 0x2000 /* 100G R deep sleep */
#define MDIO_EEE_2_5GT 0x0001 /* 2.5GT EEE cap */
#define MDIO_EEE_5GT 0x0002 /* 5GT EEE cap */
/* AN MultiGBASE-T AN control 2 */
#define MDIO_AN_THP_BP2_5GT 0x0008 /* 2.5GT THP bypass request */
/* 2.5G/5G Extended abilities register. */
#define MDIO_PMA_NG_EXTABLE_2_5GBT 0x0001 /* 2.5GBASET ability */
#define MDIO_PMA_NG_EXTABLE_5GBT 0x0002 /* 5GBASET ability */
/* LASI RX_ALARM control/status registers. */
#define MDIO_PMA_LASI_RX_PHYXSLFLT 0x0001 /* PHY XS RX local fault */
#define MDIO_PMA_LASI_RX_PCSLFLT 0x0008 /* PCS RX local fault */
#define MDIO_PMA_LASI_RX_PMALFLT 0x0010 /* PMA/PMD RX local fault */
#define MDIO_PMA_LASI_RX_OPTICPOWERFLT 0x0020 /* RX optical power fault */
#define MDIO_PMA_LASI_RX_WISLFLT 0x0200 /* WIS local fault */
/* LASI TX_ALARM control/status registers. */
#define MDIO_PMA_LASI_TX_PHYXSLFLT 0x0001 /* PHY XS TX local fault */
#define MDIO_PMA_LASI_TX_PCSLFLT 0x0008 /* PCS TX local fault */
#define MDIO_PMA_LASI_TX_PMALFLT 0x0010 /* PMA/PMD TX local fault */
#define MDIO_PMA_LASI_TX_LASERPOWERFLT 0x0080 /* Laser output power fault */
#define MDIO_PMA_LASI_TX_LASERTEMPFLT 0x0100 /* Laser temperature fault */
#define MDIO_PMA_LASI_TX_LASERBICURRFLT 0x0200 /* Laser bias current fault */
/* LASI control/status registers. */
#define MDIO_PMA_LASI_LSALARM 0x0001 /* LS_ALARM enable/status */
#define MDIO_PMA_LASI_TXALARM 0x0002 /* TX_ALARM enable/status */
#define MDIO_PMA_LASI_RXALARM 0x0004 /* RX_ALARM enable/status */
/* Mapping between MDIO PRTAD/DEVAD and mii_ioctl_data::phy_id */
#define MDIO_PHY_ID_C45 0x8000
#define MDIO_PHY_ID_PRTAD 0x03e0
#define MDIO_PHY_ID_DEVAD 0x001f
#define MDIO_PHY_ID_C45_MASK \
(MDIO_PHY_ID_C45 | MDIO_PHY_ID_PRTAD | MDIO_PHY_ID_DEVAD)
static __inline__ __u16 mdio_phy_id_c45(int prtad, int devad)
{
return MDIO_PHY_ID_C45 | (prtad << 5) | devad;
}
/* UsxgmiiChannelInfo[15:0] for USXGMII in-band auto-negotiation.*/
#define MDIO_USXGMII_EEE_CLK_STP 0x0080 /* EEE clock stop supported */
#define MDIO_USXGMII_EEE 0x0100 /* EEE supported */
#define MDIO_USXGMII_SPD_MASK 0x0e00 /* USXGMII speed mask */
#define MDIO_USXGMII_FULL_DUPLEX 0x1000 /* USXGMII full duplex */
#define MDIO_USXGMII_DPX_SPD_MASK 0x1e00 /* USXGMII duplex and speed bits */
#define MDIO_USXGMII_10 0x0000 /* 10Mbps */
#define MDIO_USXGMII_10HALF 0x0000 /* 10Mbps half-duplex */
#define MDIO_USXGMII_10FULL 0x1000 /* 10Mbps full-duplex */
#define MDIO_USXGMII_100 0x0200 /* 100Mbps */
#define MDIO_USXGMII_100HALF 0x0200 /* 100Mbps half-duplex */
#define MDIO_USXGMII_100FULL 0x1200 /* 100Mbps full-duplex */
#define MDIO_USXGMII_1000 0x0400 /* 1000Mbps */
#define MDIO_USXGMII_1000HALF 0x0400 /* 1000Mbps half-duplex */
#define MDIO_USXGMII_1000FULL 0x1400 /* 1000Mbps full-duplex */
#define MDIO_USXGMII_10G 0x0600 /* 10Gbps */
#define MDIO_USXGMII_10GHALF 0x0600 /* 10Gbps half-duplex */
#define MDIO_USXGMII_10GFULL 0x1600 /* 10Gbps full-duplex */
#define MDIO_USXGMII_2500 0x0800 /* 2500Mbps */
#define MDIO_USXGMII_2500HALF 0x0800 /* 2500Mbps half-duplex */
#define MDIO_USXGMII_2500FULL 0x1800 /* 2500Mbps full-duplex */
#define MDIO_USXGMII_5000 0x0a00 /* 5000Mbps */
#define MDIO_USXGMII_5000HALF 0x0a00 /* 5000Mbps half-duplex */
#define MDIO_USXGMII_5000FULL 0x1a00 /* 5000Mbps full-duplex */
#define MDIO_USXGMII_LINK 0x8000 /* PHY link with copper-side partner */
#endif /* __LINUX_MDIO_H__ */
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| android | Folder | 0755 |
|
|
| byteorder | Folder | 0755 |
|
|
| caif | Folder | 0755 |
|
|
| can | Folder | 0755 |
|
|
| cifs | Folder | 0755 |
|
|
| dvb | Folder | 0755 |
|
|
| genwqe | Folder | 0755 |
|
|
| hdlc | Folder | 0755 |
|
|
| hsi | Folder | 0755 |
|
|
| iio | Folder | 0755 |
|
|
| isdn | Folder | 0755 |
|
|
| misc | Folder | 0755 |
|
|
| mmc | Folder | 0755 |
|
|
| netfilter | Folder | 0755 |
|
|
| netfilter_arp | Folder | 0755 |
|
|
| netfilter_bridge | Folder | 0755 |
|
|
| netfilter_ipv4 | Folder | 0755 |
|
|
| netfilter_ipv6 | Folder | 0755 |
|
|
| nfsd | Folder | 0755 |
|
|
| raid | Folder | 0755 |
|
|
| sched | Folder | 0755 |
|
|
| spi | Folder | 0755 |
|
|
| sunrpc | Folder | 0755 |
|
|
| surface_aggregator | Folder | 0755 |
|
|
| tc_act | Folder | 0755 |
|
|
| tc_ematch | Folder | 0755 |
|
|
| usb | Folder | 0755 |
|
|
| a.out.h | File | 6.73 KB | 0644 |
|
| acct.h | File | 3.82 KB | 0644 |
|
| acrn.h | File | 18.51 KB | 0644 |
|
| adb.h | File | 1.11 KB | 0644 |
|
| adfs_fs.h | File | 993 B | 0644 |
|
| affs_hardblocks.h | File | 1.54 KB | 0644 |
|
| agpgart.h | File | 3.86 KB | 0644 |
|
| aio_abi.h | File | 3.32 KB | 0644 |
|
| am437x-vpfe.h | File | 3.59 KB | 0644 |
|
| amt.h | File | 1.71 KB | 0644 |
|
| apm_bios.h | File | 3.6 KB | 0644 |
|
| apparmor.h | File | 3.4 KB | 0644 |
|
| arcfb.h | File | 213 B | 0644 |
|
| arm_sdei.h | File | 2.69 KB | 0644 |
|
| aspeed-lpc-ctrl.h | File | 1.74 KB | 0644 |
|
| aspeed-p2a-ctrl.h | File | 1.86 KB | 0644 |
|
| aspeed-video.h | File | 389 B | 0644 |
|
| atalk.h | File | 1023 B | 0644 |
|
| atm.h | File | 7.7 KB | 0644 |
|
| atm_eni.h | File | 648 B | 0644 |
|
| atm_he.h | File | 406 B | 0644 |
|
| atm_idt77105.h | File | 955 B | 0644 |
|
| atm_nicstar.h | File | 1.25 KB | 0644 |
|
| atm_tcp.h | File | 1.58 KB | 0644 |
|
| atm_zatm.h | File | 1.5 KB | 0644 |
|
| atmapi.h | File | 952 B | 0644 |
|
| atmarp.h | File | 1.27 KB | 0644 |
|
| atmbr2684.h | File | 3.2 KB | 0644 |
|
| atmclip.h | File | 576 B | 0644 |
|
| atmdev.h | File | 7.32 KB | 0644 |
|
| atmioc.h | File | 1.61 KB | 0644 |
|
| atmlec.h | File | 2.33 KB | 0644 |
|
| atmmpc.h | File | 4.13 KB | 0644 |
|
| atmppp.h | File | 639 B | 0644 |
|
| atmsap.h | File | 4.85 KB | 0644 |
|
| atmsvc.h | File | 1.81 KB | 0644 |
|
| audit.h | File | 21.2 KB | 0644 |
|
| auto_dev-ioctl.h | File | 4.87 KB | 0644 |
|
| auto_fs.h | File | 6.28 KB | 0644 |
|
| auto_fs4.h | File | 451 B | 0644 |
|
| auxvec.h | File | 1.68 KB | 0644 |
|
| ax25.h | File | 2.76 KB | 0644 |
|
| batadv_packet.h | File | 21.13 KB | 0644 |
|
| batman_adv.h | File | 16.49 KB | 0644 |
|
| baycom.h | File | 883 B | 0644 |
|
| bcm933xx_hcs.h | File | 419 B | 0644 |
|
| bfs_fs.h | File | 1.86 KB | 0644 |
|
| binfmts.h | File | 776 B | 0644 |
|
| blkpg.h | File | 904 B | 0644 |
|
| blktrace_api.h | File | 4.59 KB | 0644 |
|
| blkzoned.h | File | 6.34 KB | 0644 |
|
| bpf.h | File | 269.04 KB | 0644 |
|
| bpf_common.h | File | 1.33 KB | 0644 |
|
| bpf_perf_event.h | File | 529 B | 0644 |
|
| bpqether.h | File | 981 B | 0644 |
|
| bsg.h | File | 2.44 KB | 0644 |
|
| bt-bmc.h | File | 572 B | 0644 |
|
| btf.h | File | 5.46 KB | 0644 |
|
| btrfs.h | File | 36.28 KB | 0644 |
|
| btrfs_tree.h | File | 34.77 KB | 0644 |
|
| cachefiles.h | File | 1.61 KB | 0644 |
|
| can.h | File | 10.95 KB | 0644 |
|
| capability.h | File | 13.21 KB | 0644 |
|
| capi.h | File | 3.05 KB | 0644 |
|
| cciss_defs.h | File | 3.2 KB | 0644 |
|
| cciss_ioctl.h | File | 2.7 KB | 0644 |
|
| ccs.h | File | 767 B | 0644 |
|
| cdrom.h | File | 28.87 KB | 0644 |
|
| cec-funcs.h | File | 53.14 KB | 0644 |
|
| cec.h | File | 41.17 KB | 0644 |
|
| cfm_bridge.h | File | 1.42 KB | 0644 |
|
| cgroupstats.h | File | 2.06 KB | 0644 |
|
| chio.h | File | 5.16 KB | 0644 |
|
| close_range.h | File | 377 B | 0644 |
|
| cn_proc.h | File | 4.06 KB | 0644 |
|
| coda.h | File | 17.79 KB | 0644 |
|
| coff.h | File | 12.25 KB | 0644 |
|
| comedi.h | File | 54.18 KB | 0644 |
|
| connector.h | File | 2.2 KB | 0644 |
|
| const.h | File | 991 B | 0644 |
|
| coresight-stm.h | File | 747 B | 0644 |
|
| counter.h | File | 4.77 KB | 0644 |
|
| cramfs_fs.h | File | 3.47 KB | 0644 |
|
| cryptouser.h | File | 5.2 KB | 0644 |
|
| cuda.h | File | 905 B | 0644 |
|
| cxl_mem.h | File | 7.8 KB | 0644 |
|
| cyclades.h | File | 969 B | 0644 |
|
| cycx_cfm.h | File | 2.92 KB | 0644 |
|
| dcbnl.h | File | 24.97 KB | 0644 |
|
| dccp.h | File | 6.29 KB | 0644 |
|
| devlink.h | File | 22.17 KB | 0644 |
|
| dlm.h | File | 2.52 KB | 0644 |
|
| dlm_device.h | File | 2.48 KB | 0644 |
|
| dlm_plock.h | File | 916 B | 0644 |
|
| dlmconstants.h | File | 4.97 KB | 0644 |
|
| dm-ioctl.h | File | 11.33 KB | 0644 |
|
| dm-log-userspace.h | File | 14.83 KB | 0644 |
|
| dma-buf.h | File | 7.15 KB | 0644 |
|
| dma-heap.h | File | 1.36 KB | 0644 |
|
| dns_resolver.h | File | 3.86 KB | 0644 |
|
| dpll.h | File | 5.84 KB | 0644 |
|
| dqblk_xfs.h | File | 9.17 KB | 0644 |
|
| dw100.h | File | 357 B | 0644 |
|
| edd.h | File | 5.47 KB | 0644 |
|
| efs_fs_sb.h | File | 2.17 KB | 0644 |
|
| elf-em.h | File | 2.57 KB | 0644 |
|
| elf-fdpic.h | File | 1.58 KB | 0644 |
|
| elf.h | File | 15.13 KB | 0644 |
|
| errno.h | File | 23 B | 0644 |
|
| errqueue.h | File | 1.94 KB | 0644 |
|
| erspan.h | File | 1.03 KB | 0644 |
|
| ethtool.h | File | 86.73 KB | 0644 |
|
| ethtool_netlink.h | File | 26.38 KB | 0644 |
|
| eventfd.h | File | 264 B | 0644 |
|
| eventpoll.h | File | 2.53 KB | 0644 |
|
| ext4.h | File | 4.03 KB | 0644 |
|
| f2fs.h | File | 3.28 KB | 0644 |
|
| fadvise.h | File | 842 B | 0644 |
|
| falloc.h | File | 3.5 KB | 0644 |
|
| fanotify.h | File | 8.17 KB | 0644 |
|
| fb.h | File | 16.09 KB | 0644 |
|
| fcntl.h | File | 4.44 KB | 0644 |
|
| fd.h | File | 11.83 KB | 0644 |
|
| fdreg.h | File | 5.24 KB | 0644 |
|
| fib_rules.h | File | 1.99 KB | 0644 |
|
| fiemap.h | File | 2.71 KB | 0644 |
|
| filter.h | File | 2.16 KB | 0644 |
|
| firewire-cdev.h | File | 49.53 KB | 0644 |
|
| firewire-constants.h | File | 3.16 KB | 0644 |
|
| fou.h | File | 819 B | 0644 |
|
| fpga-dfl.h | File | 8.52 KB | 0644 |
|
| fs.h | File | 13.94 KB | 0644 |
|
| fscrypt.h | File | 6.44 KB | 0644 |
|
| fsi.h | File | 3.02 KB | 0644 |
|
| fsl_hypervisor.h | File | 7.13 KB | 0644 |
|
| fsl_mc.h | File | 734 B | 0644 |
|
| fsmap.h | File | 4.3 KB | 0644 |
|
| fsverity.h | File | 3.11 KB | 0644 |
|
| fuse.h | File | 27.04 KB | 0644 |
|
| futex.h | File | 5.98 KB | 0644 |
|
| gameport.h | File | 897 B | 0644 |
|
| gen_stats.h | File | 1.49 KB | 0644 |
|
| genetlink.h | File | 2.19 KB | 0644 |
|
| gfs2_ondisk.h | File | 14.43 KB | 0644 |
|
| gpio.h | File | 19.46 KB | 0644 |
|
| gsmmux.h | File | 4.4 KB | 0644 |
|
| gtp.h | File | 734 B | 0644 |
|
| handshake.h | File | 1.61 KB | 0644 |
|
| hash_info.h | File | 1.01 KB | 0644 |
|
| hdlc.h | File | 637 B | 0644 |
|
| hdlcdrv.h | File | 2.84 KB | 0644 |
|
| hdreg.h | File | 22.17 KB | 0644 |
|
| hid.h | File | 2.04 KB | 0644 |
|
| hiddev.h | File | 6.2 KB | 0644 |
|
| hidraw.h | File | 1.95 KB | 0644 |
|
| hpet.h | File | 743 B | 0644 |
|
| hsr_netlink.h | File | 1.08 KB | 0644 |
|
| hw_breakpoint.h | File | 605 B | 0644 |
|
| hyperv.h | File | 10.89 KB | 0644 |
|
| i2c-dev.h | File | 1.83 KB | 0644 |
|
| i2c.h | File | 6.73 KB | 0644 |
|
| i2o-dev.h | File | 11.28 KB | 0644 |
|
| i8k.h | File | 1.49 KB | 0644 |
|
| icmp.h | File | 4.67 KB | 0644 |
|
| icmpv6.h | File | 4.17 KB | 0644 |
|
| idxd.h | File | 9.11 KB | 0644 |
|
| if.h | File | 10.67 KB | 0644 |
|
| if_addr.h | File | 2.09 KB | 0644 |
|
| if_addrlabel.h | File | 721 B | 0644 |
|
| if_alg.h | File | 1.56 KB | 0644 |
|
| if_arcnet.h | File | 3.63 KB | 0644 |
|
| if_arp.h | File | 6.43 KB | 0644 |
|
| if_bonding.h | File | 5.02 KB | 0644 |
|
| if_bridge.h | File | 20.18 KB | 0644 |
|
| if_cablemodem.h | File | 986 B | 0644 |
|
| if_eql.h | File | 1.32 KB | 0644 |
|
| if_ether.h | File | 8.56 KB | 0644 |
|
| if_fc.h | File | 1.7 KB | 0644 |
|
| if_fddi.h | File | 4.27 KB | 0644 |
|
| if_hippi.h | File | 4.14 KB | 0644 |
|
| if_infiniband.h | File | 1.22 KB | 0644 |
|
| if_link.h | File | 54.49 KB | 0644 |
|
| if_ltalk.h | File | 210 B | 0644 |
|
| if_macsec.h | File | 6.35 KB | 0644 |
|
| if_packet.h | File | 8.07 KB | 0644 |
|
| if_phonet.h | File | 424 B | 0644 |
|
| if_plip.h | File | 660 B | 0644 |
|
| if_ppp.h | File | 29 B | 0644 |
|
| if_pppol2tp.h | File | 3.23 KB | 0644 |
|
| if_pppox.h | File | 4.76 KB | 0644 |
|
| if_slip.h | File | 872 B | 0644 |
|
| if_team.h | File | 2.54 KB | 0644 |
|
| if_tun.h | File | 4.21 KB | 0644 |
|
| if_tunnel.h | File | 4.79 KB | 0644 |
|
| if_vlan.h | File | 1.79 KB | 0644 |
|
| if_x25.h | File | 881 B | 0644 |
|
| if_xdp.h | File | 4.89 KB | 0644 |
|
| ife.h | File | 351 B | 0644 |
|
| igmp.h | File | 2.99 KB | 0644 |
|
| ila.h | File | 1.22 KB | 0644 |
|
| in.h | File | 10.61 KB | 0644 |
|
| in6.h | File | 7.4 KB | 0644 |
|
| in_route.h | File | 936 B | 0644 |
|
| inet_diag.h | File | 4.9 KB | 0644 |
|
| inotify.h | File | 3.21 KB | 0644 |
|
| input-event-codes.h | File | 29.55 KB | 0644 |
|
| input.h | File | 15.84 KB | 0644 |
|
| io_uring.h | File | 19.26 KB | 0644 |
|
| ioam6.h | File | 2.33 KB | 0644 |
|
| ioam6_genl.h | File | 945 B | 0644 |
|
| ioam6_iptunnel.h | File | 1.26 KB | 0644 |
|
| ioctl.h | File | 163 B | 0644 |
|
| iommu.h | File | 4.79 KB | 0644 |
|
| iommufd.h | File | 24.52 KB | 0644 |
|
| ioprio.h | File | 4.08 KB | 0644 |
|
| ip.h | File | 4.73 KB | 0644 |
|
| ip6_tunnel.h | File | 1.91 KB | 0644 |
|
| ip_vs.h | File | 13.8 KB | 0644 |
|
| ipc.h | File | 2.05 KB | 0644 |
|
| ipmi.h | File | 15.08 KB | 0644 |
|
| ipmi_bmc.h | File | 488 B | 0644 |
|
| ipmi_msgdefs.h | File | 3.35 KB | 0644 |
|
| ipmi_ssif_bmc.h | File | 441 B | 0644 |
|
| ipsec.h | File | 947 B | 0644 |
|
| ipv6.h | File | 4.22 KB | 0644 |
|
| ipv6_route.h | File | 1.86 KB | 0644 |
|
| irqnr.h | File | 104 B | 0644 |
|
| iso_fs.h | File | 6.33 KB | 0644 |
|
| isst_if.h | File | 14.92 KB | 0644 |
|
| ivtv.h | File | 2.95 KB | 0644 |
|
| ivtvfb.h | File | 1.18 KB | 0644 |
|
| jffs2.h | File | 6.65 KB | 0644 |
|
| joystick.h | File | 3.35 KB | 0644 |
|
| kcm.h | File | 822 B | 0644 |
|
| kcmp.h | File | 522 B | 0644 |
|
| kcov.h | File | 1.92 KB | 0644 |
|
| kd.h | File | 6.3 KB | 0644 |
|
| kdev_t.h | File | 383 B | 0644 |
|
| kernel-page-flags.h | File | 900 B | 0644 |
|
| kernel.h | File | 194 B | 0644 |
|
| kernelcapi.h | File | 1019 B | 0644 |
|
| kexec.h | File | 2 KB | 0644 |
|
| keyboard.h | File | 13.14 KB | 0644 |
|
| keyctl.h | File | 5.86 KB | 0644 |
|
| kfd_ioctl.h | File | 52.69 KB | 0644 |
|
| kfd_sysfs.h | File | 5.01 KB | 0644 |
|
| kvm.h | File | 62.15 KB | 0644 |
|
| kvm_para.h | File | 1001 B | 0644 |
|
| l2tp.h | File | 5.61 KB | 0644 |
|
| landlock.h | File | 9.08 KB | 0644 |
|
| libc-compat.h | File | 8.09 KB | 0644 |
|
| limits.h | File | 937 B | 0644 |
|
| lirc.h | File | 8.13 KB | 0644 |
|
| llc.h | File | 3.09 KB | 0644 |
|
| loadpin.h | File | 834 B | 0644 |
|
| loop.h | File | 3.32 KB | 0644 |
|
| lp.h | File | 4.09 KB | 0644 |
|
| lsm.h | File | 2.5 KB | 0644 |
|
| lwtunnel.h | File | 2.31 KB | 0644 |
|
| magic.h | File | 3.77 KB | 0644 |
|
| major.h | File | 4.55 KB | 0644 |
|
| map_to_14segment.h | File | 9.28 KB | 0644 |
|
| map_to_7segment.h | File | 6.45 KB | 0644 |
|
| matroxfb.h | File | 1.43 KB | 0644 |
|
| max2175.h | File | 1.01 KB | 0644 |
|
| mctp.h | File | 1.45 KB | 0644 |
|
| mdio.h | File | 23.54 KB | 0644 |
|
| media-bus-format.h | File | 7.15 KB | 0644 |
|
| media.h | File | 12.46 KB | 0644 |
|
| mei.h | File | 3.39 KB | 0644 |
|
| mei_uuid.h | File | 738 B | 0644 |
|
| membarrier.h | File | 9.34 KB | 0644 |
|
| memfd.h | File | 1.43 KB | 0644 |
|
| mempolicy.h | File | 2.51 KB | 0644 |
|
| mii.h | File | 9.27 KB | 0644 |
|
| minix_fs.h | File | 2.07 KB | 0644 |
|
| mman.h | File | 1.75 KB | 0644 |
|
| mmtimer.h | File | 2.07 KB | 0644 |
|
| module.h | File | 293 B | 0644 |
|
| mount.h | File | 7.75 KB | 0644 |
|
| mpls.h | File | 2.25 KB | 0644 |
|
| mpls_iptunnel.h | File | 761 B | 0644 |
|
| mptcp.h | File | 3.67 KB | 0644 |
|
| mptcp_pm.h | File | 4.3 KB | 0644 |
|
| mqueue.h | File | 2.15 KB | 0644 |
|
| mroute.h | File | 5.78 KB | 0644 |
|
| mroute6.h | File | 4.89 KB | 0644 |
|
| mrp_bridge.h | File | 1.67 KB | 0644 |
|
| msdos_fs.h | File | 6.57 KB | 0644 |
|
| msg.h | File | 3.31 KB | 0644 |
|
| mtio.h | File | 7.98 KB | 0644 |
|
| nbd-netlink.h | File | 2.35 KB | 0644 |
|
| nbd.h | File | 3.53 KB | 0644 |
|
| ncsi.h | File | 4.71 KB | 0644 |
|
| ndctl.h | File | 6.66 KB | 0644 |
|
| neighbour.h | File | 5.96 KB | 0644 |
|
| net.h | File | 2.04 KB | 0644 |
|
| net_dropmon.h | File | 2.85 KB | 0644 |
|
| net_namespace.h | File | 715 B | 0644 |
|
| net_tstamp.h | File | 5.97 KB | 0644 |
|
| netconf.h | File | 614 B | 0644 |
|
| netdev.h | File | 4.23 KB | 0644 |
|
| netdevice.h | File | 2.2 KB | 0644 |
|
| netfilter.h | File | 1.69 KB | 0644 |
|
| netfilter_arp.h | File | 445 B | 0644 |
|
| netfilter_bridge.h | File | 1.14 KB | 0644 |
|
| netfilter_ipv4.h | File | 1.45 KB | 0644 |
|
| netfilter_ipv6.h | File | 1.35 KB | 0644 |
|
| netlink.h | File | 12.1 KB | 0644 |
|
| netlink_diag.h | File | 1.49 KB | 0644 |
|
| netrom.h | File | 807 B | 0644 |
|
| nexthop.h | File | 2.76 KB | 0644 |
|
| nfc.h | File | 10.97 KB | 0644 |
|
| nfs.h | File | 4.39 KB | 0644 |
|
| nfs2.h | File | 1.43 KB | 0644 |
|
| nfs3.h | File | 2.4 KB | 0644 |
|
| nfs4.h | File | 6.39 KB | 0644 |
|
| nfs4_mount.h | File | 1.89 KB | 0644 |
|
| nfs_fs.h | File | 1.62 KB | 0644 |
|
| nfs_idmap.h | File | 2.19 KB | 0644 |
|
| nfs_mount.h | File | 2.09 KB | 0644 |
|
| nfsacl.h | File | 718 B | 0644 |
|
| nfsd_netlink.h | File | 933 B | 0644 |
|
| nilfs2_api.h | File | 7.41 KB | 0644 |
|
| nilfs2_ondisk.h | File | 17.66 KB | 0644 |
|
| nitro_enclaves.h | File | 12.85 KB | 0644 |
|
| nl80211-vnd-intel.h | File | 4.49 KB | 0644 |
|
| nl80211.h | File | 334.96 KB | 0644 |
|
| npcm-video.h | File | 1.19 KB | 0644 |
|
| nsfs.h | File | 639 B | 0644 |
|
| nsm.h | File | 740 B | 0644 |
|
| nubus.h | File | 8 KB | 0644 |
|
| nvme_ioctl.h | File | 2.43 KB | 0644 |
|
| nvram.h | File | 532 B | 0644 |
|
| omap3isp.h | File | 20.45 KB | 0644 |
|
| omapfb.h | File | 5.78 KB | 0644 |
|
| oom.h | File | 511 B | 0644 |
|
| openat2.h | File | 1.42 KB | 0644 |
|
| openvswitch.h | File | 40.05 KB | 0644 |
|
| packet_diag.h | File | 1.63 KB | 0644 |
|
| param.h | File | 141 B | 0644 |
|
| parport.h | File | 3.75 KB | 0644 |
|
| patchkey.h | File | 892 B | 0644 |
|
| pci.h | File | 1.35 KB | 0644 |
|
| pci_regs.h | File | 60.36 KB | 0644 |
|
| pcitest.h | File | 920 B | 0644 |
|
| perf_event.h | File | 42.28 KB | 0644 |
|
| personality.h | File | 2.05 KB | 0644 |
|
| pfkeyv2.h | File | 10.39 KB | 0644 |
|
| pfrut.h | File | 7.8 KB | 0644 |
|
| pg.h | File | 2.34 KB | 0644 |
|
| phantom.h | File | 1.62 KB | 0644 |
|
| phonet.h | File | 4.57 KB | 0644 |
|
| pidfd.h | File | 256 B | 0644 |
|
| pkt_cls.h | File | 18.15 KB | 0644 |
|
| pkt_sched.h | File | 28.66 KB | 0644 |
|
| pktcdvd.h | File | 2.35 KB | 0644 |
|
| pmu.h | File | 5.32 KB | 0644 |
|
| poll.h | File | 22 B | 0644 |
|
| posix_acl.h | File | 1.22 KB | 0644 |
|
| posix_acl_xattr.h | File | 1.09 KB | 0644 |
|
| posix_types.h | File | 1.07 KB | 0644 |
|
| ppdev.h | File | 3.21 KB | 0644 |
|
| ppp-comp.h | File | 2.47 KB | 0644 |
|
| ppp-ioctl.h | File | 5.59 KB | 0644 |
|
| ppp_defs.h | File | 5.43 KB | 0644 |
|
| pps.h | File | 4.62 KB | 0644 |
|
| pr.h | File | 1.59 KB | 0644 |
|
| prctl.h | File | 10.42 KB | 0644 |
|
| psample.h | File | 2.22 KB | 0644 |
|
| psci.h | File | 5.02 KB | 0644 |
|
| psp-dbc.h | File | 5.16 KB | 0644 |
|
| psp-sev.h | File | 4.39 KB | 0644 |
|
| ptp_clock.h | File | 7.46 KB | 0644 |
|
| ptrace.h | File | 5.37 KB | 0644 |
|
| qemu_fw_cfg.h | File | 2.41 KB | 0644 |
|
| qnx4_fs.h | File | 2.27 KB | 0644 |
|
| qnxtypes.h | File | 624 B | 0644 |
|
| qrtr.h | File | 893 B | 0644 |
|
| quota.h | File | 6.16 KB | 0644 |
|
| radeonfb.h | File | 360 B | 0644 |
|
| random.h | File | 1.38 KB | 0644 |
|
| rds.h | File | 10.91 KB | 0644 |
|
| reboot.h | File | 1.31 KB | 0644 |
|
| reiserfs_fs.h | File | 775 B | 0644 |
|
| reiserfs_xattr.h | File | 542 B | 0644 |
|
| remoteproc_cdev.h | File | 1.08 KB | 0644 |
|
| resource.h | File | 2.53 KB | 0644 |
|
| rfkill.h | File | 5.96 KB | 0644 |
|
| rio_cm_cdev.h | File | 3.17 KB | 0644 |
|
| rio_mport_cdev.h | File | 9.11 KB | 0644 |
|
| rkisp1-config.h | File | 33.39 KB | 0644 |
|
| romfs_fs.h | File | 1.21 KB | 0644 |
|
| rose.h | File | 2.18 KB | 0644 |
|
| route.h | File | 2.28 KB | 0644 |
|
| rpl.h | File | 854 B | 0644 |
|
| rpl_iptunnel.h | File | 424 B | 0644 |
|
| rpmsg.h | File | 1.29 KB | 0644 |
|
| rpmsg_types.h | File | 288 B | 0644 |
|
| rseq.h | File | 5.32 KB | 0644 |
|
| rtc.h | File | 5.19 KB | 0644 |
|
| rtnetlink.h | File | 20.85 KB | 0644 |
|
| rxrpc.h | File | 4.81 KB | 0644 |
|
| scc.h | File | 4.52 KB | 0644 |
|
| sched.h | File | 6.12 KB | 0644 |
|
| scif_ioctl.h | File | 6.23 KB | 0644 |
|
| screen_info.h | File | 2.42 KB | 0644 |
|
| sctp.h | File | 35.17 KB | 0644 |
|
| seccomp.h | File | 5.85 KB | 0644 |
|
| securebits.h | File | 2.64 KB | 0644 |
|
| sed-opal.h | File | 5.22 KB | 0644 |
|
| seg6.h | File | 1.14 KB | 0644 |
|
| seg6_genl.h | File | 589 B | 0644 |
|
| seg6_hmac.h | File | 423 B | 0644 |
|
| seg6_iptunnel.h | File | 983 B | 0644 |
|
| seg6_local.h | File | 3.78 KB | 0644 |
|
| selinux_netlink.h | File | 1.17 KB | 0644 |
|
| sem.h | File | 2.98 KB | 0644 |
|
| serial.h | File | 5.12 KB | 0644 |
|
| serial_core.h | File | 4.93 KB | 0644 |
|
| serial_reg.h | File | 15.65 KB | 0644 |
|
| serio.h | File | 2.05 KB | 0644 |
|
| sev-guest.h | File | 2.31 KB | 0644 |
|
| shm.h | File | 3.71 KB | 0644 |
|
| signal.h | File | 388 B | 0644 |
|
| signalfd.h | File | 1.2 KB | 0644 |
|
| smc.h | File | 8.46 KB | 0644 |
|
| smc_diag.h | File | 2.88 KB | 0644 |
|
| smiapp.h | File | 1.03 KB | 0644 |
|
| snmp.h | File | 14.19 KB | 0644 |
|
| sock_diag.h | File | 1.27 KB | 0644 |
|
| socket.h | File | 1.02 KB | 0644 |
|
| sockios.h | File | 6.69 KB | 0644 |
|
| sonet.h | File | 2.24 KB | 0644 |
|
| sonypi.h | File | 5.18 KB | 0644 |
|
| sound.h | File | 1.21 KB | 0644 |
|
| soundcard.h | File | 44.97 KB | 0644 |
|
| stat.h | File | 6.84 KB | 0644 |
|
| stddef.h | File | 1.94 KB | 0644 |
|
| stm.h | File | 1.24 KB | 0644 |
|
| string.h | File | 238 B | 0644 |
|
| suspend_ioctls.h | File | 1.4 KB | 0644 |
|
| swab.h | File | 6.78 KB | 0644 |
|
| switchtec_ioctl.h | File | 5.14 KB | 0644 |
|
| sync_file.h | File | 3.37 KB | 0644 |
|
| synclink.h | File | 8.77 KB | 0644 |
|
| sysctl.h | File | 25.42 KB | 0644 |
|
| sysinfo.h | File | 1.02 KB | 0644 |
|
| target_core_user.h | File | 4.54 KB | 0644 |
|
| taskstats.h | File | 8.13 KB | 0644 |
|
| tcp.h | File | 16.62 KB | 0644 |
|
| tcp_metrics.h | File | 1.51 KB | 0644 |
|
| tdx-guest.h | File | 1.27 KB | 0644 |
|
| tee.h | File | 13.09 KB | 0644 |
|
| termios.h | File | 172 B | 0644 |
|
| thermal.h | File | 3.23 KB | 0644 |
|
| thp7312.h | File | 659 B | 0644 |
|
| time.h | File | 1.71 KB | 0644 |
|
| time_types.h | File | 1.24 KB | 0644 |
|
| timerfd.h | File | 936 B | 0644 |
|
| times.h | File | 278 B | 0644 |
|
| timex.h | File | 7.63 KB | 0644 |
|
| tiocl.h | File | 1.69 KB | 0644 |
|
| tipc.h | File | 8.62 KB | 0644 |
|
| tipc_config.h | File | 14.57 KB | 0644 |
|
| tipc_netlink.h | File | 9.17 KB | 0644 |
|
| tipc_sockets_diag.h | File | 468 B | 0644 |
|
| tls.h | File | 7.06 KB | 0644 |
|
| toshiba.h | File | 1.88 KB | 0644 |
|
| tps6594_pfsm.h | File | 1.13 KB | 0644 |
|
| tty.h | File | 1.74 KB | 0644 |
|
| tty_flags.h | File | 4.4 KB | 0644 |
|
| types.h | File | 1.73 KB | 0644 |
|
| ublk_cmd.h | File | 11.69 KB | 0644 |
|
| udf_fs_i.h | File | 697 B | 0644 |
|
| udmabuf.h | File | 643 B | 0644 |
|
| udp.h | File | 1.65 KB | 0644 |
|
| uhid.h | File | 4.54 KB | 0644 |
|
| uinput.h | File | 9.04 KB | 0644 |
|
| uio.h | File | 732 B | 0644 |
|
| uleds.h | File | 798 B | 0644 |
|
| ultrasound.h | File | 4.46 KB | 0644 |
|
| um_timetravel.h | File | 3.87 KB | 0644 |
|
| un.h | File | 384 B | 0644 |
|
| unistd.h | File | 220 B | 0644 |
|
| unix_diag.h | File | 1.3 KB | 0644 |
|
| usbdevice_fs.h | File | 8.12 KB | 0644 |
|
| usbip.h | File | 1.47 KB | 0644 |
|
| user_events.h | File | 2.29 KB | 0644 |
|
| userfaultfd.h | File | 11.74 KB | 0644 |
|
| userio.h | File | 1.48 KB | 0644 |
|
| utime.h | File | 223 B | 0644 |
|
| utsname.h | File | 669 B | 0644 |
|
| uuid.h | File | 28 B | 0644 |
|
| uvcvideo.h | File | 2.57 KB | 0644 |
|
| v4l2-common.h | File | 2.01 KB | 0644 |
|
| v4l2-controls.h | File | 145.84 KB | 0644 |
|
| v4l2-dv-timings.h | File | 30.39 KB | 0644 |
|
| v4l2-mediabus.h | File | 5.11 KB | 0644 |
|
| v4l2-subdev.h | File | 9.77 KB | 0644 |
|
| vbox_err.h | File | 7.09 KB | 0644 |
|
| vbox_vmmdev_types.h | File | 11.38 KB | 0644 |
|
| vboxguest.h | File | 9.15 KB | 0644 |
|
| vdpa.h | File | 1.74 KB | 0644 |
|
| vduse.h | File | 9.58 KB | 0644 |
|
| version.h | File | 216 B | 0644 |
|
| veth.h | File | 224 B | 0644 |
|
| vfio.h | File | 70.18 KB | 0644 |
|
| vfio_ccw.h | File | 1.29 KB | 0644 |
|
| vfio_zdev.h | File | 2.48 KB | 0644 |
|
| vhost.h | File | 9.74 KB | 0644 |
|
| vhost_types.h | File | 5.14 KB | 0644 |
|
| videodev2.h | File | 98.5 KB | 0644 |
|
| virtio_9p.h | File | 2 KB | 0644 |
|
| virtio_balloon.h | File | 5.16 KB | 0644 |
|
| virtio_blk.h | File | 9.75 KB | 0644 |
|
| virtio_bt.h | File | 910 B | 0644 |
|
| virtio_config.h | File | 4.65 KB | 0644 |
|
| virtio_console.h | File | 3.08 KB | 0644 |
|
| virtio_crypto.h | File | 16.09 KB | 0644 |
|
| virtio_fs.h | File | 573 B | 0644 |
|
| virtio_gpio.h | File | 1.67 KB | 0644 |
|
| virtio_gpu.h | File | 11.19 KB | 0644 |
|
| virtio_i2c.h | File | 1.16 KB | 0644 |
|
| virtio_ids.h | File | 4.2 KB | 0644 |
|
| virtio_input.h | File | 2.46 KB | 0644 |
|
| virtio_iommu.h | File | 3.84 KB | 0644 |
|
| virtio_mem.h | File | 6.99 KB | 0644 |
|
| virtio_mmio.h | File | 4.85 KB | 0644 |
|
| virtio_net.h | File | 15.08 KB | 0644 |
|
| virtio_pci.h | File | 9.41 KB | 0644 |
|
| virtio_pcidev.h | File | 2.39 KB | 0644 |
|
| virtio_pmem.h | File | 882 B | 0644 |
|
| virtio_ring.h | File | 8.52 KB | 0644 |
|
| virtio_rng.h | File | 265 B | 0644 |
|
| virtio_scmi.h | File | 637 B | 0644 |
|
| virtio_scsi.h | File | 5.94 KB | 0644 |
|
| virtio_snd.h | File | 9.09 KB | 0644 |
|
| virtio_types.h | File | 2.1 KB | 0644 |
|
| virtio_vsock.h | File | 3.27 KB | 0644 |
|
| vm_sockets.h | File | 7.18 KB | 0644 |
|
| vm_sockets_diag.h | File | 963 B | 0644 |
|
| vmcore.h | File | 455 B | 0644 |
|
| vsockmon.h | File | 1.84 KB | 0644 |
|
| vt.h | File | 2.99 KB | 0644 |
|
| vtpm_proxy.h | File | 1.68 KB | 0644 |
|
| wait.h | File | 682 B | 0644 |
|
| watch_queue.h | File | 3.41 KB | 0644 |
|
| watchdog.h | File | 2.28 KB | 0644 |
|
| wireguard.h | File | 7.57 KB | 0644 |
|
| wireless.h | File | 41.7 KB | 0644 |
|
| wmi.h | File | 1.72 KB | 0644 |
|
| wwan.h | File | 295 B | 0644 |
|
| x25.h | File | 3.48 KB | 0644 |
|
| xattr.h | File | 2.95 KB | 0644 |
|
| xdp_diag.h | File | 1.43 KB | 0644 |
|
| xfrm.h | File | 12.42 KB | 0644 |
|
| xilinx-v4l2-controls.h | File | 2.91 KB | 0644 |
|
| zorro.h | File | 3.22 KB | 0644 |
|
| zorro_ids.h | File | 29.36 KB | 0644 |
|