• Home
  • Raw
  • Download

Lines Matching refs:phy_addr

430 int __cvmx_bootmem_phy_free(uint64_t phy_addr, uint64_t size, uint32_t flags)  in __cvmx_bootmem_phy_free()  argument
438 (unsigned long long)phy_addr, (unsigned long long)size); in __cvmx_bootmem_phy_free()
456 if (cur_addr == 0 || phy_addr < cur_addr) { in __cvmx_bootmem_phy_free()
458 if (cur_addr && phy_addr + size > cur_addr) in __cvmx_bootmem_phy_free()
460 else if (phy_addr + size == cur_addr) { in __cvmx_bootmem_phy_free()
462 cvmx_bootmem_phy_set_next(phy_addr, in __cvmx_bootmem_phy_free()
465 cvmx_bootmem_phy_set_size(phy_addr, in __cvmx_bootmem_phy_free()
468 cvmx_bootmem_desc->head_addr = phy_addr; in __cvmx_bootmem_phy_free()
472 cvmx_bootmem_phy_set_next(phy_addr, cur_addr); in __cvmx_bootmem_phy_free()
473 cvmx_bootmem_phy_set_size(phy_addr, size); in __cvmx_bootmem_phy_free()
474 cvmx_bootmem_desc->head_addr = phy_addr; in __cvmx_bootmem_phy_free()
481 while (cur_addr && phy_addr > cur_addr) { in __cvmx_bootmem_phy_free()
493 phy_addr) { in __cvmx_bootmem_phy_free()
498 cvmx_bootmem_phy_set_next(prev_addr, phy_addr); in __cvmx_bootmem_phy_free()
499 cvmx_bootmem_phy_set_size(phy_addr, size); in __cvmx_bootmem_phy_free()
500 cvmx_bootmem_phy_set_next(phy_addr, 0); in __cvmx_bootmem_phy_free()
510 phy_addr) { in __cvmx_bootmem_phy_free()
515 if (phy_addr + size == cur_addr) { in __cvmx_bootmem_phy_free()
525 } else if (phy_addr + size == cur_addr) { in __cvmx_bootmem_phy_free()
527 cvmx_bootmem_phy_set_size(phy_addr, in __cvmx_bootmem_phy_free()
530 cvmx_bootmem_phy_set_next(phy_addr, in __cvmx_bootmem_phy_free()
533 cvmx_bootmem_phy_set_next(prev_addr, phy_addr); in __cvmx_bootmem_phy_free()
539 cvmx_bootmem_phy_set_size(phy_addr, size); in __cvmx_bootmem_phy_free()
540 cvmx_bootmem_phy_set_next(phy_addr, cur_addr); in __cvmx_bootmem_phy_free()
541 cvmx_bootmem_phy_set_next(prev_addr, phy_addr); in __cvmx_bootmem_phy_free()