Lines Matching refs:offsetof
78 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()
540 offsetof(struct virtio_pci_cap, cap_vndr)); in check_offsets()
542 offsetof(struct virtio_pci_cap, cap_next)); in check_offsets()
544 offsetof(struct virtio_pci_cap, cap_len)); in check_offsets()
546 offsetof(struct virtio_pci_cap, cfg_type)); in check_offsets()
548 offsetof(struct virtio_pci_cap, bar)); in check_offsets()
550 offsetof(struct virtio_pci_cap, offset)); in check_offsets()
552 offsetof(struct virtio_pci_cap, length)); in check_offsets()
554 offsetof(struct virtio_pci_notify_cap, in check_offsets()
557 offsetof(struct virtio_pci_common_cfg, in check_offsets()
560 offsetof(struct virtio_pci_common_cfg, device_feature)); in check_offsets()
562 offsetof(struct virtio_pci_common_cfg, in check_offsets()
565 offsetof(struct virtio_pci_common_cfg, guest_feature)); in check_offsets()
567 offsetof(struct virtio_pci_common_cfg, msix_config)); in check_offsets()
569 offsetof(struct virtio_pci_common_cfg, num_queues)); in check_offsets()
571 offsetof(struct virtio_pci_common_cfg, device_status)); in check_offsets()
573 offsetof(struct virtio_pci_common_cfg, config_generation)); in check_offsets()
575 offsetof(struct virtio_pci_common_cfg, queue_select)); in check_offsets()
577 offsetof(struct virtio_pci_common_cfg, queue_size)); in check_offsets()
579 offsetof(struct virtio_pci_common_cfg, queue_msix_vector)); in check_offsets()
581 offsetof(struct virtio_pci_common_cfg, queue_enable)); in check_offsets()
583 offsetof(struct virtio_pci_common_cfg, queue_notify_off)); in check_offsets()
585 offsetof(struct virtio_pci_common_cfg, queue_desc_lo)); in check_offsets()
587 offsetof(struct virtio_pci_common_cfg, queue_desc_hi)); in check_offsets()
589 offsetof(struct virtio_pci_common_cfg, queue_avail_lo)); in check_offsets()
591 offsetof(struct virtio_pci_common_cfg, queue_avail_hi)); in check_offsets()
593 offsetof(struct virtio_pci_common_cfg, queue_used_lo)); in check_offsets()
595 offsetof(struct virtio_pci_common_cfg, queue_used_hi)); in check_offsets()
665 notify + offsetof(struct virtio_pci_notify_cap, in virtio_pci_modern_probe()
670 notify + offsetof(struct virtio_pci_notify_cap, in virtio_pci_modern_probe()
675 notify + offsetof(struct virtio_pci_notify_cap, in virtio_pci_modern_probe()