Home
last modified time | relevance | path

Searched refs:root_device (Results 1 – 3 of 3) sorted by relevance

/drivers/s390/crypto/
Dvfio_ap_drv.c114 struct device *root_device; in vfio_ap_matrix_dev_create() local
116 root_device = root_device_register(VFIO_AP_ROOT_NAME); in vfio_ap_matrix_dev_create()
117 if (IS_ERR(root_device)) in vfio_ap_matrix_dev_create()
118 return PTR_ERR(root_device); in vfio_ap_matrix_dev_create()
141 matrix_dev->device.parent = root_device; in vfio_ap_matrix_dev_create()
163 root_device_unregister(root_device); in vfio_ap_matrix_dev_create()
169 struct device *root_device = matrix_dev->device.parent; in vfio_ap_matrix_dev_destroy() local
174 root_device_unregister(root_device); in vfio_ap_matrix_dev_destroy()
/drivers/firewire/
Dcore-card.c290 struct fw_device *root_device, *irm_device; in bm_work() local
312 root_device = root_node->data; in bm_work()
313 root_device_is_running = root_device && in bm_work()
314 atomic_read(&root_device->state) == FW_DEVICE_RUNNING; in bm_work()
315 root_device_is_cmc = root_device && root_device->cmc; in bm_work()
432 if (root_device == NULL) { in bm_work()
/drivers/base/
Dcore.c3931 struct root_device { struct
3936 static inline struct root_device *to_root_device(struct device *d) in to_root_device() argument
3938 return container_of(d, struct root_device, dev); in to_root_device()
3970 struct root_device *root; in __root_device_register()
3973 root = kzalloc(sizeof(struct root_device), GFP_KERNEL); in __root_device_register()
4017 struct root_device *root = to_root_device(dev); in root_device_unregister()