Lines Matching refs:desc
75 dp_rx_reo_qdesc_deferred_evt_add(struct reo_desc_deferred_freelist_node *desc, in dp_rx_reo_qdesc_deferred_evt_add() argument
86 qdf_mem_copy(evt->peer_mac, desc->peer_mac, QDF_MAC_ADDR_SIZE); in dp_rx_reo_qdesc_deferred_evt_add()
87 evt->qdesc_addr = desc->hw_qdesc_paddr; in dp_rx_reo_qdesc_deferred_evt_add()
92 #define DP_RX_REO_QDESC_DEFERRED_FREE_EVT(desc) \ argument
93 dp_rx_reo_qdesc_deferred_evt_add((desc), REO_QDESC_FREE)
95 #define DP_RX_REO_QDESC_DEFERRED_GET_MAC(desc, freedesc) \ argument
96 qdf_mem_copy((desc)->peer_mac, (freedesc)->peer_mac, QDF_MAC_ADDR_SIZE)
115 #define DP_RX_REO_QDESC_DEFERRED_FREE_EVT(desc) argument
117 #define DP_RX_REO_QDESC_DEFERRED_GET_MAC(desc, freedesc) argument
411 struct reo_desc_deferred_freelist_node *desc; in dp_reo_desc_defer_free_enqueue() local
416 desc = qdf_mem_malloc(sizeof(*desc)); in dp_reo_desc_defer_free_enqueue()
417 if (!desc) in dp_reo_desc_defer_free_enqueue()
420 desc->hw_qdesc_paddr = freedesc->rx_tid.hw_qdesc_paddr; in dp_reo_desc_defer_free_enqueue()
421 desc->hw_qdesc_alloc_size = freedesc->rx_tid.hw_qdesc_alloc_size; in dp_reo_desc_defer_free_enqueue()
422 desc->hw_qdesc_vaddr_unaligned = in dp_reo_desc_defer_free_enqueue()
424 desc->free_ts = qdf_get_system_timestamp(); in dp_reo_desc_defer_free_enqueue()
425 DP_RX_REO_QDESC_DEFERRED_GET_MAC(desc, freedesc); in dp_reo_desc_defer_free_enqueue()
429 qdf_mem_free(desc); in dp_reo_desc_defer_free_enqueue()
434 (qdf_list_node_t *)desc); in dp_reo_desc_defer_free_enqueue()
449 struct reo_desc_deferred_freelist_node *desc; in dp_reo_desc_defer_free() local
455 (qdf_list_node_t **)&desc) == QDF_STATUS_SUCCESS) && in dp_reo_desc_defer_free()
456 (curr_ts > (desc->free_ts + REO_DESC_DEFERRED_FREE_MS))) { in dp_reo_desc_defer_free()
458 (qdf_list_node_t **)&desc); in dp_reo_desc_defer_free()
460 DP_RX_REO_QDESC_DEFERRED_FREE_EVT(desc); in dp_reo_desc_defer_free()
463 desc->hw_qdesc_paddr, in dp_reo_desc_defer_free()
465 desc->hw_qdesc_alloc_size); in dp_reo_desc_defer_free()
466 qdf_mem_free(desc->hw_qdesc_vaddr_unaligned); in dp_reo_desc_defer_free()
467 qdf_mem_free(desc); in dp_reo_desc_defer_free()
874 struct reo_desc_list_node *desc, in dp_reo_desc_clean_up() argument
877 desc->free_ts = qdf_get_system_timestamp(); in dp_reo_desc_clean_up()
880 (qdf_list_node_t *)desc); in dp_reo_desc_clean_up()
910 struct reo_desc_list_node *desc, in dp_reo_desc_clean_up() argument
916 dp_reo_desc_free(soc, (void *)desc, reo_status); in dp_reo_desc_clean_up()
944 struct reo_desc_list_node *desc, in dp_resend_update_reo_cmd() argument
957 desc->resend_update_reo_cmd = false; in dp_resend_update_reo_cmd()
966 (void *)desc) in dp_resend_update_reo_cmd()
968 desc->resend_update_reo_cmd = true; in dp_resend_update_reo_cmd()
969 desc->free_ts = qdf_get_system_timestamp(); in dp_resend_update_reo_cmd()
971 (qdf_list_node_t *)desc); in dp_resend_update_reo_cmd()
986 struct reo_desc_list_node *desc = NULL; in dp_rx_tid_delete_cb() local
1026 (qdf_list_node_t **)&desc) == QDF_STATUS_SUCCESS) && in dp_rx_tid_delete_cb()
1028 (curr_ts > (desc->free_ts + REO_DESC_FREE_DEFER_MS)) || in dp_rx_tid_delete_cb()
1029 (desc->resend_update_reo_cmd && list_size))) { in dp_rx_tid_delete_cb()
1033 (qdf_list_node_t **)&desc); in dp_rx_tid_delete_cb()
1035 rx_tid = &desc->rx_tid; in dp_rx_tid_delete_cb()
1038 if (desc->resend_update_reo_cmd) { in dp_rx_tid_delete_cb()
1039 if (dp_resend_update_reo_cmd(soc, desc, rx_tid) != in dp_rx_tid_delete_cb()
1049 if (desc->pending_ext_desc_size) in dp_rx_tid_delete_cb()
1050 tot_desc_size = desc->pending_ext_desc_size; in dp_rx_tid_delete_cb()
1072 desc->pending_ext_desc_size = tot_desc_size + in dp_rx_tid_delete_cb()
1074 dp_reo_desc_clean_up(soc, desc, reo_status); in dp_rx_tid_delete_cb()
1083 desc->pending_ext_desc_size = desc_size; in dp_rx_tid_delete_cb()
1099 (void *)desc)) { in dp_rx_tid_delete_cb()
1113 dp_reo_desc_clean_up(soc, desc, &reo_status); in dp_rx_tid_delete_cb()