Home
last modified time | relevance | path

Searched refs:seg (Results 1 – 18 of 18) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/qdf/src/
H A Dqdf_flex_mem.c31 struct qdf_flex_mem_segment *seg; in qdf_flex_mem_seg_alloc() local
35 seg = qdf_talloc(pool, total_size); in qdf_flex_mem_seg_alloc()
36 if (!seg) in qdf_flex_mem_seg_alloc()
39 seg->dynamic = true; in qdf_flex_mem_seg_alloc()
40 seg->bytes = (uint8_t *)(seg + 1); in qdf_flex_mem_seg_alloc()
41 seg->used_bitmap = 0; in qdf_flex_mem_seg_alloc()
42 qdf_list_insert_back(&pool->seg_list, &seg->node); in qdf_flex_mem_seg_alloc()
44 return seg; in qdf_flex_mem_seg_alloc()
60 struct qdf_flex_mem_segment *seg, *next; in qdf_flex_mem_deinit() local
64 qdf_list_for_each_del(&pool->seg_list, seg, next, node) { in qdf_flex_mem_deinit()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
H A Dqdf_nbuf.c4198 memset(&curr_seg->seg, 0x0, sizeof(curr_seg->seg)); in __qdf_nbuf_fill_tso_cmn_seg_info()
4204 curr_seg->seg.tso_flags.tso_enable = 1; in __qdf_nbuf_fill_tso_cmn_seg_info()
4205 curr_seg->seg.tso_flags.ipv4_checksum_en = in __qdf_nbuf_fill_tso_cmn_seg_info()
4207 curr_seg->seg.tso_flags.tcp_ipv6_checksum_en = in __qdf_nbuf_fill_tso_cmn_seg_info()
4209 curr_seg->seg.tso_flags.tcp_ipv4_checksum_en = in __qdf_nbuf_fill_tso_cmn_seg_info()
4211 curr_seg->seg.tso_flags.tcp_flags_mask = 0x1FF; in __qdf_nbuf_fill_tso_cmn_seg_info()
4214 curr_seg->seg.tso_flags.ip_id = tso_cmn_info->ip_id; in __qdf_nbuf_fill_tso_cmn_seg_info()
4217 curr_seg->seg.tso_flags.syn = tso_cmn_info->tcphdr->syn; in __qdf_nbuf_fill_tso_cmn_seg_info()
4218 curr_seg->seg.tso_flags.rst = tso_cmn_info->tcphdr->rst; in __qdf_nbuf_fill_tso_cmn_seg_info()
4219 curr_seg->seg.tso_flags.ack = tso_cmn_info->tcphdr->ack; in __qdf_nbuf_fill_tso_cmn_seg_info()
[all …]
H A Dqdf_tracepoint.c36 tcp_seq = tso_desc->seg.tso_flags.tcp_seq_num; in qdf_trace_dp_tx_ip_packet()
H A Di_qdf_types.h335 __qdf_segment_t seg[__QDF_MAX_SCATTER]; member
/wlan-driver/platform/cnss2/
H A Dmain.c358 int cnss_get_mem_seg_count(enum cnss_remote_mem_type type, u32 *seg) in cnss_get_mem_seg_count() argument
368 *seg = plat_priv->fw_mem_seg_len; in cnss_get_mem_seg_count()
371 *seg = plat_priv->qdss_mem_seg_len; in cnss_get_mem_seg_count()
3331 struct qcom_dump_segment *seg; in cnss_do_elf_ramdump() local
3349 seg = kcalloc(1, sizeof(*seg), GFP_KERNEL); in cnss_do_elf_ramdump()
3350 if (!seg) { in cnss_do_elf_ramdump()
3361 seg->da = dump_seg->address; in cnss_do_elf_ramdump()
3362 seg->va = dump_seg->v_address; in cnss_do_elf_ramdump()
3363 seg->size = dump_seg->size; in cnss_do_elf_ramdump()
3364 list_add_tail(&seg->node, &head); in cnss_do_elf_ramdump()
[all …]
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/
H A Dwlan_pkt_capture_main.c314 nbuf_len = tso_seg->seg.total_len; in pkt_capture_process_tx_data()
334 if (tso_seg->seg.num_frags > 0) in pkt_capture_process_tx_data()
335 num_frags = tso_seg->seg.num_frags - 1; in pkt_capture_process_tx_data()
345 tcp_seq_num = tso_seg->seg.tso_flags.tcp_seq_num; in pkt_capture_process_tx_data()
348 ip_len = tso_seg->seg.tso_flags.ip_len; in pkt_capture_process_tx_data()
354 tso_seg->seg.tso_frags[frag_cnt].vaddr, in pkt_capture_process_tx_data()
355 tso_seg->seg.tso_frags[frag_cnt].length); in pkt_capture_process_tx_data()
357 tso_seg->seg.tso_frags[frag_cnt].length; in pkt_capture_process_tx_data()
/wlan-driver/qcacld-3.0/core/dp/htt/
H A Dhtt_tx.c1446 tso_seg->seg.tso_flags; in htt_tx_desc_fill_tso_info()
1451 tso_seg->seg.tso_flags.tcp_seq_num, in htt_tx_desc_fill_tso_info()
1452 tso_seg->seg.tso_flags.l2_len, in htt_tx_desc_fill_tso_info()
1453 tso_seg->seg.tso_flags.ip_len); in htt_tx_desc_fill_tso_info()
1465 for (i = 0; i < tso_seg->seg.num_frags; i++) { in htt_tx_desc_fill_tso_info()
1469 qdf_dmaaddr_to_32s(tso_seg->seg.tso_frags[i].paddr, in htt_tx_desc_fill_tso_info()
1476 *word = (tso_seg->seg.tso_frags[i].length << 16) | hi; in htt_tx_desc_fill_tso_info()
1485 if (tso_seg->seg.num_frags < FRAG_NUM_MAX) in htt_tx_desc_fill_tso_info()
1772 uint32_t total_len = tso_info->curr_seg->seg.total_len; in htt_tx_desc_init()
/wlan-driver/qcacld-3.0/core/dp/txrx/
H A Dol_tx_ll_fastpath.c112 eit_hdr_len = msdu_info->tso_info.curr_seg->seg.tso_frags[0].length; in ol_tx_tso_adjust_pkt_dnld_len()
233 msdu_info->tso_info.curr_seg->seg); in ol_tx_prepare_ll_fast()
366 curr_seg->seg.tso_frags[0].paddr; in ol_tx_ll_fast()
H A Dol_tx_send.c661 nbuf_len = tso_seg->seg.total_len; in ol_tx_pkt_capture_tx_completion_process()
698 if (tso_seg->seg.num_frags > 0) in ol_tx_pkt_capture_tx_completion_process()
699 num_frags = tso_seg->seg.num_frags - 1; in ol_tx_pkt_capture_tx_completion_process()
710 tcp_seq_num = tso_seg->seg.tso_flags.tcp_seq_num; in ol_tx_pkt_capture_tx_completion_process()
713 ip_len = tso_seg->seg.tso_flags.ip_len; in ol_tx_pkt_capture_tx_completion_process()
718 tso_seg->seg.tso_frags[frag_cnt].vaddr, in ol_tx_pkt_capture_tx_completion_process()
719 tso_seg->seg.tso_frags[frag_cnt].length); in ol_tx_pkt_capture_tx_completion_process()
720 frag_len += tso_seg->seg.tso_frags[frag_cnt].length; in ol_tx_pkt_capture_tx_completion_process()
H A Dol_tx_ll_legacy.c108 seg.tso_frags[0].paddr; in ol_tx_ll()
H A Dol_tx_desc.c790 msdu_info->tso_info.curr_seg->seg); in ol_tx_desc_ll()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/
H A Ddp_rh_tx.c56 eit_hdr_len = msdu_info->u.tso_info.curr_seg->seg.tso_frags[0].length; in dp_tx_adjust_tso_download_len_rh()
366 msdu_info->u.tso_info.curr_seg->seg.tso_frags[0].paddr; in dp_tx_hw_enqueue_rh()
/wlan-driver/platform/inc/
H A Dcnss2.h435 extern int cnss_get_mem_seg_count(enum cnss_remote_mem_type type, u32 *seg);
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_stats.c8621 struct qdf_tso_seg_t seg) in dp_tso_segment_update() argument
8625 seg.num_frags); in dp_tso_segment_update()
8628 seg.total_len); in dp_tso_segment_update()
8632 seg.tso_flags.tso_enable); in dp_tso_segment_update()
8636 seg.tso_flags.fin); in dp_tso_segment_update()
8639 seg.tso_flags.syn); in dp_tso_segment_update()
8642 seg.tso_flags.rst); in dp_tso_segment_update()
8645 seg.tso_flags.psh); in dp_tso_segment_update()
8648 seg.tso_flags.ack); in dp_tso_segment_update()
8651 seg.tso_flags.urg); in dp_tso_segment_update()
[all …]
H A Ddp_tx.c203 for (i = 1; i < tso_seg->seg.num_frags; i++) { in dp_tx_tso_seg_history_add()
204 dp_tx_desc_history_add(soc, tso_seg->seg.tso_frags[i].paddr, in dp_tx_tso_seg_history_add()
209 dp_tx_desc_history_add(soc, tso_seg->seg.tso_frags[0].paddr, in dp_tx_tso_seg_history_add()
845 dp_tx_prepare_tso_ext_desc(&msdu_info->u.tso_info.curr_seg->seg, in dp_tx_prepare_ext_desc()
3230 struct dp_tx_seg_info_s *seg = msdu_info->u.sg_info.curr_seg; in dp_tx_sg_unmap_buf() local
3235 for (cur_idx = 1; cur_idx < seg->frag_cnt; cur_idx++) in dp_tx_sg_unmap_buf()
3237 (seg->frags[cur_idx].paddr_lo | ((uint64_t) in dp_tx_sg_unmap_buf()
3238 seg->frags[cur_idx].paddr_hi) << 32), in dp_tx_sg_unmap_buf()
3239 seg->frags[cur_idx].len, in dp_tx_sg_unmap_buf()
H A Ddp_tx.h2135 tx_desc->msdu_ext_desc->tso_desc->seg.total_len : in dp_tx_get_pkt_len()
H A Ddp_internal.h1588 struct qdf_tso_seg_t seg);
1647 struct qdf_tso_seg_t seg) in dp_tso_segment_update() argument
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
H A Dqdf_types.h1527 struct qdf_tso_seg_t seg; member