Home
last modified time | relevance | path

Searched refs:hal_ring_hdl (Results 1 – 25 of 55) sorted by relevance

123

/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/
Dhal_api.h239 hal_ring_handle_t hal_ring_hdl) in hal_tx_init_cmd_credit_ring() argument
244 hal_ring_hdl); in hal_tx_init_cmd_credit_ring()
1003 void hal_set_low_threshold(hal_ring_handle_t hal_ring_hdl,
1326 hal_ring_handle_t hal_ring_hdl);
1334 void hal_srng_cleanup(void *hal_soc, hal_ring_handle_t hal_ring_hdl,
1337 static inline bool hal_srng_initialized(hal_ring_handle_t hal_ring_hdl) in hal_srng_initialized() argument
1339 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_srng_initialized()
1355 hal_ring_handle_t hal_ring_hdl) in hal_srng_dst_peek() argument
1357 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_srng_dst_peek()
1404 hal_ring_handle_t hal_ring_hdl) in hal_srng_access_start_unlocked() argument
[all …]
Dhal_reo.c25 hal_ring_handle_t hal_ring_hdl) in hal_reo_init_cmd_ring() argument
35 hal_get_srng_params(hal_soc_hdl, hal_ring_hdl, &srng_params); in hal_reo_init_cmd_ring()
Dhal_srng.c1548 hal_ring_handle_t hal_ring_hdl) in hal_srng_dst_update_hp_addr() argument
1550 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_srng_dst_update_hp_addr()
1558 hal_get_hw_hptp(hal_soc, hal_ring_hdl, &hw_hp, &hw_tp, in hal_srng_dst_update_hp_addr()
1963 void hal_srng_cleanup(void *hal_soc, hal_ring_handle_t hal_ring_hdl, in hal_srng_cleanup() argument
1966 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_srng_cleanup()
2022 hal_ring_handle_t hal_ring_hdl, in hal_get_srng_params() argument
2025 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_get_srng_params()
2049 void hal_set_low_threshold(hal_ring_handle_t hal_ring_hdl, in hal_set_low_threshold() argument
2052 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_set_low_threshold()
2060 hal_ring_handle_t hal_ring_hdl, in hal_srng_rtpm_access_end() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/li/
Dhal_li_reo.c295 hal_reo_cmd_queue_stats_li(hal_ring_handle_t hal_ring_hdl, in hal_reo_cmd_queue_stats_li() argument
302 hal_srng_access_start(hal_soc_hdl, hal_ring_hdl); in hal_reo_cmd_queue_stats_li()
303 reo_desc = hal_srng_src_get_next(hal_soc, hal_ring_hdl); in hal_reo_cmd_queue_stats_li()
307 hal_srng_access_end(hal_soc, hal_ring_hdl); in hal_reo_cmd_queue_stats_li()
335 hal_srng_access_end_reap(hal_soc_hdl, hal_ring_hdl); in hal_reo_cmd_queue_stats_li()
336 hal_srng_set_event(hal_ring_hdl, HAL_SRNG_FLUSH_EVENT); in hal_reo_cmd_queue_stats_li()
337 hal_srng_inc_flush_cnt(hal_ring_hdl); in hal_reo_cmd_queue_stats_li()
339 hal_srng_access_end(hal_soc_hdl, hal_ring_hdl); in hal_reo_cmd_queue_stats_li()
344 hal_srng_access_end_reap(hal_soc_hdl, hal_ring_hdl); in hal_reo_cmd_queue_stats_li()
345 hal_srng_set_event(hal_ring_hdl, HAL_SRNG_FLUSH_EVENT); in hal_reo_cmd_queue_stats_li()
[all …]
Dhal_li_reo.h50 hal_ring_handle_t hal_ring_hdl,
91 hal_ring_handle_t hal_ring_hdl);
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/be/
Dhal_be_reo.c233 hal_reo_cmd_queue_stats_be(hal_ring_handle_t hal_ring_hdl, in hal_reo_cmd_queue_stats_be() argument
241 hal_srng_access_start(hal_soc_hdl, hal_ring_hdl); in hal_reo_cmd_queue_stats_be()
242 reo_desc = hal_srng_src_get_next(hal_soc, hal_ring_hdl); in hal_reo_cmd_queue_stats_be()
244 hal_srng_access_end_reap(hal_soc, hal_ring_hdl); in hal_reo_cmd_queue_stats_be()
271 hal_srng_access_end_v1(hal_soc_hdl, hal_ring_hdl, in hal_reo_cmd_queue_stats_be()
280 hal_reo_cmd_flush_queue_be(hal_ring_handle_t hal_ring_hdl, in hal_reo_cmd_flush_queue_be() argument
288 hal_srng_access_start(hal_soc_hdl, hal_ring_hdl); in hal_reo_cmd_flush_queue_be()
289 reo_desc = hal_srng_src_get_next(hal_soc, hal_ring_hdl); in hal_reo_cmd_flush_queue_be()
291 hal_srng_access_end_reap(hal_soc, hal_ring_hdl); in hal_reo_cmd_flush_queue_be()
321 hal_srng_access_end_v1(hal_soc_hdl, hal_ring_hdl, in hal_reo_cmd_flush_queue_be()
[all …]
Dhal_be_reo.h50 hal_ring_handle_t hal_ring_hdl,
91 hal_ring_handle_t hal_ring_hdl);
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_tx.h793 hal_ring_handle_t hal_ring_hdl, in dp_tx_prefetch_hw_sw_nbuf_desc() argument
817 hal_ring_hdl, in dp_tx_prefetch_hw_sw_nbuf_desc()
822 hal_ring_hdl, in dp_tx_prefetch_hw_sw_nbuf_desc()
831 hal_ring_handle_t hal_ring_hdl, in dp_tx_prefetch_hw_sw_nbuf_desc() argument
1052 hal_ring_handle_t hal_ring_hdl) in dp_tx_hal_ring_access_start() argument
1054 return hal_srng_access_start_unlocked(soc->hal_soc, hal_ring_hdl); in dp_tx_hal_ring_access_start()
1065 hal_ring_handle_t hal_ring_hdl) in dp_tx_hal_ring_access_end() argument
1067 hal_srng_access_end_unlocked(soc->hal_soc, hal_ring_hdl); in dp_tx_hal_ring_access_end()
1079 hal_ring_hdl) in dp_tx_hal_ring_access_end_reap() argument
1085 hal_ring_handle_t hal_ring_hdl) in dp_tx_hal_ring_access_start() argument
[all …]
Ddp_rx.h970 dp_rx_process(struct dp_intr *int_ctx, hal_ring_handle_t hal_ring_hdl,
3026 hal_ring_handle_t hal_ring_hdl,
3173 hal_ring_handle_t hal_ring_hdl,
3285 hal_ring_handle_t hal_ring_hdl, uint32_t quota);
3302 hal_ring_handle_t hal_ring_hdl, uint32_t quota);
3315 hal_ring_handle_t hal_ring_hdl) in dp_rx_srng_access_start() argument
3317 return hal_srng_access_start_unlocked(soc->hal_soc, hal_ring_hdl); in dp_rx_srng_access_start()
3330 hal_ring_handle_t hal_ring_hdl) in dp_rx_srng_access_end() argument
3332 hal_srng_access_end_unlocked(soc->hal_soc, hal_ring_hdl); in dp_rx_srng_access_end()
3337 hal_ring_handle_t hal_ring_hdl) in dp_rx_srng_access_start() argument
[all …]
Ddp_rx_err.c1063 hal_ring_handle_t hal_ring_hdl = soc->reo_exception_ring.hal_srng; in dp_rx_reo_err_entry_process() local
1098 dp_rx_dump_info_and_assert(soc, hal_ring_hdl, in dp_rx_reo_err_entry_process()
2032 hal_ring_handle_t hal_ring_hdl, uint32_t quota) in dp_rx_err_process() argument
2064 qdf_assert(soc && hal_ring_hdl); in dp_rx_err_process()
2070 num_entries = hal_srng_get_num_entries(hal_soc, hal_ring_hdl); in dp_rx_err_process()
2073 if (qdf_unlikely(dp_srng_access_start(int_ctx, soc, hal_ring_hdl))) { in dp_rx_err_process()
2082 hal_ring_hdl); in dp_rx_err_process()
2088 hal_ring_hdl)))) { in dp_rx_err_process()
2233 dp_rx_dump_info_and_assert(soc, hal_ring_hdl, in dp_rx_err_process()
2332 hal_srng_dst_get_next(hal_soc, hal_ring_hdl); in dp_rx_err_process()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/
Ddp_li_rx.c193 hal_ring_handle_t hal_ring_hdl, uint8_t reo_ring_num, in dp_rx_process_li() argument
252 qdf_assert_always(soc && hal_ring_hdl); in dp_rx_process_li()
260 num_entries = hal_srng_get_num_entries(hal_soc, hal_ring_hdl); in dp_rx_process_li()
290 if (qdf_unlikely(dp_rx_srng_access_start(int_ctx, soc, hal_ring_hdl))) { in dp_rx_process_li()
297 FL("HAL RING Access Failed -- %pK"), hal_ring_hdl); in dp_rx_process_li()
302 num_pending = hal_srng_dst_num_valid(hal_soc, hal_ring_hdl, 0); in dp_rx_process_li()
304 dp_srng_dst_inv_cached_descs(soc, hal_ring_hdl, num_pending); in dp_rx_process_li()
309 last_prefetched_hw_desc = dp_srng_dst_prefetch(hal_soc, hal_ring_hdl, in dp_rx_process_li()
320 ring_desc = dp_srng_dst_get_next(soc, hal_ring_hdl); in dp_rx_process_li()
328 soc, hal_ring_hdl, error); in dp_rx_process_li()
[all …]
Ddp_li_tx.c352 hal_ring_handle_t hal_ring_hdl) in dp_tx_clear_consumed_hw_descs() argument
354 void *desc = hal_srng_src_get_next_consumed(soc->hal_soc, hal_ring_hdl); in dp_tx_clear_consumed_hw_descs()
359 hal_ring_hdl); in dp_tx_clear_consumed_hw_descs()
366 hal_ring_handle_t hal_ring_hdl) in dp_tx_clear_consumed_hw_descs() argument
477 hal_ring_handle_t hal_ring_hdl = NULL; in dp_tx_hw_enqueue_li() local
545 hal_ring_hdl = dp_tx_get_hal_ring_hdl(soc, ring_id); in dp_tx_hw_enqueue_li()
547 if (qdf_unlikely(dp_tx_hal_ring_access_start(soc, hal_ring_hdl))) { in dp_tx_hw_enqueue_li()
550 __func__, __LINE__, hal_ring_hdl); in dp_tx_hw_enqueue_li()
558 dp_tx_clear_consumed_hw_descs(soc, hal_ring_hdl); in dp_tx_hw_enqueue_li()
562 hal_tx_desc = hal_srng_src_get_next(soc->hal_soc, hal_ring_hdl); in dp_tx_hw_enqueue_li()
[all …]
Ddp_li_rx.h41 hal_ring_handle_t hal_ring_hdl, uint8_t reo_ring_num,
233 hal_ring_handle_t hal_ring_hdl, in dp_rx_prefetch_hw_sw_nbuf_desc() argument
245 hal_ring_hdl, in dp_rx_prefetch_hw_sw_nbuf_desc()
254 hal_ring_handle_t hal_ring_hdl, in dp_rx_prefetch_hw_sw_nbuf_desc() argument
324 hal_ring_handle_t hal_ring_hdl, uint32_t quota,
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
Ddp_be_rx.c281 hal_ring_handle_t hal_ring_hdl, uint8_t reo_ring_num, in dp_rx_process_be() argument
342 qdf_assert_always(soc && hal_ring_hdl); in dp_rx_process_be()
348 num_entries = hal_srng_get_num_entries(hal_soc, hal_ring_hdl); in dp_rx_process_be()
381 if (qdf_unlikely(dp_rx_srng_access_start(int_ctx, soc, hal_ring_hdl))) { in dp_rx_process_be()
388 FL("HAL RING Access Failed -- %pK"), hal_ring_hdl); in dp_rx_process_be()
392 hal_srng_update_ring_usage_wm_no_lock(soc->hal_soc, hal_ring_hdl); in dp_rx_process_be()
395 num_pending = hal_srng_dst_num_valid(hal_soc, hal_ring_hdl, 0); in dp_rx_process_be()
400 dp_srng_dst_inv_cached_descs(soc, hal_ring_hdl, num_pending); in dp_rx_process_be()
402 hal_ring_hdl, in dp_rx_process_be()
410 ring_desc = dp_srng_dst_get_next(soc, hal_ring_hdl); in dp_rx_process_be()
[all …]
Ddp_be_tx.c1102 hal_ring_handle_t hal_ring_hdl = in dp_ppeds_tx_comp_handler() local
1111 if (qdf_unlikely(dp_srng_access_start(NULL, soc, hal_ring_hdl))) { in dp_ppeds_tx_comp_handler()
1112 dp_err("HAL RING Access Failed -- %pK", hal_ring_hdl); in dp_ppeds_tx_comp_handler()
1116 num_avail_for_reap = hal_srng_dst_num_valid(hal_soc, hal_ring_hdl, 0); in dp_ppeds_tx_comp_handler()
1121 dp_srng_dst_inv_cached_descs(soc, hal_ring_hdl, num_avail_for_reap); in dp_ppeds_tx_comp_handler()
1123 last_prefetch_hw_desc = dp_srng_dst_prefetch(hal_soc, hal_ring_hdl, in dp_ppeds_tx_comp_handler()
1135 tx_comp_hal_desc = dp_srng_dst_get_next(soc, hal_ring_hdl); in dp_ppeds_tx_comp_handler()
1239 hal_ring_hdl, in dp_ppeds_tx_comp_handler()
1246 dp_srng_access_end(NULL, soc, hal_ring_hdl); in dp_ppeds_tx_comp_handler()
1308 hal_ring_handle_t hal_ring_hdl = NULL; in dp_tx_hw_enqueue_be() local
[all …]
Ddp_be_rx.h96 hal_ring_handle_t hal_ring_hdl, uint8_t reo_ring_num,
242 hal_ring_handle_t hal_ring_hdl,
248 hal_ring_handle_t hal_ring_hdl, in dp_rx_nf_process() argument
594 hal_ring_handle_t hal_ring_hdl, in dp_rx_prefetch_hw_sw_nbuf_32_byte_desc() argument
610 hal_ring_hdl, in dp_rx_prefetch_hw_sw_nbuf_32_byte_desc()
615 hal_ring_hdl, in dp_rx_prefetch_hw_sw_nbuf_32_byte_desc()
624 hal_ring_handle_t hal_ring_hdl, in dp_rx_prefetch_hw_sw_nbuf_32_byte_desc() argument
698 hal_ring_handle_t hal_ring_hdl, uint32_t quota,
Ddp_be_tx.h329 hal_ring_handle_t hal_ring_hdl, uint8_t ring_id,
334 hal_ring_handle_t hal_ring_hdl, uint8_t ring_id, in dp_tx_comp_nf_handler() argument
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/kiwi/
Dhal_kiwi_tx.h145 hal_ring_handle_t hal_ring_hdl) in hal_tx_init_cmd_credit_ring_kiwi() argument
169 hal_ring_handle_t hal_ring_hdl, in hal_tx_config_rbm_mapping_be_kiwi() argument
172 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_tx_config_rbm_mapping_be_kiwi()
206 hal_ring_handle_t hal_ring_hdl, in hal_tx_config_rbm_mapping_be_kiwi() argument
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca5332/
Dhal_5332_tx.h200 hal_ring_handle_t hal_ring_hdl, in hal_tx_config_rbm_mapping_be_5332() argument
203 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_tx_config_rbm_mapping_be_5332()
235 hal_ring_handle_t hal_ring_hdl, in hal_tx_config_rbm_mapping_be_5332() argument
250 hal_ring_handle_t hal_ring_hdl) in hal_tx_init_cmd_credit_ring_5332() argument
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca8074v1/
Dhal_8074v1_tx.h157 hal_ring_handle_t hal_ring_hdl) in hal_tx_init_cmd_credit_ring_8074v1() argument
164 hal_get_srng_params(hal_soc_hdl, hal_ring_hdl, &srng_params); in hal_tx_init_cmd_credit_ring_8074v1()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/
Ddp_mon_filter.c360 hal_ring_handle_t hal_ring_hdl; in dp_mon_ht2_rx_ring_cfg() local
365 hal_ring_hdl = in dp_mon_ht2_rx_ring_cfg()
369 hal_ring_hdl = in dp_mon_ht2_rx_ring_cfg()
391 hal_ring_hdl = in dp_mon_ht2_rx_ring_cfg()
398 hal_ring_hdl = in dp_mon_ht2_rx_ring_cfg()
405 hal_ring_hdl = in dp_mon_ht2_rx_ring_cfg()
414 if (!hal_ring_hdl) in dp_mon_ht2_rx_ring_cfg()
418 hal_ring_hdl, hal_ring_type, in dp_mon_ht2_rx_ring_cfg()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/mlo/
Ddp_mlo.c221 hal_ring_handle_t hal_ring_hdl = NULL; in dp_mlo_soc_drain_rx_buf() local
235 hal_ring_hdl = in dp_mlo_soc_drain_rx_buf()
239 hal_ring_hdl); in dp_mlo_soc_drain_rx_buf()
241 hal_ring_hdl, in dp_mlo_soc_drain_rx_buf()
249 hal_ring_hdl = soc->reo_exception_ring.hal_srng; in dp_mlo_soc_drain_rx_buf()
252 hal_ring_hdl); in dp_mlo_soc_drain_rx_buf()
255 hal_ring_hdl, num_entries); in dp_mlo_soc_drain_rx_buf()
260 hal_ring_hdl = soc->rx_rel_ring.hal_srng; in dp_mlo_soc_drain_rx_buf()
263 hal_ring_hdl); in dp_mlo_soc_drain_rx_buf()
266 hal_ring_hdl, num_entries); in dp_mlo_soc_drain_rx_buf()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn9224/
Dhal_9224_tx.h296 hal_ring_handle_t hal_ring_hdl, in hal_tx_config_rbm_mapping_be_9224() argument
299 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_tx_config_rbm_mapping_be_9224()
333 hal_ring_handle_t hal_ring_hdl, in hal_tx_config_rbm_mapping_be_9224() argument
348 hal_ring_handle_t hal_ring_hdl) in hal_tx_init_cmd_credit_ring_9224() argument
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn6432/
Dhal_6432_tx.h215 hal_ring_handle_t hal_ring_hdl, in hal_tx_config_rbm_mapping_be_6432() argument
218 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_tx_config_rbm_mapping_be_6432()
252 hal_ring_handle_t hal_ring_hdl, in hal_tx_config_rbm_mapping_be_6432() argument
267 hal_ring_handle_t hal_ring_hdl) in hal_tx_init_cmd_credit_ring_6432() argument
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn6122/
Dhal_qcn6122_tx.h220 hal_ring_handle_t hal_ring_hdl) in hal_tx_init_cmd_credit_ring_6122() argument
227 hal_get_srng_params(hal_soc_hdl, hal_ring_hdl, &srng_params); in hal_tx_init_cmd_credit_ring_6122()

123