Lines Matching refs:cnt
142 int retval,cnt; in bttv_i2c_sendbytes() local
162 for (cnt = 1; cnt < msg->len; cnt++ ) { in bttv_i2c_sendbytes()
164 xmit = (msg->buf[cnt] << 24) | I2C_HW | BT878_I2C_NOSTART; in bttv_i2c_sendbytes()
165 if (cnt < msg->len-1 || !last) in bttv_i2c_sendbytes()
174 pr_cont(" %02x", msg->buf[cnt]); in bttv_i2c_sendbytes()
192 u32 cnt; in bttv_i2c_readbytes() local
195 for (cnt = 0; cnt < msg->len; cnt++) { in bttv_i2c_readbytes()
197 if (cnt < msg->len-1) in bttv_i2c_readbytes()
199 if (cnt < msg->len-1 || !last) in bttv_i2c_readbytes()
201 if (cnt) in bttv_i2c_readbytes()
215 msg->buf[cnt] = ((u32)btread(BT848_I2C) >> 8) & 0xff; in bttv_i2c_readbytes()
217 pr_cont(" =%02x", msg->buf[cnt]); in bttv_i2c_readbytes()