Home
last modified time | relevance | path

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

12

/linux-6.6.21/arch/riscv/include/asm/
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
/linux-6.6.21/arch/arm64/include/asm/
Dcache.h94 #define dma_get_cache_alignment cache_line_size macro
/linux-6.6.21/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-prng.c87 todo_with_padding = ALIGN(todo, dma_get_cache_alignment()); in sun8i_ss_prng_generate()
Dsun8i-ss-core.c586 dma_get_cache_alignment()), in allocate_flows()
/linux-6.6.21/drivers/crypto/caam/
Dcaamprng.c80 unsigned int aligned_dlen = ALIGN(dlen, dma_get_cache_alignment()); in caam_prng_generate()
Dcaamrng.c235 dma_get_cache_alignment()), in caam_init()
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()
Dqi.c766 dma_get_cache_alignment(), 0, NULL); in caam_qi_init()
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()
Dcaamalg_qi.c1213 dma_get_cache_alignment()); in skcipher_edesc_iv()
1333 len = ALIGN(len, dma_get_cache_alignment()); in skcipher_edesc_alloc()
Dcaamhash.c439 ALIGN(keylen, dma_get_cache_alignment()); in ahash_setkey()
/linux-6.6.21/include/linux/
Ddma-mapping.h549 #ifndef dma_get_cache_alignment
550 static inline int dma_get_cache_alignment(void) in dma_get_cache_alignment() function
Ddma-map-ops.h310 IS_ALIGNED(kmalloc_size_roundup(size), dma_get_cache_alignment())) in dma_kmalloc_size_aligned()
/linux-6.6.21/drivers/tty/serial/
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()
2128 dma_get_cache_alignment()); in s3c24xx_serial_probe()
/linux-6.6.21/drivers/spi/
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()
Dspi-bcm2835.c1229 target = kzalloc(ALIGN(sizeof(*target), dma_get_cache_alignment()), in bcm2835_spi_setup()
/linux-6.6.21/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c572 unsigned long dma_align = dma_get_cache_alignment(); in vb2_dc_get_userptr()
/linux-6.6.21/net/core/
Dpage_pool.c755 size = ALIGN(size, dma_get_cache_alignment()); in page_pool_alloc_frag()
/linux-6.6.21/drivers/i3c/master/mipi-i3c-hci/
Ddma.c292 rh->ibi_chunk_sz = dma_get_cache_alignment(); in hci_dma_init()
/linux-6.6.21/mm/
Dslab_common.c898 unsigned int minalign = dma_get_cache_alignment(); in __kmalloc_minalign()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_main.c419 dma_get_cache_alignment()) / mdev->limits.mtt_seg_size; in mthca_init_icm()
/linux-6.6.21/drivers/usb/dwc2/
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()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
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()
/linux-6.6.21/drivers/scsi/
Dscsi_lib.c1910 blk_queue_dma_alignment(q, max(4, dma_get_cache_alignment()) - 1); in __scsi_init_queue()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Db44.c2568 unsigned int dma_desc_align_size = dma_get_cache_alignment(); in b44_init()

12