Lines Matching refs:len_total
266 unsigned long len_total = PAGE_ALIGN(len); in sbus_alloc_coherent() local
280 order = get_order(len_total); in sbus_alloc_coherent()
288 if (allocate_resource(&_sparc_dvma, res, len_total, in sbus_alloc_coherent()
290 printk("sbus_alloc_consistent: cannot occupy 0x%lx", len_total); in sbus_alloc_coherent()
300 if (sbus_map_dma_area(dev, dma_addrp, va, res->start, len_total) != 0) in sbus_alloc_coherent()
434 unsigned long len_total = PAGE_ALIGN(len); in pci32_alloc_coherent() local
446 order = get_order(len_total); in pci32_alloc_coherent()
449 printk("pci_alloc_consistent: no %ld pages\n", len_total>>PAGE_SHIFT); in pci32_alloc_coherent()
458 if (allocate_resource(&_sparc_dvma, res, len_total, in pci32_alloc_coherent()
460 printk("pci_alloc_consistent: cannot occupy 0x%lx", len_total); in pci32_alloc_coherent()
463 srmmu_mapiorange(0, virt_to_phys(va), res->start, len_total); in pci32_alloc_coherent()