Lines Matching refs:vpdev

64 __mic_request_irq(struct vop_device *vpdev,  in __mic_request_irq()  argument
68 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_request_irq()
74 static void __mic_free_irq(struct vop_device *vpdev, in __mic_free_irq() argument
77 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_free_irq()
82 static void __mic_ack_interrupt(struct vop_device *vpdev, int num) in __mic_ack_interrupt() argument
84 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_ack_interrupt()
89 static int __mic_next_db(struct vop_device *vpdev) in __mic_next_db() argument
91 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_next_db()
96 static void *__mic_get_dp(struct vop_device *vpdev) in __mic_get_dp() argument
98 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_get_dp()
103 static void __iomem *__mic_get_remote_dp(struct vop_device *vpdev) in __mic_get_remote_dp() argument
108 static void __mic_send_intr(struct vop_device *vpdev, int db) in __mic_send_intr() argument
110 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_send_intr()
115 static void __iomem *__mic_ioremap(struct vop_device *vpdev, in __mic_ioremap() argument
118 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_ioremap()
123 static void __mic_iounmap(struct vop_device *vpdev, void __iomem *va) in __mic_iounmap() argument
496 mdev->vpdev = vop_register_device(&mdev->pdev->dev, in _mic_start()
500 if (IS_ERR(mdev->vpdev)) { in _mic_start()
501 rc = PTR_ERR(mdev->vpdev); in _mic_start()
516 vop_unregister_device(mdev->vpdev); in _mic_start()
543 vop_unregister_device(mdev->vpdev); in _mic_stop()