/openbmc/u-boot/env/ |
H A D | sf.c | 101 saved_buffer = memalign(ARCH_DMA_MINALIGN, saved_size); in env_sf_save() 159 tmp_env1 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load() 161 tmp_env2 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load() 257 buf = (char *)memalign(ARCH_DMA_MINALIGN, CONFIG_ENV_SIZE); in env_sf_load()
|
/openbmc/linux/tools/testing/selftests/powerpc/copyloops/ |
H A D | memmove_validate.c | 24 char *usermap = memalign(BUF_LEN, BUF_LEN); in testcase_run() 25 char *kernelmap = memalign(BUF_LEN, BUF_LEN); in testcase_run()
|
H A D | validate.c | 69 src = memalign(BUFLEN, BUFLEN); in test_copy_loop() 70 dst = memalign(BUFLEN, BUFLEN); in test_copy_loop()
|
/openbmc/u-boot/drivers/net/ |
H A D | fsl_mcdmafec.c | 509 (struct eth_device *)memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize() 538 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize() 541 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize() 544 (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, DBUF_LENGTH); in mcdmafec_initialize() 552 fec_info[i].phy_name = (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, 32); in mcdmafec_initialize()
|
H A D | armada100_fec.c | 677 darmdfec->htpr = memalign(8, HASH_ADDR_TABLE_SIZE); in armada100_fec_register() 681 darmdfec->p_rxdesc = memalign(PKTALIGN, in armada100_fec_register() 687 darmdfec->p_rxbuf = memalign(PKTALIGN, RINGSZ * PKTSIZE_ALIGN + 1); in armada100_fec_register() 691 darmdfec->p_aligned_txbuf = memalign(8, PKTSIZE_ALIGN); in armada100_fec_register() 695 darmdfec->p_txdesc = memalign(PKTALIGN, sizeof(struct tx_desc) + 1); in armada100_fec_register()
|
H A D | mcffec.c | 548 (struct eth_device *)memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize() 577 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize() 580 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize() 583 (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, DBUF_LENGTH); in mcffec_initialize() 591 fec_info[i].phy_name = (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, 32); in mcffec_initialize()
|
H A D | bcm-sf2-eth-gmac.c | 905 tmp = memalign(ARCH_DMA_MINALIGN, DESCP_SIZE_ALIGNED * TX_BUF_NUM); in gmac_add() 915 tmp = memalign(ARCH_DMA_MINALIGN, TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in gmac_add() 926 tmp = memalign(ARCH_DMA_MINALIGN, DESCP_SIZE_ALIGNED * RX_BUF_NUM); in gmac_add() 937 tmp = memalign(ARCH_DMA_MINALIGN, RX_BUF_SIZE_ALIGNED * RX_BUF_NUM); in gmac_add()
|
H A D | mvgbe.c | 791 dmvgbe->p_rxdesc = memalign(PKTALIGN, in mvgbe_alloc_buffers() 796 dmvgbe->p_rxbuf = memalign(PKTALIGN, in mvgbe_alloc_buffers() 801 dmvgbe->p_aligned_txbuf = memalign(8, PKTSIZE_ALIGN); in mvgbe_alloc_buffers() 805 dmvgbe->p_txdesc = memalign(PKTALIGN, sizeof(struct mvgbe_txdesc) + 1); in mvgbe_alloc_buffers()
|
H A D | mt7628-eth.c | 592 KSEG1ADDR(memalign(ARCH_DMA_MINALIGN, in mt7628_eth_probe() 595 KSEG1ADDR(memalign(ARCH_DMA_MINALIGN, in mt7628_eth_probe() 599 priv->rx_buf[i] = memalign(PKTALIGN, MTK_QDMA_PAGE_SIZE); in mt7628_eth_probe()
|
/openbmc/u-boot/include/ |
H A D | malloc.h | 866 #pragma weak memalign = __libc_memalign macro 878 #define memalign memalign_simple macro 900 # define mEMALIGn memalign
|
H A D | memalign.h | 111 return memalign(ARCH_DMA_MINALIGN, ALIGN(size, ARCH_DMA_MINALIGN)); in malloc_cache_aligned()
|
/openbmc/u-boot/arch/nds32/include/asm/ |
H A D | dma-mapping.h | 13 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | dma-mapping.h | 16 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | dma-mapping.h | 18 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | dma-mapping.h | 16 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, ROUND(len, ARCH_DMA_MINALIGN)); in dma_alloc_coherent()
|
/openbmc/u-boot/lib/ |
H A D | linux_compat.c | 33 ret = memalign(ARCH_DMA_MINALIGN, sizeof(struct kmem_cache)); in get_mem()
|
/openbmc/qemu/util/ |
H A D | memalign.c | 63 ptr = memalign(alignment, size); in qemu_try_memalign()
|
/openbmc/u-boot/common/ |
H A D | bouncebuf.c | 43 state->bounce_buffer = memalign(ARCH_DMA_MINALIGN, in bounce_buffer_start()
|
/openbmc/u-boot/cmd/ |
H A D | sf.c | 226 cmp_buf = memalign(ARCH_DMA_MINALIGN, flash->sector_size); in spi_flash_update() 518 vbuf = memalign(ARCH_DMA_MINALIGN, len); in do_spi_flash_test() 523 buf = memalign(ARCH_DMA_MINALIGN, len); in do_spi_flash_test()
|
/openbmc/linux/tools/testing/selftests/powerpc/security/ |
H A D | entry_flush.c | 59 p = (char *)memalign(zero_size, CACHELINE_SIZE); in entry_flush_test()
|
H A D | rfi_flush.c | 60 p = (char *)memalign(zero_size, CACHELINE_SIZE); in rfi_flush_test()
|
H A D | uaccess_flush.c | 73 p = (char *)memalign(zero_size, CACHELINE_SIZE); in uaccess_flush_test()
|
/openbmc/u-boot/fs/ext4/ |
H A D | ext4_common.h | 45 void *p = memalign(ARCH_DMA_MINALIGN, size); in zalloc()
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | f_thor.c | 525 req->buf = memalign(CONFIG_SYS_CACHELINE_SIZE, length); in alloc_ep_req() 755 dev = memalign(CONFIG_SYS_CACHELINE_SIZE, sizeof(*dev)); in thor_func_bind() 774 dev->req->buf = memalign(CONFIG_SYS_CACHELINE_SIZE, in thor_func_bind() 994 f_thor = memalign(CONFIG_SYS_CACHELINE_SIZE, sizeof(*f_thor)); in thor_func_init()
|
/openbmc/linux/tools/testing/selftests/powerpc/stringloops/ |
H A D | strlen.c | 56 s = memalign(128, SIZE); in testcase()
|