Searched refs:cap_start (Results 1 – 2 of 2) sorted by relevance
1891 int cap_start = 0, offset; in vfio_pci_config_rw_single() local1917 cap_start = *ppos; in vfio_pci_config_rw_single()1920 cap_start = *ppos; in vfio_pci_config_rw_single()1934 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_pci_config_rw_single()1944 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_pci_config_rw_single()1948 WARN_ON(!cap_start && cap_id != PCI_CAP_ID_BASIC); in vfio_pci_config_rw_single()1949 WARN_ON(cap_start > *ppos); in vfio_pci_config_rw_single()1951 offset = *ppos - cap_start; in vfio_pci_config_rw_single()
2222 u32 cap_start; in xhci_setup_port_arrays() local2251 cap_start = xhci_find_next_ext_cap(base, 0, XHCI_EXT_CAPS_PROTOCOL); in xhci_setup_port_arrays()2252 if (!cap_start) { in xhci_setup_port_arrays()2257 offset = cap_start; in xhci_setup_port_arrays()2270 offset = cap_start; in xhci_setup_port_arrays()