Home
last modified time | relevance | path

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

/hardware/nxp/uwb/halimpl/hal/sr1xx/
DphNxpUciHal_fwd.cc54 gOpts.fImg = NULL; in setOpts()
118 if (NULL != gOpts.fImg) in cleanup()
120 fclose(gOpts.fImg); in cleanup()
976 if(gOpts.fImg == NULL) { in phNxpUciHal_fw_download()
977 gOpts.fImg = fopen(default_fw_path.c_str(), "rb"); in phNxpUciHal_fw_download()
979 if(gOpts.fImg == NULL) { in phNxpUciHal_fw_download()
983 fseek(gOpts.fImg, 0, SEEK_END); in phNxpUciHal_fw_download()
984 imgSz = (uint32_t)ftell(gOpts.fImg); in phNxpUciHal_fw_download()
992 rewind(gOpts.fImg); in phNxpUciHal_fw_download()
995 if (imgSz == fread(pImg, sizeof(uint8_t), imgSz, gOpts.fImg)) in phNxpUciHal_fw_download()
DphNxpUciHal_fwd.h328 FILE* fImg; member