Home
last modified time | relevance | path

Searched refs:cap_ptr (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dtagp.c587 u8 cap_ptr; in test_pci_find_device() local
589 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in test_pci_find_device()
590 if (!cap_ptr) { in test_pci_find_device()
604 bridge->capndx = cap_ptr; in test_pci_find_device()
/external/crosvm/devices/src/
Dvfio.rs598 let cap_ptr = unsafe { info_ptr.offset(offset as isize) }; in get_regions() localVariable
600 unsafe { &*(cap_ptr as *mut u8 as *const vfio_info_cap_header) }; in get_regions()
609 &*(cap_ptr as *mut u8 as *const vfio_region_info_cap_sparse_mmap) in get_regions()
631 unsafe { &*(cap_ptr as *mut u8 as *const vfio_region_info_cap_type) }; in get_regions()
/external/crosvm/devices/src/pci/
Dpci_configuration.rs707 let cap_ptr = cfg.read_reg(CAPABILITY_LIST_HEAD_OFFSET / 4) & 0xFF; in add_capability() localVariable
708 assert_eq!(cap1_offset, cap_ptr as usize); in add_capability()