Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/arch/parisc/include/asm/
Dcache.h32 #define dma_get_cache_alignment cache_line_size macro
/linux-6.12.1/arch/arm64/include/asm/
Dcache.h88 #define dma_get_cache_alignment cache_line_size macro
/linux-6.12.1/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.c581 dma_get_cache_alignment()), in allocate_flows()
/linux-6.12.1/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.c788 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.12.1/include/linux/
Ddma-mapping.h582 #ifndef dma_get_cache_alignment
583 static inline int dma_get_cache_alignment(void) in dma_get_cache_alignment() function
Ddma-map-ops.h291 IS_ALIGNED(kmalloc_size_roundup(size), dma_get_cache_alignment())) in dma_kmalloc_size_aligned()
/linux-6.12.1/drivers/tty/serial/
Dsamsung_tty.c441 dma->tx_size = count & ~(dma_get_cache_alignment() - 1); in s3c24xx_serial_start_tx_dma()
482 tail & (dma_get_cache_alignment() - 1)) in s3c24xx_serial_start_next_tx()
874 int align = dma_get_cache_alignment() - in s3c24xx_serial_tx_chars()
875 (tail & (dma_get_cache_alignment() - 1)); in s3c24xx_serial_tx_chars()
2029 dma_get_cache_alignment()); in s3c24xx_serial_probe()
/linux-6.12.1/drivers/spi/
Dspi-qup.c919 size_t dma_align = dma_get_cache_alignment(); in spi_qup_can_dma()
1096 host->dma_alignment = dma_get_cache_alignment(); in spi_qup_probe()
Dspi-bcm2835.c1232 target = kzalloc(ALIGN(sizeof(*target), dma_get_cache_alignment()), in bcm2835_spi_setup()
/linux-6.12.1/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c573 unsigned long dma_align = dma_get_cache_alignment(); in vb2_dc_get_userptr()
/linux-6.12.1/drivers/i3c/master/mipi-i3c-hci/
Ddma.c280 rh->ibi_chunk_sz = dma_get_cache_alignment(); in hci_dma_init()
/linux-6.12.1/net/core/
Dpage_pool.c947 size = ALIGN(size, dma_get_cache_alignment()); in page_pool_alloc_frag_netmem()
/linux-6.12.1/mm/
Dslab_common.c885 unsigned int minalign = dma_get_cache_alignment(); in __kmalloc_minalign()
/linux-6.12.1/drivers/infiniband/hw/mthca/
Dmthca_main.c419 dma_get_cache_alignment()) / mdev->limits.mtt_seg_size; in mthca_init_icm()
/linux-6.12.1/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.12.1/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.12.1/drivers/scsi/
Dscsi_lib.c1980 shost->dma_alignment, dma_get_cache_alignment() - 1); in scsi_init_limits()

12