Lines Matching refs:ddw_avail

860 static void __remove_dma_window(struct device_node *np, u32 *ddw_avail, u64 liobn)  in __remove_dma_window()  argument
864 ret = rtas_call(ddw_avail[DDW_REMOVE_PE_DMA_WIN], 1, 1, NULL, liobn); in __remove_dma_window()
868 np, ret, ddw_avail[DDW_REMOVE_PE_DMA_WIN], liobn); in __remove_dma_window()
872 np, ret, ddw_avail[DDW_REMOVE_PE_DMA_WIN], liobn); in __remove_dma_window()
875 static void remove_dma_window(struct device_node *np, u32 *ddw_avail, in remove_dma_window() argument
885 __remove_dma_window(np, ddw_avail, liobn); in remove_dma_window()
891 u32 ddw_avail[DDW_APPLICABLE_SIZE]; in remove_ddw() local
899 &ddw_avail[0], DDW_APPLICABLE_SIZE); in remove_ddw()
905 remove_dma_window(np, ddw_avail, win); in remove_ddw()
1029 static int query_ddw(struct pci_dev *dev, const u32 *ddw_avail, in query_ddw() argument
1061 ret = rtas_call(ddw_avail[DDW_QUERY_PE_DMA_WIN], 3, out_sz, query_out, in query_ddw()
1081 ddw_avail[DDW_QUERY_PE_DMA_WIN], cfg_addr, BUID_HI(buid), in query_ddw()
1088 static int create_ddw(struct pci_dev *dev, const u32 *ddw_avail, in create_ddw() argument
1111 ret = rtas_call(ddw_avail[DDW_CREATE_PE_DMA_WIN], 5, 4, in create_ddw()
1118 ddw_avail[DDW_CREATE_PE_DMA_WIN], cfg_addr, BUID_HI(buid), in create_ddw()
1258 u32 ddw_avail[DDW_APPLICABLE_SIZE]; in enable_ddw() local
1299 &ddw_avail[0], DDW_APPLICABLE_SIZE); in enable_ddw()
1310 ret = query_ddw(dev, ddw_avail, &query, pdn); in enable_ddw()
1338 remove_dma_window(pdn, ddw_avail, default_win); in enable_ddw()
1342 ret = query_ddw(dev, ddw_avail, &query, pdn); in enable_ddw()
1393 ret = create_ddw(dev, ddw_avail, &create, page_shift, len); in enable_ddw()
1497 __remove_dma_window(pdn, ddw_avail, create.liobn); in enable_ddw()