Searched refs:regs_sz (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_telemetry.c | 62 size_t regs_sz = tl_data->layout_sz; in adf_tl_alloc_mem() local 84 telemetry->regs_data = dma_alloc_coherent(dev, regs_sz, in adf_tl_alloc_mem() 91 tl_data_regs = kzalloc_node(regs_sz, GFP_KERNEL, node); in adf_tl_alloc_mem() 103 dma_free_coherent(dev, regs_sz, telemetry->regs_data, in adf_tl_alloc_mem() 124 size_t regs_sz = tl_data->layout_sz; in adf_tl_free_mem() local 130 dma_free_coherent(dev, regs_sz, telemetry->regs_data, in adf_tl_free_mem()
|
/linux/drivers/dma/ |
H A D | hisi_dma.c | 843 u32 *regs_sz) in hisi_dma_get_ch_regs() argument 852 *regs_sz = regs_sz_comm + ARRAY_SIZE(hisi_dma_hip08_chan_regs); in hisi_dma_get_ch_regs() 854 *regs_sz = regs_sz_comm + ARRAY_SIZE(hisi_dma_hip09_chan_regs); in hisi_dma_get_ch_regs() 856 regs = devm_kcalloc(dev, *regs_sz, sizeof(struct debugfs_reg32), in hisi_dma_get_ch_regs() 879 u32 regs_sz; in hisi_dma_create_chan_dir() local 890 regs = hisi_dma_get_ch_regs(hdma_dev, ®s_sz); in hisi_dma_create_chan_dir() 896 regsets[i].nregs = regs_sz; in hisi_dma_create_chan_dir()
|