Lines Matching refs:in_8
89 in_8(&iic->cntl), in_8(&iic->mdcntl), in_8(&iic->sts), in dump_iic_regs()
90 in_8(&iic->extsts), in_8(&iic->clkdiv), in_8(&iic->xfrcnt), in dump_iic_regs()
91 in_8(&iic->xtcntlss), in_8(&iic->directcntl)); in dump_iic_regs()
190 dc = in_8(&iic->directcntl); in iic_dev_reset()
199 dc = in_8(&iic->directcntl); in iic_dev_reset()
230 while ((in_8(&iic->directcntl) & mask) != mask){ in iic_dc_wait()
291 res = (in_8(&iic->directcntl) & DIRCNTL_MSDA) ? -EREMOTEIO : 1; in iic_smbus_quick()
329 dev->idx, in_8(&iic->sts), in_8(&iic->extsts)); in iic_handler()
346 if (unlikely(in_8(&iic->sts) & STS_ERR)){ in iic_xfer_result()
348 in_8(&iic->extsts)); in iic_xfer_result()
355 out_8(&iic->mdcntl, in_8(&iic->mdcntl) | MDCNTL_FMDB); in iic_xfer_result()
362 if ((in_8(&iic->extsts) & EXTSTS_BCS_MASK) != EXTSTS_BCS_FREE){ in iic_xfer_result()
369 return in_8(&iic->xfrcnt) & XFRCNT_MTC_MASK; in iic_xfer_result()
389 while ((in_8(&iic->extsts) & EXTSTS_BCS_MASK) != EXTSTS_BCS_FREE){ in iic_abort_xfer()
415 !(in_8(&iic->sts) & STS_PT), dev->adap.timeout); in iic_wait_for_tc()
419 else if (unlikely(in_8(&iic->sts) & STS_PT)){ in iic_wait_for_tc()
428 while (in_8(&iic->sts) & STS_PT){ in iic_wait_for_tc()
465 u8 cntl = (in_8(&iic->cntl) & CNTL_AMD) | CNTL_PT; in iic_xfer_bytes()
507 *buf++ = in_8((void __iomem *)&iic->mdbuf); in iic_xfer_bytes()
587 if (unlikely((in_8(&iic->extsts) & EXTSTS_BCS_MASK) != EXTSTS_BCS_FREE)){ in iic_xfer()
600 if ((in_8(&iic->extsts) & EXTSTS_BCS_MASK) != EXTSTS_BCS_FREE){ in iic_xfer()
607 out_8(&iic->mdcntl, in_8(&iic->mdcntl) | MDCNTL_FMDB); in iic_xfer()