Lines Matching refs:bcnt
385 u16 tcnt,bcnt,offs; in pvr2_i2c_xfer() local
401 bcnt = tcnt; in pvr2_i2c_xfer()
402 if (bcnt > sizeof(hdw->cmd_buffer)-1) { in pvr2_i2c_xfer()
403 bcnt = sizeof(hdw->cmd_buffer)-1; in pvr2_i2c_xfer()
406 msgs[0].buf+offs,bcnt)) { in pvr2_i2c_xfer()
410 offs += bcnt; in pvr2_i2c_xfer()
411 tcnt -= bcnt; in pvr2_i2c_xfer()
432 u16 tcnt,bcnt,wcnt,offs; in pvr2_i2c_xfer() local
441 bcnt = tcnt; in pvr2_i2c_xfer()
442 if (bcnt > sizeof(hdw->cmd_buffer)-1) { in pvr2_i2c_xfer()
443 bcnt = sizeof(hdw->cmd_buffer)-1; in pvr2_i2c_xfer()
447 msgs[1].buf+offs,bcnt)) { in pvr2_i2c_xfer()
451 offs += bcnt; in pvr2_i2c_xfer()
452 tcnt -= bcnt; in pvr2_i2c_xfer()