Searched refs:cap_start (Results 1 – 2 of 2) sorted by relevance
1873 int cap_start = 0, offset; in vfio_config_do_rw() local1899 cap_start = *ppos; in vfio_config_do_rw()1902 cap_start = *ppos; in vfio_config_do_rw()1916 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_config_do_rw()1926 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_config_do_rw()1930 WARN_ON(!cap_start && cap_id != PCI_CAP_ID_BASIC); in vfio_config_do_rw()1931 WARN_ON(cap_start > *ppos); in vfio_config_do_rw()1933 offset = *ppos - cap_start; in vfio_config_do_rw()
2153 u32 cap_start; in xhci_setup_port_arrays() local2185 cap_start = xhci_find_next_ext_cap(base, 0, XHCI_EXT_CAPS_PROTOCOL); in xhci_setup_port_arrays()2186 if (!cap_start) { in xhci_setup_port_arrays()2191 offset = cap_start; in xhci_setup_port_arrays()2204 offset = cap_start; in xhci_setup_port_arrays()