Home
last modified time | relevance | path

Searched refs:polynomial (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/lib/crc/
Dcrc4_sw.c9 uint8_t crc4(const uint8_t *src, size_t len, uint8_t polynomial, uint8_t initial_value, in crc4() argument
22 crc = (crc >> 1) ^ polynomial; in crc4()
28 crc = (crc << 1) ^ polynomial; in crc4()
Dcrc8_sw.c47 uint8_t crc8(const uint8_t *src, size_t len, uint8_t polynomial, uint8_t initial_value, in crc8() argument
59 crc = (crc >> 1) ^ polynomial; in crc8()
65 crc = (crc << 1) ^ polynomial; in crc8()
/Zephyr-latest/drivers/sensor/ams/ens210/
Dens210.c24 uint32_t polynomial = (ENS210_CRC7_POLY << (ENS210_CRC7_DATA_WIDTH - 1)); in ens210_crc7() local
30 val ^= polynomial; in ens210_crc7()
34 polynomial >>= 1; in ens210_crc7()
/Zephyr-latest/include/zephyr/sys/
Dcrc.h139 uint8_t crc8(const uint8_t *src, size_t len, uint8_t polynomial, uint8_t initial_value,
340 uint8_t crc4(const uint8_t *src, size_t len, uint8_t polynomial, uint8_t initial_value,
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.h41 void radio_crc_configure(uint32_t polynomial, uint32_t iv);
Dradio.c881 void radio_crc_configure(uint32_t polynomial, uint32_t iv) in radio_crc_configure() argument
897 GENFSK->CRC_POLY = (polynomial << ((4U - GENFSK_BLE_CRC_SZ) << 3)); in radio_crc_configure()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.h93 void radio_crc_configure(uint32_t polynomial, uint32_t iv);
Dradio.c656 void radio_crc_configure(uint32_t polynomial, uint32_t iv) in radio_crc_configure() argument
661 polynomial); in radio_crc_configure()
/Zephyr-latest/arch/riscv/
DKconfig.isa139 is the multiplication in the polynomial ring over GF(2).
/Zephyr-latest/doc/services/device_mgmt/
Dsmp_transport.rst195 CRC16 polynomial is 0x1021 and initial value is 0.