/freebsd/sys/i386/i386/ |
H A D | bios.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 87 * BIOS32 Service Directory, PCI BIOS in bios32_init() 94 for (cv = (u_int8_t *)sdh, ck = 0, i = 0; i < (sdh->len * 16); i++) { in bios32_init() 98 if ((ck == 0) && (BIOS_START <= sdh->entry ) && in bios32_init() 99 (sdh->entry < (BIOS_START + BIOS_SIZE))) { in bios32_init() 100 bios32_SDCI = BIOS_PADDRTOVADDR(sdh->entr in bios32_init() 206 bios_sigsearch(u_int32_t start,u_char * sig,int siglen,int paralen,int sigofs) bios_sigsearch() argument 445 struct bios_oem_signature *sig; bios_oem_strings() local [all...] |
/freebsd/sys/x86/cpufreq/ |
H A D | smist.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 28 * This driver is based upon information found by examining speedstep-0.5 53 #include <dev/pci/pcivar.h> 54 #include <dev/pci/pcireg.h> 127 int15_gsic_call(int *sig, int *smi_cmd, int *command, int *smi_data, int *flags) in int15_gsic_call() argument 137 *sig = vmf.vmf_eax; in int15_gsic_call() 143 *sig = -1; in int15_gsic_call() 144 *smi_cmd = -1; in int15_gsic_call() 145 *command = -1; in int15_gsic_call() [all …]
|
/freebsd/share/man/man9/ |
H A D | bios.9 | 41 .Fn bios_sigsearch "uint32_t start" "u_char *sig" "int siglen" "int paralen" "int sigofs" 53 .Bd -literal 69 These functions provide a general-purpose interface for dealing with 70 the BIOS functions and data encountered on x86 PC-architecture systems. 71 .Bl -tag -width 20n 82 .Fa sig 100 - 104 } -terminated array of 154 (part of the PCI specification), and the existence of the directory is 157 .Bl -tag -width 20n [all …]
|
H A D | bhnd.9 | 1 .\" Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org> 392 .Bd -literal 398 .Bd -literal 406 .Bd -literal 414 .Bd -literal 417 .Bd -literal 427 .Bd -literal 435 .Bd -literal 442 .Bd -literal 512 .Bd -literal [all …]
|
/freebsd/sys/i386/include/pc/ |
H A D | bios.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 38 u_int8_t sig[4]; member 51 u_int8_t sig[4]; /* "$PnP */ member 57 u_int16_t rmentryoffset; /* real-mode entry offset */ 59 u_int16_t pmentryoffset; /* protected-mode entry offset */ 62 u_int16_t rmbiosseg; /* real-mode BIOS segment */ 63 u_int32_t pmdataseg; /* protected-mode data segment */ 146 * PCI BIOS functions 159 * PCI interrupt routing table. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | snps,dw-pcie-ep.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | snps,dw-pcie.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jingo [all...] |
/freebsd/sys/arm/arm/ |
H A D | trap-v6.c | 1 /*- 71 int sig; member 92 * - Always fatal as we do not know what does it mean. 94 * - Always fatal, but can be handled somehow in the future. 97 * - Always fatal, but who knows in the future??? 99 * - Special handling. 101 * - Always fatal as something is screwed up in page tables or hardware. 103 * - Always fatal as we do not play game with domains. 105 * - Everything should be aligned in kernel with exception of user to kernel 109 * - According to manual, this is translation fault during cache maintenance [all …]
|
/freebsd/contrib/libpcap/ |
H A D | pcap-dos.c | 2 * This file is part of DOS-libpcap 5 * pcap-dos.c: Interface to PKTDRVR, NDIS2 and 32-bit pmode 20 #include "msdos/pm_drvr/pci.h" 35 #include "msdos/pm_drvr/ne2k-pci.h" 39 #include "pcap-dos.h" 40 #include "pcap-int.h" 76 * Internal variables/functions in Watt-32 87 extern void dbug_write (const char *); /* Watt-32 lib, pcdbug.c */ 125 NDIS_NEXT_DEV, /* NULL or a 32-bit device */ 131 "Packet-Driver", [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 85 * PCI Device ID Table used by bxe_probe(). 220 MODULE_DEPEND(bxe, pci, 1, 1, 1); 222 DRIVER_MODULE(bxe, pci, bxe_driver, 0, 0); 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"); [all …]
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_misc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2011-2013 Qlogic Corporation 57 * The index to this table is Bits 20-27 of the indirect register address 128 * Address Translation Table for CRB to offsets from PCI BAR0 189 #define Q8_INVALID_ADDRESS (-1) 212 device_printf(ha->pci_dev, "%s: invalid addr 0x%08x\n", in qla_rdwr_indreg32() 214 return -1; in qla_rdwr_indreg32() 219 device_printf(ha->pci_dev, "%s: undefined map 0x%08x\n", in qla_rdwr_indreg32() 221 return -1; in qla_rdwr_indreg32() [all …]
|
/freebsd/sys/contrib/alpine-hal/ |
H A D | al_hal_pcie.h | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 38 * @defgroup grouppcie PCI Express Controller 43 * - Port initialization 44 * - Link operation 45 * - Interrupts transactions generation (Endpoint mode). 46 * - Configuration Access management functions 47 * - Internal Translation Unit programming 50 * - PCIe transactions generation and reception (except interrupts as mentioned 53 * - Configuration Access: those transactions are generated automatically by [all …]
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_def.h | 2 * Copyright (c) 2018-2019 Cavium, Inc. 43 #include <linux/pci.h> 44 #include <linux/dma-mapping.h> 170 * it reaches the maximum number of page pointers. Notice is the '-1' in the 177 sizeof(u64)) - 1) /* 64k -1 */ 179 / QLNXR_CQE_SIZE)) /* 8M -4096/32 = 8,388,480 */ 183 * (specifically 64k-1). The FW can buffer CNQ elements avoiding an overflow, on 224 #define QLNXR_MAX_SGID 128 /* TBD - add more source gids... */ 294 /* Abilty to support RNR-NAK generation */ 515 uint32_t sig; member [all …]
|
H A D | qlnxr_os.c | 2 * Copyright (c) 2018-2019 Cavium, Inc. 39 "iWARP: Delayed Ack: 0 - Disabled 1 - Enabled. Default: Disabled"); 43 "iWARP: Timestamp: 0 - Disabled 1 - Enabled. Default:Enabled"); 51 "iWARP: CRC needed 0 - Disabled 1 - Enabled. Default:Enabled"); 55 "iWARP: Support peer2peer ULPs 0 - Disabled 1 - Enabled. Default:Enabled"); 79 return sprintf(buf, "0x%x\n", dev->cdev->vendor_id); in show_rev() 87 return sprintf(buf, "QLogic0x%x\n", dev->cdev->device_id); in show_hca_type() 95 uint32_t fw_ver = (uint32_t) dev->attr.fw_ver; in show_fw_ver() 106 return sprintf(buf, "%x\n", dev->cdev->device_id); in show_board() 127 QL_DPRINT12(dev->ha, "enter\n"); in qlnxr_ib_dispatch_event() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | z_Linux_util.cpp | 2 * z_Linux_util.cpp -- platform specific routines. 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 47 // break when you try to include) <pci/types.h>. Since all we need is the two 93 (ts)->tv_sec = (tv)->tv_sec; \ 94 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 126 cond->c_cond.__c_lock.__status, cond->c_cond.__c_lock.__spinlock, in __kmp_print_cond() 127 cond->c_cond.__c_waiting); in __kmp_print_cond() 160 mask_size += sizeof(__kmp_affin_mask_size) - in __kmp_affinity_determine_capable() [all …]
|
/freebsd/sys/dev/arcmsr/ |
H A D | arcmsr.h | 11 ** SPDX-License-Identifier: BSD-3-Clause 13 ** Copyright (C) 2002 - 2012, Areca Technology Corporation All rights reserved. 43 #define ARCMSR_VIRTUAL_DEVICE_ID (ARCMSR_MAX_TARGETID - 1) 71 #define offsetof(type, member) ((size_t)(&((type *)0)->member)) 197 #define CHIP_REG_READ32(s, b, r) bus_space_read_4(acb->btag[b], acb->bhandle[b], offsetof(struct s,… 198 #define CHIP_REG_WRITE32(s, b, r, d) bus_space_write_4(acb->btag[b], acb->bhandle[b], offsetof(stru… 199 #define READ_CHIP_REG32(b, r) bus_space_read_4(acb->btag[b], acb->bhandle[b], r) 200 #define WRITE_CHIP_REG32(b, r, d) bus_space_write_4(acb->btag[b], acb->bhandle[b], r, d) 374 ** Set if Outbound Doorbell register bits 30:1 have a non-zero 486 /* ARC-1884 doorbell sync */ [all …]
|
/freebsd/share/man/man4/ |
H A D | ddb.4 | 22 .\" Pittsburgh PA 15213-3890 35 .Bd -ragged -offset indent 42 .Bd -ragged -offset indent 48 .Bd -ragged -offset indent 54 .Bd -ragged -offset indent 63 .Bd -ragged -offset indent 83 MIB variable is set non-zero, 97 is already set non-zero. 146 of -1 is equivalent to a missing 161 .Dq Li --More-- [all …]
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_cmd.c | 1 /*- 2 * Copyright (c) 2013-2019, Mellanox Technologies, Ltd. All rights reserved. 31 #include <linux/pci.h> 32 #include <linux/dma-mapping.h> 36 #include <linux/io-mapping.h> 107 return ERR_PTR(-ENOMEM); in alloc_cmd() 109 ent->in = in; in alloc_cmd() 110 ent->uin_size = uin_size; in alloc_cmd() 111 ent->out = out; in alloc_cmd() 112 ent->uou in alloc_cmd() 279 u8 sig; verify_signature() local [all...] |
/freebsd/sys/dev/jedec_dimm/ |
H A D | jedec_dimm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Copyright (c) 2018-2023 Panasas 32 * This driver is a super-set of the now-deleted jedec_ts(4), and most of the 73 * Also, the specification mandates that PCI SIG manufacturer IDs are to be 82 * http://www.analog.com/media/en/technical-documentation/data-sheets/ADT7408.pdf 88 * http://www.atmel.com/images/atmel-8868-dts-at30tse004a-datasheet.pdf 90 * uses the PCI SIG one. 99 * https://www.idt.com/document/dst/tse2004gb2b0-datasheet 106 * Document 19-3837; Rev 0; 10/05 has 0x3e00 while [all …]
|
/freebsd/usr.sbin/acpi/acpidump/ |
H A D | acpi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 96 /* Size of an address. 32-bit for ACPI 1.0, 64-bit for ACPI 2.0 and up. */ 108 "S-CRTM Contents", 109 "S-CRTM Version", 116 "Non-Host Code", 117 "Non-Host Config", 118 "Non-Host Info" 133 "S-CRTM Version String", 134 "S-CRTM Contents", [all …]
|
/freebsd/sys/dev/fb/ |
H A D | vesa.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2009-2013 Jung-uk Kim <jkim@FreeBSD.org> 59 #include <dev/pci/pcivar.h> 75 int sig; member 173 #define EOT (-1) 174 #define NA (-2) 262 /* Find the matching PCI video controller. */ in vesa_bios_post() 275 /* Try VGA if a PCI device is not found. */ in vesa_bios_post() 400 bits = 8 - bits; in vesa_bios_save_palette() [all …]
|
/freebsd/sys/dev/bhnd/ |
H A D | bhnd.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 63 BHND_IVAR_VENDOR, /**< Designer's JEP-106 manufacturer ID. */ 69 BHND_IVAR_CORE_INDEX, /**< Bus-assigned core number */ 70 BHND_IVAR_CORE_UNIT, /**< Bus-assigned core unit number, 73 BHND_IVAR_PMU_INFO, /**< Internal bus-managed PMU state */ 107 * Per-core IOCTL flags common to all bhnd(4) cores. 110 BHND_IOCTL_BIST = 0x8000, /**< Initiate a built-in self-test (BIST). Must be cleared 113 BHND_IOCTL_CFLAGS = 0x3FFC, /**< Reserved for core-specific ioctl flags. */ [all …]
|
/freebsd/stand/efi/loader/ |
H A D | main.c | 1 /*- 2 * Copyright (c) 2008-2010 Rui Paulo 6 * Copyright (c) 2016-2019 Netflix, Inc. written by M. Warner Losh 96 * in the event no currdev is found. -2 means always break, -1 means 133 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz, 0); in has_keyboard() 136 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz, in has_keyboard() 170 if ((EISA_ID_TO_NUM(acpi->HID) & 0xff00) == 0x300 && in has_keyboard() 171 (acpi->HID & 0xffff) == PNP_EISA_ID_CONST) { in has_keyboard() 185 if (usb->DeviceClass == 3 && /* HID */ in has_keyboard() 186 usb->DeviceSubClass == 1 && /* Boot devices */ in has_keyboard() [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_ahci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2015-2016 Alexander Motin <mav@FreeBSD.org> 70 FIS_TYPE_REGH2D = 0x27, /* Register FIS - host to device */ 71 FIS_TYPE_REGD2H = 0x34, /* Register FIS - device to host */ 72 FIS_TYPE_DMAACT = 0x39, /* DMA activate FIS - device to host */ 73 FIS_TYPE_DMASETUP = 0x41, /* DMA setup FIS - bidirectional */ 74 FIS_TYPE_DATA = 0x46, /* Data FIS - bidirectional */ 75 FIS_TYPE_BIST = 0x58, /* BIST activate FIS - bidirectional */ 76 FIS_TYPE_PIOSETUP = 0x5F, /* PIO setup FIS - device to host */ [all …]
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | if_bnxt.c | 1 /*- 2 * Broadcom NetXtreme-C/E network driver. 42 #include <dev/pci/pcireg.h> 51 #include <linux/pci.h> 75 * PCI Device ID Table 81 "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet Controller"), 83 "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet Controller"), 85 "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet Controller"), 87 "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet"), 89 "Broadcom BCM57312 NetXtreme- [all...] |