Lines Matching refs:inpos
75 unsigned int inpos; member
293 if (ibe->inpos < 5) { in handle_msg()
299 ibe->inpos = 4; in handle_msg()
300 } else if (ipmb_checksum(ibe->inbuf, ibe->inpos, 0) != 0) { in handle_msg()
304 ibe->inpos--; /* Remove checksum */ in handle_msg()
309 k->handle_rsp(ibe->parent.intf, ibe->inbuf[0], ibe->inbuf + 1, ibe->inpos - 1); in handle_msg()
330 ibe->inpos = 0; in receive()
337 ibe->inpos = 0; in receive()
343 ibe->inpos = 0; in receive()
348 if (ibe->inpos < 1) { in receive()
352 ibe->inpos = 0; in receive()
368 if (ibe->inpos >= sizeof(ibe->inbuf)) { in receive()
372 ibe->inbuf[ibe->inpos] = ch; in receive()
373 ibe->inpos++; in receive()