Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 224) sorted by relevance

123456789

/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_mem.h104 #define qdf_untracked_mem_malloc(size) \ argument
105 __qdf_untracked_mem_malloc(size, __func__, __LINE__)
146 void *qdf_mem_malloc_atomic_debug(size_t size, const char *func,
163 void *qdf_mem_malloc_atomic_debug_fl(qdf_size_t size, const char *func,
180 void *qdf_mem_malloc_debug(size_t size, const char *func, uint32_t line,
183 #define qdf_mem_malloc(size) \ argument
184 qdf_mem_malloc_debug(size, __func__, __LINE__, QDF_RET_IP, 0)
186 #define qdf_mem_malloc_fl(size, func, line) \ argument
187 qdf_mem_malloc_debug(size, func, line, QDF_RET_IP, 0)
189 #define qdf_mem_malloc_atomic(size) \ argument
[all …]
Dqdf_talloc.h43 #define qdf_talloc(parent, size) \ argument
44 qdf_talloc_fl(parent, size, __func__, __LINE__)
69 #define qdf_talloc_fl(parent, size, func, line) \ argument
70 __qdf_talloc_fl(parent, size, func, line)
127 void *__qdf_talloc_fl(const void *parent, const size_t size,
152 static inline void *__qdf_talloc_fl(const void *parent, const size_t size, in __qdf_talloc_fl() argument
155 return __zalloc_auto(size); in __qdf_talloc_fl()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_mem.c155 uint32_t size; member
174 qdf_size_t size) in qdf_mem_dma_get_header() argument
177 qdf_roundup((size_t)((uint8_t *)ptr + size), in qdf_mem_dma_get_header()
183 return (uint64_t *)((void *)(header + 1) + header->size); in qdf_mem_get_trailer()
207 static void qdf_mem_header_init(struct qdf_mem_header *header, qdf_size_t size, in qdf_mem_header_init() argument
220 header->size = size; in qdf_mem_header_init()
256 if (header->size > QDF_MEM_MAX_MALLOC) in qdf_mem_header_validate()
292 header->size, QDF_MEM_MAX_MALLOC); in qdf_mem_header_assert_valid()
330 uint32_t size; member
382 table[i].size = meta->size; in qdf_mem_meta_table_insert()
[all …]
Di_qdf_talloc.h37 #define __zalloc_sleeps(size) kzalloc(size, GFP_KERNEL) argument
38 #define __zalloc_atomic(size) kzalloc(size, GFP_ATOMIC) argument
39 #define __zalloc_auto(size) \ argument
40 kzalloc(size, __can_sleep() ? GFP_KERNEL : GFP_ATOMIC)
Di_qdf_mem.h54 #define kzalloc(size, flags) NULL argument
55 #define vmalloc(size) NULL argument
58 #define pci_alloc_consistent(dev, size, paddr) NULL argument
264 qdf_size_t size);
540 qdf_dma_addr_t dma_addr, size_t size) in __qdf_os_mem_dma_get_sgtable() argument
543 size); in __qdf_os_mem_dma_get_sgtable()
638 mem_info->size = mem_size; in __qdf_update_mem_map_table()
652 return mem_info->size; in __qdf_mem_get_dma_size()
668 mem_info->size = mem_size; in __qdf_mem_set_dma_size()
714 qdf_size_t size, qdf_dma_addr_t *paddr,
[all …]
Dqdf_file.c62 buf = qdf_mem_malloc(fw->size + 1); in qdf_file_read()
68 qdf_mem_copy(buf, fw->data, fw->size); in qdf_file_read()
103 buf = qdf_untracked_mem_malloc(fw->size + 1); in qdf_module_param_file_read()
109 qdf_mem_copy(buf, fw->data, fw->size); in qdf_module_param_file_read()
141 buf = qdf_mem_malloc(fw->size); in qdf_file_read_bytes()
147 qdf_mem_copy(buf, fw->data, fw->size); in qdf_file_read_bytes()
148 *out_buff_size = fw->size; in qdf_file_read_bytes()
Di_qdf_trace.h496 __qdf_minidump_log(void *start_addr, size_t size, const char *name) in __qdf_minidump_log() argument
498 if (minidump_fill_segments((const uintptr_t)start_addr, size, in __qdf_minidump_log()
507 __qdf_minidump_remove(void *addr, size_t size, const char *name) in __qdf_minidump_remove() argument
545 __qdf_minidump_log(void *start_addr, const size_t size, in __qdf_minidump_log() argument
562 md_entry.size = size; in __qdf_minidump_log()
575 __qdf_minidump_remove(void *start_addr, const size_t size, in __qdf_minidump_remove() argument
591 md_entry.size = size; in __qdf_minidump_remove()
611 void __qdf_minidump_log(void *start_addr, size_t size, const char *name);
613 void __qdf_minidump_remove(void *addr, size_t size, const char *name);
626 void __qdf_minidump_log(void *start_addr, size_t size, const char *name) in __qdf_minidump_log() argument
[all …]
/wlan-driver/fw-api/fw/
Da_osapi.h57 #define HIF_MALLOC_DIAGMEM(osdev, size, pa, context, retry) \ argument
58 os_malloc_CONSISTENT(osdev, size, pa, context, retry)
59 #define HIF_FREE_DIAGMEM(osdev, size, vaddr, pa, context) \ argument
60 OS_FREE_CONSISTENT(osdev, size, vaddr, pa, context)
61 #define HIF_DIAGMEM_SYNC(osdev, pa, size, dir, context) argument
63 #define HIF_MALLOC_DIAGMEM(osdev, size, pa, context, retry) \ argument
64 os_malloc_NONCONSISTENT(osdev, size, pa, context, retry)
65 #define HIF_FREE_DIAGMEM(osdev, size, vaddr, pa, context) \ argument
66 OS_FREE_NONCONSISTENT(osdev, size, vaddr, pa, context)
67 #define HIF_DIAGMEM_SYNC(osdev, pa, size, dir, context) \ argument
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/src/
Dqdf_talloc.c44 __qdf_talloc_log_nomem(const size_t size, const char *func, const uint16_t line) in __qdf_talloc_log_nomem() argument
46 qdf_nofl_info("Failed to alloc %zuB; via %s():%d", size, func, line); in __qdf_talloc_log_nomem()
50 __qdf_zalloc_auto(const size_t size, const char *func, const uint16_t line) in __qdf_zalloc_auto() argument
56 ptr = __zalloc_auto(size); in __qdf_zalloc_auto()
61 duration, size, func, line); in __qdf_zalloc_auto()
64 __qdf_talloc_log_nomem(size, func, line); in __qdf_zalloc_auto()
74 __qdf_zalloc_atomic(const size_t size, const char *func, const uint16_t line) in __qdf_zalloc_atomic() argument
78 ptr = __zalloc_atomic(size); in __qdf_zalloc_atomic()
80 __qdf_talloc_log_nomem(size, func, line); in __qdf_zalloc_atomic()
160 uint32_t size; member
[all …]
Dqdf_types.c662 qdf_size_t size = 0; in qdf_int32_array_parse() local
679 while (size < array_size) { in qdf_int32_array_parse()
698 out_array[size++] = signed_value; in qdf_int32_array_parse()
702 out_array[size++] = signed_value; in qdf_int32_array_parse()
703 *out_size = size; in qdf_int32_array_parse()
720 qdf_size_t size = 0; in qdf_uint32_array_parse() local
735 while (size < array_size) { in qdf_uint32_array_parse()
747 out_array[size++] = value; in qdf_uint32_array_parse()
751 out_array[size++] = value; in qdf_uint32_array_parse()
752 *out_size = size; in qdf_uint32_array_parse()
[all …]
Dqdf_str.c26 qdf_size_t size; in qdf_str_dup() local
36 size = qdf_str_len(src) + 1; in qdf_str_dup()
37 dup = qdf_mem_malloc(size); in qdf_str_dup()
41 qdf_mem_copy(dup, src, size); in qdf_str_dup()
/wlan-driver/qca-wifi-host-cmn/utils/pktlog/
Dpktlog_wifi2.c257 pl_hdr.size = (*(pl_tgt_hdr + ATH_PKTLOG_HDR_SIZE_OFFSET) & in process_tx_info()
264 if (sizeof(struct ath_pktlog_hdr) + pl_hdr.size > len) { in process_tx_info()
270 size_t log_size = sizeof(frm_hdr) + pl_hdr.size; in process_tx_info()
276 qdf_assert(pl_hdr.size < (370 * sizeof(u_int32_t))); in process_tx_info()
282 pl_hdr.size); in process_tx_info()
283 pl_hdr.size = log_size; in process_tx_info()
290 size_t log_size = pl_hdr.size; in process_tx_info()
299 pl_hdr.size); in process_tx_info()
364 pl_hdr.size = (*(pl_tgt_hdr + ATH_PKTLOG_HDR_SIZE_OFFSET) & in process_tx_info()
431 qdf_assert(pl_hdr.size < sizeof(txctl_log.priv.txdesc_ctl)); in process_tx_info()
[all …]
Dpktlog_wifi3.c54 pl_hdr.size = (*(pl_tgt_hdr + ATH_PKTLOG_HDR_SIZE_OFFSET) & in process_offload_pktlog_wifi3()
61 if (pl_hdr.size > MAX_PKTLOG_RECV_BUF_SIZE) { in process_offload_pktlog_wifi3()
71 log_size = pl_hdr.size; in process_offload_pktlog_wifi3()
80 qdf_assert(pl_hdr->size < PKTLOG_MAX_TX_WORDS * sizeof(u_int32_t)); in process_offload_pktlog_wifi3()
83 pl_hdr.size); in process_offload_pktlog_wifi3()
108 pl_hdr.size = qdf_nbuf_len(log_nbuf); in process_rx_desc_remote_wifi3()
110 log_size = pl_hdr.size; in process_rx_desc_remote_wifi3()
120 qdf_mem_copy(rxstat_log.rx_desc, qdf_nbuf_data(log_nbuf), pl_hdr.size); in process_rx_desc_remote_wifi3()
147 pl_hdr.size = qdf_nbuf_len(log_nbuf); in process_pktlog_lite_wifi3()
149 log_size = pl_hdr.size; in process_pktlog_lite_wifi3()
[all …]
/wlan-driver/qcacld-3.0/components/dp/core/src/
Dwlan_dp_prealloc.c79 uint32_t size; member
117 uint32_t size; member
133 uint32_t size; member
482 p->size); in dp_prealloc_deinit()
484 p->size, in dp_prealloc_deinit()
523 (void *)up->pa_unaligned, up->size); in dp_prealloc_deinit()
525 up->size, in dp_prealloc_deinit()
760 for (i = 0; i < profile_info->size; i++) { in wlan_dp_sync_prealloc_with_profile_cfg()
765 cfg->num_tx_desc = profile_ctx->size; in wlan_dp_sync_prealloc_with_profile_cfg()
768 cfg->num_tx_ext_desc = profile_ctx->size; in wlan_dp_sync_prealloc_with_profile_cfg()
[all …]
/wlan-driver/qcacld-3.0/core/pld/src/
Dpld_sdio.h125 unsigned long *size) in pld_sdio_get_virt_ramdump_mem() argument
127 return cnss_common_get_virt_ramdump_mem(dev, size); in pld_sdio_get_virt_ramdump_mem()
154 unsigned long *size) in pld_sdio_get_virt_ramdump_mem() argument
161 if (!size) in pld_sdio_get_virt_ramdump_mem()
164 *size = (unsigned long)length; in pld_sdio_get_virt_ramdump_mem()
204 unsigned long *size) in pld_hif_sdio_get_virt_ramdump_mem() argument
206 return cnss_common_get_virt_ramdump_mem(dev, size); in pld_hif_sdio_get_virt_ramdump_mem()
305 unsigned long *size) in pld_hif_sdio_get_virt_ramdump_mem() argument
312 if (size) in pld_hif_sdio_get_virt_ramdump_mem()
313 *size = (unsigned long)length; in pld_hif_sdio_get_virt_ramdump_mem()
Dpld_pcie.h218 phys_addr_t paddr, uint32_t *iova_addr, size_t size) in pld_pcie_smmu_map() argument
224 pld_pcie_smmu_unmap(struct device *dev, uint32_t iova_addr, size_t size) in pld_pcie_smmu_unmap() argument
289 unsigned long *size) in pld_pcie_get_virt_ramdump_mem() argument
296 if (!size) in pld_pcie_get_virt_ramdump_mem()
299 *size = (unsigned long)length; in pld_pcie_get_virt_ramdump_mem()
505 dma_addr_t iova, size_t size) in pld_pcie_audio_smmu_map() argument
511 void pld_pcie_audio_smmu_unmap(struct device *dev, dma_addr_t iova, size_t size) in pld_pcie_audio_smmu_unmap() argument
667 phys_addr_t paddr, uint32_t *iova_addr, size_t size) in pld_pcie_smmu_map() argument
669 return cnss_smmu_map(dev, paddr, iova_addr, size); in pld_pcie_smmu_map()
674 pld_pcie_smmu_unmap(struct device *dev, uint32_t iova_addr, size_t size) in pld_pcie_smmu_unmap() argument
[all …]
Dpld_snoc.h144 uint32_t *iova_addr, size_t size) in pld_snoc_smmu_map() argument
150 uint32_t iova_addr, size_t size) in pld_snoc_smmu_unmap() argument
371 uint32_t *iova_addr, size_t size) in pld_snoc_smmu_map() argument
373 return icnss_smmu_map(dev, paddr, iova_addr, size); in pld_snoc_smmu_map()
378 uint32_t iova_addr, size_t size) in pld_snoc_smmu_unmap() argument
380 return icnss_smmu_unmap(dev, iova_addr, size); in pld_snoc_smmu_unmap()
385 uint32_t iova_addr, size_t size) in pld_snoc_smmu_unmap() argument
Dpld_ipci.h123 uint32_t *iova_addr, size_t size) in pld_ipci_smmu_map() argument
129 uint32_t iova_addr, size_t size) in pld_ipci_smmu_unmap() argument
338 uint32_t *iova_addr, size_t size) in pld_ipci_smmu_map() argument
340 return icnss_smmu_map(dev, paddr, iova_addr, size); in pld_ipci_smmu_map()
345 uint32_t iova_addr, size_t size) in pld_ipci_smmu_unmap() argument
347 return icnss_smmu_unmap(dev, iova_addr, size); in pld_ipci_smmu_unmap()
352 uint32_t iova_addr, size_t size) in pld_ipci_smmu_unmap() argument
/wlan-driver/platform/cnss_prealloc/
Dcnss_prealloc.c41 size_t size; member
109 return cnss_pools[0].size; in cnss_pool_alloc_threshold()
131 cnss_pools[i].size, 0, in cnss_pool_init()
133 cnss_pools[i].size, NULL); in cnss_pool_init()
155 cnss_pools[i].size); in cnss_pool_init()
297 void *wcnss_prealloc_get(size_t size) in wcnss_prealloc_get() argument
312 if (size >= cnss_pool_alloc_threshold()) { in wcnss_prealloc_get()
315 if (cnss_pools[i].size >= size && cnss_pools[i].mp) { in wcnss_prealloc_get()
323 if (!mem && size >= cnss_pool_alloc_threshold()) { in wcnss_prealloc_get()
325 size, gfp_mask); in wcnss_prealloc_get()
/wlan-driver/qcacld-3.0/core/cds/src/
Dcds_packet.c70 QDF_STATUS cds_packet_alloc_debug(uint16_t size, void **data, void **ppPacket, in cds_packet_alloc_debug() argument
77 roundup(size + TX_PKT_MIN_HEADROOM, 4), in cds_packet_alloc_debug()
82 qdf_nbuf_put_tail(nbuf, size); in cds_packet_alloc_debug()
92 QDF_STATUS cds_packet_alloc(uint16_t size, void **data, void **ppPacket) in cds_packet_alloc() argument
97 nbuf = qdf_nbuf_alloc(NULL, roundup(size + TX_PKT_MIN_HEADROOM, 4), in cds_packet_alloc()
101 qdf_nbuf_put_tail(nbuf, size); in cds_packet_alloc()
/wlan-driver/qcacld-3.0/core/mac/src/dph/
Ddph_hash_table.c44 for (i = 0; i < hash_table->size; i++) { in dph_hash_table_init()
48 for (i = 0; i < hash_table->size; i++) { in dph_hash_table_init()
109 uint16_t index = hash_function(mac, staAddr, hash_table->size); in dph_lookup_hash_entry()
146 if (peerIdx < hash_table->size) { in dph_get_hash_entry()
180 if (assocId >= hash_table->size) { in dph_init_sta_state()
229 uint16_t index = hash_function(mac, staAddr, hash_table->size); in dph_add_hash_entry()
234 if (assocId >= hash_table->size) { in dph_add_hash_entry()
301 uint16_t index = hash_function(mac, staAddr, hash_table->size); in dph_delete_hash_entry()
306 if (assocId >= hash_table->size) { in dph_delete_hash_entry()
/wlan-driver/qcacld-3.0/core/cds/inc/
Dcds_packet.h88 #define cds_packet_alloc(size, data, ppPacket) \ argument
89 cds_packet_alloc_debug(size, data, ppPacket, __func__, __LINE__)
91 QDF_STATUS cds_packet_alloc_debug(uint16_t size, void **data, void **ppPacket,
94 QDF_STATUS cds_packet_alloc(uint16_t size, void **data, void **ppPacket);
/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_tx_desc.h359 uint16_t size = (pool_size >> DIV_BY_8) + in ol_tx_desc_dup_detect_init() local
361 pdev->tx_desc.free_list_bitmap = qdf_mem_malloc(size); in ol_tx_desc_dup_detect_init()
405 uint16_t size = (pdev->tx_desc.pool_size >> DIV_BY_8) + in ol_tx_desc_dup_detect_set() local
409 (void *)pdev->tx_desc.free_list_bitmap, size); in ol_tx_desc_dup_detect_set()
439 uint16_t size = (pdev->tx_desc.pool_size >> DIV_BY_8) + in ol_tx_desc_dup_detect_reset() local
444 (void *)pdev->tx_desc.free_list_bitmap, size); in ol_tx_desc_dup_detect_reset()
450 void ol_tx_desc_dup_detect_init(struct ol_txrx_pdev_t *pdev, uint16_t size) in ol_tx_desc_dup_detect_init() argument
/wlan-driver/qca-wifi-host-cmn/utils/qld/src/
Dqld.c103 int qld_register(void *addr, size_t size, char *name) in qld_register() argument
135 qld_debug("Insert addr=%pK size=%zu name=%s", (void *)addr, size, name); in qld_register()
138 qld->entry.size = size; in qld_register()
167 qld->entry.size); in qld_unregister()
/wlan-driver/qcacld-3.0/core/dp/htt/
Dhtt_rx_ll.c400 (num > pdev->rx_ring.size)) { in htt_rx_ring_fill_n()
530 int size; in htt_rx_ring_size() local
553 size = in htt_rx_ring_size()
558 if (size < HTT_RX_RING_SIZE_MIN) in htt_rx_ring_size()
559 size = HTT_RX_RING_SIZE_MIN; in htt_rx_ring_size()
560 else if (size > HTT_RX_RING_SIZE_MAX) in htt_rx_ring_size()
561 size = HTT_RX_RING_SIZE_MAX; in htt_rx_ring_size()
563 size = qdf_get_pwr2(size); in htt_rx_ring_size()
567 "Unable to get 2x2 cap soc is NULL ring size:%u selected ", size); in htt_rx_ring_size()
568 return size; in htt_rx_ring_size()
[all …]

123456789