Lines Matching refs:write_size
1443 const u8 *write_buf, u16 write_size) in thp7312_write_buf() argument
1448 ret = i2c_master_send(client, write_buf, write_size); in thp7312_write_buf()
1453 const u8 *write_buf, u16 write_size) in __thp7312_flash_reg_write() argument
1459 if (write_size > THP7312_FLASH_MAX_REG_DATA_SIZE) { in __thp7312_flash_reg_write()
1461 __func__, write_size); in __thp7312_flash_reg_write()
1475 memcpy((temp_write_buf + 2), write_buf, write_size); in __thp7312_flash_reg_write()
1476 ret = thp7312_write_buf(thp7312, temp_write_buf, write_size + 2); in __thp7312_flash_reg_write()
1487 const u8 *write_buf, u16 write_size, in __thp7312_flash_reg_read() argument
1494 ret = __thp7312_flash_reg_write(thp7312, write_buf, write_size); in __thp7312_flash_reg_read()
1703 u32 dest, u32 write_size) in thp7312_fw_write_to_flash() argument
1715 command[cmd_size + 3] = ((write_size - 1) & 0xff0000) >> 16; in thp7312_fw_write_to_flash()
1716 command[cmd_size + 4] = ((write_size - 1) & 0x00ff00) >> 8; in thp7312_fw_write_to_flash()
1717 command[cmd_size + 5] = ((write_size - 1) & 0x0000ff); in thp7312_fw_write_to_flash()