Searched refs:ceudev (Results 1 – 1 of 1) sorted by relevance
319 static int ceu_soft_reset(struct ceu_device *ceudev) in ceu_soft_reset() argument323 ceu_write(ceudev, CEU_CAPSR, CEU_CAPSR_CPKIL); in ceu_soft_reset()326 if (!(ceu_read(ceudev, CEU_CSTSR) & CEU_CSTRST_CPTON)) in ceu_soft_reset()332 dev_err(ceudev->dev, "soft reset time out\n"); in ceu_soft_reset()337 if (!(ceu_read(ceudev, CEU_CAPSR) & CEU_CAPSR_CPKIL)) in ceu_soft_reset()351 static int ceu_hw_config(struct ceu_device *ceudev) in ceu_hw_config() argument354 struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix; in ceu_hw_config()355 struct ceu_subdev *ceu_sd = ceudev->sd; in ceu_hw_config()360 ceu_write(ceudev, CEU_CAIFR, 0); in ceu_hw_config()361 ceu_write(ceudev, CEU_CFWCR, 0); in ceu_hw_config()[all …]