Lines Matching refs:size
256 u32 count : 16; /* size of the buffer pointed by this BD */
409 * @word_size: peripheral access size
488 * @ram_code_size: size of SDMA ram image
762 static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size,
771 buf_virt = dma_alloc_coherent(sdma->dev, size, &buf_phys, GFP_KERNEL);
779 bd0->mode.count = size / 2;
783 memcpy(buf_virt, buf, size);
789 dma_free_coherent(sdma->dev, size, buf_virt, buf_phys);
1715 dev_err(sdma->dev, "SDMA channel %d: maximum period size exceeded: %zu > %d\n",
1808 dev_err(sdma->dev, "Invalid peripheral size %zu, expected %zu\n",
1942 if (fw->size < sizeof(*header))
1949 if (header->ram_code_start + header->ram_code_size > fw->size)