Home
last modified time | relevance | path

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

/linux/drivers/misc/cxl/
H A 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/arch/powerpc/platforms/powernv/
H A 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/drivers/dma/dw-edma/
H A 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/drivers/perf/
H A 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/drivers/misc/ocxl/
H A 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/drivers/thunderbolt/
H A 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()
H A Dtb.h1141 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec);
/linux/drivers/platform/x86/intel/
H A DMakefile33 intel_vsec-y := vsec.o
/linux/Documentation/ABI/testing/
H A Ddebugfs-tpmi8 tpmi_id, number of entries, entry size, offset, vsec offset, lock status
/linux/drivers/pci/
H A 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()
H A 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()