Searched refs:align_width (Results 1 - 2 of 2) sorted by path

/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_disp_ovl_adaptor.c146 unsigned int align_width; local
170 align_width = ALIGN_DOWN(pending->width, 2);
172 if (align_width > MTK_OVL_ADAPTOR_RDMA_MAX_WIDTH)
176 l_w = (align_width / 2) + ((pending->width / 2) % 2);
177 r_w = align_width - l_w;
179 l_w = align_width;
182 mtk_mmsys_merge_async_config(ovl_adaptor->mmsys_dev, idx, align_width / 2,
H A Dmtk_ethdr.c155 unsigned int align_width = ALIGN_DOWN(pending->width, 2); local
174 MIXER_INX_MODE_BYPASS, align_width / 2 - 1, cmdq_pkt);
176 mtk_ddp_write(cmdq_pkt, pending->height << 16 | align_width, &mixer->cmdq_base,

Completed in 276 milliseconds