Searched refs:bsg_dev (Results 1 – 6 of 6) sorted by relevance
178 struct device *bsg_dev = &hba->bsg_dev; in ufs_bsg_remove() local185 device_del(bsg_dev); in ufs_bsg_remove()186 put_device(bsg_dev); in ufs_bsg_remove()202 struct device *bsg_dev = &hba->bsg_dev; in ufs_bsg_probe() local208 device_initialize(bsg_dev); in ufs_bsg_probe()210 bsg_dev->parent = get_device(parent); in ufs_bsg_probe()211 bsg_dev->release = ufs_bsg_node_release; in ufs_bsg_probe()213 dev_set_name(bsg_dev, "ufs-bsg%u", shost->host_no); in ufs_bsg_probe()215 ret = device_add(bsg_dev); in ufs_bsg_probe()219 q = bsg_setup_queue(bsg_dev, dev_name(bsg_dev), ufs_bsg_request, NULL, 0); in ufs_bsg_probe()[all …]
1490 struct device *bsg_dev = &mrioc->bsg_dev; in mpi3mr_bsg_exit() local1497 device_del(bsg_dev); in mpi3mr_bsg_exit()1498 put_device(bsg_dev); in mpi3mr_bsg_exit()1524 struct device *bsg_dev = &mrioc->bsg_dev; in mpi3mr_bsg_init() local1527 device_initialize(bsg_dev); in mpi3mr_bsg_init()1529 bsg_dev->parent = get_device(parent); in mpi3mr_bsg_init()1530 bsg_dev->release = mpi3mr_bsg_node_release; in mpi3mr_bsg_init()1532 dev_set_name(bsg_dev, "mpi3mrctl%u", mrioc->id); in mpi3mr_bsg_init()1534 if (device_add(bsg_dev)) { in mpi3mr_bsg_init()1536 dev_name(bsg_dev)); in mpi3mr_bsg_init()[all …]
1187 struct device bsg_dev; member
1422 sdev->bsg_dev = scsi_bsg_register_queue(sdev); in scsi_sysfs_add_sdev()1423 if (IS_ERR(sdev->bsg_dev)) { in scsi_sysfs_add_sdev()1424 error = PTR_ERR(sdev->bsg_dev); in scsi_sysfs_add_sdev()1428 sdev->bsg_dev = NULL; in scsi_sysfs_add_sdev()1471 if (IS_ENABLED(CONFIG_BLK_DEV_BSG) && sdev->bsg_dev) in __scsi_remove_device()1472 bsg_unregister_queue(sdev->bsg_dev); in __scsi_remove_device()
251 struct bsg_device *bsg_dev; member
957 struct device bsg_dev; member