Home
last modified time | relevance | path

Searched refs:vsec (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/misc/cxl/
Dpci.c29 #define CXL_READ_VSEC_LENGTH(dev, vsec, dest) \ argument
31 pci_read_config_word(dev, vsec + 0x6, dest); \
34 #define CXL_READ_VSEC_NAFUS(dev, vsec, dest) \ argument
35 pci_read_config_byte(dev, vsec + 0x8, dest)
37 #define CXL_READ_VSEC_STATUS(dev, vsec, dest) \ argument
38 pci_read_config_byte(dev, vsec + 0x9, dest)
50 #define CXL_READ_VSEC_MODE_CONTROL(dev, vsec, dest) \ argument
51 pci_read_config_byte(dev, vsec + 0xa, dest)
52 #define CXL_WRITE_VSEC_MODE_CONTROL(dev, vsec, val) \ argument
53 pci_write_config_byte(dev, vsec + 0xa, val)
[all …]
/linux-6.12.1/arch/powerpc/platforms/powernv/
Docxl.c76 int vsec = pos; in find_dvsec_from_pos() local
79 while ((vsec = pci_find_next_ext_capability(dev, vsec, in find_dvsec_from_pos()
81 pci_read_config_word(dev, vsec + OCXL_DVSEC_VENDOR_OFFSET, in find_dvsec_from_pos()
83 pci_read_config_word(dev, vsec + OCXL_DVSEC_ID_OFFSET, &id); in find_dvsec_from_pos()
85 return vsec; in find_dvsec_from_pos()
92 int vsec = 0; in find_dvsec_afu_ctrl() local
95 while ((vsec = find_dvsec_from_pos(dev, OCXL_DVSEC_AFU_CTRL_ID, in find_dvsec_afu_ctrl()
96 vsec))) { in find_dvsec_afu_ctrl()
97 pci_read_config_byte(dev, vsec + OCXL_DVSEC_AFU_CTRL_AFU_IDX, in find_dvsec_afu_ctrl()
100 return vsec; in find_dvsec_afu_ctrl()
/linux-6.12.1/drivers/dma/dw-edma/
Ddw-edma-pcie.c121 u16 vsec; in dw_edma_pcie_get_vsec_dma_data() local
124 vsec = pci_find_vsec_capability(pdev, PCI_VENDOR_ID_SYNOPSYS, in dw_edma_pcie_get_vsec_dma_data()
126 if (!vsec) in dw_edma_pcie_get_vsec_dma_data()
129 pci_read_config_dword(pdev, vsec + PCI_VNDR_HEADER, &val); in dw_edma_pcie_get_vsec_dma_data()
135 pci_read_config_dword(pdev, vsec + 0x8, &val); in dw_edma_pcie_get_vsec_dma_data()
145 pci_read_config_dword(pdev, vsec + 0xc, &val); in dw_edma_pcie_get_vsec_dma_data()
151 pci_read_config_dword(pdev, vsec + 0x14, &val); in dw_edma_pcie_get_vsec_dma_data()
153 pci_read_config_dword(pdev, vsec + 0x10, &val); in dw_edma_pcie_get_vsec_dma_data()
/linux-6.12.1/drivers/perf/
Ddwc_pcie_pmu.c525 u16 vsec = 0; in dwc_pcie_match_des_cap() local
532 vsec = pci_find_vsec_capability(pdev, vid->vendor_id, in dwc_pcie_match_des_cap()
534 if (vsec) in dwc_pcie_match_des_cap()
537 if (!vsec) in dwc_pcie_match_des_cap()
540 pci_read_config_dword(pdev, vsec + PCI_VNDR_HEADER, &val); in dwc_pcie_match_des_cap()
616 u16 vsec; in dwc_pcie_pmu_probe() local
619 vsec = pci_find_vsec_capability(pdev, pdev->vendor, in dwc_pcie_pmu_probe()
621 pci_read_config_dword(pdev, vsec + PCI_VNDR_HEADER, &val); in dwc_pcie_pmu_probe()
632 pcie_pmu->ras_des_offset = vsec; in dwc_pcie_pmu_probe()
/linux-6.12.1/drivers/misc/ocxl/
Dconfig.c41 int vsec = 0; in find_dvsec_afu_ctrl() local
45 while ((vsec = pci_find_next_ext_capability(dev, vsec, in find_dvsec_afu_ctrl()
47 pci_read_config_word(dev, vsec + OCXL_DVSEC_VENDOR_OFFSET, in find_dvsec_afu_ctrl()
49 pci_read_config_word(dev, vsec + OCXL_DVSEC_ID_OFFSET, &id); in find_dvsec_afu_ctrl()
54 vsec + OCXL_DVSEC_AFU_CTRL_AFU_IDX, in find_dvsec_afu_ctrl()
57 return vsec; in find_dvsec_afu_ctrl()
/linux-6.12.1/drivers/thunderbolt/
Dcap.c221 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec) in tb_switch_find_vse_cap() argument
238 header.extended_short.vsec_id == vsec) in tb_switch_find_vse_cap()
Dtb.h1141 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec);
/linux-6.12.1/drivers/platform/x86/intel/
DMakefile33 intel_vsec-y := vsec.o
/linux-6.12.1/Documentation/ABI/testing/
Ddebugfs-tpmi8 tpmi_id, number of entries, entry size, offset, vsec offset, lock status
/linux-6.12.1/drivers/pci/
Dprobe.c1626 u16 vsec; in set_pcie_thunderbolt() local
1629 vsec = pci_find_vsec_capability(dev, PCI_VENDOR_ID_INTEL, PCI_VSEC_ID_INTEL_TBT); in set_pcie_thunderbolt()
1630 if (vsec) in set_pcie_thunderbolt()
Dpci.c732 u16 vsec = 0; in pci_find_vsec_capability() local
739 while ((vsec = pci_find_next_ext_capability(dev, vsec, in pci_find_vsec_capability()
741 ret = pci_read_config_dword(dev, vsec + PCI_VNDR_HEADER, &header); in pci_find_vsec_capability()
746 return vsec; in pci_find_vsec_capability()
/linux-6.12.1/
DMAINTAINERS11777 F: drivers/platform/x86/intel/vsec.c