Lines Matching refs:write_buf
1446 const u8 *write_buf, u16 write_size) in thp7312_write_buf() argument
1451 ret = i2c_master_send(client, write_buf, write_size); in thp7312_write_buf()
1456 const u8 *write_buf, u16 write_size) in __thp7312_flash_reg_write() argument
1478 memcpy((temp_write_buf + 2), write_buf, write_size); in __thp7312_flash_reg_write()
1490 const u8 *write_buf, u16 write_size, in __thp7312_flash_reg_read() argument
1497 ret = __thp7312_flash_reg_write(thp7312, write_buf, write_size); in __thp7312_flash_reg_read()
1631 u8 *write_buf = thp7312->fw_write_buf; in thp7312_write_download_data_by_unit() local
1637 write_buf[0] = (addr >> 8) & 0xff; in thp7312_write_download_data_by_unit()
1638 write_buf[1] = (addr >> 0) & 0xff; in thp7312_write_download_data_by_unit()
1639 memcpy(&write_buf[2], data, size); in thp7312_write_download_data_by_unit()
1646 ret = thp7312_write_buf(thp7312, write_buf, size + 2); in thp7312_write_download_data_by_unit()