Searched refs:crc (Results 1 – 5 of 5) sorted by relevance
/nrf_hw_models-latest/src/HW_models/ |
D | crc.c | 85 static uint32_t crc_update_ble(uint32_t crc, const void *data, size_t data_len) in crc_update_ble() argument 91 tbl_idx = (crc ^ *d) & 0xff; in crc_update_ble() 92 crc = (crc_table_24_ble[tbl_idx] ^ (crc >> 8)) & 0xffffff; in crc_update_ble() 96 return crc & 0xffffff; in crc_update_ble() 106 uint32_t crc; in append_crc_ble() local 107 crc = crc_update_ble( rev_24(crc_init), buf, len ); in append_crc_ble() 111 buf[len + i] = (crc >> (i*8)) & 0xff; in append_crc_ble() 162 uint16_t crc_update_154(uint16_t crc, const void *data, size_t data_len) in crc_update_154() argument 168 tbl_idx = (crc ^ *d) & 0xff; in crc_update_154() 169 crc = (crc_table_154[tbl_idx] ^ (crc >> 8)) & 0xffff; in crc_update_154() [all …]
|
D | NHW_RADIO_utils.c | 667 uint32_t crc = 0; in nhwra_get_rx_crc_value() local 674 memcpy((void*)&crc, &rx_buf[2 + payload_len], crc_len); in nhwra_get_rx_crc_value() 677 memcpy((void*)&crc, &rx_buf[1 + payload_len], crc_len); in nhwra_get_rx_crc_value() 679 return crc; in nhwra_get_rx_crc_value()
|
/nrf_hw_models-latest/make_inc/ |
D | 52833_hw_files | 21 src/HW_models/crc.c
|
D | 54L15_hw_files | 3 src/HW_models/crc.c
|
D | 5340_hw_files | 5 src/HW_models/crc.c
|