Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci_config.c1811 int cap_start = 0, offset; in vfio_config_do_rw() local
1837 cap_start = *ppos; in vfio_config_do_rw()
1840 cap_start = *ppos; in vfio_config_do_rw()
1846 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_config_do_rw()
1856 cap_start = vfio_find_cap_start(vdev, *ppos); in vfio_config_do_rw()
1860 WARN_ON(!cap_start && cap_id != PCI_CAP_ID_BASIC); in vfio_config_do_rw()
1861 WARN_ON(cap_start > *ppos); in vfio_config_do_rw()
1863 offset = *ppos - cap_start; in vfio_config_do_rw()
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-mem.c2309 u32 cap_start; in xhci_setup_port_arrays() local
2338 cap_start = xhci_find_next_ext_cap(base, 0, XHCI_EXT_CAPS_PROTOCOL); in xhci_setup_port_arrays()
2339 if (!cap_start) { in xhci_setup_port_arrays()
2344 offset = cap_start; in xhci_setup_port_arrays()
2362 offset = cap_start; in xhci_setup_port_arrays()