Searched refs:bar_length (Results 1 – 1 of 1) sorted by relevance
/reactos/sdk/lib/drivers/virtio/ |
H A D | VirtIOPCIModern.c | 54 u32 bar_offset, bar_length; in vio_modern_map_capability() local 59 pci_read_config_dword(vdev, cap_offset + offsetof(struct virtio_pci_cap, length), &bar_length); in vio_modern_map_capability() 61 if (start + minlen > bar_length) { in vio_modern_map_capability() 66 bar_length -= start; in vio_modern_map_capability() 74 if (bar_length > size) { in vio_modern_map_capability() 75 bar_length = size; in vio_modern_map_capability() 79 *len = bar_length; in vio_modern_map_capability() 87 addr = pci_map_address_range(vdev, bar, bar_offset, bar_length); in vio_modern_map_capability() 89 DPrintf(0, "unable to map %u bytes at bar %i offset %u\n", bar_length, bar, bar_offset); in vio_modern_map_capability()
|