Lines Matching refs:rgval
230 u32 rgval; in resizer_set_phase() local
232 rgval = isp_reg_readl(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT) & in resizer_set_phase()
234 rgval |= (h_phase << ISPRSZ_CNT_HSTPH_SHIFT) & ISPRSZ_CNT_HSTPH_MASK; in resizer_set_phase()
235 rgval |= (v_phase << ISPRSZ_CNT_VSTPH_SHIFT) & ISPRSZ_CNT_VSTPH_MASK; in resizer_set_phase()
237 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT); in resizer_set_phase()
266 u32 rgval; in resizer_set_luma() local
268 rgval = (luma->algo << ISPRSZ_YENH_ALGO_SHIFT) in resizer_set_luma()
270 rgval |= (luma->gain << ISPRSZ_YENH_GAIN_SHIFT) in resizer_set_luma()
272 rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT) in resizer_set_luma()
274 rgval |= (luma->core << ISPRSZ_YENH_CORE_SHIFT) in resizer_set_luma()
277 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_YENH); in resizer_set_luma()
313 u32 rgval; in resizer_set_ratio() local
315 rgval = isp_reg_readl(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT) & in resizer_set_ratio()
317 rgval |= ((ratio->horz - 1) << ISPRSZ_CNT_HRSZ_SHIFT) in resizer_set_ratio()
319 rgval |= ((ratio->vert - 1) << ISPRSZ_CNT_VRSZ_SHIFT) in resizer_set_ratio()
321 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT); in resizer_set_ratio()
356 u32 rgval; in resizer_set_output_size() local
358 rgval = (width << ISPRSZ_OUT_SIZE_HORZ_SHIFT) in resizer_set_output_size()
360 rgval |= (height << ISPRSZ_OUT_SIZE_VERT_SHIFT) in resizer_set_output_size()
362 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_OUT_SIZE); in resizer_set_output_size()
399 u32 rgval; in resizer_set_start() local
401 rgval = (left << ISPRSZ_IN_START_HORZ_ST_SHIFT) in resizer_set_start()
403 rgval |= (top << ISPRSZ_IN_START_VERT_ST_SHIFT) in resizer_set_start()
406 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_IN_START); in resizer_set_start()
419 u32 rgval; in resizer_set_input_size() local
421 rgval = (width << ISPRSZ_IN_SIZE_HORZ_SHIFT) in resizer_set_input_size()
423 rgval |= (height << ISPRSZ_IN_SIZE_VERT_SHIFT) in resizer_set_input_size()
426 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_IN_SIZE); in resizer_set_input_size()