bsg_dev 145 block/bsg.c if (!q->bsg_dev.class_dev) bsg_dev 150 block/bsg.c ret = q->bsg_dev.ops->check_proto(&hdr); bsg_dev 159 block/bsg.c ret = q->bsg_dev.ops->fill_hdr(rq, &hdr, mode); bsg_dev 185 block/bsg.c ret = rq->q->bsg_dev.ops->complete_rq(rq, &hdr); bsg_dev 189 block/bsg.c rq->q->bsg_dev.ops->free_rq(rq); bsg_dev 257 block/bsg.c strncpy(bd->name, dev_name(rq->bsg_dev.class_dev), sizeof(bd->name) - 1); bsg_dev 391 block/bsg.c struct bsg_class_device *bcd = &q->bsg_dev; bsg_dev 420 block/bsg.c bcd = &q->bsg_dev; bsg_dev 170 drivers/scsi/ufs/ufs_bsg.c struct device *bsg_dev = &hba->bsg_dev; bsg_dev 177 drivers/scsi/ufs/ufs_bsg.c device_del(bsg_dev); bsg_dev 178 drivers/scsi/ufs/ufs_bsg.c put_device(bsg_dev); bsg_dev 194 drivers/scsi/ufs/ufs_bsg.c struct device *bsg_dev = &hba->bsg_dev; bsg_dev 200 drivers/scsi/ufs/ufs_bsg.c device_initialize(bsg_dev); bsg_dev 202 drivers/scsi/ufs/ufs_bsg.c bsg_dev->parent = get_device(parent); bsg_dev 203 drivers/scsi/ufs/ufs_bsg.c bsg_dev->release = ufs_bsg_node_release; bsg_dev 205 drivers/scsi/ufs/ufs_bsg.c dev_set_name(bsg_dev, "ufs-bsg%u", shost->host_no); bsg_dev 207 drivers/scsi/ufs/ufs_bsg.c ret = device_add(bsg_dev); bsg_dev 211 drivers/scsi/ufs/ufs_bsg.c q = bsg_setup_queue(bsg_dev, dev_name(bsg_dev), ufs_bsg_request, NULL, 0); bsg_dev 222 drivers/scsi/ufs/ufs_bsg.c dev_err(bsg_dev, "fail to initialize a bsg dev %d\n", shost->host_no); bsg_dev 223 drivers/scsi/ufs/ufs_bsg.c put_device(bsg_dev); bsg_dev 734 drivers/scsi/ufs/ufshcd.h struct device bsg_dev; bsg_dev 559 include/linux/blkdev.h struct bsg_class_device bsg_dev;