Searched refs:bsg_dev (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/scsi/ufs/ |
D | ufs_bsg.c | 172 struct device *bsg_dev = &hba->bsg_dev; in ufs_bsg_remove() local 179 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() local 202 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 …]
|
D | ufshcd.h | 784 struct device bsg_dev; member
|
/Linux-v5.10/block/ |
D | bsg.c | 145 if (!q->bsg_dev.class_dev) in bsg_sg_io() 150 ret = q->bsg_dev.ops->check_proto(&hdr); in bsg_sg_io() 159 ret = q->bsg_dev.ops->fill_hdr(rq, &hdr, mode); in bsg_sg_io() 185 ret = rq->q->bsg_dev.ops->complete_rq(rq, &hdr); in bsg_sg_io() 189 rq->q->bsg_dev.ops->free_rq(rq); in bsg_sg_io() 257 strncpy(bd->name, dev_name(rq->bsg_dev.class_dev), sizeof(bd->name) - 1); in bsg_add_device() 392 struct bsg_class_device *bcd = &q->bsg_dev; in bsg_unregister_queue() 421 bcd = &q->bsg_dev; in bsg_register_queue()
|
/Linux-v5.10/include/linux/ |
D | blkdev.h | 563 struct bsg_class_device bsg_dev; member
|