Lines Matching refs:scmdev
182 struct scm_device *scmdev = bdev->gendisk->private_data; in scm_request_prepare() local
196 msb->scm_addr = scmdev->address + ((u64) blk_rq_pos(req) << 9); in scm_request_prepare()
227 aobrq->scmdev = bdev->scmdev; in scm_request_init()
285 struct scm_device *scmdev = hctx->queue->queuedata; in scm_blk_request() local
286 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_blk_request()
385 (unsigned long) bdev->scmdev->address); in scm_blk_handle_error()
401 void scm_blk_irq(struct scm_device *scmdev, void *data, blk_status_t error) in scm_blk_irq() argument
435 int scm_blk_dev_setup(struct scm_blk_dev *bdev, struct scm_device *scmdev) in scm_blk_dev_setup() argument
448 bdev->scmdev = scmdev; in scm_blk_dev_setup()
470 nr_max_blk = min(scmdev->nr_max_block, in scm_blk_dev_setup()
484 rq->queuedata = scmdev; in scm_blk_dev_setup()
485 bdev->gendisk->private_data = scmdev; in scm_blk_dev_setup()
502 set_capacity(bdev->gendisk, scmdev->size >> 9); in scm_blk_dev_setup()
503 device_add_disk(&scmdev->dev, bdev->gendisk, NULL); in scm_blk_dev_setup()
530 (unsigned long) bdev->scmdev->address); in scm_blk_set_available()