Lines Matching refs:ap_root_device
76 static struct device *ap_root_device; variable
546 #define is_card_dev(x) ((x)->parent == ap_root_device)
547 #define is_queue_dev(x) ((x)->parent != ap_root_device)
592 if (dev == ap_root_device) in ap_uevent()
637 kobject_uevent_env(&ap_root_device->kobj, KOBJ_CHANGE, envp); in ap_send_init_scan_done_uevent()
647 kobject_uevent_env(&ap_root_device->kobj, KOBJ_CHANGE, envp); in ap_send_bindings_complete_uevent()
687 kobject_uevent_env(&ap_root_device->kobj, KOBJ_CHANGE, envp); in ap_send_mask_changed_uevent()
2103 dev->parent = ap_root_device; in ap_scan_adapter()
2455 ap_root_device = root_device_register("ap"); in ap_module_init()
2456 rc = PTR_ERR_OR_ZERO(ap_root_device); in ap_module_init()
2459 ap_root_device->bus = &ap_bus_type; in ap_module_init()
2476 root_device_unregister(ap_root_device); in ap_module_init()
2488 root_device_unregister(ap_root_device); in ap_module_exit()