Lines Matching defs:dma_domain
69 static phys_addr_t get_phys_addr(struct fsl_dma_domain *dma_domain, dma_addr_t iova) in get_phys_addr()
99 static int map_subwins(int liodn, struct fsl_dma_domain *dma_domain) in map_subwins()
129 static int map_win(int liodn, struct fsl_dma_domain *dma_domain) in map_win()
151 static int map_liodn(int liodn, struct fsl_dma_domain *dma_domain) in map_liodn()
160 static int update_liodn(int liodn, struct fsl_dma_domain *dma_domain, u32 wnd_nr) in update_liodn()
200 static int update_liodn_stash(int liodn, struct fsl_dma_domain *dma_domain, in update_liodn_stash()
231 struct fsl_dma_domain *dma_domain, in pamu_set_liodn()
343 static void detach_device(struct device *dev, struct fsl_dma_domain *dma_domain) in detach_device()
357 static void attach_device(struct fsl_dma_domain *dma_domain, int liodn, struct device *dev) in attach_device()
394 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_iova_to_phys() local
410 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_domain_free() local
423 struct fsl_dma_domain *dma_domain; in fsl_pamu_domain_alloc() local
442 static int pamu_set_domain_geometry(struct fsl_dma_domain *dma_domain, in pamu_set_domain_geometry()
460 static int update_domain_stash(struct fsl_dma_domain *dma_domain, u32 val) in update_domain_stash()
475 static int update_domain_mapping(struct fsl_dma_domain *dma_domain, u32 wnd_nr) in update_domain_mapping()
488 static int disable_domain_win(struct fsl_dma_domain *dma_domain, u32 wnd_nr) in disable_domain_win()
508 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_window_disable() local
539 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_window_enable() local
611 static int handle_attach_device(struct fsl_dma_domain *dma_domain, in handle_attach_device()
662 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_attach_device() local
699 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_detach_device() local
730 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in configure_domain_geometry() local
763 static int configure_domain_stash(struct fsl_dma_domain *dma_domain, void *data) in configure_domain_stash()
790 static int configure_domain_dma_state(struct fsl_dma_domain *dma_domain, bool enable) in configure_domain_dma_state()
820 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_set_domain_attr() local
845 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_get_domain_attr() local
999 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_set_windows() local
1048 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_get_windows() local