/freebsd/sys/dev/mii/ |
H A D | ip1000phyreg.h | 38 #define IP1000PHY_MII_BMCR 0x00 39 #define IP1000PHY_BMCR_FDX 0x0100 40 #define IP1000PHY_BMCR_STARTNEG 0x0200 41 #define IP1000PHY_BMCR_ISO 0x0400 42 #define IP1000PHY_BMCR_PDOWN 0x0800 43 #define IP1000PHY_BMCR_AUTOEN 0x1000 44 #define IP1000PHY_BMCR_LOOP 0x4000 45 #define IP1000PHY_BMCR_RESET 0x8000 47 #define IP1000PHY_BMCR_10 0x0000 48 #define IP1000PHY_BMCR_100 0x2000 [all …]
|
H A D | e1000phyreg.h | 72 #define E1000_MAX_REG_ADDRESS 0x1F 74 #define E1000_CR 0x00 /* control register */ 75 #define E1000_CR_SPEED_SELECT_MSB 0x0040 76 #define E1000_CR_COLL_TEST_ENABLE 0x0080 77 #define E1000_CR_FULL_DUPLEX 0x0100 78 #define E1000_CR_RESTART_AUTO_NEG 0x0200 79 #define E1000_CR_ISOLATE 0x0400 80 #define E1000_CR_POWER_DOWN 0x0800 81 #define E1000_CR_AUTO_NEG_ENABLE 0x1000 82 #define E1000_CR_SPEED_SELECT_LSB 0x2000 [all …]
|
H A D | ciphyreg.h | 44 #define CIPHY_MII_BMCR 0x00 45 #define CIPHY_BMCR_RESET 0x8000 46 #define CIPHY_BMCR_LOOP 0x4000 47 #define CIPHY_BMCR_SPD0 0x2000 /* speed select, lower bit */ 48 #define CIPHY_BMCR_AUTOEN 0x1000 /* Autoneg enabled */ 49 #define CIPHY_BMCR_PDOWN 0x0800 /* Power down */ 50 #define CIPHY_BMCR_STARTNEG 0x0200 /* Restart autoneg */ 51 #define CIPHY_BMCR_FDX 0x0100 /* Duplex mode */ 52 #define CIPHY_BMCR_CTEST 0x0080 /* Collision test enable */ 53 #define CIPHY_BMCR_SPD1 0x0040 /* Speed select, upper bit */ [all …]
|
H A D | nsphyterreg.h | 44 #define MII_NSPHYTER_PHYSTS 0x10 /* PHY status */ 45 #define PHYSTS_REL 0x8000 /* receive error latch */ 46 #define PHYSTS_CIML 0x4000 /* CIM latch */ 47 #define PHYSTS_FCSL 0x2000 /* false carrier sense latch */ 48 #define PHYSTS_DEVRDY 0x0800 /* device ready */ 49 #define PHYSTS_PGRX 0x0400 /* page received */ 50 #define PHYSTS_ANEGEN 0x0200 /* autoneg. enabled */ 51 #define PHYSTS_MIIINTR 0x0100 /* MII interrupt */ 52 #define PHYSTS_REMFAULT 0x0080 /* remote fault */ 53 #define PHYSTS_JABBER 0x0040 /* jabber detect */ [all …]
|
H A D | rgephyreg.h | 47 #define RGEPHY_MII_BMCR 0x00 48 #define RGEPHY_BMCR_RESET 0x8000 49 #define RGEPHY_BMCR_LOOP 0x4000 50 #define RGEPHY_BMCR_SPD0 0x2000 /* speed select, lower bit */ 51 #define RGEPHY_BMCR_AUTOEN 0x1000 /* Autoneg enabled */ 52 #define RGEPHY_BMCR_PDOWN 0x0800 /* Power down */ 53 #define RGEPHY_BMCR_ISO 0x0400 /* Isolate */ 54 #define RGEPHY_BMCR_STARTNEG 0x0200 /* Restart autoneg */ 55 #define RGEPHY_BMCR_FDX 0x0100 /* Duplex mode */ 56 #define RGEPHY_BMCR_CTEST 0x0080 /* Collision test enable */ [all …]
|
H A D | brgphyreg.h | 42 #define BRGPHY_MII_BMCR 0x00 43 #define BRGPHY_BMCR_RESET 0x8000 44 #define BRGPHY_BMCR_LOOP 0x4000 45 #define BRGPHY_BMCR_SPD0 0x2000 /* Speed select, lower bit */ 46 #define BRGPHY_BMCR_AUTOEN 0x1000 /* Autoneg enabled */ 47 #define BRGPHY_BMCR_PDOWN 0x0800 /* Power down */ 48 #define BRGPHY_BMCR_ISO 0x0400 /* Isolate */ 49 #define BRGPHY_BMCR_STARTNEG 0x0200 /* Restart autoneg */ 50 #define BRGPHY_BMCR_FDX 0x0100 /* Duplex mode */ 51 #define BRGPHY_BMCR_CTEST 0x0080 /* Collision test enable */ [all …]
|
H A D | mii.h | 45 #define MII_COMMAND_START 0x01 46 #define MII_COMMAND_READ 0x02 47 #define MII_COMMAND_WRITE 0x01 48 #define MII_COMMAND_ACK 0x02 50 #define MII_BMCR 0x00 /* Basic mode control register (rw) */ 51 #define BMCR_RESET 0x8000 /* reset */ 52 #define BMCR_LOOP 0x4000 /* loopback */ 53 #define BMCR_SPEED0 0x2000 /* speed selection (LSB) */ 54 #define BMCR_AUTOEN 0x1000 /* autonegotiation enable */ 55 #define BMCR_PDOWN 0x0800 /* power down */ [all …]
|
H A D | tdkphyreg.h | 39 #define VENDOR_RXCC 0x0001 40 #define VENDOR_PCSBP 0x0002 41 #define VENDOR_RVSPOL 0x0010 42 #define VENDOR_NOAPOL 0x0020 43 #define VENDOR_GPIO0DIR 0x0040 44 #define VENDOR_GPIO0DAT 0x0080 45 #define VENDOR_GPIO1DIR 0x0100 46 #define VENDOR_GPIO1DAT 0x0200 47 #define VENDOR_10BTLOOP 0x0400 48 #define VENDOR_NOSQE 0x0800 [all …]
|
H A D | rdcphyreg.h | 33 #define MII_RDCPHY_DEBUG 0x11 34 #define DEBUG_JABBER_DIS 0x0040 35 #define DEBUG_LOOP_BACK_10MBPS 0x0400 37 #define MII_RDCPHY_CTRL 0x14 38 #define CTRL_SQE_ENB 0x0100 39 #define CTRL_NEG_POLARITY 0x0400 40 #define CTRL_AUTO_POLARITY 0x0800 41 #define CTRL_MDIXSEL_RX 0x2000 42 #define CTRL_MDIXSEL_TX 0x4000 43 #define CTRL_AUTO_MDIX_DIS 0x8000 [all …]
|
H A D | bmtphyreg.h | 41 #define MII_BMTPHY_AUX_CTL 0x10 /* auxiliary control */ 42 #define AUX_CTL_TXDIS 0x2000 /* transmitter disable */ 43 #define AUX_CTL_4B5B_BYPASS 0x0400 /* bypass 4b5b encoder */ 44 #define AUX_CTL_SCR_BYPASS 0x0200 /* bypass scrambler */ 45 #define AUX_CTL_NRZI_BYPASS 0x0100 /* bypass NRZI encoder */ 46 #define AUX_CTL_RXALIGN_BYPASS 0x0080 /* bypass rx symbol alignment */ 47 #define AUX_CTL_BASEWANDER_DIS 0x0040 /* disable baseline wander correction */ 48 #define AUX_CTL_FEF_EN 0x0020 /* far-end fault enable */ 50 #define MII_BMTPHY_AUX_STS 0x11 /* auxiliary status */ 51 #define AUX_STS_FX_MODE 0x0400 /* 100base-FX mode (strap pin) */ [all …]
|
H A D | acphyreg.h | 36 #define MII_ACPHY_POL 0x10 /* Polarity int level */ 39 #define MII_ACPHY_INT 0x11 /* Interrupt control/status */ 40 #define AC_INT_ACOMP 0x0001 /* Autoneg complete */ 41 #define AC_INT_REM_FLT 0x0002 /* Remote fault */ 42 #define AC_INT_LINK_DOWN 0x0004 /* Link not OK */ 43 #define AC_INT_LP_ACK 0x0008 /* FLP ack recved */ 44 #define AC_INT_PD_FLT 0x0010 /* Parallel detect fault */ 45 #define AC_INT_PAGE_RECV 0x0020 /* New page recved */ 46 #define AC_INT_RX_ER 0x0040 /* RX_ER transitions high */ 47 #define AC_INT_JAB 0x0080 /* Jabber detected */ [all …]
|
H A D | amphyreg.h | 42 #define MII_AMPHY_DSCR 0x10 /* Specified configuration register */a 43 #define DSCR_BP4B5B 0x8000 /* Bypass 4B5B encoding */ 44 #define DSCR_BPSCR 0x4000 /* Bypass scrambler */ 45 #define DSCR_BPALIGN 0x2000 /* Bypass symbol alignment */ 46 #define DSCR_REPEATER 0x0800 /* Repeater mode */ 47 #define DSCR_TX 0x0400 /* TX/FX mode control */ 48 #define DSCR_UTP 0x0200 /* UTP/STP mode control */ 49 #define DSCR_CLK25MDIS 0x0100 /* CLK25M disable */ 50 #define DSCR_FGLNKTX 0x0080 /* Force good link at 100baseTX */ 51 #define DSCR_LINKLEDCTL 0x0020 /* Link LED control */ [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mmio.c | 15 [WF_AGG_BASE] = { { 0x820e2000, 0x820f2000, 0x830e2000 } }, 16 [WF_ARB_BASE] = { { 0x820e3000, 0x820f3000, 0x830e3000 } }, 17 [WF_TMAC_BASE] = { { 0x820e4000, 0x820f4000, 0x830e4000 } }, 18 [WF_RMAC_BASE] = { { 0x820e5000, 0x820f5000, 0x830e5000 } }, 19 [WF_DMA_BASE] = { { 0x820e7000, 0x820f7000, 0x830e7000 } }, 20 [WF_WTBLOFF_BASE] = { { 0x820e9000, 0x820f9000, 0x830e9000 } }, 21 [WF_ETBF_BASE] = { { 0x820ea000, 0x820fa000, 0x830ea000 } }, 22 [WF_LPON_BASE] = { { 0x820eb000, 0x820fb000, 0x830eb000 } }, 23 [WF_MIB_BASE] = { { 0x820ed000, 0x820fd000, 0x830ed000 } }, 24 [WF_RATE_BASE] = { { 0x820ee000, 0x820fe000, 0x830ee000 } }, [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sa8775p.dtsi | 27 #clock-cells = <0>; 32 #clock-cells = <0>; 38 #size-cells = <0>; 40 CPU0: cpu@0 { 43 reg = <0x0 0x0>; 45 qcom,freq-domain = <&cpufreq_hw 0>; 65 reg = <0x0 0x100>; 67 qcom,freq-domain = <&cpufreq_hw 0>; 82 reg = <0x0 0x200>; 84 qcom,freq-domain = <&cpufreq_hw 0>; [all …]
|
/freebsd/sys/dev/pci/ |
H A D | pcireg.h | 53 #define PCIE_ARI_SLOTMAX 0 59 #define PCI_RID_FUNC_SHIFT 0 74 #define PCIE_ARI_RID2SLOT(rid) (0) 83 #define PCIR_DEVVENDOR 0x00 84 #define PCIR_VENDOR 0x00 85 #define PCIR_DEVICE 0x02 86 #define PCIR_COMMAND 0x04 87 #define PCIM_CMD_PORTEN 0x0001 88 #define PCIM_CMD_MEMEN 0x0002 89 #define PCIM_CMD_BUSMASTEREN 0x0004 [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/vdev_disk/ |
H A D | page_alignment.c | 65 * physical (order-0) page boundary, as the kernel expects to be able in vdev_disk_check_alignment_cb() 104 return (0); in vdev_disk_check_alignment_cb() 125 512, 0x1000, { 126 { 0x0, 0x1000 }, 130 512, 0x400, { 131 { 0x0, 0x1000 }, 135 512, 0x400, { 136 { 0x0c00, 0x0400 }, 140 512, 0x400, { 141 { 0x0200, 0x0e00 }, [all …]
|
/freebsd/sys/dev/le/ |
H A D | lancereg.h | 139 #define LE_CSR0 0x0000 /* Control and status register */ 140 #define LE_CSR1 0x0001 /* low address of init block */ 141 #define LE_CSR2 0x0002 /* high address of init block */ 142 #define LE_CSR3 0x0003 /* Bus master and control */ 143 #define LE_CSR4 0x0004 /* Test and features control */ 144 #define LE_CSR5 0x0005 /* Extended control and Interrupt 1 */ 145 #define LE_CSR6 0x0006 /* Rx/Tx Descriptor table length */ 146 #define LE_CSR7 0x0007 /* Extended control and interrupt 2 */ 147 #define LE_CSR8 0x0008 /* Logical Address Filter 0 */ 148 #define LE_CSR9 0x0009 /* Logical Address Filter 1 */ [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_ich8lan.h | 38 #define ICH_FLASH_GFPREG 0x0000 39 #define ICH_FLASH_HSFSTS 0x0004 40 #define ICH_FLASH_HSFCTL 0x0006 41 #define ICH_FLASH_FADDR 0x0008 42 #define ICH_FLASH_FDATA0 0x0010 48 #define ICH_FLASH_LINEAR_ADDR_MASK 0x00FFFFFF 51 #define ICH_CYCLE_READ 0 55 #define FLASH_GFPREG_BASE_MASK 0x1FFF 63 #define E1000_ICH_FWSM_RSPCIPHY 0x00000040 /* Reset PHY on PCI Reset */ 65 #define E1000_ICH_FWSM_FW_VALID 0x00008000 [all …]
|
/freebsd/sys/dev/xl/ |
H A D | if_xlreg.h | 35 #define XL_EE_READ 0x0080 /* read, 5 bit address */ 36 #define XL_EE_WRITE 0x0040 /* write, 5 bit address */ 37 #define XL_EE_ERASE 0x00c0 /* erase, 5 bit address */ 38 #define XL_EE_EWEN 0x0030 /* erase, no data needed */ 39 #define XL_EE_8BIT_READ 0x0200 /* read, 8 bit address */ 40 #define XL_EE_BUSY 0x8000 42 #define XL_EE_EADDR0 0x00 /* station address, first word */ 43 #define XL_EE_EADDR1 0x01 /* station address, next word, */ 44 #define XL_EE_EADDR2 0x02 /* station address, last word */ 45 #define XL_EE_PRODID 0x03 /* product ID code */ [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
H A D | mutex.h | 34 #if (_WIN32_WINNT < 0x0400) 37 #endif /* _WIN32_WINNT < 0x0400 */ 53 #define isc_mutex_stats(fp) do {} while (0)
|
/freebsd/sys/dev/usb/net/ |
H A D | if_axereg.h | 46 * the data length (0 to 15) and D represents the direction (0 for vendor read, 50 #define AXE_CMD_IS_WRITE(x) (((x) & 0x0F00) >> 8) 51 #define AXE_CMD_LEN(x) (((x) & 0xF000) >> 12) 52 #define AXE_CMD_CMD(x) ((x) & 0x00FF) 54 #define AXE_172_CMD_READ_RXTX_SRAM 0x2002 55 #define AXE_182_CMD_READ_RXTX_SRAM 0x8002 56 #define AXE_172_CMD_WRITE_RX_SRAM 0x0103 57 #define AXE_182_CMD_WRITE_RXTX_SRAM 0x8103 58 #define AXE_172_CMD_WRITE_TX_SRAM 0x0104 59 #define AXE_CMD_MII_OPMODE_SW 0x0106 [all …]
|
/freebsd/sys/dev/ste/ |
H A D | if_stereg.h | 39 #define ST_VENDORID 0x13F0 40 #define ST_DEVICEID_ST201_1 0x0200 41 #define ST_DEVICEID_ST201_2 0x0201 46 #define DL_VENDORID 0x1186 47 #define DL_DEVICEID_DL10050 0x1002 56 #define STE_DMACTL 0x00 57 #define STE_TX_DMALIST_PTR 0x04 58 #define STE_TX_DMABURST_THRESH 0x08 59 #define STE_TX_DMAURG_THRESH 0x09 60 #define STE_TX_DMAPOLL_PERIOD 0x0A [all …]
|
/freebsd/sys/dev/smc/ |
H A D | if_smcreg.h | 31 /* All Banks, Offset 0xe: Bank Select Register */ 32 #define BSR 0xe 33 #define BSR_BANK_MASK 0x0007 /* Which bank is currently selected */ 34 #define BSR_IDENTIFY 0x3300 /* Static value for identification */ 35 #define BSR_IDENTIFY_MASK 0xff00 37 /* Bank 0, Offset 0x0: Transmit Control Register */ 38 #define TCR 0x0 39 #define TCR_TXENA 0x0001 /* Enable/disable transmitter */ 40 #define TCR_LOOP 0x0002 /* Put the PHY into loopback mode */ 41 #define TCR_FORCOL 0x0004 /* Force a collision */ [all …]
|
/freebsd/sys/dev/vte/ |
H A D | if_vtereg.h | 36 #define VENDORID_RDC 0x17F3 41 #define DEVICEID_RDC_R6040 0x6040 /* PMX-1000 */ 43 /* MAC control register 0 */ 44 #define VTE_MCR0 0x00 45 #define MCR0_ACCPT_ERR 0x0001 46 #define MCR0_RX_ENB 0x0002 47 #define MCR0_ACCPT_RUNT 0x0004 48 #define MCR0_ACCPT_LONG_PKT 0x0008 49 #define MCR0_ACCPT_DRIBBLE 0x0010 50 #define MCR0_PROMISC 0x0020 [all …]
|
/freebsd/sys/dev/sk/ |
H A D | yukonreg.h | 19 #define YUKON_GPSR 0x0000 21 #define YU_GPSR_SPEED 0x8000 /* speed 0 - 10Mbps, 1 - 100Mbps */ 22 #define YU_GPSR_DUPLEX 0x4000 /* 0 - half duplex, 1 - full duplex */ 23 #define YU_GPSR_FCTL_TX 0x2000 /* Tx flow control, 1 - disabled */ 24 #define YU_GPSR_LINK 0x1000 /* link status (down/up) */ 25 #define YU_GPSR_PAUSE 0x0800 /* flow control enable/disable */ 26 #define YU_GPSR_TX_IN_PROG 0x0400 /* transmit in progress */ 27 #define YU_GPSR_EXCESS_COL 0x0200 /* excessive collisions occurred */ 28 #define YU_GPSR_LATE_COL 0x0100 /* late collision occurred */ 29 #define YU_GPSR_MII_PHY_STC 0x0020 /* MII PHY status change */ [all …]
|