Home
last modified time | relevance | path

Searched refs:crc (Results 1 – 8 of 8) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/am2315/
Dam2315.cpp164 uint16_t crc = 0xffff; in crc16() local
168 crc ^= *ptr++; in crc16()
170 if (crc & 0x01) { in crc16()
171 crc >>= 1; in crc16()
172 crc ^= 0xA001; in crc16()
175 crc >>= 1; in crc16()
179 return crc; in crc16()
197 uint16_t crc = crc16(tdata, ilen+3); in i2cWriteReg() local
199 tdata[ilen+3] = crc; in i2cWriteReg()
200 tdata[ilen+4] = (crc >> 8); in i2cWriteReg()
[all …]
/hardware/intel/img/psb_headers/DRM/cc54/inc/
Dwv_fkp.h50 uint8_t crc[KEYBOX_CRC_SIZE]; // 4 bytes member
/hardware/intel/common/wrs_omxil_core/utils/src/
Daudio_parser.c335 int *version, int *layer, int *crc, int *bitrate, in mp3_header_parse() argument
348 if (!version || !layer || !crc || !bitrate || !frequency || in mp3_header_parse()
394 *crc = header.protected; in mp3_header_parse()
/hardware/intel/common/wrs_omxil_core/utils/inc/
Daudio_parser.h47 int *version, int *layer, int *crc, int *bitrate,
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1339 (c) = ((c) >> 8) ^ crc##n##_table[((c) ^ (x)) & 0xff]
1345 uint8 crc /* either CRC8_INIT_VALUE or previous return value */ in hndcrc8() argument
1352 crc = crc8_table[(crc ^ *pdata++) & 0xff]; in hndcrc8()
1354 return crc; in hndcrc8()
1418 uint16 crc /* either CRC16_INIT_VALUE or previous return value */ in hndcrc16() argument
1422 CRC_INNER_LOOP(16, crc, *pdata++); in hndcrc16()
1423 return crc; in hndcrc16()
1498 hndcrc32(uint8 *pdata, uint nbytes, uint32 crc) in hndcrc32() argument
1503 CRC_INNER_LOOP(32, crc, *pdata++); in hndcrc32()
1505 return crc; in hndcrc32()
Ducode_download.c45 dload_ptr->crc = 0; in dload_generic_data()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h785 extern uint8 hndcrc8(uint8 *p, uint nbytes, uint8 crc);
786 extern uint16 hndcrc16(uint8 *p, uint nbytes, uint16 crc);
787 extern uint32 hndcrc32(uint8 *p, uint nbytes, uint32 crc);
Dwlioctl.h280 uint32 crc; member