Searched refs:ceudev (Results 1 – 1 of 1) sorted by relevance
316 static int ceu_soft_reset(struct ceu_device *ceudev) in ceu_soft_reset() argument320 ceu_write(ceudev, CEU_CAPSR, CEU_CAPSR_CPKIL); in ceu_soft_reset()323 if (!(ceu_read(ceudev, CEU_CSTSR) & CEU_CSTRST_CPTON)) in ceu_soft_reset()329 dev_err(ceudev->dev, "soft reset time out\n"); in ceu_soft_reset()334 if (!(ceu_read(ceudev, CEU_CAPSR) & CEU_CAPSR_CPKIL)) in ceu_soft_reset()348 static int ceu_hw_config(struct ceu_device *ceudev) in ceu_hw_config() argument351 struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix; in ceu_hw_config()352 struct ceu_subdev *ceu_sd = ceudev->sd; in ceu_hw_config()357 ceu_write(ceudev, CEU_CAIFR, 0); in ceu_hw_config()358 ceu_write(ceudev, CEU_CFWCR, 0); in ceu_hw_config()[all …]