Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufs_bsg.c172 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 …]
Dufshcd.h799 struct device bsg_dev; member
/kernel/linux/linux-5.10/block/
Dbsg.c145 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()
187 ret = rq->q->bsg_dev.ops->complete_rq(rq, &hdr); in bsg_sg_io()
191 rq->q->bsg_dev.ops->free_rq(rq); in bsg_sg_io()
259 strncpy(bd->name, dev_name(rq->bsg_dev.class_dev), sizeof(bd->name) - 1); in bsg_add_device()
397 struct bsg_class_device *bcd = &q->bsg_dev; in bsg_unregister_queue()
426 bcd = &q->bsg_dev; in bsg_register_queue()
/kernel/linux/linux-5.10/include/linux/
Dblkdev.h567 struct bsg_class_device bsg_dev; member