/u-boot/drivers/crypto/fsl/ |
A D | fsl_blob.c | 36 if (!IS_ALIGNED((uintptr_t)key_mod, ARCH_DMA_MINALIGN) || in blob_decap() 37 !IS_ALIGNED((uintptr_t)src, ARCH_DMA_MINALIGN) || in blob_decap() 38 !IS_ALIGNED((uintptr_t)dst, ARCH_DMA_MINALIGN)) { in blob_decap() 101 if (!IS_ALIGNED((uintptr_t)key_mod, ARCH_DMA_MINALIGN) || in blob_encap() 102 !IS_ALIGNED((uintptr_t)src, ARCH_DMA_MINALIGN) || in blob_encap() 103 !IS_ALIGNED((uintptr_t)dst, ARCH_DMA_MINALIGN)) { in blob_encap()
|
A D | fsl_hash.c | 177 if (!IS_ALIGNED((uintptr_t)pbuf, ARCH_DMA_MINALIGN) || in caam_hash() 178 !IS_ALIGNED((uintptr_t)pout, ARCH_DMA_MINALIGN)) { in caam_hash()
|
/u-boot/include/linux/ |
A D | bitmap.h | 195 IS_ALIGNED(start, BITMAP_MEM_ALIGNMENT) && in bitmap_set() 197 IS_ALIGNED(nbits, BITMAP_MEM_ALIGNMENT)) in bitmap_set() 209 IS_ALIGNED(start, BITMAP_MEM_ALIGNMENT) && in bitmap_clear() 211 IS_ALIGNED(nbits, BITMAP_MEM_ALIGNMENT)) in bitmap_clear()
|
A D | kernel.h | 53 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) macro
|
/u-boot/drivers/misc/ |
A D | p2sb-uclass.c | 57 assert(IS_ALIGNED(offset, align)); in check_pcr_offset_align() 66 assert(IS_ALIGNED(offset, sizeof(uint32_t))); in pcr_read32() 105 assert(IS_ALIGNED(offset, sizeof(indata))); in pcr_write32()
|
/u-boot/arch/arm/mach-omap2/ |
A D | sec-common.c | 141 if (!IS_ALIGNED(cert_addr, 4)) { in secure_boot_verify_image() 148 if (!IS_ALIGNED(cert_size, 4)) { in secure_boot_verify_image()
|
/u-boot/drivers/spi/ |
A D | stm32_spi.c | 125 IS_ALIGNED((uintptr_t)(priv->tx_buf + offs), sizeof(u32))) { in stm32_spi_write_txfifo() 131 IS_ALIGNED((uintptr_t)(priv->tx_buf + offs), sizeof(u16))) { in stm32_spi_write_txfifo() 157 if (IS_ALIGNED((uintptr_t)(priv->rx_buf + offs), sizeof(u32)) && in stm32_spi_read_rxfifo() 163 } else if (IS_ALIGNED((uintptr_t)(priv->rx_buf + offs), sizeof(u16)) && in stm32_spi_read_rxfifo()
|
A D | fsl_qspi.c | 398 !IS_ALIGNED(op->data.nbytes, 8)))) in fsl_qspi_supports_op()
|
A D | nxp_fspi.c | 424 !IS_ALIGNED(op->data.nbytes, 8)))) in nxp_fspi_supports_op()
|
/u-boot/arch/arm/mach-socfpga/ |
A D | secure_vab.c | 79 if (!IS_ALIGNED(img_sz, sizeof(u32))) { in socfpga_vendor_authentication()
|
/u-boot/fs/btrfs/ |
A D | disk-io.c | 182 if (!IS_ALIGNED(btrfs_super_root(sb), 4096)) { in btrfs_check_super() 186 if (!IS_ALIGNED(btrfs_super_chunk_root(sb), 4096)) { in btrfs_check_super() 191 if (!IS_ALIGNED(btrfs_super_log_root(sb), 4096)) { in btrfs_check_super() 201 if (!IS_ALIGNED(btrfs_super_nodesize(sb), 4096)) { in btrfs_check_super() 210 if (!IS_ALIGNED(btrfs_super_sectorsize(sb), 4096)) { in btrfs_check_super() 461 if (bytenr < sectorsize || !IS_ALIGNED(bytenr, sectorsize)) { in read_tree_block()
|
A D | inode.c | 436 ASSERT(IS_ALIGNED(offset, fs_info->sectorsize) && in btrfs_read_extent_reg() 437 IS_ALIGNED(len, fs_info->sectorsize)); in btrfs_read_extent_reg() 528 ASSERT(IS_ALIGNED(file_offset, root->fs_info->sectorsize)); in lookup_data_extent()
|
A D | volumes.c | 432 if (!IS_ALIGNED(logical, sectorsize)) { in btrfs_check_chunk_valid() 441 if (!length || !IS_ALIGNED(length, sectorsize)) { in btrfs_check_chunk_valid() 492 !IS_ALIGNED(num_stripes, sub_stripes))) || in btrfs_check_chunk_valid()
|
/u-boot/drivers/mmc/ |
A D | tmio-common.c | 148 if (likely(IS_ALIGNED((uintptr_t)buf, ((__width) / 8)))) { \ 202 if (likely(IS_ALIGNED((uintptr_t)buf, ((__width) / 8)))) { \ 369 if (!IS_ALIGNED(addr, TMIO_SD_DMA_MINALIGN)) in tmio_sd_addr_is_dmaable() 373 if (!(data->flags & MMC_DATA_READ) && !IS_ALIGNED(addr, 128)) in tmio_sd_addr_is_dmaable()
|
A D | renesas-sdhi.c | 702 if (!IS_ALIGNED(ubuf, RENESAS_SDHI_DMA_ALIGNMENT)) { in renesas_sdhi_addr_aligned_gen()
|
/u-boot/drivers/pci/ |
A D | pcie_iproc.c | 838 if (!IS_ALIGNED(axi_addr, window_size) || in iproc_pcie_setup_ob() 839 !IS_ALIGNED(pci_addr, window_size)) { in iproc_pcie_setup_ob() 1017 if (!IS_ALIGNED(axi_addr, region_size) || in iproc_pcie_setup_ib() 1018 !IS_ALIGNED(pci_addr, region_size)) { in iproc_pcie_setup_ib()
|
/u-boot/arch/arm/include/asm/ |
A D | io.h | 347 while (count && !IS_ALIGNED((unsigned long)from, 8)) { in __memcpy_fromio() 375 while (count && !IS_ALIGNED((unsigned long)to, 8)) { in __memcpy_toio() 409 while (count && !IS_ALIGNED((unsigned long)dst, 8)) { in __memset_io()
|
/u-boot/drivers/usb/dwc3/ |
A D | ep0.c | 852 if (IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && in dwc3_ep0_complete_data() 943 } else if (!IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) && in __dwc3_ep0_do_control_data()
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
A D | brcmnand.c | 854 likely(IS_ALIGNED((uintptr_t)buf, 4)); in flash_dma_buf_ok() 856 return buf && likely(IS_ALIGNED((uintptr_t)buf, 4)); in flash_dma_buf_ok()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | nand_base.c | 2347 use_bufpoi = !IS_ALIGNED((unsigned long)buf, in nand_do_read_ops() 3256 use_bufpoi = !IS_ALIGNED((unsigned long)buf, in nand_do_write_ops()
|
/u-boot/drivers/net/ |
A D | mvpp2.c | 2562 if (!IS_ALIGNED(size, 16)) in mvpp2_bm_pool_create() 2570 if (!IS_ALIGNED((unsigned long)bm_pool->virt_addr, in mvpp2_bm_pool_create()
|