Lines Matching refs:imgbuf
3055 char *imgbuf = NULL; in dhdpcie_download_code_file() local
3081 imgbuf = dhd_os_open_image1(bus->dhd, pfw_path); in dhdpcie_download_code_file()
3082 if (imgbuf == NULL) { in dhdpcie_download_code_file()
3086 file_size = dhd_os_get_image_size(imgbuf); in dhdpcie_download_code_file()
3106 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file()
3164 if (imgbuf) { in dhdpcie_download_code_file()
3165 dhd_os_close_image1(bus->dhd, imgbuf); in dhdpcie_download_code_file()
3263 char *imgbuf = NULL; in dhdpcie_ramsize_read_image() local
3271 imgbuf = dhd_os_open_image1(bus->dhd, bus->fw_path); in dhdpcie_ramsize_read_image()
3272 if (imgbuf == NULL) { in dhdpcie_ramsize_read_image()
3278 if (len != dhd_os_get_image_block(buf, len, imgbuf)) { in dhdpcie_ramsize_read_image()
3287 if (imgbuf) in dhdpcie_ramsize_read_image()
3288 dhd_os_close_image1(bus->dhd, imgbuf); in dhdpcie_ramsize_read_image()