/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | Tpdu.cc | 57 uint8_t checksum[2]; in Tpdu_toByteArray() local 60 Tpdu_getChecksumBytes(structTpdu, checksum); in Tpdu_toByteArray() 61 baTpdu[checksumOffsetInTpdu] = checksum[0]; in Tpdu_toByteArray() 66 Tpdu_getChecksumBytes(structTpdu, checksum); in Tpdu_toByteArray() 67 baTpdu[checksumOffsetInTpdu] = checksum[0]; in Tpdu_toByteArray() 68 baTpdu[checksumOffsetInTpdu + 1] = checksum[1]; in Tpdu_toByteArray() 95 if (tpdu->checksum == in Tpdu_isChecksumOk() 148 tpdu->checksum = 0; in Tpdu_formTpdu() 155 tpdu->checksum = computeCrc(buffer, (TPDU_PROLOGUE_LENGTH + tpdu->len)); in Tpdu_formTpdu() 177 checksumBytes[0] = (uint8_t)tpdu->checksum; in Tpdu_getChecksumBytes() [all …]
|
D | Atp.cc | 68 tmpAtp.checksum = Atp_getChecksumValue(baAtp, CHECKSUM_OFFSET_IN_ATP); in Atp_setAtp() 72 tmpAtp.checksum) { in Atp_setAtp()
|
D | Atp.h | 63 uint16_t checksum; member
|
D | Tpdu.h | 51 uint16_t checksum; member
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 39 uint32_t checksum; member 130 uint32_t checksum; in inv_load_mpl_states() local 145 checksum = inv_checksum(data, len); in inv_load_mpl_states() 146 if (checksum != hd->checksum) in inv_load_mpl_states() 157 checksum = inv_checksum(data, hd->size); in inv_load_mpl_states() 158 if (checksum != hd->checksum) in inv_load_mpl_states() 190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); in inv_save_mpl_states() 200 hd->checksum = inv_checksum(data + sizeof(struct data_header_t), in inv_save_mpl_states()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 39 uint32_t checksum; member 130 uint32_t checksum; in inv_load_mpl_states() local 145 checksum = inv_checksum(data, len); in inv_load_mpl_states() 146 if (checksum != hd->checksum) in inv_load_mpl_states() 157 checksum = inv_checksum(data, hd->size); in inv_load_mpl_states() 158 if (checksum != hd->checksum) in inv_load_mpl_states() 190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); in inv_save_mpl_states() 200 hd->checksum = inv_checksum(data + sizeof(struct data_header_t), in inv_save_mpl_states()
|
/hardware/google/pixel/pixelstats/ |
D | BatteryEEPROMReporter.cpp | 82 &hist.checksum); in checkAndReport() 107 int checksum = 0; in checkLogEvent() local 109 checksum = hist.cycle_cnt + hist.full_cap + hist.esr + hist.rslow in checkLogEvent() 115 if (checksum == hist.checksum) { in checkLogEvent() 144 hist.min_ibatt, hist.checksum); in reportEvent() 185 val.set<VendorAtomValue::intValue>(hist.checksum); in reportEvent()
|
/hardware/st/secure_element/ese-spi-driver/ |
D | SpiLayerComm.cc | 342 respTpdu->checksum = Tpdu_getChecksumValue(rxBuffer, respTpdu->len, LRC); in SpiLayerComm_readTpdu() 345 respTpdu->checksum = Tpdu_getChecksumValue(rxBuffer, respTpdu->len, CRC); in SpiLayerComm_readTpdu()
|
D | T1protocol.cc | 113 respTpdu->checksum) { in T1protocol_checkResponseTpduChecksum() 554 responseTpdu->checksum = 0x0000; in T1protocol_formSblockResponse() 559 responseTpdu->checksum = in T1protocol_formSblockResponse()
|
/hardware/google/pixel/pixelstats/include/pixelstats/ |
D | BatteryEEPROMReporter.h | 97 uint16_t checksum; member
|
/hardware/st/secure_element2/secure_element/ |
D | Android.bp | 27 "1.0/esehal/src/checksum.c", 106 "1.0/esehal/src/checksum.c", 188 "1.0/esehal/src/checksum.c", 275 "1.0/esehal/src/checksum.c", 354 "1.0/esehal/src/checksum.c", 436 "1.0/esehal/src/checksum.c",
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 81 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 87 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 91 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 81 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 87 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 91 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 81 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 87 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 92 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 81 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 87 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 92 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 81 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 87 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 91 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 81 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 87 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 91 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 85 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 91 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 95 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 86 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 92 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 96 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/sdm845/gps/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 85 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 91 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 95 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 86 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 92 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 96 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 85 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 91 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 95 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 85 uint8_t checksum = 0; in loc_eng_nmea_put_checksum() local 91 checksum ^= *pNmea++; in loc_eng_nmea_put_checksum() 95 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum()
|
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/ |
D | phNxpEseProto7816_3.h | 191 uint8_t checksum; /*!< ATR: Checksum (0 = LRC / 1 = CRC) */ member
|
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | loc_nmea.cpp | 185 uint8_t checksum = 0; in loc_nmea_put_checksum() local 193 checksum ^= *pNmea++; in loc_nmea_put_checksum() 198 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_nmea_put_checksum()
|