Lines Matching refs:out_8
126 out_8(&dev->vaddr->intmsk, enable ? INTRMSK_EIMTC : 0); in iic_interrupt_mode()
139 out_8(&iic->lmadr, 0); in iic_dev_init()
140 out_8(&iic->hmadr, 0); in iic_dev_init()
143 out_8(&iic->lsadr, 0); in iic_dev_init()
144 out_8(&iic->hsadr, 0); in iic_dev_init()
147 out_8(&iic->sts, STS_SCMP | STS_IRQA); in iic_dev_init()
148 out_8(&iic->extsts, EXTSTS_IRQP | EXTSTS_IRQD | EXTSTS_LA in iic_dev_init()
152 out_8(&iic->clkdiv, dev->clckdiv); in iic_dev_init()
155 out_8(&iic->xfrcnt, 0); in iic_dev_init()
158 out_8(&iic->xtcntlss, XTCNTLSS_SRC | XTCNTLSS_SRS | XTCNTLSS_SWC in iic_dev_init()
162 out_8(&iic->cntl, 0); in iic_dev_init()
168 out_8(&iic->mdcntl, MDCNTL_FMDB | MDCNTL_EINT | MDCNTL_EUBS in iic_dev_init()
187 out_8(&iic->xtcntlss, XTCNTLSS_SRST); in iic_dev_reset()
195 out_8(&iic->directcntl, DIRCNTL_SDAC | DIRCNTL_SCC); in iic_dev_reset()
205 out_8(&iic->directcntl, dc); in iic_dev_reset()
208 out_8(&iic->directcntl, dc); in iic_dev_reset()
216 out_8(&iic->xtcntlss, 0); in iic_dev_reset()
255 out_8(&iic->xtcntlss, XTCNTLSS_SRST); in iic_smbus_quick()
258 out_8(&iic->directcntl, DIRCNTL_SDAC | DIRCNTL_SCC); in iic_smbus_quick()
264 out_8(&iic->directcntl, DIRCNTL_SCC); in iic_smbus_quick()
271 out_8(&iic->directcntl, sda); in iic_smbus_quick()
274 out_8(&iic->directcntl, sda); in iic_smbus_quick()
277 out_8(&iic->directcntl, DIRCNTL_SCC | sda); in iic_smbus_quick()
284 out_8(&iic->directcntl, sda); in iic_smbus_quick()
286 out_8(&iic->directcntl, DIRCNTL_SDAC); in iic_smbus_quick()
288 out_8(&iic->directcntl, DIRCNTL_SDAC | DIRCNTL_SCC); in iic_smbus_quick()
295 out_8(&iic->directcntl, 0); in iic_smbus_quick()
297 out_8(&iic->directcntl, DIRCNTL_SCC); in iic_smbus_quick()
301 out_8(&iic->directcntl, DIRCNTL_SDAC | DIRCNTL_SCC); in iic_smbus_quick()
308 out_8(&iic->xtcntlss, 0); in iic_smbus_quick()
332 out_8(&iic->sts, STS_IRQA | STS_SCMP); in iic_handler()
351 out_8(&iic->extsts, EXTSTS_IRQP | EXTSTS_IRQD | in iic_xfer_result()
355 out_8(&iic->mdcntl, in_8(&iic->mdcntl) | MDCNTL_FMDB); in iic_xfer_result()
382 out_8(&iic->cntl, CNTL_HMT); in iic_abort_xfer()
476 out_8((void __iomem *)&iic->mdbuf, *buf++); in iic_xfer_bytes()
486 out_8(&iic->cntl, cmd); in iic_xfer_bytes()
525 out_8(&iic->cntl, CNTL_AMD); in iic_address()
526 out_8(&iic->lmadr, addr); in iic_address()
527 out_8(&iic->hmadr, 0xf0 | ((addr >> 7) & 0x06)); in iic_address()
530 out_8(&iic->cntl, 0); in iic_address()
531 out_8(&iic->lmadr, addr << 1); in iic_address()
607 out_8(&iic->mdcntl, in_8(&iic->mdcntl) | MDCNTL_FMDB); in iic_xfer()