Lines Matching refs:MEMBLOCK

95 #define MEMBLOCK	2048		/* Block size used for downloading of dongle image */  macro
3092 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_file()
3094 DHD_ERROR(("%s: Failed to allocate memory %d bytes\n", __FUNCTION__, MEMBLOCK)); in dhdpcie_download_code_file()
3106 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file()
3143 __FUNCTION__, bcmerror, MEMBLOCK, offset)); in dhdpcie_download_code_file()
3146 offset += MEMBLOCK; in dhdpcie_download_code_file()
3161 MFREE(bus->dhd->osh, memblock, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_file()
3849 read_size = MIN(MEMBLOCK, size); in dhdpcie_mem_dump_bugcheck()
3899 read_size = MIN(MEMBLOCK, size); in dhdpcie_get_mem_dump()
12885 read_buf = MALLOCZ(bus->dhd->osh, MEMBLOCK); in dhd_bus_tcm_test()
12892 write_buf = MALLOCZ(bus->dhd->osh, MEMBLOCK); in dhd_bus_tcm_test()
12895 MFREE(bus->dhd->osh, read_buf, MEMBLOCK); in dhd_bus_tcm_test()
12901 DHD_ERROR(("%s: memblock size %d, #pattern %d\n", __FUNCTION__, MEMBLOCK, NUM_PATTERNS)); in dhd_bus_tcm_test()
12908 memset(write_buf, init_val[num], MEMBLOCK); in dhd_bus_tcm_test()
12910 read_size = MIN(MEMBLOCK, size); in dhd_bus_tcm_test()
12916 MFREE(bus->dhd->osh, read_buf, MEMBLOCK); in dhd_bus_tcm_test()
12917 MFREE(bus->dhd->osh, write_buf, MEMBLOCK); in dhd_bus_tcm_test()
12924 MFREE(bus->dhd->osh, read_buf, MEMBLOCK); in dhd_bus_tcm_test()
12925 MFREE(bus->dhd->osh, write_buf, MEMBLOCK); in dhd_bus_tcm_test()
12935 MFREE(bus->dhd->osh, read_buf, MEMBLOCK); in dhd_bus_tcm_test()
12936 MFREE(bus->dhd->osh, write_buf, MEMBLOCK); in dhd_bus_tcm_test()
12947 MFREE(bus->dhd->osh, read_buf, MEMBLOCK); in dhd_bus_tcm_test()
12948 MFREE(bus->dhd->osh, write_buf, MEMBLOCK); in dhd_bus_tcm_test()