Home
last modified time | relevance | path

Searched refs:ipa_ctx (Results 1 – 7 of 7) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/ipa/core/src/
H A Dwlan_ipa_stats.c36 struct wlan_ipa_priv *ipa_ctx = ctext; in wlan_ipa_uc_rt_debug_host_fill() local
39 if (!ipa_ctx) in wlan_ipa_uc_rt_debug_host_fill()
42 qdf_mutex_acquire(&ipa_ctx->rt_debug_lock); in wlan_ipa_uc_rt_debug_host_fill()
43 dump_info = &ipa_ctx->rt_bug_buffer[ in wlan_ipa_uc_rt_debug_host_fill()
44 ipa_ctx->rt_buf_fill_index % WLAN_IPA_UC_RT_DEBUG_BUF_COUNT]; in wlan_ipa_uc_rt_debug_host_fill()
47 dump_info->ipa_excep_count = ipa_ctx->stats.num_rx_excep; in wlan_ipa_uc_rt_debug_host_fill()
48 dump_info->rx_drop_count = ipa_ctx->ipa_rx_internal_drop_count; in wlan_ipa_uc_rt_debug_host_fill()
49 dump_info->net_sent_count = ipa_ctx->ipa_rx_net_send_count; in wlan_ipa_uc_rt_debug_host_fill()
50 dump_info->tx_fwd_count = ipa_ctx->ipa_tx_forward; in wlan_ipa_uc_rt_debug_host_fill()
51 dump_info->tx_fwd_ok_count = ipa_ctx->stats.num_tx_fwd_ok; in wlan_ipa_uc_rt_debug_host_fill()
[all …]
H A Dwlan_ipa_rm.c28 QDF_STATUS wlan_ipa_set_perf_level(struct wlan_ipa_priv *ipa_ctx, in wlan_ipa_set_perf_level() argument
36 if ((!wlan_ipa_is_enabled(ipa_ctx->config)) || in wlan_ipa_set_perf_level()
37 (!wlan_ipa_is_clk_scaling_enabled(ipa_ctx->config))) in wlan_ipa_set_perf_level()
40 if (total_packets > (ipa_ctx->config->bus_bw_high / 2)) in wlan_ipa_set_perf_level()
41 next_bw = ipa_ctx->config->ipa_bw_high; in wlan_ipa_set_perf_level()
42 else if (total_packets > (ipa_ctx->config->bus_bw_medium / 2)) in wlan_ipa_set_perf_level()
43 next_bw = ipa_ctx->config->ipa_bw_medium; in wlan_ipa_set_perf_level()
45 next_bw = ipa_ctx->config->ipa_bw_low; in wlan_ipa_set_perf_level()
47 if (ipa_ctx->curr_cons_bw != next_bw) { in wlan_ipa_set_perf_level()
49 ipa_ctx->curr_cons_bw, next_bw); in wlan_ipa_set_perf_level()
[all …]
H A Dwlan_ipa_core.c60 static void wlan_ipa_set_pending_tx_timer(struct wlan_ipa_priv *ipa_ctx);
61 static void wlan_ipa_reset_pending_tx_timer(struct wlan_ipa_priv *ipa_ctx);
64 bool wlan_ipa_is_driver_unloading(struct wlan_ipa_priv *ipa_ctx) in wlan_ipa_is_driver_unloading() argument
66 if (ipa_ctx->driver_is_unloading) in wlan_ipa_is_driver_unloading()
67 return ipa_ctx->driver_is_unloading(); in wlan_ipa_is_driver_unloading()
98 static void wlan_ipa_update_wds_params(struct wlan_ipa_priv *ipa_ctx,
196 struct wlan_ipa_priv *ipa_ctx; in wlan_ipa_uc_loaded_uc_cb() local
210 ipa_ctx = priv_ctxt; in wlan_ipa_uc_loaded_uc_cb()
212 uc_op_work = &ipa_ctx->uc_op_work[WLAN_IPA_UC_OPCODE_UC_READY]; in wlan_ipa_uc_loaded_uc_cb()
215 ipa_ctx->uc_loaded = true; in wlan_ipa_uc_loaded_uc_cb()
[all …]
H A Dwlan_ipa_main.c118 QDF_STATUS ipa_obj_setup(struct wlan_ipa_priv *ipa_ctx) in ipa_obj_setup() argument
120 return wlan_ipa_setup(ipa_ctx, g_ipa_config); in ipa_obj_setup()
123 QDF_STATUS ipa_obj_cleanup(struct wlan_ipa_priv *ipa_ctx) in ipa_obj_cleanup() argument
125 return wlan_ipa_cleanup(ipa_ctx); in ipa_obj_cleanup()
/wlan-driver/qca-wifi-host-cmn/ipa/core/inc/
H A Dwlan_ipa_core.h83 QDF_STATUS wlan_ipa_setup(struct wlan_ipa_priv *ipa_ctx,
99 QDF_STATUS wlan_ipa_cleanup(struct wlan_ipa_priv *ipa_ctx);
107 QDF_STATUS wlan_ipa_uc_enable_pipes(struct wlan_ipa_priv *ipa_ctx);
117 QDF_STATUS wlan_ipa_uc_disable_pipes(struct wlan_ipa_priv *ipa_ctx,
126 bool wlan_ipa_is_tx_pending(struct wlan_ipa_priv *ipa_ctx);
136 QDF_STATUS wlan_ipa_set_perf_level(struct wlan_ipa_priv *ipa_ctx,
148 QDF_STATUS wlan_ipa_init_perf_level(struct wlan_ipa_priv *ipa_ctx);
158 *wlan_ipa_get_iface(struct wlan_ipa_priv *ipa_ctx, uint8_t mode);
184 wlan_ipa_get_iface_by_mode_netdev(struct wlan_ipa_priv *ipa_ctx,
224 int wlan_ipa_wdi_rm_request_resource(struct wlan_ipa_priv *ipa_ctx, in wlan_ipa_wdi_rm_request_resource() argument
[all …]
H A Dwlan_ipa_main.h204 QDF_STATUS ipa_obj_setup(struct wlan_ipa_priv *ipa_ctx);
212 QDF_STATUS ipa_obj_cleanup(struct wlan_ipa_priv *ipa_ctx);
H A Dwlan_ipa_priv.h363 struct wlan_ipa_priv *ipa_ctx; member
840 *wlan_ipa_get_iface(struct wlan_ipa_priv *ipa_ctx, uint8_t mode);