Home
last modified time | relevance | path

Searched refs:IS_ALIGNED (Results 1 – 16 of 16) sorted by relevance

/rk3399_rockchip-uboot/disk/
H A Dpart_rkram.c55 if (!IS_ALIGNED(start, dev_desc->blksz)) { in rkram_part_init()
59 } else if (!IS_ALIGNED(size, dev_desc->blksz)) { in rkram_part_init()
/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_hash_cache.c142 IS_ALIGNED((ulong)data, hash_cache->data_align)) { in crypto_hash_update_with_cache()
144 if (IS_ALIGNED(data_len, hash_cache->len_align) || is_last) { in crypto_hash_update_with_cache()
H A Dcrypto_v2.c453 assert(IS_ALIGNED((ulong)data, DATA_ADDR_ALIGN_SIZE)); in rk_hash_direct_calc()
454 assert(is_last || IS_ALIGNED(data_len, DATA_LEN_ALIGN_SIZE)); in rk_hash_direct_calc()
1005 if (IS_ALIGNED((ulong)in, DATA_ADDR_ALIGN_SIZE) && tmp_len == len) in hw_cipher_crypt()
1013 if (IS_ALIGNED((ulong)out, DATA_ADDR_ALIGN_SIZE) && in hw_cipher_crypt()
1089 if (IS_ALIGNED((ulong)aad, DATA_ADDR_ALIGN_SIZE)) { in hw_cipher_crypt()
/rk3399_rockchip-uboot/arch/arm/mach-omap2/
H A Dsec-common.c131 if (!IS_ALIGNED(cert_addr, 4)) { in secure_boot_verify_image()
138 if (!IS_ALIGNED(cert_size, 4)) { in secure_boot_verify_image()
/rk3399_rockchip-uboot/drivers/mmc/
H A Duniphier-sd.c232 if (likely(IS_ALIGNED((unsigned long)*pbuf, 4))) { in uniphier_sd_pio_read_one_block()
258 if (likely(IS_ALIGNED((unsigned long)*pbuf, 4))) { in uniphier_sd_pio_write_one_block()
376 if (!IS_ALIGNED(addr, UNIPHIER_SD_DMA_MINALIGN)) in uniphier_sd_addr_is_dmaable()
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Duimage.c31 if (!IS_ALIGNED(unused, ARCH_DMA_MINALIGN)) { in uimage_load_one()
H A Dboard.c757 if (IS_ALIGNED(images->ep, SZ_2M)) in arch_preboot_os()
/rk3399_rockchip-uboot/drivers/misc/
H A Dmisc_decompress.c245 if (!IS_ALIGNED(dst, ARCH_DMA_MINALIGN)) { in misc_decompress_process()
/rk3399_rockchip-uboot/include/linux/
H A Dkernel.h43 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) macro
/rk3399_rockchip-uboot/lib/
H A Dsysmem.c439 !IS_ALIGNED(base, ARCH_DMA_MINALIGN)) { in sysmem_alloc_align_base()
444 if (base != SYSMEM_ALLOC_ANYWHERE && !IS_ALIGNED(base, 4)) { in sysmem_alloc_align_base()
/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Dep0.c853 if (IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && in dwc3_ep0_complete_data()
944 } else if (!IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) && in __dwc3_ep0_do_control_data()
/rk3399_rockchip-uboot/common/
H A Dimage-android.c535 if (!IS_ALIGNED((ulong)buffer, blksz)) { in image_load()
574 if (!IS_ALIGNED((ulong)buffer, blksz)) { in image_load()
/rk3399_rockchip-uboot/drivers/video/rk_eink/
H A Drk_eink_display.c413 if (!IS_ALIGNED((ulong)pic_buf, in read_needed_logo_from_partition()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c849 likely(IS_ALIGNED((uintptr_t)buf, 4)); in flash_dma_buf_ok()
851 return buf && likely(IS_ALIGNED((uintptr_t)buf, 4)); in flash_dma_buf_ok()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand_base.c2342 use_bufpoi = !IS_ALIGNED((unsigned long)buf, in nand_do_read_ops()
3251 use_bufpoi = !IS_ALIGNED((unsigned long)buf, in nand_do_write_ops()
/rk3399_rockchip-uboot/drivers/net/
H A Dmvpp2.c2582 if (!IS_ALIGNED(size, 16)) in mvpp2_bm_pool_create()
2590 if (!IS_ALIGNED((unsigned long)bm_pool->virt_addr, in mvpp2_bm_pool_create()