Lines Matching defs:dma_domain
57 static phys_addr_t get_phys_addr(struct fsl_dma_domain *dma_domain, dma_addr_t iova) in get_phys_addr()
87 static int map_subwins(int liodn, struct fsl_dma_domain *dma_domain) in map_subwins()
117 static int map_win(int liodn, struct fsl_dma_domain *dma_domain) in map_win()
139 static int map_liodn(int liodn, struct fsl_dma_domain *dma_domain) in map_liodn()
148 static int update_liodn(int liodn, struct fsl_dma_domain *dma_domain, u32 wnd_nr) in update_liodn()
188 static int update_liodn_stash(int liodn, struct fsl_dma_domain *dma_domain, in update_liodn_stash()
219 struct fsl_dma_domain *dma_domain, in pamu_set_liodn()
331 static void detach_device(struct device *dev, struct fsl_dma_domain *dma_domain) in detach_device()
345 static void attach_device(struct fsl_dma_domain *dma_domain, int liodn, struct device *dev) in attach_device()
382 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_iova_to_phys() local
398 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_domain_free() local
411 struct fsl_dma_domain *dma_domain; in fsl_pamu_domain_alloc() local
430 static int pamu_set_domain_geometry(struct fsl_dma_domain *dma_domain, in pamu_set_domain_geometry()
448 static int update_domain_stash(struct fsl_dma_domain *dma_domain, u32 val) in update_domain_stash()
463 static int update_domain_mapping(struct fsl_dma_domain *dma_domain, u32 wnd_nr) in update_domain_mapping()
476 static int disable_domain_win(struct fsl_dma_domain *dma_domain, u32 wnd_nr) in disable_domain_win()
496 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_window_disable() local
527 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_window_enable() local
599 static int handle_attach_device(struct fsl_dma_domain *dma_domain, in handle_attach_device()
650 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_attach_device() local
687 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_detach_device() local
718 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in configure_domain_geometry() local
751 static int configure_domain_stash(struct fsl_dma_domain *dma_domain, void *data) in configure_domain_stash()
778 static int configure_domain_dma_state(struct fsl_dma_domain *dma_domain, bool enable) in configure_domain_dma_state()
807 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_set_windows() local
857 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_set_domain_attr() local
885 struct fsl_dma_domain *dma_domain = to_fsl_dma_domain(domain); in fsl_pamu_get_domain_attr() local