Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/drivers/dma/dw-edma/
Ddw-edma-pcie.c106 u16 vsec; in dw_edma_pcie_get_vsec_dma_data() local
109 vsec = pci_find_vsec_capability(pdev, PCI_VENDOR_ID_SYNOPSYS, in dw_edma_pcie_get_vsec_dma_data()
111 if (!vsec) in dw_edma_pcie_get_vsec_dma_data()
114 pci_read_config_dword(pdev, vsec + PCI_VNDR_HEADER, &val); in dw_edma_pcie_get_vsec_dma_data()
120 pci_read_config_dword(pdev, vsec + 0x8, &val); in dw_edma_pcie_get_vsec_dma_data()
130 pci_read_config_dword(pdev, vsec + 0xc, &val); in dw_edma_pcie_get_vsec_dma_data()
136 pci_read_config_dword(pdev, vsec + 0x14, &val); in dw_edma_pcie_get_vsec_dma_data()
138 pci_read_config_dword(pdev, vsec + 0x10, &val); in dw_edma_pcie_get_vsec_dma_data()
/linux-6.1.9/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.1.9/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.h1052 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec);
/linux-6.1.9/drivers/platform/x86/intel/
DMakefile33 intel_vsec-y := vsec.o
/linux-6.1.9/drivers/pci/
Dprobe.c1583 u16 vsec; in set_pcie_thunderbolt() local
1586 vsec = pci_find_vsec_capability(dev, PCI_VENDOR_ID_INTEL, PCI_VSEC_ID_INTEL_TBT); in set_pcie_thunderbolt()
1587 if (vsec) in set_pcie_thunderbolt()
Dpci.c721 u16 vsec = 0; in pci_find_vsec_capability() local
727 while ((vsec = pci_find_next_ext_capability(dev, vsec, in pci_find_vsec_capability()
729 if (pci_read_config_dword(dev, vsec + PCI_VNDR_HEADER, in pci_find_vsec_capability()
732 return vsec; in pci_find_vsec_capability()
/linux-6.1.9/
DMAINTAINERS10577 F: drivers/platform/x86/intel/vsec.*