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.cc1050 uint8_t *set_cfg_eeprom, *base_addr; in request_EEPROM() local
1232 set_cfg_eeprom = (uint8_t*)malloc(set_cfg_cmd_len); in request_EEPROM()
1233 if (set_cfg_eeprom == NULL) { in request_EEPROM()
1237 base_addr = set_cfg_eeprom; in request_EEPROM()
1238 memset(set_cfg_eeprom, 0, set_cfg_cmd_len); in request_EEPROM()
1239 memcpy(set_cfg_eeprom, set_cfg_cmd_hdr, sizeof(set_cfg_cmd_hdr)); in request_EEPROM()
1260 memset(set_cfg_eeprom + setCfgStartIndex, 0x00, in request_EEPROM()
1264 memcpy(set_cfg_eeprom + setCfgStartIndex, in request_EEPROM()
1268 (set_cfg_eeprom[setCfgStartIndex + memIndex] >> b_position) & 0x01; in request_EEPROM()
1272 set_cfg_eeprom[setCfgStartIndex + memIndex] |= (1 << b_position); in request_EEPROM()
[all …]