Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/ufs/core/
Dufs_bsg.c178 struct device *bsg_dev = &hba->bsg_dev; in ufs_bsg_remove() local
185 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() local
208 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 …]
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_app.c1490 struct device *bsg_dev = &mrioc->bsg_dev; in mpi3mr_bsg_exit() local
1497 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() local
1527 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 …]
Dmpi3mr.h1187 struct device bsg_dev; member
/linux-6.1.9/drivers/scsi/
Dscsi_sysfs.c1422 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()
/linux-6.1.9/include/scsi/
Dscsi_device.h251 struct bsg_device *bsg_dev; member
/linux-6.1.9/include/ufs/
Dufshcd.h957 struct device bsg_dev; member