• Home
  • Raw
  • Download

Lines Matching refs:rgval

228 	u32 rgval;  in resizer_set_phase()  local
230 rgval = isp_reg_readl(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT) & in resizer_set_phase()
232 rgval |= (h_phase << ISPRSZ_CNT_HSTPH_SHIFT) & ISPRSZ_CNT_HSTPH_MASK; in resizer_set_phase()
233 rgval |= (v_phase << ISPRSZ_CNT_VSTPH_SHIFT) & ISPRSZ_CNT_VSTPH_MASK; in resizer_set_phase()
235 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT); in resizer_set_phase()
264 u32 rgval; in resizer_set_luma() local
266 rgval = (luma->algo << ISPRSZ_YENH_ALGO_SHIFT) in resizer_set_luma()
268 rgval |= (luma->gain << ISPRSZ_YENH_GAIN_SHIFT) in resizer_set_luma()
270 rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT) in resizer_set_luma()
272 rgval |= (luma->core << ISPRSZ_YENH_CORE_SHIFT) in resizer_set_luma()
275 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_YENH); in resizer_set_luma()
311 u32 rgval; in resizer_set_ratio() local
313 rgval = isp_reg_readl(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT) & in resizer_set_ratio()
315 rgval |= ((ratio->horz - 1) << ISPRSZ_CNT_HRSZ_SHIFT) in resizer_set_ratio()
317 rgval |= ((ratio->vert - 1) << ISPRSZ_CNT_VRSZ_SHIFT) in resizer_set_ratio()
319 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT); in resizer_set_ratio()
354 u32 rgval; in resizer_set_output_size() local
356 rgval = (width << ISPRSZ_OUT_SIZE_HORZ_SHIFT) in resizer_set_output_size()
358 rgval |= (height << ISPRSZ_OUT_SIZE_VERT_SHIFT) in resizer_set_output_size()
360 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_OUT_SIZE); in resizer_set_output_size()
397 u32 rgval; in resizer_set_start() local
399 rgval = (left << ISPRSZ_IN_START_HORZ_ST_SHIFT) in resizer_set_start()
401 rgval |= (top << ISPRSZ_IN_START_VERT_ST_SHIFT) in resizer_set_start()
404 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_IN_START); in resizer_set_start()
417 u32 rgval; in resizer_set_input_size() local
419 rgval = (width << ISPRSZ_IN_SIZE_HORZ_SHIFT) in resizer_set_input_size()
421 rgval |= (height << ISPRSZ_IN_SIZE_VERT_SHIFT) in resizer_set_input_size()
424 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_IN_SIZE); in resizer_set_input_size()