Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 25 of 114) sorted by relevance

12345

/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/
Dwlan_cm_roam_sm.h39 void cm_state_roaming_entry(void *ctx);
49 void cm_state_roaming_exit(void *ctx);
63 bool cm_state_roaming_event(void *ctx, uint16_t event, uint16_t data_len,
66 static inline void cm_state_roaming_entry(void *ctx) {} in cm_state_roaming_entry() argument
68 static inline void cm_state_roaming_exit(void *ctx) {} in cm_state_roaming_exit() argument
70 static inline bool cm_state_roaming_event(void *ctx, uint16_t event, in cm_state_roaming_event() argument
87 void cm_subst_preauth_entry(void *ctx);
98 void cm_subst_preauth_exit(void *ctx);
112 bool cm_subst_preauth_event(void *ctx, uint16_t event,
116 static inline void cm_subst_preauth_entry(void *ctx) {} in cm_subst_preauth_entry() argument
[all …]
Dwlan_cm_roam_sm.c32 void cm_state_roaming_entry(void *ctx) in cm_state_roaming_entry() argument
34 struct cnx_mgr *cm_ctx = ctx; in cm_state_roaming_entry()
39 void cm_state_roaming_exit(void *ctx) in cm_state_roaming_exit() argument
102 bool cm_state_roaming_event(void *ctx, uint16_t event, in cm_state_roaming_event() argument
105 struct cnx_mgr *cm_ctx = ctx; in cm_state_roaming_event()
175 void cm_subst_preauth_entry(void *ctx) in cm_subst_preauth_entry() argument
177 struct cnx_mgr *cm_ctx = ctx; in cm_subst_preauth_entry()
187 void cm_subst_preauth_exit(void *ctx) in cm_subst_preauth_exit() argument
232 bool cm_subst_preauth_event(void *ctx, uint16_t event, in cm_subst_preauth_event() argument
235 struct cnx_mgr *cm_ctx = ctx; in cm_subst_preauth_event()
[all …]
Dwlan_cm_sm.c63 static void cm_state_init_entry(void *ctx) in cm_state_init_entry() argument
65 struct cnx_mgr *cm_ctx = ctx; in cm_state_init_entry()
78 static void cm_state_init_exit(void *ctx) in cm_state_init_exit() argument
93 static bool cm_state_init_event(void *ctx, uint16_t event, in cm_state_init_event() argument
96 struct cnx_mgr *cm_ctx = ctx; in cm_state_init_event()
192 static void cm_state_connecting_entry(void *ctx) in cm_state_connecting_entry() argument
194 struct cnx_mgr *cm_ctx = ctx; in cm_state_connecting_entry()
208 static void cm_state_connecting_exit(void *ctx) in cm_state_connecting_exit() argument
224 static bool cm_state_connecting_event(void *ctx, uint16_t event, in cm_state_connecting_event() argument
227 struct cnx_mgr *cm_ctx = ctx; in cm_state_connecting_event()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/mlme/vdev_mgr/core/src/
Dvdev_mlme_sm.c119 static void mlme_vdev_state_init_entry(void *ctx) in mlme_vdev_state_init_entry() argument
121 struct vdev_mlme_obj *vdev_mlme = (struct vdev_mlme_obj *)ctx; in mlme_vdev_state_init_entry()
135 static void mlme_vdev_state_init_exit(void *ctx) in mlme_vdev_state_init_exit() argument
152 static bool mlme_vdev_state_init_event(void *ctx, uint16_t event, in mlme_vdev_state_init_event() argument
156 struct vdev_mlme_obj *vdev_mlme = (struct vdev_mlme_obj *)ctx; in mlme_vdev_state_init_event()
247 static void mlme_vdev_state_start_entry(void *ctx) in mlme_vdev_state_start_entry() argument
249 struct vdev_mlme_obj *vdev_mlme = (struct vdev_mlme_obj *)ctx; in mlme_vdev_state_start_entry()
263 static void mlme_vdev_state_start_exit(void *ctx) in mlme_vdev_state_start_exit() argument
280 static bool mlme_vdev_state_start_event(void *ctx, uint16_t event, in mlme_vdev_state_start_event() argument
284 struct vdev_mlme_obj *vdev_mlme = (struct vdev_mlme_obj *)ctx; in mlme_vdev_state_start_event()
[all …]
/wlan-driver/qcacld-3.0/components/dsc/test/
Dwlan_dsc_test.c394 #define trans_waiting(ctx) (!qdf_list_empty(&(ctx)->trans.queue)) argument
405 struct thread_ctx *ctx = context; in dsc_thread_ops() local
406 struct dsc_driver *driver = ctx->driver; in dsc_thread_ops()
413 step_assert(ctx->step, 1); in dsc_thread_ops()
417 step_assert(ctx->step, 2); in dsc_thread_ops()
420 qdf_event_set(&ctx->start_vdev_trans); in dsc_thread_ops()
434 step_assert(ctx->step, 8); in dsc_thread_ops()
450 struct thread_ctx *ctx = context; in dsc_thread_vdev_trans() local
451 struct dsc_driver *driver = ctx->driver; in dsc_thread_vdev_trans()
458 dsc_assert_success(dsc_event_wait(&ctx->start_vdev_trans)); in dsc_thread_vdev_trans()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_qdf_hrtimer.h44 enum qdf_context_mode ctx; member
81 if (timer->ctx == QDF_CONTEXT_TASKLET) in __qdf_hrtimer_start()
94 if (timer->ctx == QDF_CONTEXT_HARDWARE) in __qdf_hrtimer_start()
96 else if (timer->ctx == QDF_CONTEXT_TASKLET) in __qdf_hrtimer_start()
120 if (timer->ctx == QDF_CONTEXT_HARDWARE) in __qdf_hrtimer_cancel()
122 else if (timer->ctx == QDF_CONTEXT_TASKLET) in __qdf_hrtimer_cancel()
154 enum qdf_context_mode ctx) in __qdf_hrtimer_init() argument
159 timer->ctx = ctx; in __qdf_hrtimer_init()
163 if (timer->ctx == QDF_CONTEXT_TASKLET) in __qdf_hrtimer_init()
175 enum qdf_context_mode ctx) in __qdf_hrtimer_init() argument
[all …]
Dqdf_defer.c35 __qdf_work_t *ctx = container_of(work, __qdf_work_t, work); in __qdf_defer_func() local
37 if (!ctx->fn) { in __qdf_defer_func()
42 ctx->fn(ctx->arg); in __qdf_defer_func()
48 __qdf_bh_t *ctx = (__qdf_bh_t *)arg; in __qdf_bh_func() local
50 if (!ctx->fn) { in __qdf_bh_func()
55 ctx->fn(ctx->arg); in __qdf_bh_func()
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_exec.c518 static void hif_exec_tasklet_schedule(struct hif_exec_context *ctx) in hif_exec_tasklet_schedule() argument
520 struct hif_tasklet_exec_context *t_ctx = hif_exec_get_tasklet(ctx); in hif_exec_tasklet_schedule()
731 static void hif_exec_napi_schedule(struct hif_exec_context *ctx) in hif_exec_napi_schedule() argument
733 struct hif_napi_exec_context *n_ctx = hif_exec_get_napi(ctx); in hif_exec_napi_schedule()
734 ctx->stats[smp_processor_id()].napi_schedules++; in hif_exec_napi_schedule()
743 static void hif_exec_napi_kill(struct hif_exec_context *ctx) in hif_exec_napi_kill() argument
745 struct hif_napi_exec_context *n_ctx = hif_exec_get_napi(ctx); in hif_exec_napi_kill()
748 if (ctx->inited) { in hif_exec_napi_kill()
750 ctx->inited = 0; in hif_exec_napi_kill()
753 for (irq_ind = 0; irq_ind < ctx->numirq; irq_ind++) in hif_exec_napi_kill()
[all …]
Dhif_unit_test_suspend.c36 struct hif_ut_suspend_context *ctx = in hif_ut_fw_resume_work() local
39 QDF_BUG(ctx); in hif_ut_fw_resume_work()
40 if (!ctx) in hif_ut_fw_resume_work()
43 QDF_BUG(ctx->resume_callback); in hif_ut_fw_resume_work()
44 if (!ctx->resume_callback) in hif_ut_fw_resume_work()
47 ctx->resume_callback(); in hif_ut_fw_resume_work()
48 ctx->resume_callback = NULL; in hif_ut_fw_resume_work()
Dhif_exec.h144 hif_exec_get_napi(struct hif_exec_context *ctx) in hif_exec_get_napi() argument
146 return (struct hif_napi_exec_context *) ctx; in hif_exec_get_napi()
150 hif_exec_get_tasklet(struct hif_exec_context *ctx) in hif_exec_get_tasklet() argument
152 return (struct hif_tasklet_exec_context *) ctx; in hif_exec_get_tasklet()
158 void hif_exec_destroy(struct hif_exec_context *ctx);
/wlan-driver/qcacld-3.0/core/mac/src/sys/legacy/src/utils/inc/
Ddot11fdefs.h38 #define DOT11F_MEMCPY(ctx, dst, src, len) \ argument
42 #define DOT11F_MEMCMP(ctx, lhs, rhs, len) \ argument
50 #define FRAMES_SEV_FOR_FRAME(ctx, sig) \ argument
57 #define FRAMES_LOG0(ctx, sev, fmt) \ argument
60 #define FRAMES_LOG1(ctx, sev, fmt, p1) \ argument
63 #define FRAMES_LOG2(ctx, sev, fmt, p1, p2) \ argument
66 #define FRAMES_LOG3(ctx, sev, fmt, p1, p2, p3) \ argument
69 #define FRAMES_DUMP(ctx, sev, p, n) \ argument
/wlan-driver/qcacld-3.0/components/dp/core/src/
Dwlan_dp_bus_bandwidth.c188 hdd_cb_handle ctx = cb_obj->callback_ctx; in bbm_get_bus_bw_level_vote() local
198 if (!cb_obj->wlan_dp_sta_get_dot11mode(ctx, in bbm_get_bus_bw_level_vote()
209 if (!cb_obj->wlan_dp_get_ap_client_count(ctx, in bbm_get_bus_bw_level_vote()
223 if (!cb_obj->wlan_dp_sta_ndi_connected(ctx, in bbm_get_bus_bw_level_vote()
267 hdd_cb_handle ctx = dp_ctx->dp_ops.callback_ctx; in bbm_apply_tput_policy() local
274 if (dp_ctx->dp_ops.dp_any_adapter_connected(ctx)) in bbm_apply_tput_policy()
333 hdd_cb_handle ctx = dp_ctx->dp_ops.callback_ctx; in bbm_apply_non_persistent_policy() local
337 if (dp_ctx->dp_ops.dp_any_adapter_connected(ctx)) { in bbm_apply_non_persistent_policy()
540 struct dp_rtpm_tput_policy_context *ctx; in dp_rtpm_tput_policy_init() local
548 ctx = &dp_ctx->rtpm_tput_policy_ctx; in dp_rtpm_tput_policy_init()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_security_utils.c643 tRC4Context ctx; in lim_rc4() local
652 ctx.i = ctx.j = 0; in lim_rc4()
654 ctx.sbox[i] = (uint8_t) i; in lim_rc4()
662 j = (uint8_t) (j + ctx.sbox[i] + seed[k]); in lim_rc4()
663 temp = ctx.sbox[i]; in lim_rc4()
664 ctx.sbox[i] = ctx.sbox[j]; in lim_rc4()
665 ctx.sbox[j] = temp; in lim_rc4()
673 uint8_t i = ctx.i; in lim_rc4()
674 uint8_t j = ctx.j; in lim_rc4()
681 temp1 = ctx.sbox[i]; in lim_rc4()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_sysfs_log_buffer.c27 struct hdd_sysfs_print_ctx ctx; in hdd_sysfs_log_buffer_show() local
29 ctx.buf = buf; in hdd_sysfs_log_buffer_show()
30 ctx.idx = 0; in hdd_sysfs_log_buffer_show()
31 ctx.new_line = true; in hdd_sysfs_log_buffer_show()
32 hdd_dump_log_buffer(&ctx, &hdd_sysfs_print); in hdd_sysfs_log_buffer_show()
33 return ctx.idx; in hdd_sysfs_log_buffer_show()
Dwlan_hdd_ipa.c311 struct hdd_station_ctx *ctx = WLAN_HDD_GET_STATION_CTX_PTR(link); in hdd_ipa_fill_sta_connection_info() local
313 conn->ch_freq = ctx->conn_info.chan_freq; in hdd_ipa_fill_sta_connection_info()
314 conn->ch_width = ctx->conn_info.ch_width; in hdd_ipa_fill_sta_connection_info()
316 ctx->conn_info.dot11mode); in hdd_ipa_fill_sta_connection_info()
323 struct hdd_ap_ctx *ctx = WLAN_HDD_GET_AP_CTX_PTR(link); in hdd_ipa_fill_sap_connection_info() local
325 conn->ch_freq = ctx->operating_chan_freq; in hdd_ipa_fill_sap_connection_info()
326 conn->ch_width = ctx->sap_config.ch_params.ch_width; in hdd_ipa_fill_sap_connection_info()
328 ctx->sap_config.SapHw_mode); in hdd_ipa_fill_sap_connection_info()
/wlan-driver/qcacld-3.0/os_if/dp/src/
Dos_if_dp_lro.c64 qdf_lro_ctx_t ctx; in osif_dp_lro_rx() local
73 ctx = osif_dp_get_lro_ctx(skb); in osif_dp_lro_rx()
74 if (!ctx) { in osif_dp_lro_rx()
81 ctx->lro_mgr->dev = dev; in osif_dp_lro_rx()
82 if (qdf_lro_get_info(ctx, skb, &info, (void **)&lro_desc)) { in osif_dp_lro_rx()
95 lro_receive_skb_ext(ctx->lro_mgr, skb, NULL, in osif_dp_lro_rx()
99 qdf_lro_desc_free(ctx, lro_desc); in osif_dp_lro_rx()
103 qdf_lro_flush_pkt(ctx, &info); in osif_dp_lro_rx()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_cal_client_api.h37 void (*iterate_update_peer_list)(struct cdp_pdev *ctx);
45 void dp_cal_client_timer_start(void *ctx);
46 void dp_cal_client_timer_stop(void *ctx);
63 void dp_cal_client_timer_start(void *ctx) in dp_cal_client_timer_start() argument
67 void dp_cal_client_timer_stop(void *ctx) in dp_cal_client_timer_stop() argument
/wlan-driver/qcacld-3.0/core/pld/src/
Dpld_snoc_fw_sim.h53 const char *name, void *ctx) in pld_snoc_fw_sim_ce_request_irq() argument
59 unsigned int ce_id, void *ctx) in pld_snoc_fw_sim_ce_free_irq() argument
121 const char *name, void *ctx) in pld_snoc_fw_sim_ce_request_irq() argument
126 return icnss_ce_request_irq(dev, ce_id, handler, flags, name, ctx); in pld_snoc_fw_sim_ce_request_irq()
130 unsigned int ce_id, void *ctx) in pld_snoc_fw_sim_ce_free_irq() argument
135 return icnss_ce_free_irq(dev, ce_id, ctx); in pld_snoc_fw_sim_ce_free_irq()
Dpld_snoc.h67 const char *name, void *ctx) in pld_snoc_ce_request_irq() argument
72 unsigned int ce_id, void *ctx) in pld_snoc_ce_free_irq() argument
291 const char *name, void *ctx) in pld_snoc_ce_request_irq() argument
296 return icnss_ce_request_irq(dev, ce_id, handler, flags, name, ctx); in pld_snoc_ce_request_irq()
300 unsigned int ce_id, void *ctx) in pld_snoc_ce_free_irq() argument
305 return icnss_ce_free_irq(dev, ce_id, ctx); in pld_snoc_ce_free_irq()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/sm_engine/inc/
Dwlan_sm_engine.h113 void (*wlan_sm_entry) (void *ctx);
114 void (*wlan_sm_exit) (void *ctx);
115 bool (*wlan_sm_event) (void *ctx, uint16_t event,
138 void *ctx; member
174 struct wlan_sm *wlan_sm_create(const char *name, void *ctx,
/wlan-driver/qca-wifi-host-cmn/dp/cmn_dp_api/
Ddp_cal_client_api.c80 void dp_cal_client_timer_start(void *ctx) in dp_cal_client_timer_start() argument
84 if (ctx) { in dp_cal_client_timer_start()
85 cal_cl = (struct cal_client *)ctx; in dp_cal_client_timer_start()
97 void dp_cal_client_timer_stop(void *ctx) in dp_cal_client_timer_stop() argument
101 if (ctx) { in dp_cal_client_timer_stop()
102 cal_cl = (struct cal_client *)ctx; in dp_cal_client_timer_stop()
115 void dp_cal_client_stats_timer_fn(void *ctx) in dp_cal_client_stats_timer_fn() argument
117 struct cal_client *cal_cl = (struct cal_client *)ctx; in dp_cal_client_stats_timer_fn()
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/
Dwlan_mlo_mgr_cmn.c84 QDF_STATUS mlo_reg_mlme_ext_cb(struct mlo_mgr_context *ctx, in mlo_reg_mlme_ext_cb() argument
87 if (!ctx) in mlo_reg_mlme_ext_cb()
90 ctx->mlme_ops = ops; in mlo_reg_mlme_ext_cb()
94 QDF_STATUS mlo_unreg_mlme_ext_cb(struct mlo_mgr_context *ctx) in mlo_unreg_mlme_ext_cb() argument
96 if (!ctx) in mlo_unreg_mlme_ext_cb()
99 ctx->mlme_ops = NULL; in mlo_unreg_mlme_ext_cb()
611 if (req->ctx.validate_set_mlo_link_cb) { in mlo_link_set_active()
612 status = req->ctx.validate_set_mlo_link_cb(psoc, param); in mlo_link_set_active()
616 if (req->ctx.set_mlo_link_cb) in mlo_link_set_active()
617 req->ctx.set_mlo_link_cb(req->ctx.vdev, in mlo_link_set_active()
[all …]
/wlan-driver/qcacld-3.0/components/umac/mlme/sap/ll_sap/core/src/
Dwlan_ll_lt_sap_bearer_switch.c1095 static void bs_state_non_wlan_entry(void *ctx) in bs_state_non_wlan_entry() argument
1097 struct bearer_switch_info *bs_ctx = ctx; in bs_state_non_wlan_entry()
1111 static void bs_state_non_wlan_exit(void *ctx) in bs_state_non_wlan_exit() argument
1127 static bool bs_state_non_wlan_event(void *ctx, uint16_t event, in bs_state_non_wlan_event() argument
1131 struct bearer_switch_info *bs_ctx = ctx; in bs_state_non_wlan_event()
1173 static void bs_state_non_wlan_req_entry(void *ctx) in bs_state_non_wlan_req_entry() argument
1175 struct bearer_switch_info *bs_ctx = ctx; in bs_state_non_wlan_req_entry()
1189 static void bs_state_non_wlan_req_exit(void *ctx) in bs_state_non_wlan_req_exit() argument
1205 static bool bs_state_non_wlan_req_event(void *ctx, uint16_t event, in bs_state_non_wlan_req_event() argument
1209 struct bearer_switch_info *bs_ctx = ctx; in bs_state_non_wlan_req_event()
[all …]
/wlan-driver/qca-wifi-host-cmn/qal/inc/
Dqal_vbus_dev.h126 void *ctx);
138 __qal_vbus_free_irq(unsigned int irqnum, void *ctx);
348 unsigned long flags, const char *dev_name, void *ctx) in qal_vbus_request_irq() argument
350 return __qal_vbus_request_irq(irqnum, handler, flags, dev_name, ctx); in qal_vbus_request_irq()
354 qal_vbus_free_irq(unsigned int irqnum, void *ctx) in qal_vbus_free_irq() argument
356 return __qal_vbus_free_irq(irqnum, ctx); in qal_vbus_free_irq()
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
Dadma.h53 void *ctx);
56 void *ctx);
61 void hif_sdio_rx_q_alloc(void *ctx);

12345