Searched refs:scmdev (Results 1 – 5 of 5) sorted by relevance
/drivers/s390/cio/ |
D | scm.c | 24 struct scm_device *scmdev = to_scm_dev(dev); in scmdev_probe() local 27 return scmdrv->probe ? scmdrv->probe(scmdev) : -ENODEV; in scmdev_probe() 32 struct scm_device *scmdev = to_scm_dev(dev); in scmdev_remove() local 35 return scmdrv->remove ? scmdrv->remove(scmdev) : -ENODEV; in scmdev_remove() 77 struct scm_device *scmdev = aobrq->scmdev; in scm_irq_handler() local 78 struct scm_driver *scmdrv = to_scm_drv(scmdev->dev.driver); in scm_irq_handler() 80 scmdrv->handler(scmdev, aobrq->data, error); in scm_irq_handler() 88 struct scm_device *scmdev = to_scm_dev(dev); \ 92 ret = sprintf(buf, "%u\n", scmdev->attrs.name); \ 127 struct scm_device *scmdev = to_scm_dev(dev); in scmdev_release() local [all …]
|
/drivers/s390/block/ |
D | scm_drv.c | 16 static void scm_notify(struct scm_device *scmdev, enum scm_event event) in scm_notify() argument 18 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_notify() 23 (unsigned long) scmdev->address); in scm_notify() 25 SCM_LOG_STATE(2, scmdev); in scm_notify() 29 SCM_LOG_STATE(2, scmdev); in scm_notify() 35 static int scm_probe(struct scm_device *scmdev) in scm_probe() argument 41 SCM_LOG_STATE(2, scmdev); in scm_probe() 43 if (scmdev->attrs.oper_state != OP_STATE_GOOD) in scm_probe() 50 dev_set_drvdata(&scmdev->dev, bdev); in scm_probe() 51 ret = scm_blk_dev_setup(bdev, scmdev); in scm_probe() [all …]
|
D | scm_blk.c | 129 struct scm_device *scmdev = bdev->gendisk->private_data; in scm_request_prepare() local 137 msb->scm_addr = scmdev->address + in scm_request_prepare() 161 aobrq->scmdev = bdev->scmdev; in scm_request_init() 203 struct scm_device *scmdev = rq->queuedata; in scm_blk_request() local 204 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_blk_request() 269 void scm_blk_irq(struct scm_device *scmdev, void *data, int error) in scm_blk_irq() argument 298 (unsigned long) bdev->scmdev->address); in scm_blk_handle_error() 354 int scm_blk_dev_setup(struct scm_blk_dev *bdev, struct scm_device *scmdev) in scm_blk_dev_setup() argument 367 bdev->scmdev = scmdev; in scm_blk_dev_setup() 382 nr_max_blk = min(scmdev->nr_max_block, in scm_blk_dev_setup() [all …]
|
D | scm_blk.h | 20 struct scm_device *scmdev; member 119 static inline void SCM_LOG_STATE(int level, struct scm_device *scmdev) in SCM_LOG_STATE() argument 126 .address = scmdev->address, in SCM_LOG_STATE() 127 .oper_state = scmdev->attrs.oper_state, in SCM_LOG_STATE() 128 .rank = scmdev->attrs.rank, in SCM_LOG_STATE()
|
D | scm_blk_cluster.c | 120 struct scm_device *scmdev = bdev->gendisk->private_data; in scm_prepare_cluster_request() local 141 addr = scmdev->address + ((u64) blk_rq_pos(req) << 9); in scm_prepare_cluster_request() 159 addr < scmdev->address + ((u64) blk_rq_pos(req) << 9); in scm_prepare_cluster_request()
|