Searched refs:_ALIGN_DOWN (Results 1 – 12 of 12) sorted by relevance
/arch/powerpc/boot/ |
D | page.h | 26 #define _ALIGN_DOWN(addr,size) ((addr)&(~((size)-1))) macro
|
D | cpm-serial.c | 279 pram_offset = _ALIGN_DOWN(pram_offset, 64); in cpm_console_init()
|
/arch/score/include/asm/ |
D | page.h | 21 #define _ALIGN_DOWN(addr, size) ((addr)&(~((size)-1))) macro
|
/arch/powerpc/mm/ |
D | slice.c | 305 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()
|
D | tlb_hash64.c | 195 start = _ALIGN_DOWN(start, PAGE_SIZE); in __flush_hash_table_range()
|
D | init_64.c | 275 start = _ALIGN_DOWN(start, page_size); in vmemmap_populate()
|
D | mem.c | 423 start = _ALIGN_DOWN(start, PAGE_SIZE); in free_initrd_mem()
|
/arch/powerpc/platforms/ps3/ |
D | mm.c | 243 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/ |
D | prom.c | 97 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()
|
D | pci_64.c | 136 phys_page = _ALIGN_DOWN(hose->io_base_phys, PAGE_SIZE); in pcibios_map_phb_io_space()
|
D | prom_init.c | 1047 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/ |
D | page.h | 247 #define _ALIGN_DOWN(addr,size) ((addr)&(~((size)-1))) macro
|