Lines Matching refs:scdev
179 static inline struct mic_driver *scdev_to_mdrv(struct scif_hw_dev *scdev) in scdev_to_mdrv() argument
181 return dev_get_drvdata(scdev->dev.parent); in scdev_to_mdrv()
185 ___mic_request_irq(struct scif_hw_dev *scdev, in ___mic_request_irq() argument
194 ___mic_free_irq(struct scif_hw_dev *scdev, in ___mic_free_irq() argument
200 static void ___mic_ack_interrupt(struct scif_hw_dev *scdev, int num) in ___mic_ack_interrupt() argument
202 struct mic_driver *mdrv = scdev_to_mdrv(scdev); in ___mic_ack_interrupt()
207 static int ___mic_next_db(struct scif_hw_dev *scdev) in ___mic_next_db() argument
212 static void ___mic_send_intr(struct scif_hw_dev *scdev, int db) in ___mic_send_intr() argument
214 struct mic_driver *mdrv = scdev_to_mdrv(scdev); in ___mic_send_intr()
219 static void ___mic_send_p2p_intr(struct scif_hw_dev *scdev, int db, in ___mic_send_p2p_intr() argument
226 ___mic_ioremap(struct scif_hw_dev *scdev, in ___mic_ioremap() argument
229 struct mic_driver *mdrv = scdev_to_mdrv(scdev); in ___mic_ioremap()
234 static void ___mic_iounmap(struct scif_hw_dev *scdev, void __iomem *va) in ___mic_iounmap() argument
236 struct mic_driver *mdrv = scdev_to_mdrv(scdev); in ___mic_iounmap()
390 mdrv->scdev = scif_register_device(mdrv->dev, MIC_SCIF_DEV, in mic_driver_init()
395 if (IS_ERR(mdrv->scdev)) { in mic_driver_init()
396 rc = PTR_ERR(mdrv->scdev); in mic_driver_init()
423 scif_unregister_device(mdrv->scdev); in mic_driver_uninit()