/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
D | ce_service_legacy.c | 120 struct CE_state *ce_state = (struct CE_state *)copyeng; in ce_send_fast() local 121 struct hif_softc *scn = ce_state->scn; in ce_send_fast() 122 struct CE_ring_state *src_ring = ce_state->src_ring; in ce_send_fast() 123 u_int32_t ctrl_addr = ce_state->ctrl_addr; in ce_send_fast() 144 qdf_spin_lock_bh(&ce_state->ce_index_lock); in ce_send_fast() 160 hif_record_ce_desc_event(scn, ce_state->id, in ce_send_fast() 173 qdf_spin_unlock_bh(&ce_state->ce_index_lock); in ce_send_fast() 206 ce_validate_nbytes(shadow_src_desc->nbytes, ce_state); in ce_send_fast() 212 shadow_src_desc->byte_swap = ((ce_state->attr_flags & in ce_send_fast() 245 ce_validate_nbytes(shadow_src_desc->nbytes, ce_state); in ce_send_fast() [all …]
|
D | ce_main.c | 1564 static bool ce_mark_datapath(struct CE_state *ce_state) in ce_mark_datapath() argument 1571 if (ce_state) { in ce_mark_datapath() 1572 hif_select_service_to_pipe_map(ce_state->scn, &svc_map, in ce_mark_datapath() 1577 if ((svc_map[i].pipenum == ce_state->id) && in ce_mark_datapath() 1583 ce_state->htt_rx_data = true; in ce_mark_datapath() 1585 ce_state->htt_tx_data = true; in ce_mark_datapath() 1593 static void ce_update_msi_batch_intr_flags(struct CE_state *ce_state) in ce_update_msi_batch_intr_flags() argument 1598 struct CE_state *ce_state, in ce_update_wrt_idx_offset() argument 1603 static bool ce_mark_datapath(struct CE_state *ce_state) in ce_mark_datapath() argument 1609 if (ce_state) { in ce_mark_datapath() [all …]
|
D | ce_service.c | 365 struct CE_state *ce_state) in hif_ce_service_should_yield() argument 367 bool yield = hif_max_num_receives_reached(scn, ce_state->receive_count); in hif_ce_service_should_yield() 375 ce_state->receive_count = MAX_NUM_OF_RECEIVES; in hif_ce_service_should_yield() 388 struct CE_state *ce_state) in hif_ce_service_should_yield() argument 393 ce_state->ce_service_yield_time ? 1 : 0; in hif_ce_service_should_yield() 397 (scn, ce_state->receive_count); in hif_ce_service_should_yield() 405 ce_state->receive_count = MAX_NUM_OF_RECEIVES; in hif_ce_service_should_yield() 410 ce_state->htt_rx_data && in hif_ce_service_should_yield() 411 hif_napi_enabled(GET_HIF_OPAQUE_HDL(scn), ce_state->id)) { in hif_ce_service_should_yield() 412 hif_napi_update_yield_stats(ce_state, in hif_ce_service_should_yield() [all …]
|
D | ce_service_srng.c | 1082 int ce_get_index_info_srng(struct hif_softc *scn, void *ce_state, in ce_get_index_info_srng() argument 1085 struct CE_state *CE_state = (struct CE_state *)ce_state; in ce_get_index_info_srng() 1124 struct CE_state *ce_state; in ce_set_srng_msi_irq_config_by_ceid() local 1128 ce_state = scn->ce_id_to_state[ce_id]; in ce_set_srng_msi_irq_config_by_ceid() 1129 if (!ce_state) in ce_set_srng_msi_irq_config_by_ceid() 1135 if (ce_state->src_ring) { in ce_set_srng_msi_irq_config_by_ceid() 1136 ring_hdl = ce_state->src_ring->srng_ctx; in ce_set_srng_msi_irq_config_by_ceid() 1141 } else if (ce_state->dest_ring) { in ce_set_srng_msi_irq_config_by_ceid() 1142 ring_hdl = ce_state->status_ring->srng_ctx; in ce_set_srng_msi_irq_config_by_ceid() 1151 ce_state->dest_ring, &ring_params); in ce_set_srng_msi_irq_config_by_ceid() [all …]
|
D | ce_tasklet.c | 718 struct CE_state *ce_state = scn->ce_id_to_state[ce_id]; in hif_set_ce_tasklet_sched_time() local 720 ce_state->ce_tasklet_sched_time = qdf_time_sched_clock(); in hif_set_ce_tasklet_sched_time() 866 static inline void ce_interrupt_lock(struct CE_state *ce_state) in ce_interrupt_lock() argument 868 qdf_spin_lock_irqsave(&ce_state->ce_interrupt_lock); in ce_interrupt_lock() 871 static inline void ce_interrupt_unlock(struct CE_state *ce_state) in ce_interrupt_unlock() argument 873 qdf_spin_unlock_irqrestore(&ce_state->ce_interrupt_lock); in ce_interrupt_unlock() 882 static inline void ce_interrupt_lock(struct CE_state *ce_state) in ce_interrupt_lock() argument 886 static inline void ce_interrupt_unlock(struct CE_state *ce_state) in ce_interrupt_unlock() argument 904 struct CE_state *ce_state; in ce_dispatch_interrupt() local 925 ce_state = scn->ce_id_to_state[ce_id]; in ce_dispatch_interrupt() [all …]
|
D | ce_internal.h | 679 *ce_state); 880 struct CE_state *ce_state) in ce_validate_nbytes() argument 882 if (nbytes <= 0 || nbytes > ce_state->src_sz_max) in ce_validate_nbytes() 887 struct CE_state *ce_state) in ce_validate_nbytes() argument 919 struct CE_state *ce_state = (struct CE_state *)handle; in ce_ring_aquire_lock() local 921 qdf_spin_lock_bh(&ce_state->ce_index_lock); in ce_ring_aquire_lock() 926 struct CE_state *ce_state = (struct CE_state *)handle; in ce_ring_release_lock() local 928 qdf_spin_unlock_bh(&ce_state->ce_index_lock); in ce_ring_release_lock()
|
D | ce_api.h | 667 int (*ce_get_index_info)(struct hif_softc *scn, void *ce_state,
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ |
D | hif_main_legacy.c | 64 struct CE_state *ce_state; in hif_ce_fastpath_cb_register() local 80 ce_state = scn->ce_id_to_state[i]; in hif_ce_fastpath_cb_register() 81 if (ce_state->htt_rx_data) { in hif_ce_fastpath_cb_register() 82 ce_state->fastpath_handler = handler; in hif_ce_fastpath_cb_register() 83 ce_state->context = context; in hif_ce_fastpath_cb_register() 84 ce_state->service = ce_per_engine_service_fast; in hif_ce_fastpath_cb_register()
|
D | hif_main.c | 1604 struct CE_state *ce_state; in hif_print_reg_write_stats() local 1622 ce_state = scn->ce_id_to_state[i]; in hif_print_reg_write_stats() 1623 if (!ce_state) in hif_print_reg_write_stats() 1627 i, ce_state->wstats.enqueues, in hif_print_reg_write_stats() 1628 ce_state->wstats.dequeues, in hif_print_reg_write_stats() 1629 ce_state->wstats.coalesces, in hif_print_reg_write_stats() 1630 ce_state->wstats.direct); in hif_print_reg_write_stats() 1682 struct CE_state *ce_state = q_elem->ce_state; in hif_process_reg_write_q_elem() local 1685 qdf_spin_lock_bh(&ce_state->ce_index_lock); in hif_process_reg_write_q_elem() 1687 ce_state->reg_write_in_progress = false; in hif_process_reg_write_q_elem() [all …]
|
D | hif_napi.c | 140 struct CE_state *ce_state; in hif_napi_create() local 170 ce_state = hif->ce_id_to_state[i]; in hif_napi_create() 172 i, ce_state->htt_rx_data, in hif_napi_create() 173 ce_state->htt_tx_data); in hif_napi_create() 177 if (!ce_state->htt_rx_data) in hif_napi_create() 264 struct CE_state *ce_state; in hif_napi_rx_offld_flush_cb_register() local 277 ce_state = scn->ce_id_to_state[i]; in hif_napi_rx_offld_flush_cb_register() 278 if (ce_state && (ce_state->htt_rx_data)) { in hif_napi_rx_offld_flush_cb_register() 290 struct CE_state *ce_state; in hif_napi_rx_offld_flush_cb_deregister() local 303 ce_state = scn->ce_id_to_state[i]; in hif_napi_rx_offld_flush_cb_deregister() [all …]
|
D | hif_napi.h | 211 void hif_update_napi_max_poll_time(struct CE_state *ce_state, 288 static inline void hif_update_napi_max_poll_time(struct CE_state *ce_state, in hif_update_napi_max_poll_time() argument 309 void hif_napi_update_yield_stats(struct CE_state *ce_state, 328 static inline void hif_napi_update_yield_stats(struct CE_state *ce_state, in hif_napi_update_yield_stats() argument
|
D | hif_runtime_pm.c | 1326 struct CE_state *ce_state; in hif_fastpath_resume() local 1335 ce_state = scn->ce_id_to_state[CE_HTT_H2T_MSG]; in hif_fastpath_resume() 1336 qdf_spin_lock_bh(&ce_state->ce_index_lock); in hif_fastpath_resume() 1339 CE_SRC_RING_WRITE_IDX_SET(scn, ce_state->ctrl_addr, in hif_fastpath_resume() 1340 ce_state->src_ring->write_index); in hif_fastpath_resume() 1341 qdf_spin_unlock_bh(&ce_state->ce_index_lock); in hif_fastpath_resume()
|
D | hif_main.h | 348 struct CE_state *ce_state; member
|
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/ |
D | if_snoc.c | 490 struct CE_state *ce_state; in hif_snoc_ce_dp_irq_set_affinity_hint() local 510 ce_state = scn->ce_id_to_state[ce_id]; in hif_snoc_ce_dp_irq_set_affinity_hint() 511 if (!ce_state || !ce_state->htt_rx_data) in hif_snoc_ce_dp_irq_set_affinity_hint()
|