Lines Matching refs:wnd
73 u32 wnd; in get_phys_addr() local
77 wnd = (subwin_iova - geom->aperture_start) >> ilog2(subwin_size); in get_phys_addr()
78 win_ptr = &dma_domain->win_arr[wnd]; in get_phys_addr()
120 struct dma_window *wnd = &dma_domain->win_arr[0]; in map_win() local
126 wnd->size, in map_win()
128 wnd->paddr >> PAMU_PAGE_SHIFT, in map_win()
130 0, wnd->prot); in map_win()
151 struct dma_window *wnd = &dma_domain->win_arr[wnd_nr]; in update_liodn() local
157 wnd->size, in update_liodn()
159 wnd->paddr >> PAMU_PAGE_SHIFT, in update_liodn()
163 wnd->prot); in update_liodn()
173 wnd->size, in update_liodn()
175 wnd->paddr >> PAMU_PAGE_SHIFT, in update_liodn()
177 0, wnd->prot); in update_liodn()
528 struct dma_window *wnd; in fsl_pamu_window_enable() local
574 wnd = &dma_domain->win_arr[wnd_nr]; in fsl_pamu_window_enable()
575 if (!wnd->valid) { in fsl_pamu_window_enable()
576 wnd->paddr = paddr; in fsl_pamu_window_enable()
577 wnd->size = size; in fsl_pamu_window_enable()
578 wnd->prot = pamu_prot; in fsl_pamu_window_enable()
582 wnd->valid = 1; in fsl_pamu_window_enable()