Lines Matching refs:directcntl
92 " xtcntlss = 0x%02x, directcntl = 0x%02x\n",
95 in_8(&iic->xtcntlss), in_8(&iic->directcntl));
194 dc = in_8(&iic->directcntl);
199 out_8(&iic->directcntl, DIRCNTL_SDAC | DIRCNTL_SCC);
203 dc = in_8(&iic->directcntl);
209 out_8(&iic->directcntl, dc);
212 out_8(&iic->directcntl, dc);
234 while ((in_8(&iic->directcntl) & mask) != mask){
262 out_8(&iic->directcntl, DIRCNTL_SDAC | DIRCNTL_SCC);
268 out_8(&iic->directcntl, DIRCNTL_SCC);
275 out_8(&iic->directcntl, sda);
278 out_8(&iic->directcntl, sda);
281 out_8(&iic->directcntl, DIRCNTL_SCC | sda);
288 out_8(&iic->directcntl, sda);
290 out_8(&iic->directcntl, DIRCNTL_SDAC);
292 out_8(&iic->directcntl, DIRCNTL_SDAC | DIRCNTL_SCC);
295 res = (in_8(&iic->directcntl) & DIRCNTL_MSDA) ? -EREMOTEIO : 1;
299 out_8(&iic->directcntl, 0);
301 out_8(&iic->directcntl, DIRCNTL_SCC);
305 out_8(&iic->directcntl, DIRCNTL_SDAC | DIRCNTL_SCC);