Searched refs:nb_bytes (Results 1 – 1 of 1) sorted by relevance
648 uint32_t nb_bytes = end_address - start_address + 1; in tmag5273_sample_fetch() local652 if (drv_cfg->crc_enabled && ((nb_bytes % TMAG5273_CRC_DATA_BYTES) != 0)) { in tmag5273_sample_fetch()653 const uint8_t diff = TMAG5273_CRC_DATA_BYTES - (nb_bytes % TMAG5273_CRC_DATA_BYTES); in tmag5273_sample_fetch()659 nb_bytes = (nb_bytes / TMAG5273_CRC_DATA_BYTES + 1) * TMAG5273_CRC_DATA_BYTES; in tmag5273_sample_fetch()662 __ASSERT_NO_MSG((start_address + nb_bytes) <= (TMAG5273_REG_RESULT_END + 1)); in tmag5273_sample_fetch()668 while (nb_bytes) { in tmag5273_sample_fetch()669 const uint8_t block_size = tmag5273_get_fetch_block_size(drv_cfg, nb_bytes); in tmag5273_sample_fetch()698 __ASSERT(nb_bytes >= block_size, "overflow on nb_bytes"); in tmag5273_sample_fetch()700 nb_bytes -= block_size; in tmag5273_sample_fetch()