Searched refs:ceu_read (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/media/platform/soc_camera/ |
D | sh_mobile_ceu_camera.c | 155 static u32 ceu_read(struct sh_mobile_ceu_dev *priv, unsigned long reg_offs) in ceu_read() function 168 if (!(ceu_read(pcdev, CSTSR) & 1)) { in sh_mobile_ceu_soft_reset() 177 if (!(ceu_read(pcdev, CAPSR) & (1 << 16))) { in sh_mobile_ceu_soft_reset() 264 ceu_write(pcdev, CEIER, ceu_read(pcdev, CEIER) & ~CEU_CEIER_MASK); in sh_mobile_ceu_capture() 265 status = ceu_read(pcdev, CETCR); in sh_mobile_ceu_capture() 268 ceu_write(pcdev, CEIER, ceu_read(pcdev, CEIER) | CEU_CEIER_MASK); in sh_mobile_ceu_capture() 269 ceu_write(pcdev, CAPCR, ceu_read(pcdev, CAPCR) & ~CEU_CAPCR_CTNCP); in sh_mobile_ceu_capture() 665 u32 capsr = ceu_read(pcdev, CAPSR); in capture_save_reset() 678 while ((ceu_read(pcdev, CSTSR) & 1) && time_before(jiffies, timeout)) in capture_restore() 688 while (ceu_read(pcdev, CAPSR) & (1 << 16)) in capture_restore()
|
/Linux-v4.19/drivers/media/platform/ |
D | renesas-ceu.c | 308 static u32 ceu_read(struct ceu_device *priv, unsigned int reg_offs) in ceu_read() function 326 if (!(ceu_read(ceudev, CEU_CSTSR) & CEU_CSTRST_CPTON)) in ceu_soft_reset() 337 if (!(ceu_read(ceudev, CEU_CAPSR) & CEU_CAPSR_CPKIL)) in ceu_soft_reset() 501 status = ceu_read(ceudev, CEU_CETCR); in ceu_irq() 750 ceu_read(ceudev, CEU_CETCR) & ceudev->irq_mask); in ceu_stop_streaming()
|