/linux-master/drivers/misc/cxl/ |
H A D | pci.c | 29 #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 D | ocxl.c | 76 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 D | dw-edma-pcie.c | 121 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 D | dwc_pcie_pmu.c | 524 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 D | cap.c | 214 * @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 D | tb.h | 1137 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec);
|
/linux-master/drivers/platform/x86/intel/ |
H A D | Makefile | 33 intel_vsec-y := vsec.o
|
/linux-master/drivers/misc/ocxl/ |
H A D | config.c | 41 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 D | pci.c | 732 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 D | probe.c | 1607 u16 vsec; local 1610 vsec = pci_find_vsec_capability(dev, PCI_VENDOR_ID_INTEL, PCI_VSEC_ID_INTEL_TBT); 1611 if (vsec)
|