Lines Matching refs:i2c_buffer
538 uint8_t i2c_buffer[TMAG5273_I2C_BUFFER_SIZE] = {0}; in tmag5273_sample_fetch() local
551 while ((i2c_buffer[0] & TMAG5273_RESULT_STATUS_MSK) != in tmag5273_sample_fetch()
554 &drv_cfg->i2c, TMAG5273_REG_CONV_STATUS | conv_bit, &i2c_buffer[0]); in tmag5273_sample_fetch()
677 retval = i2c_burst_read_dt(&drv_cfg->i2c, start_address, &i2c_buffer[offset], in tmag5273_sample_fetch()
688 const uint8_t crc = crc8_ccitt(0xFF, &i2c_buffer[offset], block_size); in tmag5273_sample_fetch()
690 if (i2c_buffer[offset + block_size] != crc) { in tmag5273_sample_fetch()
692 i2c_buffer[offset + block_size], crc); in tmag5273_sample_fetch()
707 drv_cfg, &i2c_buffer[TMAG5273_REG_CONV_STATUS - TMAG5273_REG_RESULT_BEGIN]); in tmag5273_sample_fetch()
718 &i2c_buffer[TMAG5273_REG_X_MSB_RESULT - TMAG5273_REG_RESULT_BEGIN]); in tmag5273_sample_fetch()
723 &i2c_buffer[TMAG5273_REG_Y_MSB_RESULT - TMAG5273_REG_RESULT_BEGIN]); in tmag5273_sample_fetch()
728 &i2c_buffer[TMAG5273_REG_Z_MSB_RESULT - TMAG5273_REG_RESULT_BEGIN]); in tmag5273_sample_fetch()
733 &i2c_buffer[TMAG5273_REG_T_MSB_RESULT - TMAG5273_REG_RESULT_BEGIN]); in tmag5273_sample_fetch()
738 &i2c_buffer[TMAG5273_REG_ANGLE_MSB_RESULT - TMAG5273_REG_RESULT_BEGIN]); in tmag5273_sample_fetch()
743 i2c_buffer[TMAG5273_REG_MAGNITUDE_RESULT - TMAG5273_REG_RESULT_BEGIN]; in tmag5273_sample_fetch()