Home
last modified time | relevance | path

Searched refs:l_w (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_disp_merge.c136 void mtk_merge_advance_config(struct device *dev, unsigned int l_w, unsigned int r_w, in mtk_merge_advance_config() argument
143 if (!h || !l_w) { in mtk_merge_advance_config()
144 dev_err(dev, "%s: input width(%d) or height(%d) is invalid\n", __func__, l_w, h); in mtk_merge_advance_config()
156 mtk_ddp_write(cmdq_pkt, h << 16 | l_w, &priv->cmdq_reg, priv->regs, in mtk_merge_advance_config()
160 mtk_ddp_write(cmdq_pkt, h << 16 | (l_w + r_w), &priv->cmdq_reg, priv->regs, in mtk_merge_advance_config()
170 mtk_ddp_write(cmdq_pkt, h << 16 | l_w, &priv->cmdq_reg, priv->regs, in mtk_merge_advance_config()
176 mtk_ddp_write(cmdq_pkt, h << 16 | l_w, &priv->cmdq_reg, priv->regs, in mtk_merge_advance_config()
183 mtk_ddp_write(cmdq_pkt, h << 16 | l_w, &priv->cmdq_reg, priv->regs, in mtk_merge_advance_config()
H A Dmtk_disp_ovl_adaptor.c100 unsigned int l_w = 0; in mtk_ovl_adaptor_layer_config() local
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()
134 mtk_merge_advance_config(merge, l_w, r_w, pending->height, 0, 0, cmdq_pkt); in mtk_ovl_adaptor_layer_config()
138 rdma_config.width = l_w; in mtk_ovl_adaptor_layer_config()
147 rdma_config.x_left = l_w; in mtk_ovl_adaptor_layer_config()
H A Dmtk_disp_drv.h68 void mtk_merge_advance_config(struct device *dev, unsigned int l_w, unsigned int r_w,