/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
D | ce_service_legacy.c | 122 struct CE_ring_state *src_ring = ce_state->src_ring; in ce_send_fast() local 124 unsigned int nentries_mask = src_ring->nentries_mask; in ce_send_fast() 155 DATA_CE_UPDATE_SWINDEX(src_ring->sw_index, scn, ctrl_addr); in ce_send_fast() 158 write_index = src_ring->write_index; in ce_send_fast() 159 sw_index = src_ring->sw_index; in ce_send_fast() 185 (struct CE_src_desc *)src_ring->base_addr_owner_space; in ce_send_fast() 187 (struct CE_src_desc *)src_ring->shadow_base; in ce_send_fast() 220 src_ring->per_transfer_context[write_index] = in ce_send_fast() 254 src_ring->per_transfer_context[write_index] = msdu; in ce_send_fast() 258 src_ring->per_transfer_context[write_index], in ce_send_fast() [all …]
|
D | ce_service_srng.c | 97 hal_get_sw_hptp(scn->hal_soc, CE_state->src_ring->srng_ctx, &tp, &hp); in hif_display_ctrl_traffic_pipes_state() 171 struct CE_ring_state *src_ring = CE_state->src_ring; in ce_send_nolock_srng() local 172 unsigned int nentries_mask = src_ring->nentries_mask; in ce_send_nolock_srng() 173 unsigned int write_index = src_ring->write_index; in ce_send_nolock_srng() 179 if (unlikely(hal_srng_src_num_avail(scn->hal_soc, src_ring->srng_ctx, in ce_send_nolock_srng() 189 if (hal_srng_access_start(scn->hal_soc, src_ring->srng_ctx)) { in ce_send_nolock_srng() 195 src_ring->srng_ctx); in ce_send_nolock_srng() 221 src_ring->per_transfer_context[write_index] = in ce_send_nolock_srng() 225 hal_srng_access_end(scn->hal_soc, src_ring->srng_ctx); in ce_send_nolock_srng() 233 src_ring->write_index, nbytes, in ce_send_nolock_srng() [all …]
|
D | ce_service.c | 425 struct CE_ring_state *src_ring = ce_state->src_ring; in ce_flush_tx_ring_write_idx() local 429 ce_ring_set_event(src_ring, CE_RING_FLUSH_EVENT); in ce_flush_tx_ring_write_idx() 431 if (ce_ring_get_clear_event(src_ring, CE_RING_FLUSH_EVENT)) { in ce_flush_tx_ring_write_idx() 434 src_ring->write_index); in ce_flush_tx_ring_write_idx() 437 src_ring->last_flush_ts = qdf_get_log_timestamp(); in ce_flush_tx_ring_write_idx() 447 struct CE_ring_state *src_ring = ce_state->src_ring; in ce_tx_ring_write_idx_update_wrapper() local 452 src_ring->write_index); in ce_tx_ring_write_idx_update_wrapper() 597 struct CE_ring_state *src_ring = ce_state->src_ring; in ce_batch_send() local 601 uint32_t nentries_mask = src_ring->nentries_mask; in ce_batch_send() 605 (struct CE_src_desc *)src_ring->base_addr_owner_space; in ce_batch_send() [all …]
|
D | ce_main.c | 1673 if (ce_state->src_ring) { in hif_ce_print_ring_stats() 1676 ce_state->src_ring->sw_index, in hif_ce_print_ring_stats() 1677 ce_state->src_ring->write_index); in hif_ce_print_ring_stats() 2148 write_index = ce_state->src_ring->write_index; in hif_ce_bus_late_resume() 2566 if (CE_state->src_ring) { in ce_ring_dump_register_region() 2567 ce_ring = CE_state->src_ring; in ce_ring_dump_register_region() 2612 if (CE_state->src_ring) { in ce_ring_dump_unregister_region() 2694 struct CE_ring_state *src_ring; in ce_init() local 2697 if (CE_state->src_ring) { in ce_init() 2698 QDF_ASSERT(CE_state->src_ring->nentries == nentries); in ce_init() [all …]
|
D | ce_internal.h | 192 struct CE_ring_state *src_ring; member
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/ |
D | hal_api.h | 1411 srng->u.src_ring.cached_tp = in hal_srng_access_start_unlocked() 1412 *(volatile uint32_t *)(srng->u.src_ring.tp_addr); in hal_srng_access_start_unlocked() 1457 srng->u.src_ring.cached_tp = in hal_le_srng_access_start_unlocked_in_cpu_order() 1459 (srng->u.src_ring.tp_addr)); in hal_le_srng_access_start_unlocked_in_cpu_order() 1930 uint32_t next_reap_hp = (srng->u.src_ring.reap_hp + srng->entry_size) % in hal_srng_src_reap_next() 1933 if (next_reap_hp != srng->u.src_ring.cached_tp) { in hal_srng_src_reap_next() 1935 srng->u.src_ring.reap_hp = next_reap_hp; in hal_srng_src_reap_next() 1958 if (srng->u.src_ring.hp != srng->u.src_ring.reap_hp) { in hal_srng_src_get_next_reaped() 1959 desc = &(srng->ring_base_vaddr[srng->u.src_ring.hp]); in hal_srng_src_get_next_reaped() 1960 srng->u.src_ring.hp = (srng->u.src_ring.hp + srng->entry_size) % in hal_srng_src_get_next_reaped() [all …]
|
D | hal_srng.c | 184 srng->u.src_ring.hp_addr = SHADOW_REGISTER(shadow_config_index) in hal_update_srng_hp_tp_address() 187 srng->u.src_ring.hp_addr, in hal_update_srng_hp_tp_address() 683 srng->updated_hp = srng->u.src_ring.hp; in hal_srng_update_last_hptp() 709 value = srng->u.src_ring.hp; in hal_srng_check_and_update_hptp() 715 hal_write_address_32_mb(hal_soc, srng->u.src_ring.hp_addr, in hal_srng_check_and_update_hptp() 762 q_elem->dequeue_val = srng->u.src_ring.hp; in hal_process_reg_write_q_elem() 764 srng->u.src_ring.hp_addr, in hal_process_reg_write_q_elem() 765 srng->u.src_ring.hp, false); in hal_process_reg_write_q_elem() 766 write_val = srng->u.src_ring.hp; in hal_process_reg_write_q_elem() 1797 srng->u.src_ring.hp = 0; in hal_srng_setup_idx() [all …]
|
D | hal_generic_api.h | 327 LOW_THRESHOLD), srng->u.src_ring.low_threshold); in hal_srng_src_hw_init_generic() 340 ((unsigned long)(srng->u.src_ring.tp_addr) - in hal_srng_src_hw_init_generic() 351 *srng->u.src_ring.tp_addr = idx * srng->entry_size; in hal_srng_src_hw_init_generic() 352 srng->u.src_ring.hp = idx * srng->entry_size; in hal_srng_src_hw_init_generic()
|
D | hal_internal.h | 848 } src_ring; member
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
D | dp_rh_tx.c | 206 ce_ring_set_event(((struct CE_state *)(tx_ep_info->ce_tx_hdl))->src_ring, in dp_tx_update_write_index() 208 ce_ring_inc_flush_cnt(((struct CE_state *)(tx_ep_info->ce_tx_hdl))->src_ring); in dp_tx_update_write_index() 216 ce_ring_set_event(((struct CE_state *)(tx_ep_info->ce_tx_hdl))->src_ring, in dp_tx_update_write_index() 218 ce_ring_inc_flush_cnt(((struct CE_state *)(tx_ep_info->ce_tx_hdl))->src_ring); in dp_tx_update_write_index() 228 ce_ring_set_event(((struct CE_state *)(tx_ep_info->ce_tx_hdl))->src_ring, in dp_tx_update_write_index() 230 ce_ring_inc_flush_cnt(((struct CE_state *)(tx_ep_info->ce_tx_hdl))->src_ring); in dp_tx_update_write_index() 262 ce_ring_set_event(((struct CE_state *)(tx_ep_info->ce_tx_hdl))->src_ring, in dp_flush_tx_ring_rh() 264 ce_ring_inc_flush_cnt(((struct CE_state *)(tx_ep_info->ce_tx_hdl))->src_ring); in dp_flush_tx_ring_rh()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ |
D | hif_main.c | 1690 if (ce_state->src_ring) { in hif_process_reg_write_q_elem() 1691 q_elem->dequeue_val = ce_state->src_ring->write_index; in hif_process_reg_write_q_elem() 1693 ce_state->src_ring->write_index); in hif_process_reg_write_q_elem() 1694 write_val = ce_state->src_ring->write_index; in hif_process_reg_write_q_elem()
|
D | hif_runtime_pm.c | 1340 ce_state->src_ring->write_index); in hif_fastpath_resume()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_rx_err.c | 236 *srng->u.src_ring.hp_addr, in dp_rx_link_desc_return_by_addr() 237 srng->u.src_ring.reap_hp, in dp_rx_link_desc_return_by_addr() 238 *srng->u.src_ring.tp_addr, in dp_rx_link_desc_return_by_addr() 239 srng->u.src_ring.cached_tp); in dp_rx_link_desc_return_by_addr()
|
D | dp_ipa.c | 749 addr_offset = (unsigned long)(hal_srng->u.src_ring.hp_addr) - in dp_ipa_tx_alt_ring_resource_setup() 1754 addr_offset = (unsigned long)(hal_srng->u.src_ring.hp_addr) - in dp_ipa_ring_resource_setup()
|