Home
last modified time | relevance | path

Searched refs:psoc_ctx (Results 1 – 17 of 17) sorted by relevance

/wlan-driver/qcacld-3.0/components/pmo/core/src/
H A Dwlan_pmo_lphb.c38 struct pmo_psoc_priv_obj *psoc_ctx, in pmo_core_send_lphb_enable() argument
64 qdf_spin_lock_bh(&psoc_ctx->lock); in pmo_core_send_lphb_enable()
65 psoc_ctx->wow.lphb_cache[i].cmd in pmo_core_send_lphb_enable()
67 psoc_ctx->wow.lphb_cache[i].params.lphb_enable_req.enable = in pmo_core_send_lphb_enable()
69 psoc_ctx->wow.lphb_cache[i].params.lphb_enable_req.item = in pmo_core_send_lphb_enable()
71 psoc_ctx->wow.lphb_cache[i].params.lphb_enable_req.session = in pmo_core_send_lphb_enable()
73 qdf_spin_unlock_bh(&psoc_ctx->lock); in pmo_core_send_lphb_enable()
76 qdf_spin_lock_bh(&psoc_ctx->lock); in pmo_core_send_lphb_enable()
77 qdf_mem_zero((void *)&psoc_ctx->wow.lphb_cache, in pmo_core_send_lphb_enable()
78 sizeof(psoc_ctx->wow.lphb_cache)); in pmo_core_send_lphb_enable()
[all …]
H A Dwlan_pmo_suspend_resume.c58 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_get_vdev_dtim_period() local
64 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_get_vdev_dtim_period()
65 if (psoc_ctx->get_dtim_period) in pmo_core_get_vdev_dtim_period()
66 ret = psoc_ctx->get_dtim_period(pmo_vdev_get_id(vdev), in pmo_core_get_vdev_dtim_period()
86 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_get_vdev_beacon_interval() local
92 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_get_vdev_beacon_interval()
93 if (psoc_ctx->get_beacon_interval) in pmo_core_get_vdev_beacon_interval()
94 ret = psoc_ctx->get_beacon_interval( in pmo_core_get_vdev_beacon_interval()
336 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_set_suspend_dtim() local
339 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_set_suspend_dtim()
[all …]
H A Dwlan_pmo_main.c369 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_is_ap_mode_supports_arp_ns() local
371 psoc_ctx = pmo_psoc_get_priv(psoc); in pmo_core_is_ap_mode_supports_arp_ns()
375 !psoc_ctx->psoc_cfg.ap_arpns_support) { in pmo_core_is_ap_mode_supports_arp_ns()
407 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_get_psoc_config() local
417 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_get_psoc_config()
418 qdf_mem_copy(psoc_cfg, &psoc_ctx->psoc_cfg, sizeof(*psoc_cfg)); in pmo_core_get_psoc_config()
430 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_update_psoc_config() local
440 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_update_psoc_config()
441 qdf_mem_copy(&psoc_ctx->psoc_cfg, psoc_cfg, sizeof(*psoc_cfg)); in pmo_core_update_psoc_config()
453 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_psoc_set_caps() local
[all …]
H A Dwlan_pmo_static_config.c41 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_register_wow_wakeup_events() local
55 psoc_ctx = pmo_vdev_get_psoc_priv(vdev); in pmo_register_wow_wakeup_events()
56 if (psoc_ctx->psoc_cfg.auto_power_save_fail_mode == in pmo_register_wow_wakeup_events()
58 qdf_spin_lock(&psoc_ctx->lock); in pmo_register_wow_wakeup_events()
59 is_low_pwr_mode = psoc_ctx->is_device_in_low_pwr_mode; in pmo_register_wow_wakeup_events()
60 qdf_spin_unlock(&psoc_ctx->lock); in pmo_register_wow_wakeup_events()
346 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_register_wow_default_patterns() local
377 psoc_ctx = vdev_ctx->pmo_psoc_ctx; in pmo_register_wow_default_patterns()
378 if (!psoc_ctx) { in pmo_register_wow_default_patterns()
387 if (psoc_ctx->psoc_cfg.ra_ratelimit_enable && in pmo_register_wow_default_patterns()
[all …]
H A Dwlan_pmo_arp.c108 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_do_enable_arp_offload() local
113 psoc_ctx = vdev_ctx->pmo_psoc_ctx; in pmo_core_do_enable_arp_offload()
114 if (!psoc_ctx) { in pmo_core_do_enable_arp_offload()
122 if (!psoc_ctx->psoc_cfg.active_mode_offload) { in pmo_core_do_enable_arp_offload()
150 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_do_disable_arp_offload() local
157 psoc_ctx = vdev_ctx->pmo_psoc_ctx; in pmo_core_do_disable_arp_offload()
158 if (!psoc_ctx) { in pmo_core_do_disable_arp_offload()
214 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_arp_check_offload() local
242 psoc_ctx = vdev_ctx->pmo_psoc_ctx; in pmo_core_arp_check_offload()
245 active_offload_cond = psoc_ctx->psoc_cfg.active_mode_offload; in pmo_core_arp_check_offload()
H A Dwlan_pmo_ns.c159 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_do_enable_ns_offload() local
164 psoc_ctx = vdev_ctx->pmo_psoc_ctx; in pmo_core_do_enable_ns_offload()
165 if (!psoc_ctx) { in pmo_core_do_enable_ns_offload()
174 if (!psoc_ctx->psoc_cfg.active_mode_offload) { in pmo_core_do_enable_ns_offload()
201 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_do_disable_ns_offload() local
205 psoc_ctx = pmo_vdev_get_psoc_priv(vdev); in pmo_core_do_disable_ns_offload()
210 if (!psoc_ctx->psoc_cfg.active_mode_offload) { in pmo_core_do_disable_ns_offload()
262 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_ns_check_offload() local
290 psoc_ctx = vdev_ctx->pmo_psoc_ctx; in pmo_core_ns_check_offload()
293 active_offload_cond = psoc_ctx->psoc_cfg.active_mode_offload; in pmo_core_ns_check_offload()
H A Dwlan_pmo_apf.c33 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_get_apf_instruction_size() local
36 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_get_apf_instruction_size()
37 apf = pmo_intersect_apf(psoc_ctx); in pmo_get_apf_instruction_size()
H A Dwlan_pmo_pkt_filter.c32 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_get_num_packet_filters() local
35 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_get_num_packet_filters()
36 pkt_filter = pmo_intersect_packet_filter(psoc_ctx); in pmo_get_num_packet_filters()
H A Dwlan_pmo_wow.c471 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_get_num_wow_filters() local
475 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_get_num_wow_filters()
476 apf = pmo_intersect_apf(psoc_ctx); in pmo_get_num_wow_filters()
477 pkt_filter = pmo_intersect_packet_filter(psoc_ctx); in pmo_get_num_wow_filters()
/wlan-driver/qcacld-3.0/components/pmo/dispatcher/src/
H A Dwlan_pmo_obj_mgmt_api.c147 struct pmo_psoc_priv_obj *psoc_ctx = NULL; in pmo_psoc_object_created_notification() local
160 psoc_ctx = qdf_mem_malloc(sizeof(*psoc_ctx)); in pmo_psoc_object_created_notification()
161 if (!psoc_ctx) { in pmo_psoc_object_created_notification()
168 psoc_ctx, in pmo_psoc_object_created_notification()
172 qdf_mem_free(psoc_ctx); in pmo_psoc_object_created_notification()
176 qdf_spinlock_create(&psoc_ctx->lock); in pmo_psoc_object_created_notification()
177 qdf_wake_lock_create(&psoc_ctx->wow.wow_wake_lock, "pmo_wow_wl"); in pmo_psoc_object_created_notification()
178 status = qdf_event_create(&psoc_ctx->wow.target_suspend); in pmo_psoc_object_created_notification()
184 status = qdf_event_create(&psoc_ctx->wow.target_resume); in pmo_psoc_object_created_notification()
191 qdf_atomic_init(&psoc_ctx->wow.wow_initial_wake_up); in pmo_psoc_object_created_notification()
[all …]
H A Dwlan_pmo_tgt_lphb.c142 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_tgt_lphb_rsp_evt() local
144 psoc_ctx = pmo_psoc_get_priv(psoc); in pmo_tgt_lphb_rsp_evt()
145 if (psoc_ctx->wow.lphb_cb && psoc_ctx->wow.lphb_cb_ctx) { in pmo_tgt_lphb_rsp_evt()
146 psoc_ctx->wow.lphb_cb(psoc_ctx->wow.lphb_cb_ctx, rsp_param); in pmo_tgt_lphb_rsp_evt()
H A Dwlan_pmo_tgt_suspend_resume.c182 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_tgt_psoc_send_wow_enable_req() local
185 psoc_ctx = pmo_psoc_get_priv(psoc); in pmo_tgt_psoc_send_wow_enable_req()
188 if (psoc_ctx->wow.wow_state == pmo_wow_state_legacy_d0) { in pmo_tgt_psoc_send_wow_enable_req()
249 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_tgt_psoc_send_host_wakeup_ind() local
252 psoc_ctx = pmo_psoc_get_priv(psoc); in pmo_tgt_psoc_send_host_wakeup_ind()
255 if (psoc_ctx->psoc_cfg.d0_wow_supported && in pmo_tgt_psoc_send_host_wakeup_ind()
256 psoc_ctx->wow.wow_state == pmo_wow_state_legacy_d0) { in pmo_tgt_psoc_send_host_wakeup_ind()
/wlan-driver/qcacld-3.0/components/pmo/core/inc/
H A Dwlan_pmo_main.h217 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_psoc_update_dp_handle() local
219 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_psoc_update_dp_handle()
220 psoc_ctx->dp_hdl = dp_hdl; in pmo_core_psoc_update_dp_handle()
233 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_psoc_get_dp_handle() local
235 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_psoc_get_dp_handle()
236 dp_hdl = psoc_ctx->dp_hdl; in pmo_core_psoc_get_dp_handle()
250 struct cdp_vdev *pmo_core_vdev_get_dp_handle(struct pmo_psoc_priv_obj *psoc_ctx, in pmo_core_vdev_get_dp_handle() argument
256 qdf_spin_lock_bh(&psoc_ctx->lock); in pmo_core_vdev_get_dp_handle()
257 handler = psoc_ctx->get_vdev_dp_handle; in pmo_core_vdev_get_dp_handle()
258 qdf_spin_unlock_bh(&psoc_ctx->lock); in pmo_core_vdev_get_dp_handle()
[all …]
H A Dwlan_pmo_wow.h388 void pmo_core_update_wow_enable(struct pmo_psoc_priv_obj *psoc_ctx, in pmo_core_update_wow_enable() argument
391 qdf_spin_lock_bh(&psoc_ctx->lock); in pmo_core_update_wow_enable()
392 psoc_ctx->wow.wow_enable = value; in pmo_core_update_wow_enable()
393 qdf_spin_unlock_bh(&psoc_ctx->lock); in pmo_core_update_wow_enable()
405 bool pmo_core_is_wow_enabled(struct pmo_psoc_priv_obj *psoc_ctx) in pmo_core_is_wow_enabled() argument
409 if (!psoc_ctx) { in pmo_core_is_wow_enabled()
414 qdf_spin_lock_bh(&psoc_ctx->lock); in pmo_core_is_wow_enabled()
415 value = psoc_ctx->wow.wow_enable; in pmo_core_is_wow_enabled()
416 qdf_spin_unlock_bh(&psoc_ctx->lock); in pmo_core_is_wow_enabled()
431 void pmo_core_set_wow_nack(struct pmo_psoc_priv_obj *psoc_ctx, bool value, in pmo_core_set_wow_nack() argument
[all …]
H A Dwlan_pmo_suspend_resume.h50 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_get_wow_bus_suspend() local
52 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_get_wow_bus_suspend()
53 value = psoc_ctx->wow.is_wow_bus_suspended; in pmo_core_get_wow_bus_suspend()
300 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_psoc_update_power_save_mode() local
302 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_psoc_update_power_save_mode()
303 psoc_ctx->psoc_cfg.power_save_mode = value; in pmo_core_psoc_update_power_save_mode()
317 struct pmo_psoc_priv_obj *psoc_ctx; in pmo_core_psoc_get_power_save_mode() local
319 pmo_psoc_with_ctx(psoc, psoc_ctx) { in pmo_core_psoc_get_power_save_mode()
320 value = psoc_ctx->psoc_cfg.power_save_mode; in pmo_core_psoc_get_power_save_mode()
334 uint16_t pmo_core_vdev_get_pause_bitmap(struct pmo_psoc_priv_obj *psoc_ctx, in pmo_core_vdev_get_pause_bitmap() argument
[all …]
H A Dwlan_pmo_objmgr.h134 static inline bool __pmo_spinlock_bh_safe(struct pmo_psoc_priv_obj *psoc_ctx) in __pmo_spinlock_bh_safe() argument
136 if (!psoc_ctx) in __pmo_spinlock_bh_safe()
139 qdf_spin_lock_bh(&psoc_ctx->lock); in __pmo_spinlock_bh_safe()
/wlan-driver/qca-wifi-host-cmn/cfg/src/
H A Dcfg.c532 struct cfg_psoc_ctx *psoc_ctx; in cfg_psoc_get_ctx() local
534 psoc_ctx = cfg_psoc_get_priv(psoc); in cfg_psoc_get_ctx()
535 QDF_BUG(psoc_ctx); in cfg_psoc_get_ctx()
537 return psoc_ctx; in cfg_psoc_get_ctx()
609 struct cfg_psoc_ctx *psoc_ctx; in cfg_store_print() local
615 psoc_ctx = cfg_psoc_get_ctx(psoc); in cfg_store_print()
616 if (!psoc_ctx) in cfg_store_print()
619 store = psoc_ctx->store; in cfg_store_print()
674 struct cfg_psoc_ctx *psoc_ctx; in cfg_ini_config_print() local
682 psoc_ctx = cfg_psoc_get_ctx(psoc); in cfg_ini_config_print()
[all …]