Home
last modified time | relevance | path

Searched refs:virtio_pci_cap (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/include/uapi/linux/
Dvirtio_pci.h118 struct virtio_pci_cap { struct
130 struct virtio_pci_cap cap; argument
162 struct virtio_pci_cap cap;
/linux-4.4.14/drivers/virtio/
Dvirtio_pci_modern.c78 pci_read_config_byte(dev, off + offsetof(struct virtio_pci_cap, in map_capability()
81 pci_read_config_dword(dev, off + offsetof(struct virtio_pci_cap, offset), in map_capability()
83 pci_read_config_dword(dev, off + offsetof(struct virtio_pci_cap, length), in map_capability()
515 pci_read_config_byte(dev, pos + offsetof(struct virtio_pci_cap, in virtio_pci_find_capability()
518 pci_read_config_byte(dev, pos + offsetof(struct virtio_pci_cap, in virtio_pci_find_capability()
542 offsetof(struct virtio_pci_cap, cap_vndr)); in check_offsets()
544 offsetof(struct virtio_pci_cap, cap_next)); in check_offsets()
546 offsetof(struct virtio_pci_cap, cap_len)); in check_offsets()
548 offsetof(struct virtio_pci_cap, cfg_type)); in check_offsets()
550 offsetof(struct virtio_pci_cap, bar)); in check_offsets()
[all …]
/linux-4.4.14/arch/x86/lguest/
Dboot.c1211 cfg_offset + offsetof(struct virtio_pci_cap, bar), in set_cfg_window()
1214 cfg_offset + offsetof(struct virtio_pci_cap, length), in set_cfg_window()
1217 cfg_offset + offsetof(struct virtio_pci_cap, offset), in set_cfg_window()
1230 cfg_offset + sizeof(struct virtio_pci_cap), val); in write_bar_via_cfg()
1264 cap + offsetof(struct virtio_pci_cap, cfg_type)); in probe_pci_console()
1266 cap + offsetof(struct virtio_pci_cap, bar)); in probe_pci_console()
1268 cap + offsetof(struct virtio_pci_cap, offset)); in probe_pci_console()
1270 cap + offsetof(struct virtio_pci_cap, length)); in probe_pci_console()
/linux-4.4.14/tools/lguest/
Dlguest.c133 struct virtio_pci_cap cap;
160 struct virtio_pci_cap common;
162 struct virtio_pci_cap isr;
163 struct virtio_pci_cap device;
2464 static void init_cap(struct virtio_pci_cap *cap, size_t caplen, int type, in init_cap()