Lines Matching refs:memptr
3056 uint8 *memblock = NULL, *memptr = NULL; in dhdpcie_download_code_file() local
3092 memptr = memblock = MALLOC(bus->dhd->osh, MEMBLOCK + DHD_SDALIGN); in dhdpcie_download_code_file()
3099 memptr += (DHD_SDALIGN - ((uint32)(uintptr)memblock % DHD_SDALIGN)); in dhdpcie_download_code_file()
3106 while ((len = dhd_os_get_image_block((char*)memptr, MEMBLOCK, imgbuf))) { in dhdpcie_download_code_file()
3123 bus->resetinstr = *(((uint32*)memptr)); in dhdpcie_download_code_file()
3133 trx_hdr = (struct trx_header *)memptr; in dhdpcie_download_code_file()
3140 bcmerror = dhdpcie_bus_membytes(bus, TRUE, offset, (uint8 *)memptr, len); in dhdpcie_download_code_file()
3301 uint8 *memptr = NULL; in dhdpcie_ramsize_adj() local
3346 memptr = MALLOC(bus->dhd->osh, search_len); in dhdpcie_ramsize_adj()
3347 if (memptr == NULL) { in dhdpcie_ramsize_adj()
3353 if (dhdpcie_ramsize_read_image(bus, (char *)memptr, search_len) != BCME_OK) { in dhdpcie_ramsize_adj()
3357 ramsizeptr = memptr; in dhdpcie_ramsize_adj()
3384 if (memptr) in dhdpcie_ramsize_adj()
3385 MFREE(bus->dhd->osh, memptr, search_len); in dhdpcie_ramsize_adj()