Lines Matching refs:ibuf
202 u8 obuf[3], ibuf[MAX_XFER_SIZE]; in cxusb_i2c_xfer() local
204 if (1 + msg[i].len > sizeof(ibuf)) { in cxusb_i2c_xfer()
215 ibuf, 1 + msg[i].len) < 0) { in cxusb_i2c_xfer()
219 memcpy(msg[i].buf, &ibuf[1], msg[i].len); in cxusb_i2c_xfer()
223 u8 obuf[MAX_XFER_SIZE], ibuf[MAX_XFER_SIZE]; in cxusb_i2c_xfer() local
231 if (1 + msg[i + 1].len > sizeof(ibuf)) { in cxusb_i2c_xfer()
244 ibuf, 1 + msg[i + 1].len) < 0) in cxusb_i2c_xfer()
247 if (ibuf[0] != 0x08) in cxusb_i2c_xfer()
250 memcpy(msg[i + 1].buf, &ibuf[1], msg[i + 1].len); in cxusb_i2c_xfer()
255 u8 obuf[MAX_XFER_SIZE], ibuf; in cxusb_i2c_xfer() local
268 2 + msg[i].len, &ibuf, 1) < 0) in cxusb_i2c_xfer()
270 if (ibuf != 0x08) in cxusb_i2c_xfer()