Lines Matching refs:imgbuf
4131 char *imgbuf = NULL; /**< XXX a file pointer, contradicting its name and type */ in dhdpcie_download_code_file() local
4167 imgbuf = dhd_os_open_image1(bus->dhd, pfw_path); in dhdpcie_download_code_file()
4168 if (imgbuf == NULL) { in dhdpcie_download_code_file()
4173 file_size = dhd_os_get_image_size(imgbuf); in dhdpcie_download_code_file()
4185 bcmerror = dhdpcie_hybridfw_download(bus, imgbuf); in dhdpcie_download_code_file()
4193 dhd_os_close_image1(bus->dhd, imgbuf); in dhdpcie_download_code_file()
4194 imgbuf = dhd_os_open_image1(bus->dhd, pfw_path); in dhdpcie_download_code_file()
4195 if (imgbuf == NULL) { in dhdpcie_download_code_file()
4224 dhd_os_close_image(imgbuf); in dhdpcie_download_code_file()
4225 imgbuf = NULL; in dhdpcie_download_code_file()
4239 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) in dhdpcie_download_code_file()
4318 if (imgbuf) { in dhdpcie_download_code_file()
4319 dhd_os_close_image1(bus->dhd, imgbuf); in dhdpcie_download_code_file()