Home
last modified time | relevance | path

Searched refs:scmdev (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dscm.c25 struct scm_device *scmdev = to_scm_dev(dev); in scmdev_probe() local
28 return scmdrv->probe ? scmdrv->probe(scmdev) : -ENODEV; in scmdev_probe()
33 struct scm_device *scmdev = to_scm_dev(dev); in scmdev_remove() local
36 return scmdrv->remove ? scmdrv->remove(scmdev) : -ENODEV; in scmdev_remove()
41 return add_uevent_var(env, "MODALIAS=scm:scmdev"); in scmdev_uevent()
78 struct scm_device *scmdev = aobrq->scmdev; in scm_irq_handler() local
79 struct scm_driver *scmdrv = to_scm_drv(scmdev->dev.driver); in scm_irq_handler()
81 scmdrv->handler(scmdev, aobrq->data, error); in scm_irq_handler()
89 struct scm_device *scmdev
128 struct scm_device *scmdev = to_scm_dev(dev); scmdev_release() local
133 scmdev_setup(struct scm_device *scmdev, struct sale *sale, unsigned int size, unsigned int max_blk_count) scmdev_setup() argument
156 scmdev_update(struct scm_device *scmdev, struct sale *sale) scmdev_update() argument
179 struct scm_device *scmdev = to_scm_dev(dev); check_address() local
197 struct scm_device *scmdev; scm_add() local
259 struct scm_device *scmdev = to_scm_dev(dev); scm_dev_avail() local
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dscm.c25 struct scm_device *scmdev = to_scm_dev(dev); in scmdev_probe() local
28 return scmdrv->probe ? scmdrv->probe(scmdev) : -ENODEV; in scmdev_probe()
33 struct scm_device *scmdev = to_scm_dev(dev); in scmdev_remove() local
37 scmdrv->remove(scmdev); in scmdev_remove()
42 return add_uevent_var(env, "MODALIAS=scm:scmdev"); in scmdev_uevent()
79 struct scm_device *scmdev = aobrq->scmdev; in scm_irq_handler() local
80 struct scm_driver *scmdrv = to_scm_drv(scmdev->dev.driver); in scm_irq_handler()
82 scmdrv->handler(scmdev, aobrq->data, error); in scm_irq_handler()
90 struct scm_device *scmdev
129 struct scm_device *scmdev = to_scm_dev(dev); scmdev_release() local
134 scmdev_setup(struct scm_device *scmdev, struct sale *sale, unsigned int size, unsigned int max_blk_count) scmdev_setup() argument
157 scmdev_update(struct scm_device *scmdev, struct sale *sale) scmdev_update() argument
180 struct scm_device *scmdev = to_scm_dev(dev); check_address() local
198 struct scm_device *scmdev; scm_add() local
260 struct scm_device *scmdev = to_scm_dev(dev); scm_dev_avail() local
[all...]
/kernel/linux/linux-5.10/drivers/s390/block/
H A Dscm_drv.c17 static void scm_notify(struct scm_device *scmdev, enum scm_event event) in scm_notify() argument
19 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_notify()
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()
63 scm_remove(struct scm_device *scmdev) scm_remove() argument
[all...]
H A Dscm_blk.h22 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()
H A Dscm_blk.c41 MODULE_ALIAS("scm:scmdev*");
183 struct scm_device *scmdev = bdev->gendisk->private_data; in scm_request_prepare() local
197 msb->scm_addr = scmdev->address + ((u64) blk_rq_pos(req) << 9); in scm_request_prepare()
228 aobrq->scmdev = bdev->scmdev; in scm_request_init()
287 struct scm_device *scmdev = hctx->queue->queuedata; in scm_blk_request() local
288 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_blk_request()
387 (unsigned long) bdev->scmdev->address); in scm_blk_handle_error()
403 void scm_blk_irq(struct scm_device *scmdev, void *data, blk_status_t error) in scm_blk_irq() argument
437 int scm_blk_dev_setup(struct scm_blk_dev *bdev, struct scm_device *scmdev) in scm_blk_dev_setup() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/block/
H A Dscm_drv.c17 static void scm_notify(struct scm_device *scmdev, enum scm_event event) in scm_notify() argument
19 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_notify()
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()
63 scm_remove(struct scm_device *scmdev) scm_remove() argument
[all...]
H A Dscm_blk.h21 struct scm_device *scmdev; member
61 static inline void SCM_LOG_STATE(int level, struct scm_device *scmdev) in SCM_LOG_STATE() argument
68 .address = scmdev->address, in SCM_LOG_STATE()
69 .oper_state = scmdev->attrs.oper_state, in SCM_LOG_STATE()
70 .rank = scmdev->attrs.rank, in SCM_LOG_STATE()
H A Dscm_blk.c40 MODULE_ALIAS("scm: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()
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()
402 void scm_blk_irq(struct scm_device *scmdev, void *data, blk_status_t error) in scm_blk_irq() argument
436 int scm_blk_dev_setup(struct scm_blk_dev *bdev, struct scm_device *scmdev) in scm_blk_dev_setup() argument
[all...]
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Deadm.h80 struct scm_device *scmdev; member
107 int (*probe) (struct scm_device *scmdev);
108 int (*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,
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Deadm.h80 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 7 milliseconds