Searched refs:mem_ptr (Results 1 - 4 of 4) sorted by relevance
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_custom_memprealloc.c | 137 void *mem_ptr; member 284 return wlan_mem_array[section].mem_ptr; in dhd_wlan_mem_prealloc() 319 wlan_mem_array[i].mem_ptr = in dhd_init_wlan_mem() 322 if (!wlan_mem_array[i].mem_ptr) { in dhd_init_wlan_mem() 472 kfree(wlan_mem_array[j].mem_ptr); in dhd_init_wlan_mem() 549 if (wlan_mem_array[i].mem_ptr) { in dhd_exit_wlan_mem() 550 kfree(wlan_mem_array[i].mem_ptr); in dhd_exit_wlan_mem()
|
H A D | dhd_sdio.c | 10114 uint8 *mem_blk = NULL, *mem_ptr = NULL, *data_ptr = NULL; in _dhdsdio_download_btfw() local 10135 mem_ptr = mem_blk = MALLOC(bus->dhd->osh, BTFW_DOWNLOAD_BLK_SIZE + DHD_SDALIGN); in _dhdsdio_download_btfw() 10142 mem_ptr += (DHD_SDALIGN - ((uint32)(uintptr)mem_blk % DHD_SDALIGN)); in _dhdsdio_download_btfw() 10182 mem_ptr[index] = (uint8)((uint8 *)&start_data)[i]; in _dhdsdio_download_btfw() 10185 bcopy(data_ptr, &(mem_ptr[index]), num_bytes); in _dhdsdio_download_btfw() 10196 mem_ptr[index] = (uint8)((uint8 *)&end_data)[i]; in _dhdsdio_download_btfw() 10203 bcm_error = dhdsdio_membytes(bus, TRUE, start_addr, mem_ptr, index); in _dhdsdio_download_btfw() 10212 bcm_error = dhdsdio_membytes(bus, TRUE, start_addr, mem_ptr, in _dhdsdio_download_btfw() 10223 (mem_ptr + bytes_to_write), (index - bytes_to_write)); in _dhdsdio_download_btfw()
|
/device/soc/rockchip/common/vendor/drivers/net/ |
H A D | rfkill-wlan.c | 97 void *mem_ptr;
member 125 wifi_mem_array[i].mem_ptr = kmalloc(wifi_mem_array[i].size, GFP_KERNEL);
in rockchip_init_wifi_mem() 127 if (!wifi_mem_array[i].mem_ptr) {
in rockchip_init_wifi_mem() 136 kfree(wifi_mem_array[j].mem_ptr);
in rockchip_init_wifi_mem() 163 return wifi_mem_array[section].mem_ptr;
in rockchip_mem_prealloc()
|
/device/soc/rockchip/rk3588/kernel/net/rfkill/ |
H A D | rfkill-wlan.c | 101 void *mem_ptr; member 132 wifi_mem_array[i].mem_ptr = in rockchip_init_wifi_mem() 135 if (!wifi_mem_array[i].mem_ptr) in rockchip_init_wifi_mem() 143 kfree(wifi_mem_array[j].mem_ptr); in rockchip_init_wifi_mem() 165 return wifi_mem_array[section].mem_ptr; in rockchip_mem_prealloc()
|
Completed in 18 milliseconds