Home
last modified time | relevance | path

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

/u-boot/drivers/crypto/fsl/
A Dfsl_blob.c36 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 Dfsl_hash.c177 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 Dbitmap.h195 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 Dkernel.h53 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) macro
/u-boot/drivers/misc/
A Dp2sb-uclass.c57 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 Dsec-common.c141 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 Dstm32_spi.c125 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 Dfsl_qspi.c398 !IS_ALIGNED(op->data.nbytes, 8)))) in fsl_qspi_supports_op()
A Dnxp_fspi.c424 !IS_ALIGNED(op->data.nbytes, 8)))) in nxp_fspi_supports_op()
/u-boot/arch/arm/mach-socfpga/
A Dsecure_vab.c79 if (!IS_ALIGNED(img_sz, sizeof(u32))) { in socfpga_vendor_authentication()
/u-boot/fs/btrfs/
A Ddisk-io.c182 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 Dinode.c436 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 Dvolumes.c432 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 Dtmio-common.c148 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 Drenesas-sdhi.c702 if (!IS_ALIGNED(ubuf, RENESAS_SDHI_DMA_ALIGNMENT)) { in renesas_sdhi_addr_aligned_gen()
/u-boot/drivers/pci/
A Dpcie_iproc.c838 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 Dio.h347 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 Dep0.c852 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 Dbrcmnand.c854 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 Dnand_base.c2347 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 Dmvpp2.c2562 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()

Completed in 64 milliseconds