Lines Matching defs:write_buf
1449 const u8 *write_buf, u16 write_size)
1454 ret = i2c_master_send(client, write_buf, write_size);
1459 const u8 *write_buf, u16 write_size)
1481 memcpy((temp_write_buf + 2), write_buf, write_size);
1493 const u8 *write_buf, u16 write_size,
1500 ret = __thp7312_flash_reg_write(thp7312, write_buf, write_size);
1634 u8 *write_buf = thp7312->fw_write_buf;
1640 write_buf[0] = (addr >> 8) & 0xff;
1641 write_buf[1] = (addr >> 0) & 0xff;
1642 memcpy(&write_buf[2], data, size);
1649 ret = thp7312_write_buf(thp7312, write_buf, size + 2);