Lines Matching refs:desc

26 	struct hal_reo_get_queue_stats *desc;  in ath11k_hal_reo_cmd_queue_stats()  local
29 FIELD_PREP(HAL_TLV_HDR_LEN, sizeof(*desc)); in ath11k_hal_reo_cmd_queue_stats()
31 desc = (struct hal_reo_get_queue_stats *)tlv->value; in ath11k_hal_reo_cmd_queue_stats()
32 memset_startat(desc, 0, queue_addr_lo); in ath11k_hal_reo_cmd_queue_stats()
34 desc->cmd.info0 &= ~HAL_REO_CMD_HDR_INFO0_STATUS_REQUIRED; in ath11k_hal_reo_cmd_queue_stats()
36 desc->cmd.info0 |= HAL_REO_CMD_HDR_INFO0_STATUS_REQUIRED; in ath11k_hal_reo_cmd_queue_stats()
38 desc->queue_addr_lo = cmd->addr_lo; in ath11k_hal_reo_cmd_queue_stats()
39 desc->info0 = FIELD_PREP(HAL_REO_GET_QUEUE_STATS_INFO0_QUEUE_ADDR_HI, in ath11k_hal_reo_cmd_queue_stats()
42 desc->info0 |= HAL_REO_GET_QUEUE_STATS_INFO0_CLEAR_STATS; in ath11k_hal_reo_cmd_queue_stats()
44 return FIELD_GET(HAL_REO_CMD_HDR_INFO0_CMD_NUMBER, desc->cmd.info0); in ath11k_hal_reo_cmd_queue_stats()
50 struct hal_reo_flush_cache *desc; in ath11k_hal_reo_cmd_flush_cache() local
61 FIELD_PREP(HAL_TLV_HDR_LEN, sizeof(*desc)); in ath11k_hal_reo_cmd_flush_cache()
63 desc = (struct hal_reo_flush_cache *)tlv->value; in ath11k_hal_reo_cmd_flush_cache()
64 memset_startat(desc, 0, cache_addr_lo); in ath11k_hal_reo_cmd_flush_cache()
66 desc->cmd.info0 &= ~HAL_REO_CMD_HDR_INFO0_STATUS_REQUIRED; in ath11k_hal_reo_cmd_flush_cache()
68 desc->cmd.info0 |= HAL_REO_CMD_HDR_INFO0_STATUS_REQUIRED; in ath11k_hal_reo_cmd_flush_cache()
70 desc->cache_addr_lo = cmd->addr_lo; in ath11k_hal_reo_cmd_flush_cache()
71 desc->info0 = FIELD_PREP(HAL_REO_FLUSH_CACHE_INFO0_CACHE_ADDR_HI, in ath11k_hal_reo_cmd_flush_cache()
75 desc->info0 |= HAL_REO_FLUSH_CACHE_INFO0_FWD_ALL_MPDUS; in ath11k_hal_reo_cmd_flush_cache()
78 desc->info0 |= HAL_REO_FLUSH_CACHE_INFO0_BLOCK_CACHE_USAGE; in ath11k_hal_reo_cmd_flush_cache()
79 desc->info0 |= in ath11k_hal_reo_cmd_flush_cache()
85 desc->info0 |= HAL_REO_FLUSH_CACHE_INFO0_FLUSH_WO_INVALIDATE; in ath11k_hal_reo_cmd_flush_cache()
88 desc->info0 |= HAL_REO_FLUSH_CACHE_INFO0_FLUSH_ALL; in ath11k_hal_reo_cmd_flush_cache()
90 return FIELD_GET(HAL_REO_CMD_HDR_INFO0_CMD_NUMBER, desc->cmd.info0); in ath11k_hal_reo_cmd_flush_cache()
96 struct hal_reo_update_rx_queue *desc; in ath11k_hal_reo_cmd_update_rx_queue() local
99 FIELD_PREP(HAL_TLV_HDR_LEN, sizeof(*desc)); in ath11k_hal_reo_cmd_update_rx_queue()
101 desc = (struct hal_reo_update_rx_queue *)tlv->value; in ath11k_hal_reo_cmd_update_rx_queue()
102 memset_startat(desc, 0, queue_addr_lo); in ath11k_hal_reo_cmd_update_rx_queue()
104 desc->cmd.info0 &= ~HAL_REO_CMD_HDR_INFO0_STATUS_REQUIRED; in ath11k_hal_reo_cmd_update_rx_queue()
106 desc->cmd.info0 |= HAL_REO_CMD_HDR_INFO0_STATUS_REQUIRED; in ath11k_hal_reo_cmd_update_rx_queue()
108 desc->queue_addr_lo = cmd->addr_lo; in ath11k_hal_reo_cmd_update_rx_queue()
109 desc->info0 = in ath11k_hal_reo_cmd_update_rx_queue()
157 desc->info1 = in ath11k_hal_reo_cmd_update_rx_queue()
202 desc->info2 = in ath11k_hal_reo_cmd_update_rx_queue()
215 return FIELD_GET(HAL_REO_CMD_HDR_INFO0_CMD_NUMBER, desc->cmd.info0); in ath11k_hal_reo_cmd_update_rx_queue()
265 void ath11k_hal_rx_buf_addr_info_set(void *desc, dma_addr_t paddr, in ath11k_hal_rx_buf_addr_info_set() argument
268 struct ath11k_buffer_addr *binfo = (struct ath11k_buffer_addr *)desc; in ath11k_hal_rx_buf_addr_info_set()
279 void ath11k_hal_rx_buf_addr_info_get(void *desc, dma_addr_t *paddr, in ath11k_hal_rx_buf_addr_info_get() argument
282 struct ath11k_buffer_addr *binfo = (struct ath11k_buffer_addr *)desc; in ath11k_hal_rx_buf_addr_info_get()
322 struct hal_reo_dest_ring *desc = (struct hal_reo_dest_ring *)rx_desc; in ath11k_hal_desc_reo_parse_err() local
327 desc->info0); in ath11k_hal_desc_reo_parse_err()
329 desc->info0); in ath11k_hal_desc_reo_parse_err()
339 if (FIELD_GET(HAL_REO_DEST_RING_INFO0_BUFFER_TYPE, desc->info0) != in ath11k_hal_desc_reo_parse_err()
350 int ath11k_hal_wbm_desc_parse_err(struct ath11k_base *ab, void *desc, in ath11k_hal_wbm_desc_parse_err() argument
353 struct hal_wbm_release_ring *wbm_desc = desc; in ath11k_hal_wbm_desc_parse_err()
405 void ath11k_hal_rx_reo_ent_paddr_get(struct ath11k_base *ab, void *desc, in ath11k_hal_rx_reo_ent_paddr_get() argument
408 struct ath11k_buffer_addr *buff_addr = desc; in ath11k_hal_rx_reo_ent_paddr_get()
416 void ath11k_hal_rx_msdu_link_desc_set(struct ath11k_base *ab, void *desc, in ath11k_hal_rx_msdu_link_desc_set() argument
420 struct hal_wbm_release_ring *dst_desc = desc; in ath11k_hal_rx_msdu_link_desc_set()
435 struct hal_reo_get_queue_stats_status *desc = in ath11k_hal_reo_status_queue_stats() local
440 desc->hdr.info0); in ath11k_hal_reo_status_queue_stats()
443 desc->hdr.info0); in ath11k_hal_reo_status_queue_stats()
451 desc->info0), in ath11k_hal_reo_status_queue_stats()
453 desc->info0)); in ath11k_hal_reo_status_queue_stats()
455 desc->pn[0], desc->pn[1], desc->pn[2], desc->pn[3]); in ath11k_hal_reo_status_queue_stats()
458 desc->last_rx_enqueue_timestamp, in ath11k_hal_reo_status_queue_stats()
459 desc->last_rx_dequeue_timestamp); in ath11k_hal_reo_status_queue_stats()
462 desc->rx_bitmap[0], desc->rx_bitmap[1], desc->rx_bitmap[2], in ath11k_hal_reo_status_queue_stats()
463 desc->rx_bitmap[3], desc->rx_bitmap[4], desc->rx_bitmap[5], in ath11k_hal_reo_status_queue_stats()
464 desc->rx_bitmap[6], desc->rx_bitmap[7]); in ath11k_hal_reo_status_queue_stats()
467 desc->info1), in ath11k_hal_reo_status_queue_stats()
469 desc->info1)); in ath11k_hal_reo_status_queue_stats()
472 desc->info2), in ath11k_hal_reo_status_queue_stats()
474 desc->info2), in ath11k_hal_reo_status_queue_stats()
476 desc->info2)); in ath11k_hal_reo_status_queue_stats()
479 desc->info3), in ath11k_hal_reo_status_queue_stats()
481 desc->info3)); in ath11k_hal_reo_status_queue_stats()
483 desc->num_mpdu_frames, desc->num_msdu_frames, in ath11k_hal_reo_status_queue_stats()
484 desc->total_bytes); in ath11k_hal_reo_status_queue_stats()
487 desc->info4), in ath11k_hal_reo_status_queue_stats()
489 desc->info4), in ath11k_hal_reo_status_queue_stats()
491 desc->info4)); in ath11k_hal_reo_status_queue_stats()
494 desc->info5)); in ath11k_hal_reo_status_queue_stats()
512 struct hal_reo_flush_queue_status *desc = in ath11k_hal_reo_flush_queue_status() local
517 desc->hdr.info0); in ath11k_hal_reo_flush_queue_status()
520 desc->hdr.info0); in ath11k_hal_reo_flush_queue_status()
523 desc->info0); in ath11k_hal_reo_flush_queue_status()
531 struct hal_reo_flush_cache_status *desc = in ath11k_hal_reo_flush_cache_status() local
536 desc->hdr.info0); in ath11k_hal_reo_flush_cache_status()
539 desc->hdr.info0); in ath11k_hal_reo_flush_cache_status()
543 desc->info0); in ath11k_hal_reo_flush_cache_status()
546 desc->info0); in ath11k_hal_reo_flush_cache_status()
552 desc->info0); in ath11k_hal_reo_flush_cache_status()
556 desc->info0); in ath11k_hal_reo_flush_cache_status()
559 desc->info0); in ath11k_hal_reo_flush_cache_status()
562 desc->info0); in ath11k_hal_reo_flush_cache_status()
565 desc->info0); in ath11k_hal_reo_flush_cache_status()
573 struct hal_reo_unblock_cache_status *desc = in ath11k_hal_reo_unblk_cache_status() local
578 desc->hdr.info0); in ath11k_hal_reo_unblk_cache_status()
581 desc->hdr.info0); in ath11k_hal_reo_unblk_cache_status()
585 desc->info0); in ath11k_hal_reo_unblk_cache_status()
588 desc->info0); in ath11k_hal_reo_unblk_cache_status()
601 struct hal_reo_flush_timeout_list_status *desc = in ath11k_hal_reo_flush_timeout_list_status() local
606 desc->hdr.info0); in ath11k_hal_reo_flush_timeout_list_status()
609 desc->hdr.info0); in ath11k_hal_reo_flush_timeout_list_status()
613 desc->info0); in ath11k_hal_reo_flush_timeout_list_status()
616 desc->info0); in ath11k_hal_reo_flush_timeout_list_status()
620 desc->info1); in ath11k_hal_reo_flush_timeout_list_status()
623 desc->info1); in ath11k_hal_reo_flush_timeout_list_status()
631 struct hal_reo_desc_thresh_reached_status *desc = in ath11k_hal_reo_desc_thresh_reached_status() local
636 desc->hdr.info0); in ath11k_hal_reo_desc_thresh_reached_status()
639 desc->hdr.info0); in ath11k_hal_reo_desc_thresh_reached_status()
643 desc->info0); in ath11k_hal_reo_desc_thresh_reached_status()
647 desc->info1); in ath11k_hal_reo_desc_thresh_reached_status()
651 desc->info2); in ath11k_hal_reo_desc_thresh_reached_status()
655 desc->info3); in ath11k_hal_reo_desc_thresh_reached_status()
659 desc->info4); in ath11k_hal_reo_desc_thresh_reached_status()
667 struct hal_reo_status_hdr *desc = in ath11k_hal_reo_update_rx_reo_queue_status() local
672 desc->info0); in ath11k_hal_reo_update_rx_reo_queue_status()
675 desc->info0); in ath11k_hal_reo_update_rx_reo_queue_status()
787 struct hal_reo_get_queue_stats *desc; in ath11k_hal_reo_init_cmd_ring() local
800 desc = (struct hal_reo_get_queue_stats *)tlv->value; in ath11k_hal_reo_init_cmd_ring()
801 desc->cmd.info0 = in ath11k_hal_reo_init_cmd_ring()