/openbmc/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/pci.h> 22 MODULE_DEVICE_TABLE(pci, pdsc_id_table); 28 dev_dbg(pdsc->dev, "%s: jiffies %ld\n", __func__, jiffies); in pdsc_wdtimer_cb() 29 mod_timer(&pdsc->wdtimer, in pdsc_wdtimer_cb() 30 round_jiffies(jiffies + pdsc->wdtimer_period)); in pdsc_wdtimer_cb() 32 queue_work(pdsc->wq, &pdsc->health_work); in pdsc_wdtimer_cb() 37 struct pdsc_dev_bar *bars = pdsc->bars; in pdsc_unmap_bars() 40 pdsc->info_regs = NULL; in pdsc_unmap_bars() 41 pdsc->cmd_regs = NULL; in pdsc_unmap_bars() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_pci.h | 2 * Virtio PCI driver 4 * This module allows virtio devices to be used over a virtual PCI device. 46 /* A 32-bit r/o bitmask of the features supported by the host */ 49 /* A 32-bit r/w bitmask of features activated by the guest */ 52 /* A 32-bit r/w PFN for the currently selected queue */ 55 /* A 16-bit r/o queue size for the currently selected queue */ 58 /* A 16-bit r/w queue selector */ 61 /* A 16-bit r/w queue notifier */ 64 /* An 8-bit device status register. */ 67 /* An 8-bit r/o interrupt status register. Reading the value will return the [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | probe_roms.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/pci.h> 17 #include <asm/pci-direct.h> 79 /* does this oprom support the given pci device, or any of the devices 84 struct pci_driver *drv = to_pci_driver(pdev->dev.driver); in match_id() 87 if (pdev->vendor == vendor && pdev->device == device) in match_id() 90 for (id = drv ? drv->id_table : NULL; id && id->vendor; id++) in match_id() 91 if (id->vendor == vendor && id->device == device) in match_id() 94 return id && id->vendor; in match_id() 125 if (res->end == 0) in find_oprom() [all …]
|
/openbmc/linux/drivers/video/ |
H A D | sticore.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/video/console/sticore.c - 7 * Copyright (C) 2001-2023 Helge Deller <deller@gmx.de> 8 * Copyright (C) 2001-2002 Thomas Bogendoerfer <tsbogend@alpha.franken.de> 11 * - call STI in virtual mode rather than in real mode 12 * - screen blanking with state_mgmt() in text mode STI ? 13 * - try to make it work on m68k hp workstations ;) 24 #include <linux/pci.h> 29 #include <asm/parisc-device.h> 48 if (IS_ENABLED(CONFIG_64BIT) && sti->do_call64) { in store_sti_val() [all …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_pci.h | 2 * Virtio PCI driver 4 * This module allows virtio devices to be used over a virtual PCI device. 42 #include "standard-headers/linux/types.h" 46 /* A 32-bit r/o bitmask of the features supported by the host */ 49 /* A 32-bit r/w bitmask of features activated by the guest */ 52 /* A 32-bit r/w PFN for the currently selected queue */ 55 /* A 16-bit r/o queue size for the currently selected queue */ 58 /* A 16-bit r/w queue selector */ 61 /* A 16-bit r/w queue notifier */ 64 /* An 8-bit device status register. */ [all …]
|
/openbmc/qemu/hw/loongarch/ |
H A D | acpi-build.c | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 #include "qemu/error-report.h" 12 #include "hw/pci/pci.h" 15 #include "hw/acpi/acpi-defs.h" 18 #include "hw/acpi/bios-linker-loader.h" 20 #include "hw/mem/memory-device.h" 24 #include "hw/pci-host/ls7a.h" 28 #include "hw/acpi/pci.h" 30 #include "qom/qom-qobject.h" 33 #include "hw/pci-host/gpex.h" [all …]
|
/openbmc/qemu/hw/acpi/ |
H A D | viot.c | 4 * SPDX-License-Identifier: GPL-2.0-or-later 8 #include "hw/acpi/aml-build.h" 10 #include "hw/pci/pci.h" 11 #include "hw/pci/pci_host.h" 22 build_append_int_noprefix(table_data, 1 /* PCI range */, 1); in build_pci_host_range() 29 /* PCI Segment start */ in build_pci_host_range() 31 /* PCI Segment end */ in build_pci_host_range() 33 /* PCI BDF start */ in build_pci_host_range() 35 /* PCI BDF end */ in build_pci_host_range() 43 /* Build PCI range for a given PCI host bridge */ [all …]
|
H A D | pci.c | 2 * Support for generating PCI related ACPI tables and passing them to Guests 5 * Copyright (C) 2008-2010 Kevin O'Connor <kevin@koconnor.net> 6 * Copyright (C) 2013-2019 Red Hat Inc 27 #include "qemu/error-report.h" 31 #include "hw/acpi/aml-build.h" 32 #include "hw/acpi/pci.h" 33 #include "hw/pci/pci_bridge.h" 34 #include "hw/pci/pci_device.h" 35 #include "hw/pci/pcie_host.h" 38 * PCI Firmware Specification, Revision 3.0 [all …]
|
/openbmc/linux/arch/x86/pci/ |
H A D | pcbios.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * BIOS32 and PCI BIOS handling. 6 #include <linux/pci.h> 14 #include <asm/pci-functions.h> 20 /* PCI signature: "PCI " */ 23 /* PCI service signature: "$PCI" */ 26 /* PCI BIOS hardware mechanism flags */ 38 * We could make the 0xe0000-0x100000 range rox, but this can break 48 set_memory_x(PAGE_OFFSET + BIOS_BEGIN, (BIOS_END - BIOS_BEGIN) >> PAGE_SHIFT); in set_bios_x() 50 printk(KERN_INFO "PCI: PCI BIOS area is rw and x. Use pci=nobios if you want it NX.\n"); in set_bios_x() [all …]
|
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl-nhlt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * skl-nhlt.c - Intel SKL Platform NHLT parsing 11 #include <linux/pci.h> 12 #include <sound/intel-nhlt.h> 14 #include "skl-i2s.h" 33 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in skl_nhlt_update_topology_bin() 35 struct device *dev = bus->dev; in skl_nhlt_update_topology_bin() 38 nhlt->header.oem_id, nhlt->header.oem_table_id, in skl_nhlt_update_topology_bin() 39 nhlt->header.oem_revision); in skl_nhlt_update_topology_bin() 41 snprintf(skl->tplg_name, sizeof(skl->tplg_name), "%x-%.6s-%.8s-%d%s", in skl_nhlt_update_topology_bin() [all …]
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | main.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 #include "pci.hpp" 28 /* Use CLI11 argument parser once in openbmc/meta-oe or whatever. */ 47 #define IPMIPCI_SKIP_BRIDGE_DISABLE "ipmipci-skip-bridge-disable" 61 "Usage: %s --command <command> --interface <interface> --image " in usage() 62 "<image file> --sig <signature file> --type <layout> " in usage() 63 "[--ignore-update]\n", in usage() 101 // clang-format off in main() 106 {"sig", required_argument, 0, 's'}, in main() 110 {"ignore-update", no_argument, 0, 'u'}, in main() [all …]
|
/openbmc/phosphor-ipmi-flash/ |
H A D | meson.options | 5 'bmc-blob-handler', 10 'cleanup-delete', 14 option('host-tool', type: 'feature', description: 'Build the host tool') 18 'host-bios', 24 'reboot-update', 30 'update-status', 37 'update-type', 39 choices: ['none', 'static-layout', 'tarball-ub [all...] |
H A D | README.md | 7 [here](https://github.com/openbmc/docs/blob/master/designs/firmware-update-via-blobs.md). 9 ## Building and using the host-tool 11 This repo contains a host-tool implementation for talking to the corresponding 14 ### Building the host-tool 16 The host-tool depends on ipmi-blob-tool and pciutils. 21 [xorg-macros source](https://gitlab.freedesktop.org/xorg/util/macros). 26 ./autogen.sh --prefix=/usr 41 #### Building ipmi-blob-tool 44 [ipmi-blob-tool source](https://github.com/openbmc/ipmi-blob-tool). 62 meson setup -Dexamples=false -Dtests=disabled builddir [all …]
|
/openbmc/u-boot/board/amlogic/s400/ |
H A D | README | 1 U-Boot for Amlogic S400 7 - Amlogic A113DX ARM Cortex-A53 quad-core SoC @ 1.2GHz 8 - 1GB DDR4 SDRAM 9 - 10/100 Ethernet 10 - 2 x USB 2.0 Host 11 - eMMC 12 - Infrared receiver 13 - SDIO WiFi Module 14 - MIPI DSI Connector 15 - Audio HAT Connector [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | bios-tables-test.c | 10 * See the COPYING file in the top-level directory. 17 * 2. list any changed files in tests/qtest/bios-tables-test-allowed-diff.h 20 * Contributor or ACPI Maintainer (steps 4-7 need to be redone to resolve conflicts 23 * After 1-3 above tests will pass but ignore differences with the expected files. 24 * You will also notice that tests/qtest/bios-tables-test-allowed-diff.h lists 31 * output. If not - disassemble them yourself in any way you like. 32 * Look at the differences - make sure they make sense and match what the 38 * $(SRC_PATH)/tests/data/acpi/rebuild-expected-aml.sh 48 * tests/qtest/bios-tables-test-allowed-diff.h is empty - this will ensure 52 * - patch 1: list changed files in tests/qtest/bios-tables-test-allowed-diff.h. [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | virt-acpi-build.c | 5 * Copyright (C) 2008-2010 Kevin O'Connor <kevin@koconnor.net> 32 #include "qemu/error-report.h" 35 #include "hw/acpi/acpi-defs.h" 38 #include "hw/acpi/bios-linker-loader.h" 39 #include "hw/acpi/aml-build.h" 41 #include "hw/acpi/pci.h" 46 #include "hw/pci/pcie_host.h" 47 #include "hw/pci/pci.h" 48 #include "hw/pci/pci_bus.h" 49 #include "hw/pci-host/gpex.h" [all …]
|
/openbmc/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_sds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/pci.h> 18 /* ---------- OCM stuff ---------- */ 28 char sig[2]; member 55 .sig = {0x4D, 0x4F}, /* signature */ 92 char sig[4]; member 108 * asd_read_ocm_seg - read an on chip memory (OCM) segment 120 if (unlikely(asd_ha->iospace)) in asd_read_ocm_seg() 123 for ( ; size > 0; size--, offs++, p++) in asd_read_ocm_seg() 138 if (dir->sig[0] != 'M' || dir->sig[1] != 'O') { in asd_read_ocm_dir() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_vf.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/pci.h> 30 MODULE_DEVICE_TABLE(pci, otx2_vf_id_table); 40 if (msg->id >= MBOX_MSG_MAX) { in otx2vf_process_vfaf_mbox_msg() 41 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg() 42 "Mbox msg with unknown ID %d\n", msg->id); in otx2vf_process_vfaf_mbox_msg() 46 if (msg->sig != OTX2_MBOX_RSP_SIG) { in otx2vf_process_vfaf_mbox_msg() 47 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg() 49 msg->sig, msg->id); in otx2vf_process_vfaf_mbox_msg() 53 if (msg->rc == MBOX_MSG_INVALID) { in otx2vf_process_vfaf_mbox_msg() [all …]
|
/openbmc/linux/Documentation/devicetree/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-schemas/core.yaml# 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 16 # Please create a separate DT-schema for your DWC PCIe Endpoint controller 17 # and make sure it's assigned with the vendor-specific compatible string. 21 const: snps,dw-pcie-ep 23 - compatible [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 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 16 # Please create a separate DT-schema for your DWC PCIe Root Port controller 17 # and make sure it's assigned with the vendor-specific compatible string. 21 const: snps,dw-pcie 23 - compatible [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | acpi-build.c | 3 * Copyright (C) 2008-2010 Kevin O'Connor <kevin@koconnor.net> 26 #include "acpi-build.h" 27 #include "acpi-common.h" 29 #include "qemu/error-report.h" 30 #include "hw/pci/pci_bridge.h" 35 #include "hw/acpi/acpi-defs.h" 39 #include "hw/acpi/bios-linker-loader.h" 51 #include "hw/mem/memory-device.h" 55 #include "hw/hyperv/vmbus-bridge.h" 62 #include "hw/pci/pci_bus.h" [all …]
|
/openbmc/linux/drivers/cdx/controller/ |
H A D | mc_cdx_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc. 22 * | | \--- Response 23 * | \------- Error 24 * \------------------------------ Resync (always set) 76 * - To advance a shared memory request if XFLAGS_EVREQ was set 77 * - As a notification (link state, i2c event), controlled 89 * - LEVEL==INFO Command succeeded 90 * - LEVEL==ERR Command failed 101 * non-existent MCDI command MC_CMD_DEBUG_LOG. [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | acpiphp_ibm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * ACPI PCI Hot Plug IBM Extension 23 #include <linux/pci.h> 27 #include "../pci.h" 31 #define DRIVER_DESC "ACPI Hot Plug PCI Controller Driver IBM extension" 40 /* these are the names for the IBM ACPI pseudo-device */ 44 #define hpslot_to_sun(A) (to_slot(A)->sun) 46 /* union apci_descriptor - allows access to the 52 char sig[4]; member 74 /* struct notification - keeps info about the device [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 3 * Copyright (c) 2007-2013 Broadcom Corporation 31 #include <linux/pci.h> 36 #include <linux/dma-mapping.h> 83 #define FW_FILE_NAME_E1 "bnx2x/bnx2x-e1-" FW_FILE_VERSION ".fw" 84 #define FW_FILE_NAME_E1H "bnx2x/bnx2x-e1h-" FW_FILE_VERSION ".fw" 85 #define FW_FILE_NAME_E2 "bnx2x/bnx2x-e2-" FW_FILE_VERSION ".fw" 86 #define FW_FILE_NAME_E1_V15 "bnx2x/bnx2x-e1-" FW_FILE_VERSION_V15 ".fw" 87 #define FW_FILE_NAME_E1H_V15 "bnx2x/bnx2x-e1h-" FW_FILE_VERSION_V15 ".fw" 88 #define FW_FILE_NAME_E2_V15 "bnx2x/bnx2x-e2-" FW_FILE_VERSION_V15 ".fw" 117 MODULE_PARM_DESC(int_mode, " Force interrupt mode other than MSI-X " [all …]
|
/openbmc/qemu/include/hw/pci/ |
H A D | pcie_doe.h | 7 * See the COPYING file in the top-level directory. 18 * PCIe r6.0 - 7.9.24 Data Object Exchange Extended Capability 20 /* Capabilities Register - r6.0 7.9.24.2 */ 26 /* Control Register - r6.0 7.9.24.3 */ 33 /* Status Register - r6.0 7.9.24.4 */ 41 /* Write Data Mailbox Register - r6.0 7.9.24.5 */ 44 /* Read Data Mailbox Register - 7.9.xx.6 */ 47 /* PCI-SIG defined Data Object Types - r6.0 Table 6-32 */ 56 #define DATA_OBJ_LEN_MASK(len) ((len) & (PCI_DOE_DW_SIZE_MAX - 1)) 112 /* Used for spdm-socket */
|