Searched refs:dma_window (Results 1 – 2 of 2) sorted by relevance
261 unsigned int *dma_window; in vio_build_tce_table() local267 …dma_window = (unsigned int *) get_property((struct device_node *)dev->archdata, "ibm,my-dma-window… in vio_build_tce_table()268 if(!dma_window) { in vio_build_tce_table()278 size = ((dma_window[1+vio_num_address_cells] in vio_build_tce_table()285 size = ((dma_window[1] >> PAGE_SHIFT) << 3) >> PAGE_SHIFT; in vio_build_tce_table()287 size = ((dma_window[4] >> PAGE_SHIFT) << 3) >> PAGE_SHIFT; in vio_build_tce_table()296 offset = dma_window[1] >> PAGE_SHIFT; in vio_build_tce_table()303 newTceTable->index = (unsigned long)dma_window[0]; in vio_build_tce_table()
710 u32 *dma_window; in create_tce_tables_for_busesLP() local714 dma_window = (u32 *)get_property(busdn, "ibm,dma-window", 0); in create_tce_tables_for_busesLP()715 if (dma_window) { in create_tce_tables_for_busesLP()970 u32 *dma_window = (u32 *)get_property(dn, "ibm,dma-window", 0); in getTceTableParmsPSeriesLP() local971 if (!dma_window) { in getTceTableParmsPSeriesLP()976 …newTceTable->size = (((((unsigned long)dma_window[4] << 32) | (unsigned long)dma_window[5]) >> PAG… in getTceTableParmsPSeriesLP()977 …newTceTable->startOffset = ((((unsigned long)dma_window[2] << 32) | (unsigned long)dma_window[3]) … in getTceTableParmsPSeriesLP()979 newTceTable->index = dma_window[0]; in getTceTableParmsPSeriesLP()