Home
last modified time | relevance | path

Searched refs:cap_offset (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/pci/
Ddoe.c51 u16 cap_offset; member
71 int offset = doe_mb->cap_offset; in pci_doe_write_ctrl()
79 int offset = doe_mb->cap_offset; in pci_doe_abort()
112 int offset = doe_mb->cap_offset; in pci_doe_send_req()
156 int offset = doe_mb->cap_offset; in pci_doe_data_obj_ready()
168 int offset = doe_mb->cap_offset; in pci_doe_recv_resp()
178 doe_mb->cap_offset, task->prot.vid, task->prot.type, in pci_doe_recv_resp()
240 doe_mb->cap_offset); in signal_task_abort()
252 int offset = doe_mb->cap_offset; in doe_statemachine_work()
373 doe_mb->cap_offset, xa_idx, vid, prot); in pci_doe_cache_protocols()
[all …]
/linux-6.1.9/drivers/xen/xen-pciback/
Dconf_space_capability.c43 int cap_offset; in xen_pcibk_config_capability_add_fields() local
46 cap_offset = pci_find_capability(dev, cap->capability); in xen_pcibk_config_capability_add_fields()
47 if (cap_offset) { in xen_pcibk_config_capability_add_fields()
49 cap->capability, cap_offset); in xen_pcibk_config_capability_add_fields()
53 cap_offset); in xen_pcibk_config_capability_add_fields()
58 cap_offset); in xen_pcibk_config_capability_add_fields()
/linux-6.1.9/drivers/usb/host/
Dxhci-ext-caps.c28 static int xhci_create_intel_xhci_sw_pdev(struct xhci_hcd *xhci, u32 cap_offset) in xhci_create_intel_xhci_sw_pdev() argument
44 res.start = hcd->rsrc_start + cap_offset; in xhci_create_intel_xhci_sw_pdev()
/linux-6.1.9/drivers/pci/hotplug/
Dshpchp_hpc.c201 u32 cap_offset = ctrl->cap_offset; in shpc_indirect_read() local
204 rc = pci_write_config_byte(pdev, cap_offset + DWORD_SELECT, index); in shpc_indirect_read()
207 return pci_read_config_dword(pdev, cap_offset + DWORD_DATA, value); in shpc_indirect_read()
931 ctrl->cap_offset = pci_find_capability(pdev, PCI_CAP_ID_SHPC); in shpc_init()
932 if (!ctrl->cap_offset) { in shpc_init()
936 ctrl_dbg(ctrl, " cap_offset = %x\n", ctrl->cap_offset); in shpc_init()
Dshpchp.h102 u32 cap_offset; member
/linux-6.1.9/drivers/pci/controller/
Dpcie-altera.c112 u32 cap_offset; /* PCIe capability structure register offset */ member
144 pcie->pcie_data->cap_offset + in s10_altera_pcie_link_up()
547 pcie->pcie_data->cap_offset + offset, in altera_read_cap_word()
558 pcie->pcie_data->cap_offset + offset, in altera_write_cap_word()
736 .cap_offset = 0x80,
747 .cap_offset = 0x70,
Dpcie-microchip-host.c388 u32 cap_offset = MC_MSI_CAP_CTRL_OFFSET; in mc_pcie_enable_msi() local
389 u16 msg_ctrl = readw_relaxed(base + cap_offset + PCI_MSI_FLAGS); in mc_pcie_enable_msi()
398 writew_relaxed(msg_ctrl, base + cap_offset + PCI_MSI_FLAGS); in mc_pcie_enable_msi()
401 base + cap_offset + PCI_MSI_ADDRESS_LO); in mc_pcie_enable_msi()
403 base + cap_offset + PCI_MSI_ADDRESS_HI); in mc_pcie_enable_msi()
/linux-6.1.9/include/linux/
Dpci-doe.h73 struct pci_doe_mb *pcim_doe_create_mb(struct pci_dev *pdev, u16 cap_offset);
/linux-6.1.9/include/uapi/linux/
Dvfio.h214 __u32 cap_offset; /* Offset within info struct of first cap */ member
259 __u32 cap_offset; /* Offset within info struct of first cap */ member
1147 __u32 cap_offset; /* Offset within info struct of first cap */ member
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_init.c287 uint32_t *cap_offset; in qla4_80xx_is_minidump_dma_capable() local
289 cap_offset = (uint32_t *)((char *)md_hdr + offset); in qla4_80xx_is_minidump_dma_capable()
291 if (!(le32_to_cpu(*cap_offset) & BIT_0)) { in qla4_80xx_is_minidump_dma_capable()
293 *cap_offset); in qla4_80xx_is_minidump_dma_capable()
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dmac.c19 u16 pcie_link_status, cap_offset; in e1000e_get_bus_info_pcie() local
21 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
22 if (!cap_offset) { in e1000e_get_bus_info_pcie()
26 cap_offset + PCIE_LINK_STATUS, in e1000e_get_bus_info_pcie()
/linux-6.1.9/drivers/s390/cio/
Dvfio_ccw_ops.c321 info->cap_offset = 0; in vfio_ccw_mdev_get_region_info()
329 info->cap_offset = sizeof(*info); in vfio_ccw_mdev_get_region_info()
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_core.c887 capsz = offsetofend(struct vfio_iommu_type1_info, cap_offset); in vfio_pci_ioctl_get_info()
897 info.cap_offset = 0; in vfio_pci_ioctl_get_info()
925 info.cap_offset = sizeof(*arg); in vfio_pci_ioctl_get_info()
1059 info.cap_offset = 0; in vfio_pci_ioctl_get_region_info()
1066 info.cap_offset = sizeof(*arg); in vfio_pci_ioctl_get_region_info()
/linux-6.1.9/drivers/vfio/
Dvfio_iommu_type1.c2793 capsz = offsetofend(struct vfio_iommu_type1_info, cap_offset); in vfio_iommu_type1_get_info()
2803 info.cap_offset = 0; /* output, no-recopy necessary */ in vfio_iommu_type1_get_info()
2837 info.cap_offset = sizeof(info); in vfio_iommu_type1_get_info()
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1306 info.cap_offset = 0; in intel_vgpu_ioctl()
1316 info.cap_offset = sizeof(info); in intel_vgpu_ioctl()
/linux-6.1.9/samples/vfio-mdev/
Dmbochs.c1069 ext->base.cap_offset = offsetof(typeof(*ext), type); in mbochs_get_region_info()