/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | alignedmem.c | 28 efi_physical_addr_t alloc_addr; in efi_allocate_pages_aligned() local 37 alloc_addr = ALIGN_DOWN(max + 1, align) - 1; in efi_allocate_pages_aligned() 43 &alloc_addr); in efi_allocate_pages_aligned() 47 *addr = ALIGN((unsigned long)alloc_addr, align); in efi_allocate_pages_aligned() 50 int l = (alloc_addr & (align - 1)) / EFI_PAGE_SIZE; in efi_allocate_pages_aligned() 53 efi_bs_call(free_pages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned()
|
H A D | file.c | 197 unsigned long alloc_addr; in handle_cmdline_files() local 211 alloc_addr = alloc_size = 0; in handle_cmdline_files() 247 unsigned long old_addr = alloc_addr; in handle_cmdline_files() 252 &alloc_addr, in handle_cmdline_files() 256 &alloc_addr, in handle_cmdline_files() 270 memcpy((void *)alloc_addr, (void *)old_addr, alloc_size); in handle_cmdline_files() 275 addr = (void *)alloc_addr + alloc_size; in handle_cmdline_files() 293 *load_addr = alloc_addr; in handle_cmdline_files() 307 efi_free(alloc_size, alloc_addr); in handle_cmdline_files()
|
H A D | mem.c | 89 efi_physical_addr_t alloc_addr; in efi_allocate_pages() local 99 alloc_addr = ALIGN_DOWN(max + 1, EFI_ALLOC_ALIGN) - 1; in efi_allocate_pages() 102 &alloc_addr); in efi_allocate_pages() 106 *addr = alloc_addr; in efi_allocate_pages()
|
/openbmc/u-boot/cmd/ |
H A D | bmp.c | 40 void **alloc_addr) in gunzip_bmp() argument 82 *alloc_addr = dst; in gunzip_bmp() 87 void **alloc_addr) in gunzip_bmp() argument
|
/openbmc/linux/drivers/net/caif/ |
H A D | caif_virtio.c | 93 * @alloc_addr: virtual address to dma memory for TX buffers 120 void *alloc_addr; member 361 if (cfv->alloc_addr) in cfv_destroy_genpool() 363 cfv->allocsz, cfv->alloc_addr, in cfv_destroy_genpool() 395 cfv->alloc_addr = dma_alloc_coherent( in cfv_create_genpool() 399 if (cfv->alloc_addr) in cfv_create_genpool() 413 err = gen_pool_add_virt(cfv->genpool, (unsigned long)cfv->alloc_addr, in cfv_create_genpool() 414 (phys_addr_t)virt_to_phys(cfv->alloc_addr), in cfv_create_genpool()
|
/openbmc/linux/drivers/ntb/ |
H A D | ntb_transport.c | 211 void *alloc_addr; member 801 mw->alloc_addr, mw->dma_addr); in ntb_free_mw() 805 mw->alloc_addr = NULL; in ntb_free_mw() 813 void *alloc_addr, *virt_addr; in ntb_alloc_mw_buffer() local 828 alloc_addr = dma_alloc_attrs(ntb_dev, mw->alloc_size, in ntb_alloc_mw_buffer() 831 if (!alloc_addr) { in ntb_alloc_mw_buffer() 836 virt_addr = alloc_addr; in ntb_alloc_mw_buffer() 846 virt_addr = PTR_ALIGN(alloc_addr, align); in ntb_alloc_mw_buffer() 854 mw->alloc_addr = alloc_addr; in ntb_alloc_mw_buffer() 861 dma_free_coherent(ntb_dev, mw->alloc_size, alloc_addr, dma_addr); in ntb_alloc_mw_buffer()
|
/openbmc/u-boot/include/ |
H A D | lcd.h | 22 void **alloc_addr);
|
/openbmc/linux/drivers/atm/ |
H A D | fore200e.c | 172 chunk->alloc_addr = kzalloc(chunk->alloc_size, GFP_KERNEL); in fore200e_chunk_alloc() 173 if (chunk->alloc_addr == NULL) in fore200e_chunk_alloc() 177 offset = FORE200E_ALIGN(chunk->alloc_addr, alignment); in fore200e_chunk_alloc() 179 chunk->align_addr = chunk->alloc_addr + offset; in fore200e_chunk_alloc() 184 kfree(chunk->alloc_addr); in fore200e_chunk_alloc() 198 kfree(chunk->alloc_addr); in fore200e_chunk_free() 212 chunk->alloc_addr = dma_alloc_coherent(fore200e->dev, chunk->alloc_size, in fore200e_dma_chunk_alloc() 214 if (!chunk->alloc_addr) in fore200e_dma_chunk_alloc() 216 chunk->align_addr = chunk->alloc_addr; in fore200e_dma_chunk_alloc() 226 dma_free_coherent(fore200e->dev, chunk->alloc_size, chunk->alloc_addr, in fore200e_dma_chunk_free() [all …]
|
H A D | fore200e.h | 565 void* alloc_addr; /* base address of allocated chunk */ member
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_xmit.c | 1659 u8 *alloc_addr; in rtw_alloc_xmitframe_once() local 1661 alloc_addr = rtw_zmalloc(sizeof(struct xmit_frame) + 4); in rtw_alloc_xmitframe_once() 1663 if (!alloc_addr) in rtw_alloc_xmitframe_once() 1666 pxframe = (struct xmit_frame *)N_BYTE_ALIGMENT((SIZE_PTR)(alloc_addr), 4); in rtw_alloc_xmitframe_once() 1667 pxframe->alloc_addr = alloc_addr; in rtw_alloc_xmitframe_once() 1697 if (pxmitframe->alloc_addr) { in rtw_free_xmitframe() 1698 kfree(pxmitframe->alloc_addr); in rtw_free_xmitframe()
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | ess.c | 177 if (((struct smt_p_0019 *)p)->alloc_addr.a[i]) { in ess_raf_received_pack() 637 req->a_addr.alloc_addr = null_addr ; in ess_send_alc_req()
|
/openbmc/linux/drivers/net/fddi/skfp/h/ |
H A D | smt.h | 502 struct fddi_addr alloc_addr ; /* Allocation Address */ member
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_xmit.h | 295 u8 *alloc_addr; /* the actual address this xmitframe allocated */ member
|