Home
last modified time | relevance | path

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

/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal_ext.cc1017 uint8_t *set_cfg_eeprom, *base_addr; in request_EEPROM() local
1253 set_cfg_eeprom = (uint8_t*)malloc(set_cfg_cmd_len); in request_EEPROM()
1254 if (set_cfg_eeprom == NULL) { in request_EEPROM()
1258 base_addr = set_cfg_eeprom; in request_EEPROM()
1259 memset(set_cfg_eeprom, 0, set_cfg_cmd_len); in request_EEPROM()
1260 memcpy(set_cfg_eeprom, set_cfg_cmd_hdr, sizeof(set_cfg_cmd_hdr)); in request_EEPROM()
1281 memset(set_cfg_eeprom + setCfgStartIndex, 0x00, in request_EEPROM()
1285 memcpy(set_cfg_eeprom + setCfgStartIndex, in request_EEPROM()
1289 (set_cfg_eeprom[setCfgStartIndex + memIndex] >> b_position) & 0x01; in request_EEPROM()
1293 set_cfg_eeprom[setCfgStartIndex + memIndex] |= (1 << b_position); in request_EEPROM()
[all …]