Home
last modified time | relevance | path

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

/drivers/media/platform/soc_camera/
Dsh_mobile_ceu_camera.c159 static u32 ceu_read(struct sh_mobile_ceu_dev *priv, unsigned long reg_offs) in ceu_read() function
172 if (!(ceu_read(pcdev, CSTSR) & 1)) { in sh_mobile_ceu_soft_reset()
181 if (!(ceu_read(pcdev, CAPSR) & (1 << 16))) { in sh_mobile_ceu_soft_reset()
268 ceu_write(pcdev, CEIER, ceu_read(pcdev, CEIER) & ~CEU_CEIER_MASK); in sh_mobile_ceu_capture()
269 status = ceu_read(pcdev, CETCR); in sh_mobile_ceu_capture()
272 ceu_write(pcdev, CEIER, ceu_read(pcdev, CEIER) | CEU_CEIER_MASK); in sh_mobile_ceu_capture()
273 ceu_write(pcdev, CAPCR, ceu_read(pcdev, CAPCR) & ~CEU_CAPCR_CTNCP); in sh_mobile_ceu_capture()
664 u32 capsr = ceu_read(pcdev, CAPSR); in capture_save_reset()
677 while ((ceu_read(pcdev, CSTSR) & 1) && time_before(jiffies, timeout)) in capture_restore()
687 while (ceu_read(pcdev, CAPSR) & (1 << 16)) in capture_restore()