Lines Matching refs:directcntl
91 in_8(&iic->xtcntlss), in_8(&iic->directcntl)); in dump_iic_regs()
190 dc = in_8(&iic->directcntl); in iic_dev_reset()
195 out_8(&iic->directcntl, DIRCNTL_SDAC | DIRCNTL_SCC); in iic_dev_reset()
199 dc = in_8(&iic->directcntl); in iic_dev_reset()
205 out_8(&iic->directcntl, dc); in iic_dev_reset()
208 out_8(&iic->directcntl, dc); in iic_dev_reset()
230 while ((in_8(&iic->directcntl) & mask) != mask){ in iic_dc_wait()
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()
291 res = (in_8(&iic->directcntl) & DIRCNTL_MSDA) ? -EREMOTEIO : 1; 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()