Home
last modified time | relevance | path

Searched refs:_ALIGN_DOWN (Results 1 – 12 of 12) sorted by relevance

/arch/powerpc/boot/
Dpage.h26 #define _ALIGN_DOWN(addr,size) ((addr)&(~((size)-1))) macro
Dcpm-serial.c279 pram_offset = _ALIGN_DOWN(pram_offset, 64); in cpm_console_init()
/arch/score/include/asm/
Dpage.h21 #define _ALIGN_DOWN(addr, size) ((addr)&(~((size)-1))) macro
/arch/powerpc/mm/
Dslice.c305 addr = _ALIGN_DOWN(addr - len, 1ul << pshift); in slice_find_area_topdown()
319 addr = _ALIGN_DOWN(addr - len, 1ul << pshift); in slice_find_area_topdown()
325 addr = _ALIGN_DOWN(addr, 1ul << SLICE_LOW_SHIFT); in slice_find_area_topdown()
329 addr = _ALIGN_DOWN(addr, 1ul << SLICE_HIGH_SHIFT); in slice_find_area_topdown()
Dtlb_hash64.c195 start = _ALIGN_DOWN(start, PAGE_SIZE); in __flush_hash_table_range()
Dinit_64.c275 start = _ALIGN_DOWN(start, page_size); in vmemmap_populate()
Dmem.c423 start = _ALIGN_DOWN(start, PAGE_SIZE); in free_initrd_mem()
/arch/powerpc/platforms/ps3/
Dmm.c243 r->size = _ALIGN_DOWN(size, 1 << PAGE_SHIFT_16M); in ps3_mm_region_create()
409 unsigned long aligned_bus = _ALIGN_DOWN(bus_addr, 1 << r->page_size); in dma_find_chunk()
438 unsigned long aligned_lpar = _ALIGN_DOWN(lpar_addr, 1 << r->page_size); in dma_find_chunk_lpar()
792 unsigned long aligned_phys = _ALIGN_DOWN(phys_addr, 1 << r->page_size); in dma_sb_map_area()
847 unsigned long aligned_phys = _ALIGN_DOWN(phys_addr, 1 << r->page_size); in dma_ioc0_map_area()
906 unsigned long aligned_bus = _ALIGN_DOWN(bus_addr, in dma_sb_unmap_area()
943 unsigned long aligned_bus = _ALIGN_DOWN(bus_addr, in dma_ioc0_unmap_area()
/arch/powerpc/kernel/
Dprom.c97 return (start + size) > _ALIGN_DOWN(initrd_start, PAGE_SIZE) && in overlaps_initrd()
579 memblock_reserve(_ALIGN_DOWN(__pa(initrd_start), PAGE_SIZE), in early_reserve_mem()
581 _ALIGN_DOWN(initrd_start, PAGE_SIZE)); in early_reserve_mem()
Dpci_64.c136 phys_page = _ALIGN_DOWN(hose->io_base_phys, PAGE_SIZE); in pcibios_map_phb_io_space()
Dprom_init.c1047 addr = _ALIGN_DOWN(RELOC(alloc_top_high) - size, align); in alloc_down()
1065 base = _ALIGN_DOWN(RELOC(alloc_top) - size, align); in alloc_down()
1067 base = _ALIGN_DOWN(base - 0x100000, align)) { in alloc_down()
1133 base = _ALIGN_DOWN(base, PAGE_SIZE); in reserve_mem()
1456 opal_addr = _ALIGN_DOWN(0x40000000 - RELOC(prom_opal_size), align); in prom_opal_takeover()
/arch/powerpc/include/asm/
Dpage.h247 #define _ALIGN_DOWN(addr,size) ((addr)&(~((size)-1))) macro