Lines Matching defs:msgs
272 struct i2c_msg msgs[] = {
288 if ((ret = i2c_transfer(intel_sdvo->i2c, msgs, 2)) == 2)
452 struct i2c_msg *msgs;
460 msgs = kcalloc(args_len + 3, sizeof(*msgs), GFP_KERNEL);
461 if (!msgs) {
469 msgs[i].addr = intel_sdvo->slave_addr;
470 msgs[i].flags = 0;
471 msgs[i].len = 2;
472 msgs[i].buf = buf + 2 *i;
476 msgs[i].addr = intel_sdvo->slave_addr;
477 msgs[i].flags = 0;
478 msgs[i].len = 2;
479 msgs[i].buf = buf + 2*i;
485 msgs[i+1].addr = intel_sdvo->slave_addr;
486 msgs[i+1].flags = 0;
487 msgs[i+1].len = 1;
488 msgs[i+1].buf = &status;
490 msgs[i+2].addr = intel_sdvo->slave_addr;
491 msgs[i+2].flags = I2C_M_RD;
492 msgs[i+2].len = 1;
493 msgs[i+2].buf = &status;
495 ret = i2c_transfer(intel_sdvo->i2c, msgs, i+3);
508 kfree(msgs, (args_len + 3) * sizeof(*msgs));
2814 struct i2c_msg *msgs,
2822 return sdvo->i2c->algo->master_xfer(sdvo->i2c, msgs, num);