Searched refs:ceudev (Results 1 – 1 of 1) sorted by relevance
317 static int ceu_soft_reset(struct ceu_device *ceudev) in ceu_soft_reset() argument321 ceu_write(ceudev, CEU_CAPSR, CEU_CAPSR_CPKIL); in ceu_soft_reset()324 if (!(ceu_read(ceudev, CEU_CSTSR) & CEU_CSTRST_CPTON)) in ceu_soft_reset()330 dev_err(ceudev->dev, "soft reset time out\n"); in ceu_soft_reset()335 if (!(ceu_read(ceudev, CEU_CAPSR) & CEU_CAPSR_CPKIL)) in ceu_soft_reset()349 static int ceu_hw_config(struct ceu_device *ceudev) in ceu_hw_config() argument352 struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix; in ceu_hw_config()353 struct ceu_subdev *ceu_sd = ceudev->sd; in ceu_hw_config()358 ceu_write(ceudev, CEU_CAIFR, 0); in ceu_hw_config()359 ceu_write(ceudev, CEU_CFWCR, 0); in ceu_hw_config()[all …]