/freebsd/sys/contrib/device-tree/Bindings/usb/ |
H A D | usb251xb.txt | 1 Microchip USB 2.0 Hi-Speed Hub Controller 4 Hi-Speed Controller. 7 - compatible : Should be "microchip,usb251xb" or one of the specific types: 11 - reg : I2C address on the selected bus (default is <0x2C>) 14 - reset-gpios : Should specify the gpio for hub reset 15 - vdd-supply : Should specify the phandle to the regulator supplying vdd 16 - skip-config : Skip Hub configuration, but only send the USB-Attach command 17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) 18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type) 19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3) [all …]
|
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/accel/ |
H A D | lis302.txt | 8 - compatible: should be set to "st,lis3lv02d-spi" 9 - reg: the chipselect index 10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless 12 - interrupts: the interrupt generated by the device 15 - compatible: should be set to "st,lis3lv02d" 16 - reg: i2c slave address 17 - Vdd-supply: The input supply for Vdd 18 - Vdd_IO-supply: The input supply for Vdd_IO 23 - st,click-single-{x,y,z}: if present, tells the device to issue an 26 - st,click-double-{x,y,z}: if present, tells the device to issue an [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/dsa/ |
H A D | microchip,ksz.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 11 - Woojung Huh <Woojung.Huh@microchip.com> 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 21 - microchip,ksz8765 22 - microchip,ksz8794 23 - microchip,ksz8795 24 - microchip,ksz8863 [all …]
|
/freebsd/sys/dev/sound/pci/ |
H A D | maestro3.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * Maestro-3/Allegro FreeBSD pcm sound driver 35 * (+) /dev/dsp config (speed, mono/stereo, 8/16 bit). 39 * (-) hardware volme controls don't work =-( 40 * (-) setblocksize() does nothing. 50 * Taku YAMAMOTO for his Maestro-1/2 FreeBSD driver and sanity reference. 51 * <taku@cent.saitama-u.ac.jp> 72 /* -------------------------------------------------------------------- */ 74 enum {CHANGE=0, CALL=1, INTR=2, BORING=3, NONE=-1}; [all …]
|
/freebsd/sys/dev/firewire/ |
H A D | if_fwip.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 6 * Copyright (c) 2002-2003 79 #define TX_MAX_QUEUE (FWMAXQUEUE - 1) 118 fwip = ((struct fwip_eth_softc *)if_getsoftc(ifp))->fwip; in fwip_poll() 119 fc = fwip->fd.fc; in fwip_poll() 120 fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count); in fwip_poll() 155 ifp = fwip->fw_softc.fwip_ifp = if_alloc(IFT_IEEE1394); in fwip_attach() 157 mtx_init(&fwip->mtx, "fwip", NULL, MTX_DEF); in fwip_attach() 159 fwip->dma_ch = -1; in fwip_attach() [all …]
|
H A D | sbp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 5 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 75 #define SBP_QUEUE_LEN ((SBP_DMA_SIZE - SBP_LOGIN_SIZE) / sizeof(struct sbp_ocb)) 81 *--- 2351 int speed; sbp_action() local [all...] |
H A D | fwohci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 5 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 121 #define OWRITE(sc, r, x) bus_space_write_4((sc)->bst, (sc)->bsh, (r), (x)) 122 #define OREAD(sc, r) bus_space_read_4((sc)->bst, (sc)->bsh, (r)) 299 device_printf(sc->fc.dev, "%s: %d->%d (loop=%d)\n", in fwohci_set_bus_manager() 324 device_printf(sc->fc.dev, "%s: failed(1).\n", __func__); in fwphy_rddata() 335 device_printf(sc->fc.dev, "%s: failed(2).\n", __func__); in fwphy_rddata() 342 device_printf(sc->fc.dev, in fwphy_rddata() 364 fc = (struct fwohci_softc *)sc->fc; in fwohci_ioctl() [all …]
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | xxhash.h | 2 * xxHash - Fast Hash algorithm 6 * - xxHash homepage: http://www.xxhash.com 7 * - xxHash source repository : https://github.com/Cyan4973/xxHash 9 * This source code is licensed under both the BSD-style license (found in the 12 * You may select, at your option, one of the above-listed licenses. 33 xxHash is an extremely fast hash algorithm, running at RAM speed limits. 38 Name Speed Q.Score Author 49 MD5-32 0.33 GB/s 10 Ronald L. Rivest 50 SHA1-32 0.28 GB/s 10 57 Other speed-oriented implementations can be faster, [all …]
|
/freebsd/contrib/tcsh/ |
H A D | sh.hist.c | 4 /*- 79 struct Hist *fp = pp->Hnext; /* following element, if any */ in hinsert() 80 hp->Hnext = fp, hp->Hprev = pp; in hinsert() 81 pp->Hnext = hp; in hinsert() 83 fp->Hprev = hp; in hinsert() 85 histTail = hp; /* meaning hp->Hnext == NULL */ in hinsert() 93 struct Hist *pp = hp->Hprev; in hremove() 95 pp->Hnext = hp->Hnext; in hremove() 96 if (hp->Hnext) in hremove() 97 hp->Hnext->Hprev = pp; in hremove() [all …]
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_main.c | 2 SPDX-License-Identifier: BSD-2-Clause 4 Copyright (c) 2007-2009, Chelsio Inc. 153 {PCI_VENDOR_ID_CHELSIO, 0x0036, 3, "S320E-CR"}, 154 {PCI_VENDOR_ID_CHELSIO, 0x0037, 7, "N320E-G2"}, 176 nitems(cxgb_identifiers) - 1); 228 * order MSI-X, MSI, legacy pin interrupts. This parameter determines which 240 "MSI-X, MSI, INTx selector"); 243 * The driver uses an auto-queue algorithm by default. 244 * To disable it and force a single queue-set per port, use multiq = 0 248 "use min(ncpus/ports, 8) queue-sets per port"); [all …]
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_main.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 272 * Each tunable is set to a default value here if it's known at compile-time. 273 * Otherwise it is set to -n as an indication to tweak_tunables() that it should 290 int t4_ntxq = -NTXQ; 296 int t4_nrxq = -NRXQ; 302 static int t4_ntxq_vi = -NTXQ_VI; 307 static int t4_nrxq_vi = -NRXQ_VI; 313 0, "Reserve TX queue 0 of each VI for non-flowid packets"); 317 static int t4_nofldtxq = -NOFLDTXQ; [all …]
|
/freebsd/share/misc/ |
H A D | usb_vendors | 6 # http://www.linux-usb.org/usb-ids.html 7 # or send entries as patches (diff -u old new) in the 10 # http://www.linux-usb.org/usb.ids 13 # Date: 2024-12-04 20:34:02 20 # device device_name <-- single tab 21 # interface interface_name <-- two tabs 38 5301 GW-US54ZGL 802.11bg 54 145f NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211] 62 0200 TP-Link 81 120e ASI120MC-S Planetary Camera [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | ste-ux500-samsung-skomer.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8505.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-kyle.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle. 10 /dts-v1/; 11 #include "ste-db8500.dtsi" 12 #include "ste-ab8505.dtsi" 13 #include "ste-dbx5x0-pinctr [all...] |
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_vf.c | 2 * Copyright (c) 2018-2019 Cavium, Inc. 45 #pragma warning(disable : 28167) 46 #pragma warning(disable : 28123) 47 #pragma warning(disable : 28121) 53 struct ecore_vf_iov *p_iov = p_hwfn->vf_iov_info; in ecore_vf_pf_prep() 61 OSAL_MUTEX_ACQUIRE(&(p_iov->mutex)); in ecore_vf_pf_prep() 67 p_iov->offset = (u8 *)p_iov->vf2pf_request; in ecore_vf_pf_prep() 69 /* Clear mailbox - both request and reply */ in ecore_vf_pf_prep() 70 OSAL_MEMSET(p_iov->vf2pf_request, 0, in ecore_vf_pf_prep() 72 OSAL_MEMSET(p_iov->pf2vf_reply, 0, in ecore_vf_pf_prep() [all …]
|
H A D | ecore_rdma.c | 2 * Copyright (c) 2018-2019 Cavium, Inc. 64 bmap->max_count = max_count; in ecore_rdma_bmap_alloc() 67 bmap->bitmap = OSAL_NULL; in ecore_rdma_bmap_alloc() 74 bmap->bitmap = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, size_in_bytes); in ecore_rdma_bmap_alloc() 75 if (!bmap->bitmap) in ecore_rdma_bmap_alloc() 83 OSAL_SNPRINTF(bmap->name, QEDR_MAX_BMAP_NAME, "%s", name); in ecore_rdma_bmap_alloc() 93 *id_num = OSAL_FIND_FIRST_ZERO_BIT(bmap->bitmap, bmap->max_count); in ecore_rdma_bmap_alloc_id() 94 if (*id_num >= bmap->max_count) in ecore_rdma_bmap_alloc_id() 97 OSAL_SET_BIT(*id_num, bmap->bitmap); in ecore_rdma_bmap_alloc_id() 100 bmap->name, *id_num); in ecore_rdma_bmap_alloc_id() [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_type.h | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 42 * - IXGBE_ERROR_INVALID_STATE 48 * - IXGBE_ERROR_POLLING 53 * - IXGBE_ERROR_CAUTION 58 * - IXGBE_ERROR_SOFTWARE 64 * - IXGBE_ERROR_ARGUMENT 69 * - IXGBE_ERROR_UNSUPPORTED 162 #define IXGBE_BY_MAC(_hw, r) ((_hw)->mvals[IXGBE_CAT(r, _IDX)]) 419 (0x012300 + (((_i) - 24) * 4))) [all …]
|
/freebsd/stand/ficl/ |
H A D | ficl.h | 10 ** Copyright (c) 1997-2001 John Sadler (john_sadler@alum.mit.edu) 48 ** Ficl (Forth-inspired command language) is an ANS Forth 66 ** interpreter is re-entrant, so it can be used in multiple instances 80 ** - Standard: Implements the ANSI Forth CORE word set and part 81 ** of the CORE EXT word-set, SEARCH and SEARCH EXT, TOOLS and 83 ** - Extensible: you can export code written in Forth, C, 87 ** - Ficl and C can interact in two ways: Ficl can encapsulate 89 ** - Thread-safe, re-entrant: The shared system dictionary 94 ** - Simple encapsulation into existing systems: a basic implementation 96 ** - ROMable: Ficl is designed to work in RAM-based and ROM code / RAM data [all …]
|
/freebsd/sys/dev/nge/ |
H A D | if_nge.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 19 * 4. Neither the name of the author nor the names of any co-contributors 45 * sold by D-Link, Addtron, SMC and Asante. Both parts are 46 * virtually the same, except the 83820 is a 64-bit/32-bit part, 47 * while the 83821 is 32-bit only. 68 * moderation. The 83820 supports both 64-bit and 32-bit addressing 69 * and data transfers: the 64-bit support can be toggled on or off 76 * - Receive buffers must be aligned on 64-bit boundaries, which means 80 * - In order to transmit jumbo frames larger than 8170 bytes, you have [all …]
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-dev.c | 4 * Copyright (c) 2014-2016,2020 Advanced Micro Devices, Inc. 116 #include "xgbe-common.h" 122 return (if_getmtu(pdata->netdev) + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN); in xgbe_get_max_frame() 131 rate = pdata->sysclk_rate; in xgbe_usec_to_riwt() 150 rate = pdata->sysclk_rate; in xgbe_riwt_to_usec() 170 pbl = pdata->pbl; in xgbe_config_pbl_val() 172 if (pdata->pbl > 32) { in xgbe_config_pbl_val() 177 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_pbl_val() 178 XGMAC_DMA_IOWRITE_BITS(pdata->channel[i], DMA_CH_CR, PBLX8, in xgbe_config_pbl_val() 181 if (pdata->channel[i]->tx_ring) in xgbe_config_pbl_val() [all …]
|
/freebsd/sys/dev/bxe/ |
H A D | bxe.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2014 QLogic Corporation. All rights reserved. 64 * FLR Support - bxe_pf_flr_clnup() is called during nic_load in the per 241 static int load_count[2][3] = { {0} }; /* per-path: 0-common, 1-port0, 2-port1 */ 253 /* Interrupt Mode: 0 (IRQ), 1 (MSI/IRQ), and 2 (MSI-X/MSI/IRQ) */ 256 &bxe_interrupt_mode, 0, "Interrupt (MSI-X/MSI/INTx) mode"); 261 &bxe_queue_count, 0, "Multi-Queue queue count"); 288 /* PCI MRRS: -1 (Auto), 0 (128B), 1 (256B), 2 (512B), 3 (1KB) */ 289 static int bxe_mrrs = -1; [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-trans.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 15 #include "iwl-debu 277 IWL_MASK(lo,hi) global() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 1 //===-- X86ISelLowering.cpp - X86 DAG Lowering Implementation -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 71 #define DEBUG_TYPE "x86-isel" 74 "x86-experimental-pref-innermost-loop-alignment", cl::init(4), 78 "alignment set by x86-experimental-pref-loop-alignment."), 82 "x86-br-merging-base-cost", cl::init(2), 88 "will be merged, and above which conditionals will be split. Set to -1 " 93 "x86-br-merging-ccmp-bias", cl::init(6), [all …]
|
/freebsd/sys/dev/oce/ |
H A D | oce_hw.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 34 * freebsd-drivers@emulex.com 222 #define OCE_INTF_SLI_REV4 4 /* driver supports SLI-4 */ 277 uint32_t hi; member 524 uint32_t hi:1; member 528 uint32_t hi:1; 665 uint8_t speed; member 687 uint8_t speed; 845 /* ---[ MBXs start here ]---------------------------------------------- */ [all …]
|