Lines Matching refs:offsetof

31 	pci_read_config_byte(dev, off + offsetof(struct virtio_pci_cap,  in vp_modern_map_capability()
34 pci_read_config_dword(dev, off + offsetof(struct virtio_pci_cap, offset), in vp_modern_map_capability()
36 pci_read_config_dword(dev, off + offsetof(struct virtio_pci_cap, length), in vp_modern_map_capability()
123 pci_read_config_byte(dev, pos + offsetof(struct virtio_pci_cap, in virtio_pci_find_capability()
126 pci_read_config_byte(dev, pos + offsetof(struct virtio_pci_cap, in virtio_pci_find_capability()
150 offsetof(struct virtio_pci_cap, cap_vndr)); in check_offsets()
152 offsetof(struct virtio_pci_cap, cap_next)); in check_offsets()
154 offsetof(struct virtio_pci_cap, cap_len)); in check_offsets()
156 offsetof(struct virtio_pci_cap, cfg_type)); in check_offsets()
158 offsetof(struct virtio_pci_cap, bar)); in check_offsets()
160 offsetof(struct virtio_pci_cap, offset)); in check_offsets()
162 offsetof(struct virtio_pci_cap, length)); in check_offsets()
164 offsetof(struct virtio_pci_notify_cap, in check_offsets()
167 offsetof(struct virtio_pci_common_cfg, in check_offsets()
170 offsetof(struct virtio_pci_common_cfg, device_feature)); in check_offsets()
172 offsetof(struct virtio_pci_common_cfg, in check_offsets()
175 offsetof(struct virtio_pci_common_cfg, guest_feature)); in check_offsets()
177 offsetof(struct virtio_pci_common_cfg, msix_config)); in check_offsets()
179 offsetof(struct virtio_pci_common_cfg, num_queues)); in check_offsets()
181 offsetof(struct virtio_pci_common_cfg, device_status)); in check_offsets()
183 offsetof(struct virtio_pci_common_cfg, config_generation)); in check_offsets()
185 offsetof(struct virtio_pci_common_cfg, queue_select)); in check_offsets()
187 offsetof(struct virtio_pci_common_cfg, queue_size)); in check_offsets()
189 offsetof(struct virtio_pci_common_cfg, queue_msix_vector)); in check_offsets()
191 offsetof(struct virtio_pci_common_cfg, queue_enable)); in check_offsets()
193 offsetof(struct virtio_pci_common_cfg, queue_notify_off)); in check_offsets()
195 offsetof(struct virtio_pci_common_cfg, queue_desc_lo)); in check_offsets()
197 offsetof(struct virtio_pci_common_cfg, queue_desc_hi)); in check_offsets()
199 offsetof(struct virtio_pci_common_cfg, queue_avail_lo)); in check_offsets()
201 offsetof(struct virtio_pci_common_cfg, queue_avail_hi)); in check_offsets()
203 offsetof(struct virtio_pci_common_cfg, queue_used_lo)); in check_offsets()
205 offsetof(struct virtio_pci_common_cfg, queue_used_hi)); in check_offsets()
207 offsetof(struct virtio_pci_modern_common_cfg, queue_notify_data)); in check_offsets()
209 offsetof(struct virtio_pci_modern_common_cfg, queue_reset)); in check_offsets()
211 offsetof(struct virtio_pci_modern_common_cfg, admin_queue_index)); in check_offsets()
213 offsetof(struct virtio_pci_modern_common_cfg, admin_queue_num)); in check_offsets()
315 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe()
320 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe()
325 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe()