Searched refs:mem_stride (Results 1 – 6 of 6) sorted by relevance
156 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 …]
99 u32 mem_stride; in mtk_jpeg_set_enc_params() local122 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()
167 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()
49 u32 mem_stride[MTK_JPEG_COMP_MAX]; member
748 q_data->pix_mp.plane_fmt[i].bytesperline = param->mem_stride[i]; in mtk_jpeg_set_queue_data()
270 __u32 mem_stride; member