| /freebsd/sys/conf/ |
| H A D | files.amd64 | 9 # The long compile-with and dependency lines are required because of 10 # limitations in config: backslash-newline doesn't work in strings, and 14 elf-vdso.so.o standard \ 16 …compile-with "env AWK='${AWK}' NM='${NM}' LD='${LD}' CC='${CC}' OBJCOPY='${OBJCOPY}' ELFDUMP='${EL… 17 no-ctfconvert \ 18 no-implicit-rule before-depend \ 19 clean "elf-vdso.so.o elf-vdso.so.1 vdso_offsets.h sigtramp.pico" 21 elf-vdso32.so.o optional compat_freebsd32 \ 23 …compile-with "env AWK='${AWK}' NM='${NM}' LD='${LD}' CC='${CC}' OBJCOPY='${OBJCOPY}' ELFDUMP='${EL… 24 no-ctfconvert \ [all …]
|
| H A D | files.powerpc | 5 # The long compile-with and dependency lines are required because of 6 # limitations in config: backslash-newline doesn't work in strings, and 14 contrib/openzfs/module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S optional zfs compile-with "${ZFS_S}" 15 contrib/openzfs/module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S optional zfs compile-with "${ZFS_S}" 18 contrib/openzfs/module/icp/asm-ppc64/sha2/sha256-p8.S optional zfs compile-with "${ZFS_S}" 19 contrib/openzfs/module/icp/asm-ppc64/sha2/sha512-p8.S optional zfs compile-with "${ZFS_S}" 20 zfs-sha256-ppc.o optional zfs \ 21 dependency "$S/contrib/openzfs/module/icp/asm-ppc64/sha2/sha256-ppc.S" \ 22 …compile-with "${CC} -c ${ZFS_ASM_CFLAGS} -o ${.TARGET} ${WERROR} $S/contrib/openzfs/module/icp/asm… 23 no-implicit-rule \ [all …]
|
| H A D | files.x86 | 10 # The long compile-with and dependency lines are required because of 11 # limitations in config: backslash-newline doesn't work in strings, and 16 compile-with "${KEYMAP} -L ${ATKBD_DFLT_KEYMAP} | ${KEYMAP_FIX} > ${.TARGET}" \ 17 no-obj no-implicit-rule before-depend \ 19 cddl/dev/fbt/x86/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}" 20 cddl/dev/dtrace/x86/dis_tables.c optional dtrace_fbt | dtraceall compile-with "${DTRACE_C}" 21 cddl/dev/dtrace/x86/instr_size.c optional dtrace_fbt | dtraceall compile-with "${DTRACE_C}" 25 …compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${NO_WCAST_QUAL} -mmmx -msse -m… 26 no-implicit-rule \ 30 …compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${NO_WCAST_QUAL} -mmmx -msse -m… [all …]
|
| H A D | files | 2 # The long compile-with and dependency lines are required because of 3 # limitations in config: backslash-newline doesn't work in strings, and 7 dependency "$S/tools/acpi_quirks2h.awk $S/dev/acpica/acpi_quirks" \ 8 compile-with "${AWK} -f $S/tools/acpi_quirks2h.awk $S/dev/acpica/acpi_quirks" \ 9 no-obj no-implicit-rule before-depend \ 12 …dependency "$S/dev/bhnd/tools/nvram_map_gen.sh $S/dev/bhnd/tools/nvram_map_gen.awk $S/dev/bhnd/nvr… 13 compile-with "sh $S/dev/bhnd/tools/nvram_map_gen.sh $S/dev/bhnd/nvram/nvram_map -h" \ 14 no-obj no-implicit-rule before-depend \ 17 …dependency "$S/dev/bhnd/tools/nvram_map_gen.sh $S/dev/bhnd/tools/nvram_map_gen.awk $S/dev/bhnd/nvr… 18 compile-with "sh $S/dev/bhnd/tools/nvram_map_gen.sh $S/dev/bhnd/nvram/nvram_map -d" \ [all …]
|
| H A D | files.arm64 | 27 arm64/acpica/pci_cfgreg.c optional acpi pci 63 arm64/arm64/locore.S standard no-obj 76 compile-with "${NORMAL_C:N-mbranch-protection*} -mbranch-protection=bti" 93 compile-with "${NOSAN_C}" 116 dev/smbios/smbios_subr.c standard 125 dev/iommu/busdma_iommu.c optional iommu 126 dev/iommu/iommu_gas.c optional iommu 137 compile-with "${NOSAN_C} -fpie" \ 138 no-obj 141 compile-with "${NOSAN_C} -fpie" \ [all …]
|
| H A D | files.riscv | 1 cddl/dev/dtrace/riscv/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" 2 cddl/dev/dtrace/riscv/dtrace_isa.c optional dtrace compile-with "${DTRACE_C}" 3 cddl/dev/dtrace/riscv/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" 4 cddl/dev/dtrace/riscv/instr_size.c optional dtrace compile-with "${DTRACE_C}" 5 cddl/dev/fbt/riscv/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}" 7 dev/cpufreq/cpufreq_dt.c optional cpufreq fdt 8 dev/ofw/ofw_cpu.c optional fdt 9 dev/ofw/ofw_pcib.c optional pci fdt 10 dev/pci/pci_dw.c optional pci fdt 11 dev/pci/pci_dw_if.m optional pci fdt [all …]
|
| /freebsd/share/man/man9/ |
| H A D | pci.9 | 30 .Nm pci , 78 .Nd PCI bus interface 84 .Fn pci_alloc_msi "device_t dev" "int *count" 86 .Fn pci_alloc_msix "device_t dev" "int *count" 88 .Fn pci_clear_pme "device_t dev" 90 .Fn pci_disable_busmaster "device_t dev" 92 .Fn pci_disable_io "device_t dev" "int space" 94 .Fn pci_enable_busmaster "device_t dev" 96 .Fn pci_enable_io "device_t dev" "int space" 98 .Fn pci_enable_pme "device_t dev" [all …]
|
| /freebsd/sys/dev/agp/ |
| H A D | agp_via.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #include <dev/agp/agppriv.h> 40 #include <dev/agp/agpreg.h> 41 #include <dev/pci/pcivar.h> 42 #include <dev/pci/pcireg.h> 65 agp_via_match(device_t dev) in agp_via_match() argument 67 if (pci_get_class(dev) != PCIC_BRIDGE in agp_via_match() 68 || pci_get_subclass(dev) != PCIS_BRIDGE_HOST) in agp_via_match() 71 if (agp_find_caps(dev) == 0) in agp_via_match() [all …]
|
| /freebsd/sys/x86/pci/ |
| H A D | pci_bus.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 41 #include <dev/pci/pcivar.h> 42 #include <dev/pci/pcireg.h> 43 #include <dev/pci/pcib_private.h> 55 legacy_pcib_maxslots(device_t dev) in legacy_pcib_maxslots() argument 63 legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, in legacy_pcib_read_config() argument 72 legacy_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, in legacy_pcib_write_config() argument 81 legacy_pcib_route_interrupt(device_t pcib, device_t dev, int pin) in legacy_pcib_route_interrupt() argument 85 return (pci_pir_route_interrupt(pci_get_bus(dev), pci_get_slot(dev), in legacy_pcib_route_interrupt() [all …]
|
| /freebsd/sys/dev/pci/ |
| H A D | pcivar.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 /* some PCI bus constants */ 37 #define PCI_MAXMAPS_1 2 /* max. no. of maps for PCI to PCI bridge */ 42 /* Config registers for PCI-PCI and PCI-Cardbus bridges. */ 51 /* Interesting values for PCI power management */ 53 uint16_t pp_cap; /* PCI power management capabilities */ 87 /* Interesting values for PCI MSI */ 97 /* Interesting values for PCI MSI-X */ 105 u_int mte_vector; /* 1-based index into msix_vectors array. */ [all …]
|
| H A D | pci_host_generic_acpi.c | 1 /*- 48 #include <contrib/dev/acpica/include/acpi.h> 49 #include <contrib/dev/acpica/include/accommon.h> 51 #include <dev/acpica/acpivar.h> 52 #include <dev/acpica/acpi_pcibvar.h> 54 #include <dev/pci/pcivar.h> 55 #include <dev/pci/pcireg.h> 56 #include <dev/pci/pcib_private.h> 57 #include <dev/pci/pci_host_generic.h> 58 #include <dev/pci/pci_host_generic_acpi.h> [all …]
|
| H A D | pci_host_generic_fdt.c | 1 /*- 51 #include <dev/ofw/openfirm.h> 52 #include <dev/ofw/ofw_bus.h> 53 #include <dev/ofw/ofw_bus_subr.h> 54 #include <dev/ofw/ofw_pci.h> 56 #include <dev/pci/pcivar.h> 57 #include <dev/pci/pcireg.h> 58 #include <dev/pci/pcib_private.h> 59 #include <dev/pci/pci_host_generic.h> 60 #include <dev/pci/pci_host_generic_fdt.h> [all …]
|
| H A D | pcib_if.m | 1 #- 30 #include <dev/pci/pcivar.h> 31 #include <dev/pci/pcib_private.h> 37 null_route_interrupt(device_t pcib, device_t dev, int pin) 55 # Return the number of slots on the attached PCI bus. 58 device_t dev; 63 # Return the number of functions on the attached PCI bus. 66 device_t dev; 70 # Read configuration space on the PCI bus. The bus, slot and func 77 device_t dev; [all …]
|
| /freebsd/sys/dev/pccbb/ |
| H A D | pccbb_pci.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 /*- 61 * Driver for PCI to CardBus Bridge chips 65 * http://www-s.ti.com/cgi-bin/sc/generic2.cgi?family=PCI+CARDBUS+CONTROLLERS 92 #include <dev/pci/pcireg.h> 93 #include <dev/pci/pcivar.h> 94 #include <dev/pci/pcib_private.h> [all …]
|
| /freebsd/sys/dev/thunderbolt/ |
| H A D | tb_pcib.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 52 #include <dev/pci/pcireg.h> 53 #include <dev/pci/pcivar.h> 54 #include <dev/pci/pcib_private.h> 55 #include <dev/pci/pci_private.h> 57 #include <contrib/dev/acpica/include/acpi.h> 58 #include <contrib/dev/acpica/include/accommon.h> 59 #include <dev/acpica/acpivar.h> 60 #include <dev/acpica/acpi_pcibvar.h> [all …]
|
| /freebsd/sys/dev/cardbus/ |
| H A D | cardbus.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2003-2008 M. Warner Losh <imp@FreeBSD.org> 43 #include <dev/pci/pcivar.h> 44 #include <dev/pci/pcireg.h> 45 #include <dev/pci/pci_private.h> 47 #include <dev/cardbus/cardbusreg.h> 48 #include <dev/cardbus/cardbusvar.h> 49 #include <dev/cardbus/cardbus_cis.h> 50 #include <dev/pccard/pccard_cis.h> [all …]
|
| /freebsd/sys/dev/bhnd/bhndb/ |
| H A D | bhndb_pci.c | 1 /*- 2 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 36 * PCI-specific implementation for the BHNDB bridge driver. 38 * Provides support for bridging from a PCI parent bus to a BHND-compatible 39 * bus (e.g. bcma or siba) via a Broadcom PCI core configured in end-point 42 * This driver handles all initial generic host-level PCI interactions with a 43 * PCI/PCIe bridge core operating in endpoint mode. Once the bridged bhnd(4) 44 * bus has been enumerated, this driver works in tandem with a core-specific 45 * bhnd_pci_hostb driver to manage the PCI core. 56 #include <dev/pci/pcireg.h> [all …]
|
| /freebsd/sys/arm64/cavium/ |
| H A D | thunder_pcie_pem_fdt.c | 43 #include <dev/ofw/openfirm.h> 44 #include <dev/ofw/ofw_bus.h> 45 #include <dev/ofw/ofw_bus_subr.h> 47 #include <dev/pci/pcivar.h> 48 #include <dev/pci/pcireg.h> 49 #include <dev/pci/pcib_private.h> 50 #include <dev/pci/pci_host_generic.h> 92 thunder_pem_fdt_probe(device_t dev) in thunder_pem_fdt_probe() argument 95 if (!ofw_bus_status_okay(dev)) in thunder_pem_fdt_probe() 98 if (ofw_bus_is_compatible(dev, "cavium,pci-host-thunder-pem")) { in thunder_pem_fdt_probe() [all …]
|
| H A D | thunder_pcie_fdt.c | 42 #include <dev/ofw/openfirm.h> 43 #include <dev/ofw/ofw_bus.h> 44 #include <dev/ofw/ofw_bus_subr.h> 46 #include <dev/pci/pcireg.h> 47 #include <dev/pci/pcivar.h> 48 #include <dev/pci/pci_host_generic.h> 49 #include <dev/pci/pci_host_generic_fdt.h> 50 #include <dev/pci/pcib_private.h> 112 return (&di->di_dinfo); in thunder_pcie_ofw_get_devinfo() 121 OF_getencprop(node, "#address-cells", addr_cells, sizeof(*addr_cells)); in get_addr_size_cells() [all …]
|
| /freebsd/sys/dev/gem/ |
| H A D | if_gem_pci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 * PCI bindings for Apple GMAC and Sun GEM Ethernet controllers 54 #include <dev/ofw/ofw_bus.h> 55 #include <dev/ofw/openfirm.h> 60 #include <dev/gem/if_gemreg.h> 61 #include <dev/gem/if_gemvar.h> 63 #include <dev/pci/pcireg.h> 64 #include <dev/pci/pcivar.h> 68 static int gem_pci_attach(device_t dev); [all …]
|
| /freebsd/sys/x86/x86/ |
| H A D | mptable_pci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 * Host to PCI and PCI to PCI bridge drivers that use the MP Table to route 30 * interrupts from PCI devices to I/O APICs. 40 #include <dev/pci/pcireg.h> 41 #include <dev/pci/pcivar.h> 42 #include <dev/pci/pcib_private.h> 49 /* Host to PCI bridge driver. */ 52 mptable_hostb_probe(device_t dev) in mptable_hostb_probe() argument 57 if (mptable_pci_probe_table(legacy_get_pcibus(dev)) != 0) in mptable_hostb_probe() [all …]
|
| /freebsd/sys/dev/acpica/ |
| H A D | acpi_pci.c | 1 /*- 43 #include <contrib/dev/acpica/include/acpi.h> 44 #include <contrib/dev/acpica/include/accommon.h> 46 #include <dev/acpica/acpivar.h> 47 #include <dev/acpica/acpi_pcivar.h> 50 #include <dev/pci/pcireg.h> 51 #include <dev/pci/pcivar.h> 52 #include <dev/pci/pci_private.h> 54 #include <dev/iommu/iommu.h> 58 ACPI_MODULE_NAME("PCI") [all …]
|
| /freebsd/sys/riscv/starfive/ |
| H A D | jh7110_pcie.c | 2 * SPDX-License-Identifier: BSD-2-Clause 25 #include <dev/clk/clk.h> 26 #include <dev/gpio/gpiobusvar.h> 27 #include <dev/hwreset/hwreset.h> 28 #include <dev/regulator/regulator.h> 29 #include <dev/syscon/syscon.h> 30 #include <dev/ofw/ofw_bus.h> 31 #include <dev/ofw/ofw_bus_subr.h> 32 #include <dev/ofw/ofw_pci.h> 33 #include <dev/ofw/ofwpci.h> [all …]
|
| /freebsd/sys/dev/ofw/ |
| H A D | ofw_pcib.c | 1 /*- 35 #include <dev/ofw/openfirm.h> 36 #include <dev/ofw/ofw_pci.h> 37 #include <dev/ofw/ofw_bus.h> 38 #include <dev/ofw/ofw_bus_subr.h> 39 #include <dev/ofw/ofwpci.h> 41 #include <dev/pci/pcivar.h> 42 #include <dev/pci/pcireg.h> 43 #include <dev/pci/pcib_private.h> 141 ofw_pcib_init(device_t dev) in ofw_pcib_init() argument [all …]
|
| /freebsd/sys/powerpc/ofw/ |
| H A D | ofw_pcib_pci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 37 #include <dev/ofw/openfirm.h> 38 #include <dev/ofw/ofw_pci.h> 39 #include <dev/ofw/ofw_bus.h> 40 #include <dev/ofw/ofw_bus_subr.h> 42 #include <dev/pci/pcivar.h> 43 #include <dev/pci/pcireg.h> 44 #include <dev/pci/pcib_private.h> 52 static phandle_t ofw_pcib_pci_get_node(device_t bus, device_t dev); [all …]
|