Lines Matching refs:write_size
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
1462 if (write_size > THP7312_FLASH_MAX_REG_DATA_SIZE) { in __thp7312_flash_reg_write()
1464 __func__, write_size); in __thp7312_flash_reg_write()
1478 memcpy((temp_write_buf + 2), write_buf, write_size); in __thp7312_flash_reg_write()
1479 ret = thp7312_write_buf(thp7312, temp_write_buf, write_size + 2); 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()
1706 u32 dest, u32 write_size) in thp7312_fw_write_to_flash() argument
1718 command[cmd_size + 3] = ((write_size - 1) & 0xff0000) >> 16; in thp7312_fw_write_to_flash()
1719 command[cmd_size + 4] = ((write_size - 1) & 0x00ff00) >> 8; in thp7312_fw_write_to_flash()
1720 command[cmd_size + 5] = ((write_size - 1) & 0x0000ff); in thp7312_fw_write_to_flash()