Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/via/
A 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()
599 if ((xfer->mem_stride - xfer->line_length) > 2*PAGE_SIZE) { in via_build_sg_info()
601 "Length: %d\n", xfer->mem_stride, xfer->line_length); in via_build_sg_info()
605 if ((xfer->mem_stride == xfer->line_length) && in via_build_sg_info()
607 xfer->mem_stride *= xfer->num_lines; in via_build_sg_info()
608 xfer->line_length = xfer->mem_stride; in via_build_sg_info()
609 xfer->fb_stride = xfer->mem_stride; in via_build_sg_info()
618 if (xfer->num_lines > 2048 || (xfer->num_lines*xfer->mem_stride > (2048*2048*4))) { in via_build_sg_info()
628 if (xfer->mem_stride < xfer->line_length || in via_build_sg_info()
[all …]
/linux/drivers/media/platform/mtk-jpeg/
A 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()
A 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()
A Dmtk_jpeg_dec_hw.h49 u32 mem_stride[MTK_JPEG_COMP_MAX]; member
A Dmtk_jpeg_core.c748 q_data->pix_mp.plane_fmt[i].bytesperline = param->mem_stride[i]; in mtk_jpeg_set_queue_data()
/linux/include/uapi/drm/
A Dvia_drm.h270 __u32 mem_stride; member

Completed in 13 milliseconds