Home
last modified time | relevance | path

Searched refs:dc_ctrl (Results 1 – 2 of 2) sorted by relevance

/drivers/video/fbdev/
Dsmscufx.c240 u32 dc_ctrl, dc_sts; in ufx_blank() local
246 status = ufx_reg_read(dev, 0x2000, &dc_ctrl); in ufx_blank()
250 if ((dc_sts & 0x00000100) || (dc_ctrl & 0x00000100)) in ufx_blank()
254 dc_ctrl |= 0x00000100; in ufx_blank()
255 status = ufx_reg_write(dev, 0x2000, dc_ctrl); in ufx_blank()
277 u32 dc_ctrl, dc_sts; in ufx_unblank() local
283 status = ufx_reg_read(dev, 0x2000, &dc_ctrl); in ufx_unblank()
287 if (((dc_sts & 0x00000100) == 0) || ((dc_ctrl & 0x00000100) == 0)) in ufx_unblank()
291 dc_ctrl &= ~0x00000100; in ufx_unblank()
292 status = ufx_reg_write(dev, 0x2000, dc_ctrl); in ufx_unblank()
[all …]
/drivers/staging/media/rkisp1/
Drkisp1-resizer.c210 u32 dc_ctrl = rkisp1_read(rsz->rkisp1, rsz->config->dual_crop.ctrl); in rkisp1_dcrop_disable() local
214 dc_ctrl &= mask; in rkisp1_dcrop_disable()
216 dc_ctrl |= RKISP1_CIF_DUAL_CROP_GEN_CFG_UPD; in rkisp1_dcrop_disable()
218 dc_ctrl |= RKISP1_CIF_DUAL_CROP_CFG_UPD; in rkisp1_dcrop_disable()
219 rkisp1_write(rsz->rkisp1, dc_ctrl, rsz->config->dual_crop.ctrl); in rkisp1_dcrop_disable()
228 u32 dc_ctrl; in rkisp1_dcrop_config() local
243 dc_ctrl = rkisp1_read(rkisp1, rsz->config->dual_crop.ctrl); in rkisp1_dcrop_config()
248 dc_ctrl |= rsz->config->dual_crop.yuvmode_mask; in rkisp1_dcrop_config()
249 dc_ctrl |= RKISP1_CIF_DUAL_CROP_CFG_UPD; in rkisp1_dcrop_config()
250 rkisp1_write(rkisp1, dc_ctrl, rsz->config->dual_crop.ctrl); in rkisp1_dcrop_config()