Searched refs:scmdev (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/s390/cio/ |
A D | scm.c | 37 scmdrv->remove(scmdev); in scmdev_remove() 79 struct scm_device *scmdev = aobrq->scmdev; in scm_irq_handler() local 131 kfree(scmdev); in scmdev_release() 139 scmdev->address = sale->sa; in scmdev_setup() 140 scmdev->size = 1UL << size; in scmdev_setup() 162 device_lock(&scmdev->dev); in scmdev_update() 167 if (!scmdev->dev.driver) in scmdev_update() 198 struct scm_device *scmdev; in scm_add() local 203 if (scmdev) { in scm_add() 209 scmdev = kzalloc(sizeof(*scmdev), GFP_KERNEL); in scm_add() [all …]
|
/linux/drivers/s390/block/ |
A D | scm_drv.c | 24 (unsigned long) scmdev->address); in scm_notify() 26 SCM_LOG_STATE(2, scmdev); in scm_notify() 30 SCM_LOG_STATE(2, scmdev); in scm_notify() 36 static int scm_probe(struct scm_device *scmdev) in scm_probe() argument 42 SCM_LOG_STATE(2, scmdev); in scm_probe() 44 if (scmdev->attrs.oper_state != OP_STATE_GOOD) in scm_probe() 51 dev_set_drvdata(&scmdev->dev, bdev); in scm_probe() 52 ret = scm_blk_dev_setup(bdev, scmdev); in scm_probe() 54 dev_set_drvdata(&scmdev->dev, NULL); in scm_probe() 63 static void scm_remove(struct scm_device *scmdev) in scm_remove() argument [all …]
|
A D | scm_blk.c | 182 struct scm_device *scmdev = bdev->gendisk->private_data; in scm_request_prepare() local 227 aobrq->scmdev = bdev->scmdev; in scm_request_init() 286 struct scm_device *scmdev = hctx->queue->queuedata; in scm_blk_request() local 287 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_blk_request() 386 (unsigned long) bdev->scmdev->address); in scm_blk_handle_error() 449 bdev->scmdev = scmdev; in scm_blk_dev_setup() 471 nr_max_blk = min(scmdev->nr_max_block, in scm_blk_dev_setup() 480 bdev->gendisk->private_data = scmdev; in scm_blk_dev_setup() 497 set_capacity(bdev->gendisk, scmdev->size >> 9); in scm_blk_dev_setup() 498 ret = device_add_disk(&scmdev->dev, bdev->gendisk, NULL); in scm_blk_dev_setup() [all …]
|
A D | scm_blk.h | 22 struct scm_device *scmdev; member 62 static inline void SCM_LOG_STATE(int level, struct scm_device *scmdev) in SCM_LOG_STATE() argument 69 .address = scmdev->address, in SCM_LOG_STATE() 70 .oper_state = scmdev->attrs.oper_state, in SCM_LOG_STATE() 71 .rank = scmdev->attrs.rank, in SCM_LOG_STATE()
|
/linux/arch/s390/include/asm/ |
A D | eadm.h | 80 struct scm_device *scmdev; member 107 int (*probe) (struct scm_device *scmdev); 108 void (*remove) (struct scm_device *scmdev); 109 void (*notify) (struct scm_device *scmdev, enum scm_event event); 110 void (*handler) (struct scm_device *scmdev, void *data,
|
Completed in 8 milliseconds