Lines Matching defs:num
27 static int saa7146_i2c_msg_prepare(const struct i2c_msg *m, int num, u32 *op)
34 for(i = 0; i < num; i++) {
53 for(i = 0; i < num; i++) {
87 static int saa7146_i2c_msg_cleanup(const struct i2c_msg *m, int num, u32 *op)
93 for(i = 0; i < num; i++) {
276 int saa7146_i2c_transfer(struct saa7146_dev *dev, const struct i2c_msg *msgs, int num, int retries)
287 for(i=0;i<num;i++) {
288 DEB_I2C(("msg:%d/%d\n",i+1,num));
292 count = saa7146_i2c_msg_prepare(msgs, num, buffer);
337 err = num;
344 } while (err != num && retries--);
352 if ( 0 != saa7146_i2c_msg_cleanup(msgs, num, buffer)) {
376 static int saa7146_i2c_xfer(struct i2c_adapter* adapter, struct i2c_msg *msg, int num)
381 return saa7146_i2c_transfer(dev, msg, num, adapter->retries);