Home
last modified time | relevance | path

Searched refs:MALLOC (Results 1 – 25 of 186) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_linux_lb.c368 dhd->napi_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
379 dhd->rxc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
390 dhd->txc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
399 dhd->cpu_online_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
408 dhd->cpu_offline_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
417 dhd->txp_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
426 dhd->tx_start_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
436 dhd->napi_rx_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
448 dhd->txc_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
461 dhd->rxc_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
[all …]
H A Ddhd_pno.c2237 ch_bucket = (wl_pfn_gscan_ch_bucket_cfg_t *) MALLOC(dhd->osh,
2572 nAPs_per_scan = (uint8 *) MALLOC(dhd->osh, gscan_params->mscan);
2581 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN);
3008 p = (uint32 *)MALLOC(dhd->osh, mem_needed);
3138 pscan_results = (dhd_pno_scan_results_t *)MALLOC(dhd->osh, SCAN_RESULTS_SIZE);
3161 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN);
3198 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE);
3216 MALLOC(dhd->osh, BEST_HEADER_SIZE);
3306 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE);
3324 MALLOC(dhd->osh, BEST_HEADER_SIZE);
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_linux_lb.c360 dhd->napi_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
371 dhd->rxc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
382 dhd->txc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
391 dhd->cpu_online_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
400 dhd->cpu_offline_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
409 dhd->txp_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
418 dhd->tx_start_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
428 dhd->napi_rx_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
440 dhd->txc_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
453 dhd->rxc_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
[all …]
H A Ddhd_pno.c2237 ch_bucket = (wl_pfn_gscan_ch_bucket_cfg_t *) MALLOC(dhd->osh,
2572 nAPs_per_scan = (uint8 *) MALLOC(dhd->osh, gscan_params->mscan);
2581 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN);
3008 p = (uint32 *)MALLOC(dhd->osh, mem_needed);
3138 pscan_results = (dhd_pno_scan_results_t *)MALLOC(dhd->osh, SCAN_RESULTS_SIZE);
3161 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN);
3198 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE);
3216 MALLOC(dhd->osh, BEST_HEADER_SIZE);
3306 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE);
3324 MALLOC(dhd->osh, BEST_HEADER_SIZE);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_linux_lb.c368 dhd->napi_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
379 dhd->rxc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
390 dhd->txc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
399 dhd->cpu_online_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
408 dhd->cpu_offline_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
417 dhd->txp_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
426 dhd->tx_start_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
436 dhd->napi_rx_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
448 dhd->txc_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
461 dhd->rxc_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
[all …]
H A Ddhd_pno.c2237 ch_bucket = (wl_pfn_gscan_ch_bucket_cfg_t *) MALLOC(dhd->osh,
2572 nAPs_per_scan = (uint8 *) MALLOC(dhd->osh, gscan_params->mscan);
2581 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN);
3008 p = (uint32 *)MALLOC(dhd->osh, mem_needed);
3138 pscan_results = (dhd_pno_scan_results_t *)MALLOC(dhd->osh, SCAN_RESULTS_SIZE);
3161 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN);
3198 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE);
3216 MALLOC(dhd->osh, BEST_HEADER_SIZE);
3306 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE);
3324 MALLOC(dhd->osh, BEST_HEADER_SIZE);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dosl.h334 #define MALLOC_NOPERSIST MALLOC
338 #define MALLOC_PERSIST MALLOC
342 #define MALLOC_NOPERSIST MALLOC
346 #define MALLOC_PERSIST_ATTACH MALLOC
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dosl.h334 #define MALLOC_NOPERSIST MALLOC
338 #define MALLOC_PERSIST MALLOC
342 #define MALLOC_NOPERSIST MALLOC
346 #define MALLOC_PERSIST_ATTACH MALLOC
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dosl.h334 #define MALLOC_NOPERSIST MALLOC
338 #define MALLOC_PERSIST MALLOC
342 #define MALLOC_NOPERSIST MALLOC
346 #define MALLOC_PERSIST_ATTACH MALLOC
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_linux_lb.c435 dhd->napi_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
446 dhd->rxc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
457 dhd->txc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
466 dhd->cpu_online_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
475 dhd->cpu_offline_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
484 dhd->txp_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
493 dhd->tx_start_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
503 dhd->napi_rx_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
594 per_cpu_total = (uint32 *)MALLOC(dhdp->osh, sizeof(uint32) * num_cpus); in dhd_lb_stats_dump_histo()
H A Ddbus.c378 irb = (dbus_irb_t *) MALLOC(dhd_bus->pub.osh, size_irb); in dbus_irbq_init()
632 nv_memblock = MALLOC(dhd_bus->pub.osh, MAX_NVRAMBUF_SIZE); in dbus_get_fw_nvram()
664 memptr = fw_memblock = MALLOC(dhd_bus->pub.osh, memblock_size); in dbus_get_fw_nvram()
681 dhd_bus->image = MALLOC(dhd_bus->pub.osh, total_len); in dbus_get_fw_nvram()
870 dhd_bus->image = MALLOC(dhd_bus->pub.osh, len); in dbus_get_nvram()
978 int8 *tmp = MALLOC(dhd_bus->pub.osh, temp_len); in dbus_do_download()
1442 dhd_bus = MALLOC(osh, sizeof(dhd_bus_t)); in dbus_attach()
1464 dhd_bus->tx_q = MALLOC(osh, sizeof(dbus_irbq_t)); in dbus_attach()
1474 dhd_bus->rx_q = MALLOC(osh, sizeof(dbus_irbq_t)); in dbus_attach()
1495 dhd_bus->extdl.fw = MALLOC(osh, extdl->fwlen); in dbus_attach()
[all …]
H A Ddhd_pno.c2250 ch_bucket = (wl_pfn_gscan_ch_bucket_cfg_t *) MALLOC(dhd->osh, in dhd_pno_gscan_create_channel_list()
2581 nAPs_per_scan = (uint8 *) MALLOC(dhd->osh, gscan_params->mscan); in _dhd_pno_get_gscan_batch_from_fw()
2590 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN); in _dhd_pno_get_gscan_batch_from_fw()
3021 p = (uint32 *)MALLOC(dhd->osh, mem_needed); in dhd_pno_get_gscan()
3151 pscan_results = (dhd_pno_scan_results_t *)MALLOC(dhd->osh, SCAN_RESULTS_SIZE); in _dhd_pno_get_for_batch()
3174 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN); in _dhd_pno_get_for_batch()
3216 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE); in _dhd_pno_get_for_batch()
3234 MALLOC(dhd->osh, BEST_HEADER_SIZE); in _dhd_pno_get_for_batch()
3324 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE); in _dhd_pno_get_for_batch()
3342 MALLOC(dhd->osh, BEST_HEADER_SIZE); in _dhd_pno_get_for_batch()
[all …]
H A Dbcmsdh.c171 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach()
465 if ((tmp_buf = (uint8 *)MALLOC(bcmsdh->osh, length)) == NULL) { in bcmsdh_cis_read()
775 if (!(fn0cis[0] = MALLOC(osh, SBSDIO_CIS_SIZE_LIMIT))) { in bcmsdh_query_device()
H A Ddbus_usb_linux.c683 req = MALLOC(usbos_info->pub->osh, sizeof(urb_req_t)); in dbus_usbos_urbreqs_alloc()
706 req->pkt = MALLOC(usbos_info->pub->osh, usbos_info->rxbuf_len); in dbus_usbos_urbreqs_alloc()
887 req->pkt = MALLOC(usbos_info->pub->osh, usbos_info->rxbuf_len); in dbus_usbos_recv_urb_submit()
1858 transfer_buf = MALLOC(usbos_info->pub->osh, buffer_length); in dbus_usbos_intf_send_irb()
2287 tmpbuf = (char *) MALLOC(usbinfo->pub->osh, buflen); in dbus_usbos_dl_cmd()
2622 usbos_info = MALLOC(pub->osh, sizeof(usbos_info_t)); in dbus_usbos_intf_attach()
2969 entry = MALLOC(usbos_info->pub->osh, sizeof(usbos_list_entry_t)); in dbus_usbos_thread_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_linux_lb.c435 dhd->napi_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
446 dhd->rxc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
457 dhd->txc_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
466 dhd->cpu_online_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
475 dhd->cpu_offline_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
484 dhd->txp_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
493 dhd->tx_start_percpu_run_cnt = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
503 dhd->napi_rx_hist[j] = (uint32 *)MALLOC(dhdp->osh, alloc_size); in dhd_lb_stats_init()
594 per_cpu_total = (uint32 *)MALLOC(dhdp->osh, sizeof(uint32) * num_cpus); in dhd_lb_stats_dump_histo()
H A Ddbus.c379 irb = (dbus_irb_t *) MALLOC(dhd_bus->pub.osh, size_irb); in dbus_irbq_init()
631 nv_memblock = MALLOC(dhd_bus->pub.osh, MAX_NVRAMBUF_SIZE); in dbus_get_fw_nvram()
663 memptr = fw_memblock = MALLOC(dhd_bus->pub.osh, memblock_size); in dbus_get_fw_nvram()
680 dhd_bus->image = MALLOC(dhd_bus->pub.osh, total_len); in dbus_get_fw_nvram()
865 dhd_bus->image = MALLOC(dhd_bus->pub.osh, len); in dbus_get_nvram()
972 int8 *tmp = MALLOC(dhd_bus->pub.osh, temp_len); in dbus_do_download()
1456 dhd_bus = MALLOC(osh, sizeof(dhd_bus_t)); in dbus_attach()
1478 dhd_bus->tx_q = MALLOC(osh, sizeof(dbus_irbq_t)); in dbus_attach()
1488 dhd_bus->rx_q = MALLOC(osh, sizeof(dbus_irbq_t)); in dbus_attach()
1509 dhd_bus->extdl.fw = MALLOC(osh, extdl->fwlen); in dbus_attach()
[all …]
H A Ddhd_pno.c2250 ch_bucket = (wl_pfn_gscan_ch_bucket_cfg_t *) MALLOC(dhd->osh, in dhd_pno_gscan_create_channel_list()
2581 nAPs_per_scan = (uint8 *) MALLOC(dhd->osh, gscan_params->mscan); in _dhd_pno_get_gscan_batch_from_fw()
2590 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN); in _dhd_pno_get_gscan_batch_from_fw()
3021 p = (uint32 *)MALLOC(dhd->osh, mem_needed); in dhd_pno_get_gscan()
3151 pscan_results = (dhd_pno_scan_results_t *)MALLOC(dhd->osh, SCAN_RESULTS_SIZE); in _dhd_pno_get_for_batch()
3174 plbestnet_v1 = (wl_pfn_lscanresults_v1_t *)MALLOC(dhd->osh, PNO_BESTNET_LEN); in _dhd_pno_get_for_batch()
3216 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE); in _dhd_pno_get_for_batch()
3234 MALLOC(dhd->osh, BEST_HEADER_SIZE); in _dhd_pno_get_for_batch()
3324 MALLOC(dhd->osh, BESTNET_ENTRY_SIZE); in _dhd_pno_get_for_batch()
3342 MALLOC(dhd->osh, BEST_HEADER_SIZE); in _dhd_pno_get_for_batch()
[all …]
H A Dbcmsdh.c171 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach()
465 if ((tmp_buf = (uint8 *)MALLOC(bcmsdh->osh, length)) == NULL) { in bcmsdh_cis_read()
775 if (!(fn0cis[0] = MALLOC(osh, SBSDIO_CIS_SIZE_LIMIT))) { in bcmsdh_query_device()
H A Ddbus_usb_linux.c684 req = MALLOC(usbos_info->pub->osh, sizeof(urb_req_t)); in dbus_usbos_urbreqs_alloc()
707 req->pkt = MALLOC(usbos_info->pub->osh, usbos_info->rxbuf_len); in dbus_usbos_urbreqs_alloc()
888 req->pkt = MALLOC(usbos_info->pub->osh, usbos_info->rxbuf_len); in dbus_usbos_recv_urb_submit()
1836 transfer_buf = MALLOC(usbos_info->pub->osh, buffer_length); in dbus_usbos_intf_send_irb()
2265 tmpbuf = (char *) MALLOC(usbinfo->pub->osh, buflen); in dbus_usbos_dl_cmd()
2607 usbos_info = MALLOC(pub->osh, sizeof(usbos_info_t)); in dbus_usbos_intf_attach()
2949 entry = MALLOC(usbos_info->pub->osh, sizeof(usbos_list_entry_t)); in dbus_usbos_thread_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dosl.h419 #define MALLOC_NOPERSIST MALLOC
423 #define MALLOC_PERSIST MALLOC
431 #define MALLOC_PERSIST_ATTACH MALLOC
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dosl.h419 #define MALLOC_NOPERSIST MALLOC
423 #define MALLOC_PERSIST MALLOC
431 #define MALLOC_PERSIST_ATTACH MALLOC
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddbus.c378 irb = (dbus_irb_t *) MALLOC(dhd_bus->pub.osh, size_irb); in dbus_irbq_init()
630 nv_memblock = MALLOC(dhd_bus->pub.osh, MAX_NVRAMBUF_SIZE); in dbus_get_fw_nvram()
662 memptr = fw_memblock = MALLOC(dhd_bus->pub.osh, memblock_size); in dbus_get_fw_nvram()
675 dhd_bus->image = MALLOC(dhd_bus->pub.osh, total_len); in dbus_get_fw_nvram()
855 dhd_bus->image = MALLOC(dhd_bus->pub.osh, len); in dbus_get_nvram()
962 int8 *tmp = MALLOC(dhd_bus->pub.osh, temp_len); in dbus_do_download()
1446 dhd_bus = MALLOC(osh, sizeof(dhd_bus_t)); in dbus_attach()
1468 dhd_bus->tx_q = MALLOC(osh, sizeof(dbus_irbq_t)); in dbus_attach()
1478 dhd_bus->rx_q = MALLOC(osh, sizeof(dbus_irbq_t)); in dbus_attach()
1499 dhd_bus->extdl.fw = MALLOC(osh, extdl->fwlen); in dbus_attach()
[all …]
H A Dbcmsdspi_linux.c131 sdos = (struct sdos_info*)MALLOC(sd->osh, sizeof(struct sdos_info)); in spi_osinit()
H A Ddbus_usb_linux.c682 req = MALLOC(usbos_info->pub->osh, sizeof(urb_req_t)); in dbus_usbos_urbreqs_alloc()
705 req->pkt = MALLOC(usbos_info->pub->osh, usbos_info->rxbuf_len); in dbus_usbos_urbreqs_alloc()
886 req->pkt = MALLOC(usbos_info->pub->osh, usbos_info->rxbuf_len); in dbus_usbos_recv_urb_submit()
1834 transfer_buf = MALLOC(usbos_info->pub->osh, buffer_length); in dbus_usbos_intf_send_irb()
2263 tmpbuf = (char *) MALLOC(usbinfo->pub->osh, buflen); in dbus_usbos_dl_cmd()
2605 usbos_info = MALLOC(pub->osh, sizeof(usbos_info_t)); in dbus_usbos_intf_attach()
2947 entry = MALLOC(usbos_info->pub->osh, sizeof(usbos_list_entry_t)); in dbus_usbos_thread_init()
/OK3568_Linux_fs/buildroot/package/redis/
H A Dredis.mk33 PREFIX=$(TARGET_DIR)/usr MALLOC=libc

12345678