Searched refs:reg_addr_bytes (Results 1 – 1 of 1) sorted by relevance
132 int reg_addr_bytes; in i2c_write_from_buffer() local148 reg_addr_bytes = get_bytes_count_for_hex(s_reg_addr); in i2c_write_from_buffer()151 if (data_length + reg_addr_bytes > MAX_I2C_BYTES) { in i2c_write_from_buffer()152 data_length = MAX_I2C_BYTES - reg_addr_bytes; in i2c_write_from_buffer()154 MAX_I2C_BYTES - reg_addr_bytes); in i2c_write_from_buffer()163 buf + MAX_BYTES_FOR_REGISTER_INDEX - reg_addr_bytes, in i2c_write_from_buffer()164 reg_addr_bytes + data_length, dev_addr); in i2c_write_from_buffer()199 int reg_addr_bytes; in i2c_read_to_buffer() local214 reg_addr_bytes = get_bytes_count_for_hex(s_reg_addr); in i2c_read_to_buffer()219 MAX_BYTES_FOR_REGISTER_INDEX - reg_addr_bytes, in i2c_read_to_buffer()[all …]