Lines Matching refs:t
2443 const VirtioPCIDeviceTypeInfo *t = data; in virtio_pci_base_class_init() local
2444 if (t->class_init) { in virtio_pci_base_class_init()
2445 t->class_init(klass, NULL); in virtio_pci_base_class_init()
2472 void virtio_pci_types_register(const VirtioPCIDeviceTypeInfo *t) in virtio_pci_types_register() argument
2476 .name = t->base_name, in virtio_pci_types_register()
2477 .parent = t->parent ? t->parent : TYPE_VIRTIO_PCI, in virtio_pci_types_register()
2478 .instance_size = t->instance_size, in virtio_pci_types_register()
2479 .instance_init = t->instance_init, in virtio_pci_types_register()
2480 .instance_finalize = t->instance_finalize, in virtio_pci_types_register()
2481 .class_size = t->class_size, in virtio_pci_types_register()
2483 .interfaces = t->interfaces, in virtio_pci_types_register()
2486 .name = t->generic_name, in virtio_pci_types_register()
2499 base_name = g_strdup_printf("%s-base-type", t->generic_name); in virtio_pci_types_register()
2505 generic_type_info.class_data = (void *)t; in virtio_pci_types_register()
2507 assert(!t->non_transitional_name); in virtio_pci_types_register()
2508 assert(!t->transitional_name); in virtio_pci_types_register()
2511 base_type_info.class_data = (void *)t; in virtio_pci_types_register()
2519 if (t->non_transitional_name) { in virtio_pci_types_register()
2521 .name = t->non_transitional_name, in virtio_pci_types_register()
2533 if (t->transitional_name) { in virtio_pci_types_register()
2535 .name = t->transitional_name, in virtio_pci_types_register()