| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_common.c | 4935 unsigned char *imgbuf = NULL; in dhd_apply_default_clm() local 4957 imgbuf = dhd_os_open_image((char *)clm_blob_path); in dhd_apply_default_clm() 4958 if (imgbuf == NULL) { in dhd_apply_default_clm() 4975 len = dhd_os_get_image_size(imgbuf); in dhd_apply_default_clm() 4977 if ((len > 0) && (len < MAX_CLM_BUF_SIZE) && imgbuf) { in dhd_apply_default_clm() 4996 err = dhd_download_blob(dhd, imgbuf, len, "clmload"); in dhd_apply_default_clm() 5018 DHD_INFO(("Skipping the clm download. len:%d memblk:%p \n", len, imgbuf)); in dhd_apply_default_clm() 5031 if (imgbuf) { in dhd_apply_default_clm() 5032 dhd_os_close_image(imgbuf); in dhd_apply_default_clm()
|
| H A D | dhd_pcie.c | 1699 char *imgbuf = NULL; in dhdpcie_download_code_file() local 1712 imgbuf = dhd_os_open_image(pfw_path); in dhdpcie_download_code_file() 1713 if (imgbuf == NULL) { in dhdpcie_download_code_file() 1740 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file() 1795 if (imgbuf) { in dhdpcie_download_code_file() 1796 dhd_os_close_image(imgbuf); in dhdpcie_download_code_file() 2045 char *imgbuf = NULL; in dhdpcie_ramsize_read_image() local 2052 imgbuf = dhd_os_open_image(bus->fw_path); in dhdpcie_ramsize_read_image() 2053 if (imgbuf == NULL) { in dhdpcie_ramsize_read_image() 2059 if (len != dhd_os_get_image_block(buf, len, imgbuf)) { in dhdpcie_ramsize_read_image() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_common.c | 8174 unsigned char *imgbuf = NULL; in dhd_apply_default_clm() local 8196 imgbuf = dhd_os_open_image((char *)clm_blob_path); in dhd_apply_default_clm() 8197 if (imgbuf == NULL) { in dhd_apply_default_clm() 8201 len = dhd_os_get_image_size(imgbuf); in dhd_apply_default_clm() 8203 if ((len > 0) && (len < MAX_CLM_BUF_SIZE) && imgbuf) { in dhd_apply_default_clm() 8224 if (imgbuf) { in dhd_apply_default_clm() 8225 dhd_os_close_image(imgbuf); in dhd_apply_default_clm() 8226 imgbuf = NULL; in dhd_apply_default_clm() 8258 DHD_INFO(("Skipping the clm download. len:%d memblk:%p \n", len, imgbuf)); in dhd_apply_default_clm() 8285 if (imgbuf) { in dhd_apply_default_clm() [all …]
|
| H A D | dhd_pcie.c | 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() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_common.c | 8179 unsigned char *imgbuf = NULL; in dhd_apply_default_clm() local 8201 imgbuf = dhd_os_open_image((char *)clm_blob_path); in dhd_apply_default_clm() 8202 if (imgbuf == NULL) { in dhd_apply_default_clm() 8206 len = dhd_os_get_image_size(imgbuf); in dhd_apply_default_clm() 8208 if ((len > 0) && (len < MAX_CLM_BUF_SIZE) && imgbuf) { in dhd_apply_default_clm() 8229 if (imgbuf) { in dhd_apply_default_clm() 8230 dhd_os_close_image(imgbuf); in dhd_apply_default_clm() 8231 imgbuf = NULL; in dhd_apply_default_clm() 8263 DHD_INFO(("Skipping the clm download. len:%d memblk:%p \n", len, imgbuf)); in dhd_apply_default_clm() 8290 if (imgbuf) { in dhd_apply_default_clm() [all …]
|
| H A D | dhd_pcie.c | 4124 char *imgbuf = NULL; /**< XXX a file pointer, contradicting its name and type */ in dhdpcie_download_code_file() local 4160 imgbuf = dhd_os_open_image1(bus->dhd, pfw_path); in dhdpcie_download_code_file() 4161 if (imgbuf == NULL) { in dhdpcie_download_code_file() 4166 file_size = dhd_os_get_image_size(imgbuf); in dhdpcie_download_code_file() 4178 bcmerror = dhdpcie_hybridfw_download(bus, imgbuf); in dhdpcie_download_code_file() 4186 dhd_os_close_image1(bus->dhd, imgbuf); in dhdpcie_download_code_file() 4187 imgbuf = dhd_os_open_image1(bus->dhd, pfw_path); in dhdpcie_download_code_file() 4188 if (imgbuf == NULL) { in dhdpcie_download_code_file() 4217 dhd_os_close_image(imgbuf); in dhdpcie_download_code_file() 4218 imgbuf = NULL; in dhdpcie_download_code_file() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_pcie.c | 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() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_pcie.c | 3047 char *imgbuf = NULL; in dhdpcie_download_code_file() local 3073 imgbuf = dhd_os_open_image1(bus->dhd, pfw_path); in dhdpcie_download_code_file() 3074 if (imgbuf == NULL) { in dhdpcie_download_code_file() 3078 file_size = dhd_os_get_image_size(imgbuf); in dhdpcie_download_code_file() 3098 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file() 3156 if (imgbuf) { in dhdpcie_download_code_file() 3157 dhd_os_close_image1(bus->dhd, imgbuf); in dhdpcie_download_code_file() 3255 char *imgbuf = NULL; in dhdpcie_ramsize_read_image() local 3263 imgbuf = dhd_os_open_image1(bus->dhd, bus->fw_path); in dhdpcie_ramsize_read_image() 3264 if (imgbuf == NULL) { in dhdpcie_ramsize_read_image() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_pcie.c | 3047 char *imgbuf = NULL; in dhdpcie_download_code_file() local 3073 imgbuf = dhd_os_open_image1(bus->dhd, pfw_path); in dhdpcie_download_code_file() 3074 if (imgbuf == NULL) { in dhdpcie_download_code_file() 3078 file_size = dhd_os_get_image_size(imgbuf); in dhdpcie_download_code_file() 3098 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file() 3156 if (imgbuf) { in dhdpcie_download_code_file() 3157 dhd_os_close_image1(bus->dhd, imgbuf); in dhdpcie_download_code_file() 3255 char *imgbuf = NULL; in dhdpcie_ramsize_read_image() local 3263 imgbuf = dhd_os_open_image1(bus->dhd, bus->fw_path); in dhdpcie_ramsize_read_image() 3264 if (imgbuf == NULL) { in dhdpcie_ramsize_read_image() [all …]
|