Searched refs:cap_start (Results 1 – 3 of 3) sorted by relevance
1874 int cap_start = 0, offset; in vfio_config_do_rw() local1900 cap_start = *ppos; in vfio_config_do_rw()1903 cap_start = *ppos; in vfio_config_do_rw()1917 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_config_do_rw()1927 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_config_do_rw()1931 WARN_ON(!cap_start && cap_id != PCI_CAP_ID_BASIC); in vfio_config_do_rw()1932 WARN_ON(cap_start > *ppos); in vfio_config_do_rw()1934 offset = *ppos - cap_start; in vfio_config_do_rw()
716 u8 *dvsec_start, *cap_start; in cxl_cper_post_prot_err() local753 cap_start = dvsec_start + prot_err->dvsec_len; in cxl_cper_post_prot_err()755 memcpy(&wd.ras_cap, cap_start, sizeof(wd.ras_cap)); in cxl_cper_post_prot_err()
2197 u32 cap_start; in xhci_setup_port_arrays() local2229 cap_start = xhci_find_next_ext_cap(base, 0, XHCI_EXT_CAPS_PROTOCOL); in xhci_setup_port_arrays()2230 if (!cap_start) { in xhci_setup_port_arrays()2235 offset = cap_start; in xhci_setup_port_arrays()2248 offset = cap_start; in xhci_setup_port_arrays()