Home
last modified time | relevance | path

Searched refs:dma_get_cache_alignment (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/linux/arch/riscv/include/asm/
H A Dcache.h31 #define dma_get_cache_alignment dma_get_cache_alignment macro
32 static inline int dma_get_cache_alignment(void) in dma_get_cache_alignment() function
/openbmc/linux/arch/parisc/include/asm/
H A Dcache.h32 #define dma_get_cache_alignment cache_line_size macro
/openbmc/linux/arch/arm64/include/asm/
H A Dcache.h94 #define dma_get_cache_alignment cache_line_size macro
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-prng.c87 todo_with_padding = ALIGN(todo, dma_get_cache_alignment()); in sun8i_ss_prng_generate()
H A Dsun8i-ss-core.c586 dma_get_cache_alignment()), in allocate_flows()
/openbmc/linux/drivers/crypto/caam/
H A Dcaamprng.c80 unsigned int aligned_dlen = ALIGN(dlen, dma_get_cache_alignment()); in caam_prng_generate()
H A Dcaamrng.c235 dma_get_cache_alignment()), in caam_init()
H A Dcaampkc.c1005 aligned_size = ALIGN(raw_key->p_sz, dma_get_cache_alignment()); in caam_rsa_set_priv_key_form()
1010 aligned_size = ALIGN(raw_key->q_sz, dma_get_cache_alignment()); in caam_rsa_set_priv_key_form()
H A Dqi.c766 dma_get_cache_alignment(), 0, NULL); in caam_qi_init()
H A Dcaamalg.c1015 dma_get_cache_alignment()); in skcipher_edesc_iv()
1702 aligned_size = ALIGN(aligned_size, dma_get_cache_alignment()); in skcipher_edesc_alloc()
1704 (dma_get_cache_alignment() - 1); in skcipher_edesc_alloc()
1705 aligned_size += ALIGN(ivsize, dma_get_cache_alignment()); in skcipher_edesc_alloc()
H A Dcaamalg_qi.c1213 dma_get_cache_alignment()); in skcipher_edesc_iv()
1333 len = ALIGN(len, dma_get_cache_alignment()); in skcipher_edesc_alloc()
H A Dcaamhash.c439 ALIGN(keylen, dma_get_cache_alignment()); in ahash_setkey()
/openbmc/linux/include/linux/
H A Ddma-mapping.h549 #ifndef dma_get_cache_alignment
550 static inline int dma_get_cache_alignment(void) in dma_get_cache_alignment() function
H A Ddma-map-ops.h310 IS_ALIGNED(kmalloc_size_roundup(size), dma_get_cache_alignment())) in dma_kmalloc_size_aligned()
/openbmc/linux/drivers/tty/serial/
H A Dsamsung_tty.c444 dma->tx_size = count & ~(dma_get_cache_alignment() - 1); in s3c24xx_serial_start_tx_dma()
485 xmit->tail & (dma_get_cache_alignment() - 1)) in s3c24xx_serial_start_next_tx()
878 int align = dma_get_cache_alignment() - in s3c24xx_serial_tx_chars()
879 (xmit->tail & (dma_get_cache_alignment() - 1)); in s3c24xx_serial_tx_chars()
2127 dma_get_cache_alignment()); in s3c24xx_serial_probe()
/openbmc/linux/drivers/spi/
H A Dspi-qup.c890 size_t dma_align = dma_get_cache_alignment(); in spi_qup_can_dma()
1052 host->dma_alignment = dma_get_cache_alignment(); in spi_qup_probe()
H A Dspi-bcm2835.c1229 target = kzalloc(ALIGN(sizeof(*target), dma_get_cache_alignment()), in bcm2835_spi_setup()
/openbmc/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c572 unsigned long dma_align = dma_get_cache_alignment(); in vb2_dc_get_userptr()
/openbmc/linux/net/core/
H A Dpage_pool.c755 size = ALIGN(size, dma_get_cache_alignment()); in page_pool_alloc_frag()
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Ddma.c292 rh->ibi_chunk_sz = dma_get_cache_alignment(); in hci_dma_init()
/openbmc/linux/mm/
H A Dslab_common.c879 unsigned int minalign = dma_get_cache_alignment(); in __kmalloc_minalign()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_main.c419 dma_get_cache_alignment()) / mdev->limits.mtt_seg_size; in mthca_init_icm()
/openbmc/linux/drivers/usb/dwc2/
H A Dhcd.c2451 dma_get_cache_alignment()), in dwc2_free_dma_aligned_buffer()
2484 (dma_get_cache_alignment() - 1) + in dwc2_alloc_dma_aligned_buffer()
2496 dma_get_cache_alignment()), in dwc2_alloc_dma_aligned_buffer()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c68 dma_get_cache_alignment())
1007 if (ALIGN(len, dma_get_cache_alignment()) > space) { in hns3_can_use_tx_bounce()
1096 size = ALIGN(size, dma_get_cache_alignment()); in hns3_tx_spare_alloc()
/openbmc/linux/drivers/scsi/
H A Dscsi_lib.c1909 blk_queue_dma_alignment(q, max(4, dma_get_cache_alignment()) - 1); in __scsi_init_queue()

12