Lines Matching refs:hidma_dev

77 static inline struct hidma_dev *to_hidma_dev(struct dma_device *dmadev)  in to_hidma_dev()
79 return container_of(dmadev, struct hidma_dev, ddev); in to_hidma_dev()
83 struct hidma_dev *to_hidma_dev_from_lldev(struct hidma_lldev **_lldevp) in to_hidma_dev_from_lldev()
85 return container_of(_lldevp, struct hidma_dev, lldev); in to_hidma_dev_from_lldev()
99 static void hidma_free(struct hidma_dev *dmadev) in hidma_free()
117 struct hidma_dev *mdma = to_hidma_dev(ddev); in hidma_process_completed()
175 struct hidma_dev *dmadev = to_hidma_dev(ddev); in hidma_callback()
199 static int hidma_chan_init(struct hidma_dev *dmadev, u32 dma_sig) in hidma_chan_init()
228 struct hidma_dev *dmadev = (struct hidma_dev *)arg; in hidma_issue_task()
237 struct hidma_dev *dmadev = mchan->dmadev; in hidma_issue_pending()
319 struct hidma_dev *dmadev = mchan->dmadev; in hidma_tx_submit()
350 struct hidma_dev *dmadev = mchan->dmadev; in hidma_alloc_chan_resources()
404 struct hidma_dev *mdma = mchan->dmadev; in hidma_prep_dma_memcpy()
436 struct hidma_dev *mdma = mchan->dmadev; in hidma_prep_dma_memset()
465 struct hidma_dev *dmadev = to_hidma_dev(mchan->chan.device); in hidma_terminate_channel()
512 struct hidma_dev *dmadev = to_hidma_dev(mchan->chan.device); in hidma_terminate_all()
530 struct hidma_dev *mdma = mchan->dmadev; in hidma_free_chan_resources()
557 struct hidma_dev *dmadev; in hidma_pause()
575 struct hidma_dev *dmadev; in hidma_resume()
609 struct hidma_dev *dmadev = to_hidma_dev_from_lldev(lldevp); in hidma_chirq_handler_msi()
619 struct hidma_dev *mdev = dev_get_drvdata(dev); in hidma_show_values()
629 static inline void hidma_sysfs_uninit(struct hidma_dev *dev) in hidma_sysfs_uninit()
635 hidma_create_sysfs_entry(struct hidma_dev *dev, char *name, int mode) in hidma_create_sysfs_entry()
657 static int hidma_sysfs_init(struct hidma_dev *dev) in hidma_sysfs_init()
670 struct hidma_dev *dmadev = dev_get_drvdata(dev); in hidma_write_msi_msg()
680 static void hidma_free_msis(struct hidma_dev *dmadev) in hidma_free_msis()
694 static int hidma_request_msi(struct hidma_dev *dmadev, in hidma_request_msi()
753 struct hidma_dev *dmadev; in hidma_probe()
910 struct hidma_dev *dmadev = platform_get_drvdata(pdev); in hidma_shutdown()
924 struct hidma_dev *dmadev = platform_get_drvdata(pdev); in hidma_remove()