Lines Matching refs:dma_range
689 u32 *dma_range; in fdt_pci_dma_ranges() local
696 dma_range = &dma_ranges[0]; in fdt_pci_dma_ranges()
708 dma_range[0] = 0; in fdt_pci_dma_ranges()
710 dma_range[0] |= cpu_to_fdt32(FDT_PCI_MEM64); in fdt_pci_dma_ranges()
712 dma_range[0] |= cpu_to_fdt32(FDT_PCI_MEM32); in fdt_pci_dma_ranges()
714 dma_range[0] |= cpu_to_fdt32(FDT_PCI_PREFETCH); in fdt_pci_dma_ranges()
716 dma_range[1] = cpu_to_fdt32(bus_start >> 32); in fdt_pci_dma_ranges()
718 dma_range[1] = 0; in fdt_pci_dma_ranges()
720 dma_range[2] = cpu_to_fdt32(bus_start & 0xffffffff); in fdt_pci_dma_ranges()
723 dma_range[3] = cpu_to_fdt32(phys_start >> 32); in fdt_pci_dma_ranges()
724 dma_range[4] = cpu_to_fdt32(phys_start & 0xffffffff); in fdt_pci_dma_ranges()
726 dma_range[3] = cpu_to_fdt32(phys_start & 0xffffffff); in fdt_pci_dma_ranges()
730 dma_range[3 + addrcell + 0] = in fdt_pci_dma_ranges()
732 dma_range[3 + addrcell + 1] = in fdt_pci_dma_ranges()
735 dma_range[3 + addrcell + 0] = in fdt_pci_dma_ranges()
739 dma_range += (3 + addrcell + sizecell); in fdt_pci_dma_ranges()
742 len = dma_range - &dma_ranges[0]; in fdt_pci_dma_ranges()