Lines Matching refs:cnt
143 int retval,cnt; in bttv_i2c_sendbytes() local
165 for (cnt = 1; cnt < msg->len; cnt++ ) { in bttv_i2c_sendbytes()
167 xmit = (msg->buf[cnt] << 24) | I2C_HW | BT878_I2C_NOSTART; in bttv_i2c_sendbytes()
168 if (cnt < msg->len-1 || !last) in bttv_i2c_sendbytes()
177 printk(" %02x", msg->buf[cnt]); in bttv_i2c_sendbytes()
196 u32 cnt; in bttv_i2c_readbytes() local
199 for(cnt = 0; cnt < msg->len; cnt++) { in bttv_i2c_readbytes()
201 if (cnt < msg->len-1) in bttv_i2c_readbytes()
203 if (cnt < msg->len-1 || !last) in bttv_i2c_readbytes()
205 if (cnt) in bttv_i2c_readbytes()
213 msg->buf[cnt] = ((u32)btread(BT848_I2C) >> 8) & 0xff; in bttv_i2c_readbytes()
217 printk(" =%02x", msg->buf[cnt]); in bttv_i2c_readbytes()