Home
last modified time | relevance | path

Searched refs:cap_start (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_config.c1868 int cap_start = 0, offset; in vfio_config_do_rw() local
1894 cap_start = *ppos; in vfio_config_do_rw()
1897 cap_start = *ppos; in vfio_config_do_rw()
1903 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_config_do_rw()
1913 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_config_do_rw()
1917 WARN_ON(!cap_start && cap_id != PCI_CAP_ID_BASIC); in vfio_config_do_rw()
1918 WARN_ON(cap_start > *ppos); in vfio_config_do_rw()
1920 offset = *ppos - cap_start; in vfio_config_do_rw()
/linux-6.6.21/drivers/usb/host/
Dxhci-mem.c2134 u32 cap_start; in xhci_setup_port_arrays() local
2166 cap_start = xhci_find_next_ext_cap(base, 0, XHCI_EXT_CAPS_PROTOCOL); in xhci_setup_port_arrays()
2167 if (!cap_start) { in xhci_setup_port_arrays()
2172 offset = cap_start; in xhci_setup_port_arrays()
2190 offset = cap_start; in xhci_setup_port_arrays()