Home
last modified time | relevance | path

Searched refs:vpdev (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/misc/mic/vop/
Dvop_main.c48 struct vop_device *vpdev; member
191 struct vop_device *vpdev = vdev->vpdev; in vop_set_status() local
196 vpdev->hw_ops->send_intr(vpdev, vdev->c2h_vdev_db); in vop_set_status()
204 struct vop_device *vpdev = vdev->vpdev; in vop_reset_inform_host() local
209 vpdev->hw_ops->send_intr(vpdev, vdev->c2h_vdev_db); in vop_reset_inform_host()
241 struct vop_device *vpdev = vdev->vpdev; in vop_notify() local
243 vpdev->hw_ops->send_intr(vpdev, vdev->c2h_vdev_db); in vop_notify()
250 struct vop_device *vpdev = vdev->vpdev; in vop_del_vq() local
252 dma_unmap_single(&vpdev->dev, vdev->used[n], in vop_del_vq()
257 vpdev->hw_ops->unmap(vpdev, vdev->vr[n]); in vop_del_vq()
[all …]
Dvop_vringh.c22 return vdev->vpdev->dev.parent; in vop_dev()
49 struct vop_device *vpdev = vdev->vpdev; in _vop_notify() local
53 vpdev->hw_ops->send_intr(vpdev, db); in _vop_notify()
59 struct vop_device *vpdev = vdev->vpdev; in vop_virtio_init_post() local
71 (void __force *)vpdev->hw_ops->remap( in vop_virtio_init_post()
72 vpdev, in vop_virtio_init_post()
146 struct vop_device *vpdev = vdev->vpdev; in _vop_virtio_intr_handler() local
148 vpdev->hw_ops->ack_interrupt(vpdev, vdev->virtio_db); in _vop_virtio_intr_handler()
157 struct vop_device *vpdev = vdev->vpdev; in vop_virtio_config_change() local
158 struct vop_info *vi = dev_get_drvdata(&vpdev->dev); in vop_virtio_config_change()
[all …]
Dvop_debugfs.c22 struct vop_device *vpdev = vi->vpdev; in vop_dp_show() local
23 struct mic_bootparam *bootparam = vpdev->hw_ops->get_dp(vpdev); in vop_dp_show()
175 snprintf(name, sizeof(name), "%s%d", KBUILD_MODNAME, vi->vpdev->dnode); in vop_init_debugfs()
Dvop_main.h54 struct vop_device *vpdev; member
126 struct vop_device *vpdev; member
/Linux-v5.4/drivers/misc/mic/card/
Dmic_device.c240 static inline struct mic_driver *vpdev_to_mdrv(struct vop_device *vpdev) in vpdev_to_mdrv() argument
242 return dev_get_drvdata(vpdev->dev.parent); in vpdev_to_mdrv()
246 __mic_request_irq(struct vop_device *vpdev, in __mic_request_irq() argument
253 static void __mic_free_irq(struct vop_device *vpdev, in __mic_free_irq() argument
259 static void __mic_ack_interrupt(struct vop_device *vpdev, int num) in __mic_ack_interrupt() argument
261 struct mic_driver *mdrv = vpdev_to_mdrv(vpdev); in __mic_ack_interrupt()
266 static int __mic_next_db(struct vop_device *vpdev) in __mic_next_db() argument
271 static void __iomem *__mic_get_remote_dp(struct vop_device *vpdev) in __mic_get_remote_dp() argument
273 struct mic_driver *mdrv = vpdev_to_mdrv(vpdev); in __mic_get_remote_dp()
278 static void __mic_send_intr(struct vop_device *vpdev, int db) in __mic_send_intr() argument
[all …]
Dmic_device.h83 struct vop_device *vpdev; member
/Linux-v5.4/drivers/misc/mic/bus/
Dvop_bus.h85 int (*next_db)(struct vop_device *vpdev);
86 struct mic_irq *(*request_irq)(struct vop_device *vpdev,
90 void (*free_irq)(struct vop_device *vpdev,
92 void (*ack_interrupt)(struct vop_device *vpdev, int num);
93 void __iomem * (*get_remote_dp)(struct vop_device *vpdev);
94 void * (*get_dp)(struct vop_device *vpdev);
95 void (*send_intr)(struct vop_device *vpdev, int db);
96 void __iomem * (*remap)(struct vop_device *vpdev,
98 void (*unmap)(struct vop_device *vpdev, void __iomem *va);
/Linux-v5.4/drivers/misc/mic/host/
Dmic_boot.c52 __mic_request_irq(struct vop_device *vpdev, in __mic_request_irq() argument
56 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_request_irq()
62 static void __mic_free_irq(struct vop_device *vpdev, in __mic_free_irq() argument
65 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_free_irq()
70 static void __mic_ack_interrupt(struct vop_device *vpdev, int num) in __mic_ack_interrupt() argument
72 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_ack_interrupt()
77 static int __mic_next_db(struct vop_device *vpdev) in __mic_next_db() argument
79 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_next_db()
84 static void *__mic_get_dp(struct vop_device *vpdev) in __mic_get_dp() argument
86 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_get_dp()
[all …]
Dmic_device.h85 struct vop_device *vpdev; member