Searched refs:bsg_dev (Results 1 – 4 of 4) sorted by relevance
172 struct device *bsg_dev = &hba->bsg_dev; in ufs_bsg_remove() local179 device_del(bsg_dev); in ufs_bsg_remove()180 put_device(bsg_dev); in ufs_bsg_remove()196 struct device *bsg_dev = &hba->bsg_dev; in ufs_bsg_probe() local202 device_initialize(bsg_dev); in ufs_bsg_probe()204 bsg_dev->parent = get_device(parent); in ufs_bsg_probe()205 bsg_dev->release = ufs_bsg_node_release; in ufs_bsg_probe()207 dev_set_name(bsg_dev, "ufs-bsg%u", shost->host_no); in ufs_bsg_probe()209 ret = device_add(bsg_dev); in ufs_bsg_probe()213 q = bsg_setup_queue(bsg_dev, dev_name(bsg_dev), ufs_bsg_request, NULL, 0); in ufs_bsg_probe()[all …]
920 struct device bsg_dev; member
1388 sdev->bsg_dev = scsi_bsg_register_queue(sdev); in scsi_sysfs_add_sdev()1389 if (IS_ERR(sdev->bsg_dev)) { in scsi_sysfs_add_sdev()1394 error = PTR_ERR(sdev->bsg_dev); in scsi_sysfs_add_sdev()1398 sdev->bsg_dev = NULL; in scsi_sysfs_add_sdev()1441 if (IS_ENABLED(CONFIG_BLK_DEV_BSG) && sdev->bsg_dev) in __scsi_remove_device()1442 bsg_unregister_queue(sdev->bsg_dev); in __scsi_remove_device()
242 struct bsg_device *bsg_dev; member
Completed in 18 milliseconds