Searched refs:align_width (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/mediatek/ |
D | mtk_disp_ovl_adaptor.c | 99 unsigned int align_width; in mtk_ovl_adaptor_layer_config() local 123 align_width = ALIGN_DOWN(pending->width, 2); in mtk_ovl_adaptor_layer_config() 125 if (align_width > MTK_OVL_ADAPTOR_RDMA_MAX_WIDTH) in mtk_ovl_adaptor_layer_config() 129 l_w = (align_width / 2) + ((pending->width / 2) % 2); in mtk_ovl_adaptor_layer_config() 130 r_w = align_width - l_w; in mtk_ovl_adaptor_layer_config() 132 l_w = align_width; in mtk_ovl_adaptor_layer_config() 135 mtk_mmsys_merge_async_config(ovl_adaptor->mmsys_dev, idx, align_width / 2, in mtk_ovl_adaptor_layer_config()
|
D | mtk_ethdr.c | 155 unsigned int align_width = ALIGN_DOWN(pending->width, 2); in mtk_ethdr_layer_config() local 174 MIXER_INX_MODE_BYPASS, align_width / 2 - 1, cmdq_pkt); in mtk_ethdr_layer_config() 176 mtk_ddp_write(cmdq_pkt, pending->height << 16 | align_width, &mixer->cmdq_base, in mtk_ethdr_layer_config()
|