Lines Matching refs:rx_desc
53 struct dp_rx_desc *rx_desc) in dp_rx_dump_info_and_assert() argument
58 dp_rx_desc_dump(rx_desc); in dp_rx_dump_info_and_assert()
64 struct dp_rx_desc *rx_desc) in dp_rx_dump_info_and_assert() argument
68 dp_rx_desc_dump(rx_desc); in dp_rx_dump_info_and_assert()
80 struct dp_rx_desc *rx_desc) in dp_rx_desc_sanity() argument
84 if (qdf_unlikely(!rx_desc)) { in dp_rx_desc_sanity()
135 struct dp_rx_desc *rx_desc) in dp_rx_desc_nbuf_sanity_check() argument
141 if (dp_rx_desc_paddr_sanity_check(rx_desc, (&hbi)->paddr)) in dp_rx_desc_nbuf_sanity_check()
462 desc_list->rx_desc.nbuf = nbuf; in __dp_rx_buffers_no_map_lt_replenish()
463 dp_rx_set_reuse_nbuf(&desc_list->rx_desc, nbuf); in __dp_rx_buffers_no_map_lt_replenish()
464 desc_list->rx_desc.rx_buf_start = nbuf->data; in __dp_rx_buffers_no_map_lt_replenish()
465 desc_list->rx_desc.paddr_buf_start = paddr; in __dp_rx_buffers_no_map_lt_replenish()
466 desc_list->rx_desc.unmapped = 0; in __dp_rx_buffers_no_map_lt_replenish()
469 qdf_assert_always(desc_list->rx_desc.in_use == 0); in __dp_rx_buffers_no_map_lt_replenish()
471 desc_list->rx_desc.in_use = 1; in __dp_rx_buffers_no_map_lt_replenish()
472 desc_list->rx_desc.in_err_state = 0; in __dp_rx_buffers_no_map_lt_replenish()
476 desc_list->rx_desc.cookie, in __dp_rx_buffers_no_map_lt_replenish()
566 (*desc_list)->rx_desc.nbuf = nbuf; in __dp_rx_buffers_no_map_replenish()
567 dp_rx_set_reuse_nbuf(&(*desc_list)->rx_desc, nbuf); in __dp_rx_buffers_no_map_replenish()
568 (*desc_list)->rx_desc.rx_buf_start = nbuf->data; in __dp_rx_buffers_no_map_replenish()
569 (*desc_list)->rx_desc.paddr_buf_start = QDF_NBUF_CB_PADDR(nbuf); in __dp_rx_buffers_no_map_replenish()
570 (*desc_list)->rx_desc.unmapped = 0; in __dp_rx_buffers_no_map_replenish()
573 qdf_assert_always((*desc_list)->rx_desc.in_use == 0); in __dp_rx_buffers_no_map_replenish()
575 (*desc_list)->rx_desc.in_use = 1; in __dp_rx_buffers_no_map_replenish()
576 (*desc_list)->rx_desc.in_err_state = 0; in __dp_rx_buffers_no_map_replenish()
580 (*desc_list)->rx_desc.cookie, in __dp_rx_buffers_no_map_replenish()
652 (*desc_list)->rx_desc.in_use = 1; in __dp_rx_comp2refill_replenish()
653 (*desc_list)->rx_desc.in_err_state = 0; in __dp_rx_comp2refill_replenish()
654 (*desc_list)->rx_desc.nbuf = (*desc_list)->rx_desc.reuse_nbuf; in __dp_rx_comp2refill_replenish()
657 (*desc_list)->rx_desc.paddr_buf_start, in __dp_rx_comp2refill_replenish()
658 (*desc_list)->rx_desc.cookie, in __dp_rx_comp2refill_replenish()
679 nbuf = cur->rx_desc.reuse_nbuf; in __dp_rx_comp2refill_replenish()
681 cur->rx_desc.nbuf = NULL; in __dp_rx_comp2refill_replenish()
682 cur->rx_desc.in_use = 0; in __dp_rx_comp2refill_replenish()
683 cur->rx_desc.has_reuse_nbuf = false; in __dp_rx_comp2refill_replenish()
684 cur->rx_desc.reuse_nbuf = NULL; in __dp_rx_comp2refill_replenish()
766 desc_list->rx_desc.nbuf = nbuf; in __dp_pdev_rx_buffers_no_map_attach()
767 dp_rx_set_reuse_nbuf(&desc_list->rx_desc, nbuf); in __dp_pdev_rx_buffers_no_map_attach()
768 desc_list->rx_desc.rx_buf_start = nbuf->data; in __dp_pdev_rx_buffers_no_map_attach()
769 desc_list->rx_desc.paddr_buf_start = paddr; in __dp_pdev_rx_buffers_no_map_attach()
770 desc_list->rx_desc.unmapped = 0; in __dp_pdev_rx_buffers_no_map_attach()
773 qdf_assert_always(desc_list->rx_desc.in_use == 0); in __dp_pdev_rx_buffers_no_map_attach()
775 desc_list->rx_desc.in_use = 1; in __dp_pdev_rx_buffers_no_map_attach()
776 desc_list->rx_desc.in_err_state = 0; in __dp_pdev_rx_buffers_no_map_attach()
780 desc_list->rx_desc.cookie, in __dp_pdev_rx_buffers_no_map_attach()
826 struct dp_rx_desc *rx_desc) in dp_rx_desc_replenish() argument
840 rx_desc->in_err_state = 0; in dp_rx_desc_replenish()
842 paddr = dp_rx_rep_retrieve_paddr(soc, rx_desc->nbuf, in dp_rx_desc_replenish()
845 rx_desc->cookie, rx_desc_pool->owner); in dp_rx_desc_replenish()
871 struct dp_rx_desc *rx_desc = in dp_rx_desc_reuse() local
874 if (rx_desc->in_use) { in dp_rx_desc_reuse()
878 rx_desc); in dp_rx_desc_reuse()
880 dp_rx_nbuf_unmap(soc, rx_desc, 0); in dp_rx_desc_reuse()
881 rx_desc->unmapped = 0; in dp_rx_desc_reuse()
883 rx_desc->nbuf->next = *nbuf_list; in dp_rx_desc_reuse()
884 *nbuf_list = rx_desc->nbuf; in dp_rx_desc_reuse()
888 rx_desc); in dp_rx_desc_reuse()
1066 dp_rx_desc_frag_prep(&((*desc_list)->rx_desc), in __dp_rx_buffers_replenish()
1069 dp_rx_desc_prep(&((*desc_list)->rx_desc), in __dp_rx_buffers_replenish()
1073 qdf_assert_always((*desc_list)->rx_desc.in_use == 0); in __dp_rx_buffers_replenish()
1075 (*desc_list)->rx_desc.in_use = 1; in __dp_rx_buffers_replenish()
1076 (*desc_list)->rx_desc.in_err_state = 0; in __dp_rx_buffers_replenish()
1077 dp_rx_desc_update_dbg_info(&(*desc_list)->rx_desc, in __dp_rx_buffers_replenish()
1082 (*desc_list)->rx_desc.cookie); in __dp_rx_buffers_replenish()
1086 (*desc_list)->rx_desc.cookie, in __dp_rx_buffers_replenish()
3237 dp_rx_desc_frag_prep(&desc_list->rx_desc, in dp_pdev_rx_buffers_attach()
3240 dp_rx_desc_prep(&desc_list->rx_desc, in dp_pdev_rx_buffers_attach()
3242 desc_list->rx_desc.in_use = 1; in dp_pdev_rx_buffers_attach()
3243 dp_rx_desc_alloc_dbg_info(&desc_list->rx_desc); in dp_pdev_rx_buffers_attach()
3244 dp_rx_desc_update_dbg_info(&desc_list->rx_desc, in dp_pdev_rx_buffers_attach()
3249 desc_list->rx_desc.cookie, in dp_pdev_rx_buffers_attach()