Lines Matching refs:rx_desc
75 struct dp_rx_desc *rx_desc, in dp_rx_msdu_done_fail_event_record() argument
89 if (rx_desc) in dp_rx_msdu_done_fail_event_record()
90 entry->sw_cookie = rx_desc->cookie; in dp_rx_msdu_done_fail_event_record()
97 struct dp_rx_desc *rx_desc, in dp_rx_msdu_done_fail_event_record() argument
204 struct dp_rx_desc *rx_desc) in dp_rx_war_peek_msdu_done() argument
208 qdf_nbuf_sync_for_cpu(soc->osdev, rx_desc->nbuf, QDF_DMA_FROM_DEVICE); in dp_rx_war_peek_msdu_done()
209 rx_tlv_hdr = qdf_nbuf_data(rx_desc->nbuf); in dp_rx_war_peek_msdu_done()
224 dp_rx_delink_n_rel_rx_desc(struct dp_soc *soc, struct dp_rx_desc *rx_desc, in dp_rx_delink_n_rel_rx_desc() argument
227 if (!rx_desc) in dp_rx_delink_n_rel_rx_desc()
230 dp_rx_nbuf_unmap(soc, rx_desc, reo_ring_num); in dp_rx_delink_n_rel_rx_desc()
231 dp_rx_nbuf_free(rx_desc->nbuf); in dp_rx_delink_n_rel_rx_desc()
240 rx_desc->msdu_done_fail = 0; in dp_rx_delink_n_rel_rx_desc()
245 struct dp_rx_desc *rx_desc, in dp_rx_war_store_msdu_done_fail_desc() argument
259 msdu_done_fail_desc_list->msdu_done_fail_descs[idx] = rx_desc; in dp_rx_war_store_msdu_done_fail_desc()
266 struct dp_rx_desc *rx_desc) in dp_rx_war_peek_msdu_done() argument
273 struct dp_rx_desc *rx_desc, in dp_rx_war_store_msdu_done_fail_desc() argument
287 struct dp_rx_desc *rx_desc = NULL; in dp_rx_process_be() local
434 rx_desc = (struct dp_rx_desc *) in dp_rx_process_be()
436 dp_rx_desc_sw_cc_check(soc, rx_buf_cookie, &rx_desc); in dp_rx_process_be()
439 ring_desc, rx_desc); in dp_rx_process_be()
441 if (qdf_unlikely(rx_desc && rx_desc->nbuf)) { in dp_rx_process_be()
442 qdf_assert_always(!rx_desc->unmapped); in dp_rx_process_be()
443 dp_rx_nbuf_unmap(soc, rx_desc, reo_ring_num); in dp_rx_process_be()
444 dp_rx_buffer_pool_nbuf_free(soc, rx_desc->nbuf, in dp_rx_process_be()
445 rx_desc->pool_id); in dp_rx_process_be()
447 &head[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
448 &tail[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
449 rx_desc); in dp_rx_process_be()
462 if (qdf_unlikely(!rx_desc->in_use)) { in dp_rx_process_be()
466 ring_desc, rx_desc); in dp_rx_process_be()
470 status = dp_rx_desc_nbuf_sanity_check(soc, ring_desc, rx_desc); in dp_rx_process_be()
475 ring_desc, rx_desc); in dp_rx_process_be()
476 rx_desc->in_err_state = 1; in dp_rx_process_be()
480 if (qdf_unlikely(!dp_rx_desc_check_magic(rx_desc))) { in dp_rx_process_be()
484 ring_desc, rx_desc); in dp_rx_process_be()
489 rx_desc->nbuf, in dp_rx_process_be()
492 if (qdf_unlikely(qdf_nbuf_is_rx_chfrag_cont(rx_desc->nbuf))) { in dp_rx_process_be()
497 qdf_nbuf_set_rx_chfrag_end(rx_desc->nbuf, 0); in dp_rx_process_be()
513 if ((QDF_NBUF_CB_RX_PKT_LEN(rx_desc->nbuf) / in dp_rx_process_be()
535 rx_desc))) { in dp_rx_process_be()
538 soc, rx_desc, in dp_rx_process_be()
541 rx_bufs_reaped[rx_desc->chip_id][rx_desc->pool_id]++; in dp_rx_process_be()
543 (&head[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
544 &tail[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
550 rx_desc->msdu_done_fail = 1; in dp_rx_process_be()
554 dp_rx_msdu_done_fail_event_record(soc, rx_desc, in dp_rx_process_be()
555 rx_desc->nbuf); in dp_rx_process_be()
560 !(qdf_nbuf_is_rx_chfrag_cont(rx_desc->nbuf))) in dp_rx_process_be()
563 rx_bufs_reaped[rx_desc->chip_id][rx_desc->pool_id]++; in dp_rx_process_be()
569 dp_rx_nbuf_unmap(soc, rx_desc, reo_ring_num); in dp_rx_process_be()
571 ebuf_tail, rx_desc); in dp_rx_process_be()
577 (&head[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
578 &tail[rx_desc->chip_id][rx_desc->pool_id], rx_desc); in dp_rx_process_be()
1094 &rx_desc_elem->rx_desc); in dp_rx_desc_pool_init_be_cc()
1095 rx_desc_elem->rx_desc.cookie = in dp_rx_desc_pool_init_be_cc()
1098 rx_desc_elem->rx_desc.chip_id = dp_mlo_get_chip_id(soc); in dp_rx_desc_pool_init_be_cc()
1099 rx_desc_elem->rx_desc.pool_id = pool_id; in dp_rx_desc_pool_init_be_cc()
1100 rx_desc_elem->rx_desc.in_use = 0; in dp_rx_desc_pool_init_be_cc()
1151 &rx_desc_pool->array[i].rx_desc); in dp_rx_desc_pool_init_be_cc()
1152 rx_desc_pool->array[i].rx_desc.cookie = in dp_rx_desc_pool_init_be_cc()
1155 rx_desc_pool->array[i].rx_desc.pool_id = pool_id; in dp_rx_desc_pool_init_be_cc()
1156 rx_desc_pool->array[i].rx_desc.in_use = 0; in dp_rx_desc_pool_init_be_cc()
1157 rx_desc_pool->array[i].rx_desc.chip_id = in dp_rx_desc_pool_init_be_cc()
1988 struct dp_rx_desc *rx_desc;
2031 &rx_desc)) {
2036 if (dp_assert_always_internal_stat(rx_desc, soc,
2040 if (!dp_rx_desc_check_magic(rx_desc)) {
2042 soc, rx_desc);
2053 if (qdf_unlikely(!rx_desc->in_use)) {
2056 ring_desc, rx_desc);
2061 ring_desc, rx_desc);
2065 rx_desc->nbuf);
2066 rx_desc->in_err_state = 1;
2070 nbuf = rx_desc->nbuf;
2081 rx_desc->pool_id);
2098 rx_desc_pool = &soc->rx_desc_buf[rx_desc->pool_id];
2101 rx_desc->unmapped = 1;
2140 rx_bufs_reaped[rx_desc->chip_id][rx_desc->pool_id]++;
2150 rx_desc->pool_id))
2160 rx_desc->pool_id)) {
2165 (&head[rx_desc->chip_id][rx_desc->pool_id],
2166 &tail[rx_desc->chip_id][rx_desc->pool_id], rx_desc);