Lines Matching defs:buf
277 .buf = &addr,
283 .buf = ch,
451 u8 *buf, status;
456 buf = (u8 *)kzalloc(args_len * 2 + 2, GFP_KERNEL);
457 if (!buf)
462 kfree(buf, args_len * 2 + 2);
472 msgs[i].buf = buf + 2 *i;
473 buf[2*i + 0] = SDVO_I2C_ARG_0 - i;
474 buf[2*i + 1] = ((u8*)args)[i];
479 msgs[i].buf = buf + 2*i;
480 buf[2*i + 0] = SDVO_I2C_OPCODE;
481 buf[2*i + 1] = cmd;
488 msgs[i+1].buf = &status;
493 msgs[i+2].buf = &status;
509 kfree(buf, args_len * 2 + 2);
899 uint8_t buf[48];
911 pos = buf;