Home
last modified time | relevance | path

Searched refs:mem_stride (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/via/
Dvia_dmablit.c156 mem_addr += xfer->mem_stride; in via_map_blit_for_device()
236 vsg->num_pages = VIA_PFN(xfer->mem_addr + (xfer->num_lines * xfer->mem_stride - 1)) - in via_lock_all_dma_pages()
596 if ((xfer->mem_stride - xfer->line_length) > 2*PAGE_SIZE) { in via_build_sg_info()
598 "Length: %d\n", xfer->mem_stride, xfer->line_length); in via_build_sg_info()
602 if ((xfer->mem_stride == xfer->line_length) && in via_build_sg_info()
604 xfer->mem_stride *= xfer->num_lines; in via_build_sg_info()
605 xfer->line_length = xfer->mem_stride; in via_build_sg_info()
606 xfer->fb_stride = xfer->mem_stride; in via_build_sg_info()
615 if (xfer->num_lines > 2048 || (xfer->num_lines*xfer->mem_stride > (2048*2048*4))) { in via_build_sg_info()
625 if (xfer->mem_stride < xfer->line_length || in via_build_sg_info()
[all …]
/Linux-v5.10/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_enc_hw.c99 u32 mem_stride; in mtk_jpeg_set_enc_params() local
122 mem_stride = bytesperline; in mtk_jpeg_set_enc_params()
126 mem_stride = img_stride; in mtk_jpeg_set_enc_params()
129 writel(mem_stride, base + JPEG_ENC_STRIDE); in mtk_jpeg_set_enc_params()
Dmtk_jpeg_dec_hw.c167 param->mem_stride[i] = param->img_stride[i]; in mtk_jpeg_calc_dst_size()
168 param->comp_size[i] = param->mem_stride[i] * ds_row_h[i] * in mtk_jpeg_calc_dst_size()
399 mtk_jpeg_dec_set_mem_stride(base, config->mem_stride[0], in mtk_jpeg_dec_set_config()
400 config->mem_stride[1]); in mtk_jpeg_dec_set_config()
Dmtk_jpeg_dec_hw.h49 u32 mem_stride[MTK_JPEG_COMP_MAX]; member
Dmtk_jpeg_core.c748 q_data->pix_mp.plane_fmt[i].bytesperline = param->mem_stride[i]; in mtk_jpeg_set_queue_data()
/Linux-v5.10/include/uapi/drm/
Dvia_drm.h270 __u32 mem_stride; member