Lines Matching refs:ceu_write
160 static void ceu_write(struct sh_mobile_ceu_dev *priv,
176 ceu_write(pcdev, CAPSR, 1 << 16); /* reset */
280 ceu_write(pcdev, CEIER, ceu_read(pcdev, CEIER) & ~CEU_CEIER_MASK);
282 ceu_write(pcdev, CETCR, ~status & CEU_CETCR_MAGIC);
283 ceu_write(pcdev, CEIER, ceu_read(pcdev, CEIER) | CEU_CEIER_MASK);
284 ceu_write(pcdev, CAPCR, ceu_read(pcdev, CAPCR) & ~CEU_CAPCR_CTNCP);
285 ceu_write(pcdev, CETCR, CEU_CETCR_MAGIC ^ CEU_CETCR_IGRW);
313 ceu_write(pcdev, top1, phys_addr_top);
316 ceu_write(pcdev, bottom1, phys_addr_bottom);
326 ceu_write(pcdev, top2, phys_addr_top);
329 ceu_write(pcdev, bottom2, phys_addr_bottom);
334 ceu_write(pcdev, CAPSR, 0x1); /* start capture */
438 ceu_write(pcdev, CAPSR, 1 << 16);
526 ceu_write(pcdev, CEIER, 0);
650 ceu_write(pcdev, CAMOR, camor);
651 ceu_write(pcdev, CAPWR, (in_height << 16) | in_width);
652 ceu_write(pcdev, CFSZR, (height << 16) | width);
653 ceu_write(pcdev, CDWDR, cdwdr_width);
659 ceu_write(pcdev, CAPSR, 1 << 16); /* reset, stop capture */
686 ceu_write(pcdev, CAPSR, capsr);
738 ceu_write(pcdev, CRCNTR, 0);
739 ceu_write(pcdev, CRCMPR, 0);
781 ceu_write(pcdev, CAMCR, value);
783 ceu_write(pcdev, CAPCR, 0x00300000);
796 ceu_write(pcdev, CAIFR, value);
802 ceu_write(pcdev, CFLCR, pcdev->cflcr);
821 ceu_write(pcdev, CDOCR, value);
822 ceu_write(pcdev, CFWCR, 0); /* keep "datafetch firewall" disabled */
1434 ceu_write(pcdev, CFLCR, cflcr);
1834 ceu_write(pcdev, CLFCR, !ctrl->value);