/freebsd/sys/contrib/device-tree/Bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | cpuvar.h | 55 * The cpu_core structure consists of per-CPU state available in any context. 57 * NCPU-sized array of cpu_core structures must be locked in the TLB -- it 64 #define CPUC_PADSIZE CPUC_SIZE1 - CPUC_SIZE 83 * Offlined-CPUs have three stages of being offline: 97 * stay in the idle loop until CPU_QUIESCED is turned off. 103 * On some platforms CPUs can be individually powered off. 104 * The following flags are set for powered off CPUs: CPU_QUIESCED, 109 #define CPU_READY 0x002 /* CPU ready for cross-calls */ 114 #define CPU_POWEROFF 0x040 /* CPU is powered off */
|
/freebsd/sys/contrib/device-tree/Bindings/iio/dac/ |
H A D | adi,ad5421.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lars-Peter Clausen <lars@metafoo.de> 11 - Jonathan Cameron <jic23@kernel.org> 14 AD5421 is designed for us in loop-powered, 4 mA to 20 mA smart transmitter 15 applications. It provides a 16-bit DAC, current amplifier, voltage regulator 16 to drive the loop and a voltage reference. 30 - compatible 31 - reg [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-csr.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 14 * low power states due to driver-invoked device resets 15 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-drive [all...] |
/freebsd/sys/sys/ |
H A D | interrupt.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 63 #define IH_SUSP 0x00000010 /* Device is powered down. */ 78 * level-triggered interrupts until the ithread completes. The second 85 * this is implemented by enabling a level-triggered interrupt that 102 * intr_event_execute_handlers() to execute non-filter handlers. 104 * be added by splitting out the filter loop from intr_event_handle() 121 int ie_count; /* Loop counter. */ 122 int ie_warncnt; /* Rate-check interrupt storm warns. */
|
/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: 2025-04-01 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 …]
|
H A D | pci_vendors | 5 # Date: 2025-03-09 03:15:02 8 # the PCI ID Project at https://pci-ids.ucw.cz/. 14 # (version 2 or higher) or the 3-clause BSD License. 25 # device device_name <-- single tab 26 # subvendor subdevice subsystem_name <-- two tabs 30 # This is a relabelled RTL-8139 31 8139 AT-2500TX V3 Ethernet 41 7a09 PCI-to-PCI Bridge 51 7a19 PCI-to-PCI Bridge 57 7a29 PCI-to-PCI Bridge [all …]
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm_pcie_trans.c | 20 /*- 21 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 34 * Copyright(c) 2007 - 2013 Intel Corporation. All rights reserved. 55 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 60 * Copyright(c) 2005 - 2013 Intel Corporation. All rights reserved. 90 /*- 91 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 201 timeout -= 10; in iwm_poll_prph() 236 /* WADDR auto-increments */ in iwm_write_mem() 267 timo -= 10; in iwm_poll_bit() [all …]
|
H A D | if_iwmreg.h | 10 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 31 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 35 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 73 * BEGIN iwl-csr.h 81 * low power states due to driver-invoked device resets 82 * (e.g. IWM_CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 88 * The MAC (uCode processor, etc.) does not need to be powered up for accessing 95 #define IWM_CSR_INT_COALESCING (0x004) /* accum ints, 32-usec units */ 109 * 31-1 [all...] |
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha1-sparcv9a.pl | 2 # Copyright 2009-2020 The OpenSSL Project Authors. All Rights Reserved. 19 # Provided that UltraSPARC VIS instructions are pipe-lined(*) and 21 # Graphic Unit would make it possible to achieve higher instruction- 24 # code would be unsuitable for cores like UltraSPARC-Tx. The idea is 25 # not really novel, Sun had VIS-powered implementation for a while. 27 # input blocks, and as such works as drop-in replacement for OpenSSL 29 # 40% over pure IALU sha1-sparcv9.pl on UltraSPARC-IIi, but 12% on 30 # UltraSPARC-III. See below for discussion... 34 # UltraSPARC-Tx and SPARC64-V[II] to be specific. Those who feel they 35 # absolutely must score on UltraSPARC-I-IV can simply replace [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/connector/ |
H A D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ro [all...] |
/freebsd/sys/dev/ppbus/ |
H A D | lpt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 35 * ON-LINE 386BSD USER MANUAL BEFORE USE. A BOOK DISCUSSING THE INTERNALS 165 /* Printer Ready condition - from lpa.c */ 202 if (sc->sc_state & HAVEBUS) in lpt_request_ppbus() 207 sc->sc_state |= HAVEBUS; in lpt_request_ppbus() 219 if (sc->sc_state & HAVEBUS) { in lpt_release_ppbus() 222 sc->sc_state &= ~HAVEBUS; in lpt_release_ppbus() 241 } while (temp != data && --timeout); in lpt_port_test() 248 * test pattern - 1999/02/08 des@freebsd.org [all …]
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_xhci.c | 1 /*- 211 #define IPFS_WR4(_sc, _r, _v) bus_write_4((_sc)->mem_res_ipfs, (_r), (_v)) 212 #define IPFS_RD4(_sc, _r) bus_read_4((_sc)->mem_res_ipfs, (_r)) 213 #define FPCI_WR4(_sc, _r, _v) bus_write_4((_sc)->mem_res_fpci, (_r), (_v)) 214 #define FPCI_RD4(_sc, _r) bus_read_4((_sc)->mem_res_fpci, (_r)) 216 #define LOCK(_sc) mtx_lock(&(_sc)->mtx) 217 #define UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) 219 mtx_sleep(sc, &sc->mtx, 0, "tegra_xhci", timeout); 221 mtx_init(&_sc->mtx, device_get_nameunit(_sc->dev), "tegra_xhci", MTX_DEF) 222 #define LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx) [all …]
|
/freebsd/sys/dev/usb/ |
H A D | usb_hub.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2008-2022 Hans Petter Selasky 108 #define UHUB_PROTO(sc) ((sc)->sc_udev->ddesc.bDeviceProtocol) 198 usb_needs_explore(sc->sc_udev->bus, 0); in uhub_intr_callback() 206 if (xfer->error != USB_ERR_CANCELLED) { in uhub_intr_callback() 208 * Do a clear-stall. The "stall_pipe" flag in uhub_intr_callback() 220 /*------------------------------------------------------------------------* 224 *------------------------------------------------------------------------*/ 230 struct usb_device *udev = pm->udev; in uhub_reset_tt_proc() [all …]
|
/freebsd/sys/cam/ |
H A D | cam_xpt.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 83 * This is the maximum number of high powered commands (e.g. start unit) 99 /* number of high powered commands that can go through right now */ 216 /* Our boot-time initialization hook */ 324 mtx_assert(&devq->send_mtx, MA_OWNED); in xpt_schedule_devq() 325 if ((dev->ccbq.queue.entries > 0) && in xpt_schedule_devq() 326 (dev->ccbq.dev_openings > 0) && in xpt_schedule_devq() 327 (dev->ccbq.queue.qfrozen_cnt == 0)) { in xpt_schedule_devq() 334 xpt_schedule_dev(&devq->send_queue, in xpt_schedule_devq() [all …]
|
/freebsd/sys/dev/pccbb/ |
H A D | pccbb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2000-2001 Jonathan Chen All rights reserved. 5 * Copyright (c) 2002-2004 M. Warner Losh <imp@FreeBSD.org> 30 /*- 65 * http://www-s.ti.com/cgi-bin/sc/generic2.cgi?family=PCI+CARDBUS+CONTROLLERS 137 "Starting ioport for 16-bit cards"); 142 "Starting ioport for 32-bit cards"); 178 SLIST_FOREACH(rle, &sc->rl, link) { in cbb_remove_res() 179 if (rle->res == res) { in cbb_remove_res() [all …]
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_sas_lsi.c | 1 /*- 2 * Copyright (c) 2011-2015 LSI Corp. 3 * Copyright (c) 2013-2016 Avago Technologies 4 * Copyright 2000-2020 Broadcom Inc. 28 * Broadcom Inc. (LSI) MPT-Fusion Host Adapter FreeBSD 106 u16 reserved1[10]; /* 0-9 */ 107 u16 serial_number[10]; /* 10-19 */ 108 u16 reserved2[7]; /* 20-26 */ 109 u16 model_number[20]; /* 27-46*/ 110 u16 reserved3[170]; /* 47-216 */ [all …]
|
/freebsd/contrib/libpcap/ |
H A D | pcap-bpf.c | 31 * at least on *BSD and macOS, it also defines various SIOC ioctls - 51 #define USBUS_PREFIX_LEN (sizeof(usbus_prefix) - 1) 70 * values, not IBM's non-standard IFT_ values. 78 * zero-copy BPF. 129 #include "pcap-int.h" 132 #include "os-proto.h" 137 * to align the IP header on a 4-byte boundary. 149 * Zero-copy read buffer -- for zero-copy BPF. 'buffer' above will 190 * We check this by checking whether IFM_GMASK is defined and > 2^32-1. 229 * 802.11-plus-radio-header DLT_'s defined, even though some [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/pcie/ |
H A D | trans.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2007-2015, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 22 #include "iwl-dr [all...] |
/freebsd/sys/dev/gem/ |
H A D | if_gem.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2001-2003 Thomas Moestl 42 #if 0 /* XXX: In case of emergency, re-enable this. */ 151 device_printf(sc->sc_dev, "flags=0x%x\n", sc->sc_flags); in gem_attach() 154 ifp = sc->sc_ifp = if_alloc(IFT_ETHER); in gem_attach() 155 sc->sc_csum_features = GEM_CSUM_FEATURES; in gem_attach() 157 if_initname(ifp, device_get_name(sc->sc_dev), in gem_attach() 158 device_get_unit(sc->sc_dev)); in gem_attach() 166 callout_init_mtx(&sc->sc_tick_ch, &sc->sc_mtx, 0); in gem_attach() [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_parse.c | 2 …* /src/NTP/REPOSITORY/ntp4-dev/ntpd/refclock_parse.c,v 4.81 2009/05/01 10:15:29 kardel RELEASE_200… 18 * Copyright (c) 1995-2015 by Frank Kardel <kardel <AT> ntp.org> 19 …* Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Ge… 57 * - Meinberg receiver DCF77 PZF535 (TCXO version) (DCF) 58 * - Meinberg receiver DCF77 PZF535 (OCXO version) (DCF) 59 * - Meinberg receiver DCF77 PZF509 (DCF) 60 * - Meinberg receiver DCF77 AM receivers (e.g. C51) (DCF) 61 * - IGEL CLOCK (DCF) 62 * - ELV DCF7000 (DCF) 63 * - Schmid clock (DCF) [all …]
|
/freebsd/sys/dev/iwx/ |
H A D | if_iwxreg.h | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 7 /*- 8 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 19 * Copyright(c) 2018 - 2019 Intel Corporation 33 * Copyright(c) 2018 - 2019 Intel Corporation 71 * enum iwx_context_info_flags - Context information control flags 77 * exponent, the actual size is 2**value, valid sizes are 8-2048. 80 * default is short format - not supported by the driver) 114 * struct iwx_context_info_version - version structure [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi.c | 1 /*- 264 acpi_ca_version, 0, "Version of Intel ACPI-CA"); 369 * Pre-allocate space for RSDT/XSDT and DSDT tables and allow resizing in acpi_Startup() 382 /* If the user manually set the disabled hint to 0, force-enable ACPI. */ in acpi_Startup() 429 if (rsdp->Revision > 1 && rsdp->XsdtPhysicalAddress != 0) in acpi_identify() 430 paddr = (ACPI_PHYSICAL_ADDRESS)rsdp->XsdtPhysicalAddress; in acpi_identify() 432 paddr = (ACPI_PHYSICAL_ADDRESS)rsdp->RsdtPhysicalAddress; in acpi_identify() 438 sbuf_bcat(&sb, rsdt->OemId, ACPI_OEM_ID_SIZE); in acpi_identify() 441 sbuf_bcat(&sb, rsdt->OemTableId, ACPI_OEM_TABLE_ID_SIZE); in acpi_identify() 479 sc->acpi_dev = dev; in acpi_attach() [all …]
|
/freebsd/sys/dev/mpi3mr/ |
H A D | mpi3mr.c | 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2016-2025, Broadcom Inc. All rights reserved. 5 * Support: <fbsd-storage-driver.pdl@broadcom.com> 119 completion->done = 0; in init_completion() 125 completion->done = 1; in complete() 134 while ((completion->done == 0) && count) { in wait_for_completion_timeout() 136 count--; in wait_for_completion_timeout() 139 if (completion->done == 0) { in wait_for_completion_timeout() 141 completion->done = 1; in wait_for_completion_timeout() 149 while ((completion->done == 0) && count) { in wait_for_completion_timeout_tm() [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_regs_mcdi.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright 2008-2013 Solarflare Communications Inc. All rights reserved. 32 /* Power-on reset state */ 54 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 57 /* The rest of these are firmware-defined */ 65 /* Values to be written to the per-port status dword in shared 94 * | | \--- Response 95 * | \------- Error 96 * \------------------------------ Resync (always set) [all …]
|