/freebsd/sys/contrib/device-tree/Bindings/phy/ |
H A 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 …]
|
/freebsd/sys/dev/mii/ |
H A D | mii.h | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 64 #define BMCR_S1000 BMCR_SPEED1 /* 1000 Mb/s */ 66 #define BMCR_SPEED(x) ((x) & (BMCR_SPEED0|BMCR_SPEED1)) argument 69 #define BMSR_100T4 0x8000 /* 100 base T4 capable */ 70 #define BMSR_100TXFDX 0x4000 /* 100 base Tx full duplex capable */ 71 #define BMSR_100TXHDX 0x2000 /* 100 base Tx half duplex capable */ 72 #define BMSR_10TFDX 0x1000 /* 10 base T full duplex capable */ 73 #define BMSR_10THDX 0x0800 /* 10 base T half duplex capable */ 74 #define BMSR_100T2FDX 0x0400 /* 100 base T2 full duplex capable */ [all …]
|
H A D | rgephyreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 18 * 4. Neither the name of the author nor the names of any co-contributors 59 #define RGEPHY_S1000 RGEPHY_BMCR_SPD1 /* 1000mbps */ 64 #define RGEPHY_BMSR_100T4 0x8000 /* 100 base T4 capable */ 65 #define RGEPHY_BMSR_100TXFDX 0x4000 /* 100 base Tx full duplex capable */ 66 #define RGEPHY_BMSR_100TXHDX 0x2000 /* 100 base Tx half duplex capable */ 67 #define RGEPHY_BMSR_10TFDX 0x1000 /* 10 base T full duplex capable */ 68 #define RGEPHY_BMSR_10THDX 0x0800 /* 10 base T half duplex capable */ 69 #define RGEPHY_BMSR_100T2FDX 0x0400 /* 100 base T2 full duplex capable */ [all …]
|
H A D | ciphyreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 18 * 4. Neither the name of the author nor the names of any co-contributors 39 * Register definitions for the Cicada CS8201 10/100/1000 gigE copper 55 #define CIPHY_S1000 CIPHY_BMCR_SPD1 /* 1000mbps */ 61 #define CIPHY_BMSR_100T4 0x8000 /* 100 base T4 capable */ 62 #define CIPHY_BMSR_100TXFDX 0x4000 /* 100 base Tx full duplex capable */ 63 #define CIPHY_BMSR_100TXHDX 0x2000 /* 100 base Tx half duplex capable */ 64 #define CIPHY_BMSR_10TFDX 0x1000 /* 10 base T full duplex capable */ 65 #define CIPHY_BMSR_10THDX 0x0800 /* 10 base T half duplex capable */ [all …]
|
H A D | mii_physubr.c | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 77 u_int mm_gtcr; /* 100base-T2 or 1000base-T CR */ 87 /* 10baseT-FDX */ 99 /* 100baseTX-FDX */ 103 /* 1000baseX */ 107 /* 1000baseX-FDX */ 111 /* 1000baseT */ 115 /* 1000baseT-FDX */ 123 struct mii_data *mii = sc->mii_pdata; in mii_phy_setmedia() [all …]
|
/freebsd/sys/net/ |
H A D | if_media.h | 3 /*- 4 * SPDX-License-Identifier: BSD-4-Clause 43 * Prototypes and definitions for BSD/OS-compatible network interface 67 * In-kernel representation of a single supported media type. 72 int ifm_data; /* for driver-specific use */ 73 void *ifm_aux; /* for driver-specific use */ 82 int ifm_media; /* current user-set media word */ 118 * ---- ------- 119 * 0-4 Media variant 120 * 5-7 Media type [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound_munin_ | 5 # and use munin-node-configure (--suggest, --shell). 9 # To install; enable statistics and unbound-control in unbound.conf 10 # server: extended-statistics: yes 11 # statistics-cumulative: no 12 # statistics-interval: 0 13 # remote-control: control-enable: yes 14 # Run the command unbound-control-setup to generate the key files. 17 # unbound_conf - where the unbound.conf file is located. 18 # unbound_control - where to find unbound-control executable. 19 # spoof_warn - what level to warn about spoofing [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A 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 …]
|
H A D | qcom,qca807x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christian Marangi <ansuelsmth@gmail.com> 11 - Robert Marko <robert.marko@sartura.hr> 15 IEEE 802.3 clause 22 compliant 10BASE-Te, 100BASE-TX and 16 1000BASE-T PHY-s. 21 Both models have a combo port that supports 1000BASE-X and 22 100BASE-FX fiber. 25 output only pins that natively drive LED-s for up to 2 attached [all …]
|
H A D | microchip,lan966x-switch.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/microchip,lan966x-switch.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Horatiu Vultur <horatiu.vultur@microchip.com> 13 The lan966x switch is a multi-port Gigabit AVB/TSN Ethernet Switch with 14 two integrated 10/100/1000Base-T PHYs. In addition to the integrated PHYs, 15 it supports up to 2RGMII/RMII, up to 3BASE-X/SERDES/2.5GBASE-X and up to 16 2 Quad-SGMII/Quad-USGMII interfaces. 20 pattern: "^switch@[0-9a-f]+$" [all …]
|
/freebsd/share/man/man4/ |
H A D | bce.4 | 1 .\" Copyright (c) 2006-2014 QLogic Corporation 35 .Bd -ragged -offset indent 43 .Bd -literal -offset indent 62 .Bl -item -offset indent -compact 72 10/100/1000Mbps operation in full-duplex mode 74 10/100Mbps operation in half-duplex mode 80 .Bl -tag -width ".Cm 10baseT/UTP" 92 .Cm full-duplex 94 .Cm half-duplex 102 .Cm full-duplex [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/vf/ |
H A 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- [all...] |
/freebsd/lib/libifconfig/ |
H A D | sfp.lua | 2 -- ex: sw=4 et: 3 --[[ 4 /*- 31 -- Try to put the template.lua library in the package search path. 34 -- Render the template named by the first argument to this script. 35 require("template").render(arg[1], { -- This table is the template's context. 37 -- The table `enums' is accessible in the template. It is a list of strings 38 -- and tables that describe the various enum types we are generating and the 39 -- ancillary metadata for generating other related code. 42 -- Strings at this level are rendered as block comments for convenience. [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | README | 9 - Overview 10 - Identifying Your Adapter 11 - Building and Installation 12 - Additional Features and Configurations 13 - Known Issues/Troubleshooting 14 - Support 15 - License 21 been developed for use with all community-supported versions of FreeBSD. 30 This release includes two gigabit FreeBSD base Drivers for Intel(R) Ethernet. 33 - The igb driver supports all 82575 and 82576-based gigabit network connections. [all …]
|
/freebsd/contrib/arm-optimized-routines/networking/test/ |
H A D | chksum.c | 4 * Copyright (c) 2016-2020, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 35 #define ALIGN(x, y) (((x) + (y) - 1) & ~((y) - 1)) argument 37 /* Reference implementation - do not modify! */ 42 uint64_t sum = 0;/* Need 64-bit accumulator when nbytes > 64K */ in checksum_simple() 45 for (uint32_t nhalfs = nbytes >> 1; nhalfs != 0; nhalfs--) in checksum_simple() 56 /* Fold 64-bit sum to 32 bits */ in checksum_simple() 61 /* Fold 32-bit sum to 16 bits */ in checksum_simple() 95 return -1; in find_impl() 110 "actual %04x expected %04x (valid)", in verify() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | test-ratelim.c | 2 * Copyright (c) 2009-2012 Niels Provos and Nick Mathewson 26 #include "../util-internal.h" 66 static int cfg_tick_msec = 1000; 67 static int cfg_min_share = -1; 70 static int cfg_connlimit_tolerance = -1; 71 static int cfg_grouplimit_tolerance = -1; 72 static int cfg_stddev_tolerance = -1; 78 static struct timeval cfg_tick = { 0, 500*1000 }; 93 * - cfg_connlimit_tolerance (--check-connlimit) 94 * - cfg_grouplimit_tolerance (--check-grouplimit) [all …]
|
H A D | regress.c | 2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu> 3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson 27 #include "util-internal.h" 34 #include "event2/event-config.h" 66 #include "event-internal.h" 67 #include "evthread-internal.h" 68 #include "log-internal.h" 69 #include "time-internal.h" 116 if (event_add(arg, NULL) == -1) in simple_read_cb() 137 switch (arg->callcount++) { in basic_read_cb() [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | test-ratelim.c | 2 * Copyright (c) 2009-2012 Niels Provos and Nick Mathewson 26 #include "../util-internal.h" 66 static int cfg_tick_msec = 1000; 67 static int cfg_min_share = -1; 70 static int cfg_connlimit_tolerance = -1; 71 static int cfg_grouplimit_tolerance = -1; 72 static int cfg_stddev_tolerance = -1; 78 static struct timeval cfg_tick = { 0, 500*1000 }; 93 * - cfg_connlimit_tolerance (--check-connlimit) 94 * - cfg_grouplimit_tolerance (--check-grouplimit) [all …]
|
H A D | regress.c | 2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu> 3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson 27 #include "util-internal.h" 34 #include "event2/event-config.h" 66 #include "event-internal.h" 67 #include "evthread-internal.h" 68 #include "log-internal.h" 69 #include "time-internal.h" 116 if (event_add(arg, NULL) == -1) in simple_read_cb() 137 switch (arg->callcount++) { in basic_read_cb() [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-lldp.c | 2 * Copyright (c) 1998-2007 The TCPDUMP project 24 #include "netdissect-stdinc.h" 34 #define LLDP_EXTRACT_TYPE(x) (((x)&0xfe00)>>9) argument 35 #define LLDP_EXTRACT_LEN(x) ((x)&0x01ff) argument 197 { LLDP_PRIVATE_TIA_SUBTYPE_CAPABILITIES, "LLDP-MED Capabilities" }, 200 { LLDP_PRIVATE_TIA_SUBTYPE_EXTENDED_POWER_MDI, "Extended power-via-MDI" }, 201 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_HARDWARE_REV, "Inventory - hardware revision" }, 202 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_FIRMWARE_REV, "Inventory - firmware revision" }, 203 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_SOFTWARE_REV, "Inventory - software revision" }, 204 { LLDP_PRIVATE_TIA_SUBTYPE_INVENTORY_SERIAL_NUMBER, "Inventory - serial number" }, [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/marvell/ |
H A D | armada-388-clearfog.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include "armada-388-clearfog.dtsi" 13 compatible = "solidrun,clearfog-pro-a1", "solidrun,clearfog-a1", 18 internal-regs { 28 reset-gpios = <&expander0 2 GPIO_ACTIVE_LOW>; 34 gpio-keys { 35 compatible = "gpio-keys"; 36 pinctrl-0 = <&rear_button_pins>; 37 pinctrl-names = "default"; [all …]
|
/freebsd/lib/msun/ld80/ |
H A D | e_powl.c | 1 /*- 23 * P[0] x^n + P[1] x^(n-1) + ... + P[n] 26 __polevll(long double x, const long double *PP, int n) in __polevll() argument 34 y = y * x + *P++; in __polevll() 35 } while (--n); in __polevll() 42 * x^n + P[0] x^(n-1) + P[1] x^(n-2) + ... + P[n] 45 __p1evll(long double x, const long double *PP, int n) in __p1evll() argument 51 n -= 1; in __p1evll() 52 y = x + *P++; in __p1evll() 54 y = y * x + *P++; in __p1evll() [all …]
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-phy-v2.c | 116 #include "xgbe-common.h" 142 /* Rate-change complete wait/retry count */ 218 /* SFP Serial ID Base ID values relative to an offset of 0 */ 275 * Optical specification compliance - denotes wavelength 300 uint8_t base[64]; member 306 ((_x)->extd[XGBE_SFP_EXTD_SFF_8472] && \ 307 !((_x)->extd[XGBE_SFP_EXTD_DIAG] & XGBE_SFP_EXTD_DIAG_ADDR_CHANGE)) 314 #define XGBE_BEL_FUSE_VENDOR "BEL-FUSE " 315 #define XGBE_BEL_FUSE_PARTNO "1GBT-SFP06 " 334 /* Re-driver related definitions */ [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/dsa/ |
H A D | mediatek,mt7530.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Arınç ÜNAL <arinc.unal@arinc9.com> 11 - Landen Chao <Landen.Chao@mediatek.com> 12 - DENG Qingfang <dqfext@gmail.com> 13 - Sean Wang <sean.wang@mediatek.com> 14 - Daniel Golle <daniel@makrotopia.org> 17 There are three versions of MT7530, standalone, in a multi-chip module and 18 built-into a SoC. [all …]
|
/freebsd/sys/dev/mana/ |
H A D | shm_channel.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 45 #define SHMEM_VF_RESET_STATE ((uint32_t)-1) 66 * direction: 0 for request, VF->PF; 1 for response, PF->VF. 95 #define SMC_LAST_DWORD (SMC_APERTURE_DWORDS - 1) 98 mana_smc_poll_register(void __iomem *base, bool reset) in mana_smc_poll_register() argument 100 void __iomem *ptr = (uint8_t *)base + SMC_LAST_DWORD * SMC_BASIC_UNIT; in mana_smc_poll_register() 108 for (i = 0; i < 20 * 1000; i++) { in mana_smc_poll_register() 119 DELAY(1000); in mana_smc_poll_register() 129 void __iomem *base = sc->base; in mana_smc_read_response() local [all …]
|