/linux-6.14.4/arch/x86/kernel/ |
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 …]
|
/linux-6.14.4/drivers/net/ethernet/amd/pds_core/ |
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 …]
|
/linux-6.14.4/drivers/video/ |
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 <[email protected]> 8 * Copyright (C) 2001-2002 Thomas Bogendoerfer <[email protected]> 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 …]
|
/linux-6.14.4/include/linux/ |
D | pci-tph.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * According to the ECN for PCI Firmware Spec, Steering Tag can be different 16 * tph_mem_type. ECN link: https://members.pcisig.com/wg/PCI-SIG/document/15470. 34 { return -EINVAL; } in pcie_tph_set_st_entry() 38 { return -EINVAL; } in pcie_tph_get_cpu_st() 41 { return -EINVAL; } in pcie_enable_tph()
|
/linux-6.14.4/arch/x86/pci/ |
D | pcbios.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * BIOS32 and PCI BIOS handling. 8 #include <linux/pci.h> 16 #include <asm/pci-functions.h> 22 /* PCI signature: "PCI " */ 25 /* PCI service signature: "$PCI" */ 28 /* PCI BIOS hardware mechanism flags */ 36 * - AH: return code 51 * We could make the 0xe0000-0x100000 range rox, but this can break 61 set_memory_x(PAGE_OFFSET + BIOS_BEGIN, (BIOS_END - BIOS_BEGIN) >> PAGE_SHIFT); in set_bios_x() [all …]
|
/linux-6.14.4/include/uapi/linux/ |
D | virtio_pci.h | 2 * Virtio PCI driver 4 * This module allows virtio devices to be used over a virtual PCI device. 47 /* A 32-bit r/o bitmask of the features supported by the host */ 50 /* A 32-bit r/w bitmask of features activated by the guest */ 53 /* A 32-bit r/w PFN for the currently selected queue */ 56 /* A 16-bit r/o queue size for the currently selected queue */ 59 /* A 16-bit r/w queue selector */ 62 /* A 16-bit r/w queue notifier */ 65 /* An 8-bit device status register. */ 68 /* An 8-bit r/o interrupt status register. Reading the value will return the [all …]
|
/linux-6.14.4/drivers/scsi/aic94xx/ |
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 …]
|
/linux-6.14.4/drivers/vdpa/octeon_ep/ |
D | octep_vdpa_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #define MBOX_RSP_TO_ERR(val) (-(((val) & MBOX_RC_MASK) >> 2)) 35 u16 sig; member 53 return (struct octep_mbox __iomem *)(oct_hw->dev_cfg + MBOX_OFFSET); in octep_get_mbox() 60 return readx_poll_timeout(ioread32, &mbox->sts, val, MBOX_AVAIL(val), 10, in octep_wait_for_mbox_avail() 68 return readx_poll_timeout(ioread32, &mbox->sts, val, MBOX_RSP(val), 10, in octep_wait_for_mbox_rsp() 72 static inline void octep_write_hdr(struct octep_mbox __iomem *mbox, u16 id, u16 sig) in octep_write_hdr() argument 74 iowrite16(id, &mbox->hdr.id); in octep_write_hdr() 75 iowrite16(sig, &mbox->hdr.sig); in octep_write_hdr() 80 return ioread16(&mbox->hdr.sig); in octep_read_sig() [all …]
|
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_vf.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/pci.h> 32 MODULE_DEVICE_TABLE(pci, otx2_vf_id_table); 42 if (msg->id >= MBOX_MSG_MAX) { in otx2vf_process_vfaf_mbox_msg() 43 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg() 44 "Mbox msg with unknown ID %d\n", msg->id); in otx2vf_process_vfaf_mbox_msg() 48 if (msg->sig != OTX2_MBOX_RSP_SIG) { in otx2vf_process_vfaf_mbox_msg() 49 dev_err(vf->dev, in otx2vf_process_vfaf_mbox_msg() 51 msg->sig, msg->id); in otx2vf_process_vfaf_mbox_msg() 55 if (msg->rc == MBOX_MSG_INVALID) { in otx2vf_process_vfaf_mbox_msg() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/pci/ |
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 <[email protected]> 11 - Gustavo Pimentel <[email protected]> 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 …]
|
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 <[email protected]> 11 - Gustavo Pimentel <[email protected]> 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 …]
|
/linux-6.14.4/drivers/media/pci/mgb4/ |
D | mgb4_sysfs_out.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2021-2023 Digiteq Automotive 26 voutdev = vindev->mgbdev->vout[i]; in loopin_cnt() 30 config = mgb4_read_reg(&voutdev->mgbdev->video, in loopin_cnt() 31 voutdev->config->regs.config); in loopin_cnt() 32 if ((config & 0xc) >> 2 == vindev->config->id) in loopin_cnt() 43 mutex_lock(dev->lock); in is_busy() 44 ret = vb2_is_busy(dev->queue); in is_busy() 45 mutex_unlock(dev->lock); in is_busy() 58 return sprintf(buf, "%d\n", voutdev->config->id); in output_id_show() [all …]
|
/linux-6.14.4/Documentation/PCI/ |
D | tph.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 :Authors: - Eric van Tassell <[email protected]> 10 - Wei Huang <[email protected]> 22 For example, on platforms with TPH-based direct data cache injection 40 --------------------------- 46 ---------- 55 * PCI_TPH_ST_NS_MODE - NO ST Mode 56 * PCI_TPH_ST_IV_MODE - Interrupt Vector Mode 57 * PCI_TPH_ST_DS_MODE - Device Specific Mode 69 --------- [all …]
|
/linux-6.14.4/drivers/pci/hotplug/ |
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 …]
|
/linux-6.14.4/drivers/net/ethernet/broadcom/bnx2x/ |
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 …]
|
/linux-6.14.4/drivers/cdx/controller/ |
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 …]
|
/linux-6.14.4/drivers/comedi/drivers/tests/ |
D | ni_routes_test.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 28 #define B(x) ((x) - NI_NAMES_BASE) 32 static const char *pci_6070e = "pci-6070e"; 33 static const char *pci_6220 = "pci-6220"; 34 static const char *pci_fake = "pci-fake"; 185 int last = NI_NAMES_BASE - 1; in route_set_dests_in_order() 187 for (i = 0; i < devroutes->n_route_sets; ++i) { in route_set_dests_in_order() 188 if (last >= devroutes->routes[i].dest) in route_set_dests_in_order() 190 last = devroutes->routes[i].dest; in route_set_dests_in_order() [all …]
|
/linux-6.14.4/sound/pci/nm256/ |
D | nm256.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <linux/pci.h> 178 u32 buf; /* offset from chip->buffer */ 201 u32 buffer_start; /* start offset from pci resource 0 */ 231 struct pci_dev *pci; member 245 * PCI ids 254 MODULE_DEVICE_TABLE(pci, snd_nm256_ids); 264 return readb(chip->cport + offset); in snd_nm256_readb() 270 return readw(chip->cport + offset); in snd_nm256_readw() 276 return readl(chip->cport + offset); in snd_nm256_readl() [all …]
|
/linux-6.14.4/drivers/media/pci/cx18/ |
D | cx18-driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from ivtv-driver.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-version.h" 14 #include "cx18-cards.h" 15 #include "cx18-i2c.h" 16 #include "cx18-irq.h" 17 #include "cx18-gpio.h" 18 #include "cx18-firmware.h" [all …]
|
/linux-6.14.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_coredump.c | 1 /* Broadcom NetXtreme-C/E network driver. 12 #include <linux/pci.h> 52 req->flags = cpu_to_le32(flags); in bnxt_dbg_hwrm_log_buffer_flush() 53 req->type = cpu_to_le16(type); in bnxt_dbg_hwrm_log_buffer_flush() 57 *offset = le32_to_cpu(resp->current_buffer_offset); in bnxt_dbg_hwrm_log_buffer_flush() 66 __le16 *seq_ptr = msg + info->seq_off; in bnxt_hwrm_dbg_dma_data() 73 dma_buf = hwrm_req_dma_slice(bp, msg, info->dma_len, &dma_handle); in bnxt_hwrm_dbg_dma_data() 76 return -ENOMEM; in bnxt_hwrm_dbg_dma_data() 79 hwrm_req_timeout(bp, msg, bp->hwrm_cmd_max_timeout); in bnxt_hwrm_dbg_dma_data() 85 cmn_req->host_dest_addr = cpu_to_le64(dma_handle); in bnxt_hwrm_dbg_dma_data() [all …]
|
/linux-6.14.4/drivers/pci/ |
D | tph.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/pci.h> 10 #include <linux/pci-acpi.h> 13 #include <linux/pci-tph.h> 15 #include "pci.h" 17 /* System-wide TPH disabled */ 23 * firmware PCI ACPI _DSM method (rev=0x7, func=0xF, "_DSM to Query Cache 24 * Locality TPH Features"), as specified in the approved ECN for PCI Firmware 25 * Spec and available at https://members.pcisig.com/wg/PCI-SIG/document/15470. 27 * @vm_st_valid: 8-bit ST for volatile memory is valid [all …]
|
D | pci-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCI support in ACPI 13 #include <linux/pci.h> 17 #include <linux/pci-acpi.h> 18 #include <linux/pci-ecam.h> 22 #include "pci.h" 25 * The GUID is defined in the PCI Firmware Specification available 26 * here to PCI-SIG members: 27 * https://members.pcisig.com/wg/PCI-SIG/document/15350 36 struct device *dev = &adev->dev; in acpi_get_rc_addr() [all …]
|
/linux-6.14.4/drivers/media/common/ |
D | ttpci-eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Retrieve encoded MAC address from 24C16 serial 2-wire EEPROM, 16 Copyright (C) 2002-2003 Ralph Metzler <[email protected]> 29 #include "ttpci-eeprom.h" 60 /* In case there is a sig check failure have the orig contents available */ in getmac_tt() 70 return -ENODEV; in getmac_tt() 94 return -ENODEV; in ttpci_eeprom_decode_mac() 121 return (-ENODEV); in ttpci_eeprom_read_encodedMAC() 135 if (ret != 0) { /* Will only be -ENODEV */ in ttpci_eeprom_parse_mac() 159 MODULE_DESCRIPTION("Decode dvb_net MAC address from EEPROM of PCI DVB cards made by Siemens, Techno…
|
/linux-6.14.4/sound/pci/riptide/ |
D | riptide.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 - 02/15/2004 first release 11 This Driver is based on the OSS Driver version from Linuxant (riptide-0.6lnxtbeta03111100) 17 ----------------------------- -------- ----- 23 ----------------------------- -------- ----- 29 ----------------------------- -------- ----- 36 ----------------------------- -------- ----- 44 ----------------------------- -------- ----- 59 ----------------------------- -------- ----- 65 ----------------------------- -------- ----- [all …]
|
/linux-6.14.4/drivers/net/ethernet/sis/ |
D | sis190.c | 31 #include <linux/pci.h> 35 #include <linux/dma-mapping.h> 159 TxDMAShift = 8, /* DMA burst value (0-7) is shift this many bits */ 191 LSEN = 0x08000000, // TSO ? -- FR 224 RxDescCountMask = 0x7f000000, // multi-desc pkt when > 1 ? -- FR 329 { "SiS 190 PCI Fast Ethernet adapter" }, 330 { "SiS 191 PCI Gigabit Ethernet adapter" }, 339 MODULE_DEVICE_TABLE(pci, sis190_pci_tbl); 345 } debug = { -1 }; 349 MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames"); [all …]
|