Searched refs:crc8_ccitt (Results 1 – 10 of 10) sorted by relevance
| /Zephyr-latest/subsys/fs/fcb/ |
| D | fcb_elem_info.c | 48 crc8 = crc8_ccitt(crc8, tmp_str, cnt); in fcb_elem_crc8() 62 crc8 = crc8_ccitt(crc8, tmp_str, blk_sz); in fcb_elem_crc8()
|
| /Zephyr-latest/include/zephyr/sys/ |
| D | crc.h | 277 uint8_t crc8_ccitt(uint8_t initial_value, const void *buf, size_t len); 402 return crc8_ccitt(seed, src, len); in crc_by_type()
|
| /Zephyr-latest/lib/crc/ |
| D | crc8_sw.c | 21 uint8_t crc8_ccitt(uint8_t val, const void *buf, size_t cnt) in crc8_ccitt() function
|
| /Zephyr-latest/tests/unit/crc/ |
| D | main.c | 182 zassert_equal(crc8_ccitt(CRC8_CCITT_INITIAL_VALUE, test0, sizeof(test0)), 0xF3); in ZTEST() 183 zassert_equal(crc8_ccitt(CRC8_CCITT_INITIAL_VALUE, test1, sizeof(test1)), 0x33); in ZTEST() 184 zassert_equal(crc8_ccitt(CRC8_CCITT_INITIAL_VALUE, test2, sizeof(test2)), 0xFB); in ZTEST()
|
| /Zephyr-latest/drivers/ethernet/ |
| D | eth_adin2111.c | 440 buf[2] = crc8_ccitt(0, buf, ADIN2111_SPI_HEADER_SIZE); in eth_adin2111_reg_read_generic() 461 comp_crc = crc8_ccitt(0, &buf[header_len], sizeof(uint32_t)); in eth_adin2111_reg_read_generic() 491 buf[2] = crc8_ccitt(0, buf, header_size); in eth_adin2111_reg_write_generic() 498 buf[header_size + data_size] = crc8_ccitt(0, &buf[header_size], data_size); in eth_adin2111_reg_write_generic() 577 cmd_buf[2] = crc8_ccitt(0, cmd_buf, ADIN2111_SPI_HEADER_SIZE); in adin2111_read_fifo() 888 ctx->buf[2] = crc8_ccitt(0, ctx->buf, header_size); in adin2111_port_send()
|
| /Zephyr-latest/tests/subsys/fs/zms/src/ |
| D | main.c | 594 crc8_ccitt(0xff, (uint8_t *)&empty_ate + SIZEOF_FIELD(struct zms_ate, crc8), in ZTEST_F() 603 ate.crc8 = crc8_ccitt(0xff, (uint8_t *)&ate + SIZEOF_FIELD(struct zms_ate, crc8), in ZTEST_F() 656 crc8_ccitt(0xff, (uint8_t *)&close_ate + SIZEOF_FIELD(struct zms_ate, crc8), in ZTEST_F()
|
| /Zephyr-latest/tests/subsys/fs/nvs/src/ |
| D | main.c | 672 ate.crc8 = crc8_ccitt(0xff, &ate, in ZTEST_F() 728 close_ate.crc8 = crc8_ccitt(0xff, &close_ate, in ZTEST_F()
|
| /Zephyr-latest/subsys/fs/nvs/ |
| D | nvs.c | 366 crc8 = crc8_ccitt(0xff, entry, offsetof(struct nvs_ate, crc8)); in nvs_ate_crc8_update() 377 crc8 = crc8_ccitt(0xff, entry, offsetof(struct nvs_ate, crc8)); in nvs_ate_crc8_check()
|
| /Zephyr-latest/subsys/fs/zms/ |
| D | zms.c | 372 crc8 = crc8_ccitt(0xff, (uint8_t *)entry + SIZEOF_FIELD(struct zms_ate, crc8), in zms_ate_crc8_update() 385 crc8 = crc8_ccitt(0xff, (uint8_t *)entry + SIZEOF_FIELD(struct zms_ate, crc8), in zms_ate_crc8_check()
|
| /Zephyr-latest/drivers/sensor/ti/tmag5273/ |
| D | tmag5273.c | 691 const uint8_t crc = crc8_ccitt(0xFF, &i2c_buffer[offset], block_size); in tmag5273_sample_fetch()
|