Searched refs:vsec (Results 1 - 10 of 10) sorted by relevance

/linux-master/drivers/misc/cxl/
H A Dpci.c29 #define CXL_READ_VSEC_LENGTH(dev, vsec, dest) \
31 pci_read_config_word(dev, vsec + 0x6, dest); \
34 #define CXL_READ_VSEC_NAFUS(dev, vsec, dest) \
35 pci_read_config_byte(dev, vsec + 0x8, dest)
37 #define CXL_READ_VSEC_STATUS(dev, vsec, dest) \
38 pci_read_config_byte(dev, vsec + 0x9, dest)
50 #define CXL_READ_VSEC_MODE_CONTROL(dev, vsec, dest) \
51 pci_read_config_byte(dev, vsec + 0xa, dest)
52 #define CXL_WRITE_VSEC_MODE_CONTROL(dev, vsec, val) \
53 pci_write_config_byte(dev, vsec
158 int vsec; local
659 int vsec; local
743 int vsec; local
1283 int vsec; local
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Docxl.c76 int vsec = pos; local
79 while ((vsec = pci_find_next_ext_capability(dev, vsec,
81 pci_read_config_word(dev, vsec + OCXL_DVSEC_VENDOR_OFFSET,
83 pci_read_config_word(dev, vsec + OCXL_DVSEC_ID_OFFSET, &id);
85 return vsec;
92 int vsec = 0; local
95 while ((vsec = find_dvsec_from_pos(dev, OCXL_DVSEC_AFU_CTRL_ID,
96 vsec))) {
97 pci_read_config_byte(dev, vsec
[all...]
/linux-master/drivers/dma/dw-edma/
H A Ddw-edma-pcie.c121 u16 vsec; local
124 vsec = pci_find_vsec_capability(pdev, PCI_VENDOR_ID_SYNOPSYS,
126 if (!vsec)
129 pci_read_config_dword(pdev, vsec + PCI_VNDR_HEADER, &val);
135 pci_read_config_dword(pdev, vsec + 0x8, &val);
145 pci_read_config_dword(pdev, vsec + 0xc, &val);
151 pci_read_config_dword(pdev, vsec + 0x14, &val);
153 pci_read_config_dword(pdev, vsec + 0x10, &val);
/linux-master/drivers/perf/
H A Ddwc_pcie_pmu.c524 u16 vsec = 0; local
531 vsec = pci_find_vsec_capability(pdev, vid->vendor_id,
533 if (vsec)
536 if (!vsec)
539 pci_read_config_dword(pdev, vsec + PCI_VNDR_HEADER, &val);
615 u16 vsec; local
618 vsec = pci_find_vsec_capability(pdev, pdev->vendor,
620 pci_read_config_dword(pdev, vsec + PCI_VNDR_HEADER, &val);
631 pcie_pmu->ras_des_offset = vsec;
/linux-master/drivers/thunderbolt/
H A Dcap.c214 * @vsec: Vendor specific capability to look
217 * and returns offset when capability matching @vsec is found. If no
221 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec) argument
238 header.extended_short.vsec_id == vsec)
H A Dtb.h1137 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec);
/linux-master/drivers/platform/x86/intel/
H A DMakefile33 intel_vsec-y := vsec.o
/linux-master/drivers/misc/ocxl/
H A Dconfig.c41 int vsec = 0; local
45 while ((vsec = pci_find_next_ext_capability(dev, vsec,
47 pci_read_config_word(dev, vsec + OCXL_DVSEC_VENDOR_OFFSET,
49 pci_read_config_word(dev, vsec + OCXL_DVSEC_ID_OFFSET, &id);
54 vsec + OCXL_DVSEC_AFU_CTRL_AFU_IDX,
57 return vsec;
/linux-master/drivers/pci/
H A Dpci.c732 u16 vsec = 0; local
739 while ((vsec = pci_find_next_ext_capability(dev, vsec,
741 ret = pci_read_config_dword(dev, vsec + PCI_VNDR_HEADER, &header);
746 return vsec;
H A Dprobe.c1607 u16 vsec; local
1610 vsec = pci_find_vsec_capability(dev, PCI_VENDOR_ID_INTEL, PCI_VSEC_ID_INTEL_TBT);
1611 if (vsec)

Completed in 171 milliseconds