Home
last modified time | relevance | path

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

/block/
Dbsg.c146 if (!q->bsg_dev.class_dev) in bsg_sg_io()
260 strncpy(bd->name, dev_name(rq->bsg_dev.class_dev), sizeof(bd->name) - 1); in bsg_add_device()
320 pm_runtime_get_sync(bcd->class_dev->parent); in bsg_open()
333 pm_runtime_put_sync(bcd->class_dev->parent); in bsg_release()
407 if (!bcd->class_dev) in bsg_unregister_queue()
414 device_unregister(bcd->class_dev); in bsg_unregister_queue()
415 bcd->class_dev = NULL; in bsg_unregister_queue()
426 struct device *class_dev = NULL; in bsg_register_queue() local
452 class_dev = device_create(bsg_class, parent, dev, NULL, "%s", name); in bsg_register_queue()
453 if (IS_ERR(class_dev)) { in bsg_register_queue()
[all …]