Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 141) sorted by relevance

123456

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_event.c69 QDF_BUG(event->cookie != LINUX_EVENT_COOKIE); in qdf_event_create()
70 if (event->cookie == LINUX_EVENT_COOKIE) in qdf_event_create()
75 event->cookie = LINUX_EVENT_COOKIE; in qdf_event_create()
88 QDF_BUG(event->cookie == LINUX_EVENT_COOKIE); in qdf_event_set()
89 if (event->cookie != LINUX_EVENT_COOKIE) in qdf_event_set()
107 QDF_BUG(event->cookie == LINUX_EVENT_COOKIE); in qdf_event_set_all()
108 if (event->cookie != LINUX_EVENT_COOKIE) in qdf_event_set_all()
141 QDF_BUG(event->cookie == LINUX_EVENT_COOKIE); in qdf_event_reset()
142 if (event->cookie != LINUX_EVENT_COOKIE) in qdf_event_reset()
181 QDF_BUG(event->cookie == LINUX_EVENT_COOKIE); in qdf_event_destroy()
[all …]
Dqdf_lock.c44 if (LINUX_LOCK_COOKIE == lock->cookie) { in qdf_mutex_create()
61 lock->cookie = LINUX_LOCK_COOKIE; in qdf_mutex_create()
81 if (LINUX_LOCK_COOKIE != lock->cookie) { in qdf_mutex_acquire()
146 if (LINUX_LOCK_COOKIE != lock->cookie) { in qdf_mutex_release()
543 if (LINUX_LOCK_COOKIE != lock->cookie) { in qdf_mutex_destroy()
562 lock->cookie = 0; in qdf_mutex_destroy()
581 } cookie; member
684 __func__, lock_cookies[i].u.cookie.func, in qdf_lock_stats_deinit()
685 lock_cookies[i].u.cookie.line); in qdf_lock_stats_deinit()
697 struct qdf_lock_cookie *cookie = qdf_get_lock_cookie(); in qdf_lock_stats_cookie_create() local
[all …]
/wlan-driver/qca-wifi-host-cmn/utils/epping/src/
Depping_tx.c53 struct epping_cookie *cookie = NULL; in epping_tx_dup_pkt() local
57 cookie = epping_alloc_cookie(adapter->pEpping_ctx); in epping_tx_dup_pkt()
58 if (!cookie) { in epping_tx_dup_pkt()
68 epping_free_cookie(adapter->pEpping_ctx, cookie); in epping_tx_dup_pkt()
71 SET_HTC_PACKET_INFO_TX(&cookie->HtcPkt, in epping_tx_dup_pkt()
72 cookie, qdf_nbuf_data(skb), in epping_tx_dup_pkt()
74 SET_HTC_PACKET_NET_BUF_CONTEXT(&cookie->HtcPkt, new_skb); in epping_tx_dup_pkt()
77 ret = htc_send_pkt(adapter->pEpping_ctx->HTCHandle, &cookie->HtcPkt); in epping_tx_dup_pkt()
81 epping_free_cookie(adapter->pEpping_ctx, cookie); in epping_tx_dup_pkt()
98 struct epping_cookie *cookie = NULL; in epping_tx_send_int() local
[all …]
Depping_helper.c95 struct epping_cookie *cookie) in epping_free_cookie() argument
98 cookie->next = pEpping_ctx->cookie_list; in epping_free_cookie()
99 pEpping_ctx->cookie_list = cookie; in epping_free_cookie()
106 struct epping_cookie *cookie; in epping_alloc_cookie() local
109 cookie = pEpping_ctx->cookie_list; in epping_alloc_cookie()
110 if (cookie) { in epping_alloc_cookie()
111 pEpping_ctx->cookie_list = cookie->next; in epping_alloc_cookie()
115 return cookie; in epping_alloc_cookie()
/wlan-driver/qca-wifi-host-cmn/os_if/linux/
Dwlan_osif_request_manager.c32 static void *cookie; variable
36 void *cookie; member
63 static struct osif_request *osif_request_find(void *cookie) in osif_request_find() argument
72 if (request->cookie == cookie) in osif_request_find()
99 request->cookie = cookie++; in osif_request_alloc()
114 return request->cookie; in osif_request_cookie()
117 struct osif_request *osif_request_get(void *cookie) in osif_request_get() argument
126 request = osif_request_find(cookie); in osif_request_get()
/wlan-driver/qcacld-3.0/os_if/cp_stats/src/
Dwlan_cfg80211_mc_cp_stats.c346 static void get_tx_power_cb(int tx_power, void *cookie) in get_tx_power_cb() argument
351 request = osif_request_get(cookie); in get_tx_power_cb()
367 void *cookie; in wlan_cfg80211_mc_cp_stats_get_tx_power() local
384 cookie = osif_request_cookie(request); in wlan_cfg80211_mc_cp_stats_get_tx_power()
385 info.cookie = cookie; in wlan_cfg80211_mc_cp_stats_get_tx_power()
444 static void get_peer_rssi_cb(struct stats_event *ev, void *cookie) in get_peer_rssi_cb() argument
450 request = osif_request_get(cookie); in get_peer_rssi_cb()
485 void *cookie; in wlan_cfg80211_mc_cp_stats_get_peer_rssi() local
510 cookie = osif_request_cookie(request); in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
512 info.cookie = cookie; in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
[all …]
/wlan-driver/qcacld-3.0/components/p2p/dispatcher/src/
Dwlan_p2p_ucfg_api.c116 struct p2p_roc_req *roc_req, uint64_t *cookie) in ucfg_p2p_roc_req() argument
151 *cookie = (uint64_t)id; in ucfg_p2p_roc_req()
172 p2p_debug("cookie = 0x%llx", *cookie); in ucfg_p2p_roc_req()
178 uint64_t cookie) in ucfg_p2p_roc_cancel_req() argument
186 p2p_debug("soc:%pK, cookie:0x%llx", soc, cookie); in ucfg_p2p_roc_cancel_req()
201 cookie, &roc_ctx); in ucfg_p2p_roc_cancel_req()
203 p2p_debug("invalid id for cookie 0x%llx", cookie); in ucfg_p2p_roc_cancel_req()
213 cancel_roc->cookie = (uintptr_t)roc_ctx; in ucfg_p2p_roc_cancel_req()
299 struct p2p_mgmt_tx *mgmt_frm, uint64_t *cookie, in ucfg_p2p_mgmt_tx() argument
337 *cookie = (uint64_t)id; in ucfg_p2p_mgmt_tx()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_debugfs_coex.c135 void *cookie; in __hdd_debugfs_mws_coex_state_read() local
157 cookie = osif_request_cookie(request); in __hdd_debugfs_mws_coex_state_read()
162 hdd_debugfs_mws_coex_info_cb, cookie); in __hdd_debugfs_mws_coex_state_read()
232 void *cookie; in __hdd_debugfs_mws_coex_dpwb_read() local
254 cookie = osif_request_cookie(request); in __hdd_debugfs_mws_coex_dpwb_read()
259 hdd_debugfs_mws_coex_info_cb, cookie); in __hdd_debugfs_mws_coex_dpwb_read()
333 void *cookie; in __hdd_debugfs_mws_tdm_state_read() local
355 cookie = osif_request_cookie(request); in __hdd_debugfs_mws_tdm_state_read()
360 hdd_debugfs_mws_coex_info_cb, cookie); in __hdd_debugfs_mws_tdm_state_read()
420 void *cookie; in __hdd_debugfs_mws_coex_idrx_read() local
[all …]
Dwlan_hdd_p2p.c94 u64 *cookie) in __wlan_hdd_cfg80211_remain_on_channel() argument
137 status = wlan_cfg80211_roc(vdev, chan, duration, cookie); in __wlan_hdd_cfg80211_remain_on_channel()
140 status, *cookie); in __wlan_hdd_cfg80211_remain_on_channel()
148 unsigned int duration, u64 *cookie) in wlan_hdd_cfg80211_remain_on_channel() argument
158 duration, cookie); in wlan_hdd_cfg80211_remain_on_channel()
168 u64 cookie) in __wlan_hdd_cfg80211_cancel_remain_on_channel() argument
191 status = wlan_cfg80211_cancel_roc(vdev, cookie); in __wlan_hdd_cfg80211_cancel_remain_on_channel()
201 u64 cookie) in wlan_hdd_cfg80211_cancel_remain_on_channel() argument
211 cookie); in wlan_hdd_cfg80211_cancel_remain_on_channel()
223 bool dont_wait_for_ack, u64 *cookie) in __wlan_hdd_mgmt_tx() argument
[all …]
Dwlan_hdd_fips.c82 static void hdd_fips_cb(void *cookie, in hdd_fips_cb() argument
95 request = osif_request_get(cookie); in hdd_fips_cb()
178 void *cookie; in __hdd_fips_test() local
218 cookie = osif_request_cookie(request); in __hdd_fips_test()
220 hdd_fips_cb, cookie); in __hdd_fips_test()
/wlan-driver/qca-wifi-host-cmn/target_if/cfr/src/
Dtarget_if_cfr_enh.c238 static void dump_freeze_tlv(void *freeze_tlv, uint32_t cookie) in dump_freeze_tlv() argument
253 cookie, in dump_freeze_tlv()
282 static void dump_freeze_tlv_v3(void *freeze_tlv, uint32_t cookie) in dump_freeze_tlv_v3() argument
301 cookie, in dump_freeze_tlv_v3()
331 static void dump_freeze_tlv_v5(void *freeze_tlv, uint32_t cookie) in dump_freeze_tlv_v5() argument
351 cookie, in dump_freeze_tlv_v5()
385 uint32_t cookie) in dump_mu_rx_info() argument
403 cookie, in dump_mu_rx_info()
428 uint32_t cookie) in dump_mu_rx_info_v2() argument
452 cookie, in dump_mu_rx_info_v2()
[all …]
Dtarget_if_cfr_dbr.c174 static int correlate_and_relay(struct wlan_objmgr_pdev *pdev, uint32_t cookie, in correlate_and_relay() argument
208 cookie); in correlate_and_relay()
217 cookie); in correlate_and_relay()
234 cookie, pdev_cfrobj->dbr_evt_cnt, in correlate_and_relay()
261 uint32_t cookie = 0; in cfr_dbr_event_handler() local
290 cookie = payload->cookie; in cfr_dbr_event_handler()
293 (void *)((uintptr_t)payload->paddr), cookie); in cfr_dbr_event_handler()
305 lut = pdev_cfrobj->lut[cookie]; in cfr_dbr_event_handler()
315 status = correlate_and_relay(pdev, cookie, lut, in cfr_dbr_event_handler()
439 uint32_t cookie; in target_if_peer_capture_event() local
[all …]
/wlan-driver/qcacld-3.0/os_if/p2p/inc/
Dwlan_cfg80211_p2p.h67 uint64_t *cookie);
80 uint64_t cookie);
102 bool dont_wait_for_ack, uint64_t *cookie);
115 uint64_t cookie);
/wlan-driver/qcacld-3.0/os_if/p2p/src/
Dwlan_cfg80211_p2p.c310 p2p_event->cookie, chan, in wlan_p2p_event_callback()
314 p2p_event->cookie, chan, GFP_KERNEL); in wlan_p2p_event_callback()
355 uint64_t *cookie) in wlan_cfg80211_roc() argument
400 ucfg_p2p_roc_req(psoc, &roc_req, cookie)); in wlan_cfg80211_roc()
404 uint64_t cookie) in wlan_cfg80211_cancel_roc() argument
420 ucfg_p2p_roc_cancel_req(psoc, cookie)); in wlan_cfg80211_cancel_roc()
427 bool dont_wait_for_ack, uint64_t *cookie) in wlan_cfg80211_mgmt_tx() argument
483 ucfg_p2p_mgmt_tx(psoc, &mgmt_tx, cookie, pdev)); in wlan_cfg80211_mgmt_tx()
487 uint64_t cookie) in wlan_cfg80211_mgmt_tx_cancel() argument
503 ucfg_p2p_mgmt_tx_cancel(psoc, vdev, cookie)); in wlan_cfg80211_mgmt_tx_cancel()
/wlan-driver/qca-wifi-host-cmn/target_if/direct_buf_rx/inc/
Dtarget_if_direct_buf_rx_api.h99 uint32_t cookie; member
170 uint32_t *cookie, uint8_t srng_id);
185 uint32_t cookie, uint8_t srng_id);
212 uint32_t *cookie, uint8_t srng_id) in target_if_dbr_cookie_lookup() argument
220 uint32_t cookie, uint8_t srng_id) in target_if_dbr_buf_release() argument
/wlan-driver/qcacld-3.0/core/hdd/inc/
Dwlan_hdd_p2p.h50 unsigned int duration, u64 *cookie);
54 u64 cookie);
58 u64 cookie);
82 struct cfg80211_mgmt_tx_params *params, u64 *cookie);
88 bool dont_wait_for_ack, u64 *cookie);
/wlan-driver/qca-wifi-host-cmn/target_if/wifi_pos/inc/
Dtarget_if_wifi_pos.h55 struct oem_data_rsp *rsp, uint32_t *cookie);
68 void *vaddr, uint32_t cookie);
74 struct oem_data_rsp *rsp, uint32_t *cookie) in target_if_wifi_pos_get_indirect_data() argument
82 void *vaddr, uint32_t cookie) in target_if_wifi_pos_replenish_ring() argument
/wlan-driver/qca-wifi-host-cmn/target_if/wifi_pos/src/
Dtarget_if_wifi_pos.c40 void *paddr, uint8_t ring_num, uint32_t cookie) in target_if_wifi_pos_vaddr_lookup() argument
42 if (priv->dma_buf_pool[ring_num][cookie].paddr == paddr) { in target_if_wifi_pos_vaddr_lookup()
43 return priv->dma_buf_pool[ring_num][cookie].vaddr + in target_if_wifi_pos_vaddr_lookup()
44 priv->dma_buf_pool[ring_num][cookie].offset; in target_if_wifi_pos_vaddr_lookup()
54 void *aligned_vaddr, uint32_t cookie) in target_if_wifi_pos_replenish_ring() argument
76 priv->dma_buf_pool[ring_idx][cookie].paddr = paddr; in target_if_wifi_pos_replenish_ring()
82 WMI_OEM_DMA_DATA_ADDR_HI_HOST_DATA_SET(dw_hi, cookie); in target_if_wifi_pos_replenish_ring()
92 struct oem_data_rsp *rsp, uint32_t *cookie) in target_if_wifi_pos_get_indirect_data() argument
123 *cookie = WMI_OEM_DMA_DATA_ADDR_HI_HOST_DATA_GET( in target_if_wifi_pos_get_indirect_data()
126 paddr, ring_idx, *cookie); in target_if_wifi_pos_get_indirect_data()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_rx.h151 uint32_t cookie; member
571 uint32_t cookie) in dp_get_rx_desc_from_cookie() argument
573 uint8_t pool_id = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_POOL_ID(cookie); in dp_get_rx_desc_from_cookie()
574 uint16_t page_id = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_PAGE_ID(cookie); in dp_get_rx_desc_from_cookie()
575 uint8_t offset = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_OFFSET(cookie); in dp_get_rx_desc_from_cookie()
593 uint32_t cookie) in dp_get_rx_mon_status_desc_from_cookie() argument
595 uint8_t pool_id = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_POOL_ID(cookie); in dp_get_rx_mon_status_desc_from_cookie()
596 uint16_t page_id = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_PAGE_ID(cookie); in dp_get_rx_mon_status_desc_from_cookie()
597 uint8_t offset = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_OFFSET(cookie); in dp_get_rx_mon_status_desc_from_cookie()
622 uint32_t cookie) in dp_rx_cookie_2_va_rxdma_buf() argument
[all …]
/wlan-driver/qcacld-3.0/components/p2p/core/src/
Dwlan_p2p_roc.c292 p2p_evt.cookie = (uint64_t)roc_ctx->id; in p2p_send_roc_event()
297 p2p_evt.cookie); in p2p_send_roc_event()
492 struct p2p_soc_priv_obj *p2p_soc_obj, uint64_t cookie) in p2p_find_roc_ctx() argument
498 p2p_debug("p2p soc obj:%pK, cookie:%llx", p2p_soc_obj, cookie); in p2p_find_roc_ctx()
504 if ((uintptr_t) curr_roc_ctx == cookie) in p2p_find_roc_ctx()
543 uint64_t cookie; in p2p_process_ready_on_channel_evt() local
563 cookie = (uintptr_t)roc_ctx; in p2p_process_ready_on_channel_evt()
565 p2p_ready_to_tx_frame(p2p_soc_obj, cookie); in p2p_process_ready_on_channel_evt()
684 struct p2p_soc_priv_obj *p2p_soc_obj, uint64_t cookie) in p2p_find_roc_by_tx_ctx() argument
690 p2p_debug("p2p soc obj:%pK, cookie:%llx", p2p_soc_obj, cookie); in p2p_find_roc_by_tx_ctx()
[all …]
/wlan-driver/qca-wifi-host-cmn/target_if/direct_buf_rx/src/
Dtarget_if_direct_buf_rx_main.c1307 void *aligned_vaddr, uint32_t cookie) in target_if_dbr_replenish_ring() argument
1330 if (cookie >= mod_param->dbr_ring_cfg->num_ptr) { in target_if_dbr_replenish_ring()
1331 direct_buf_rx_err("invalid cookie %d", cookie); in target_if_dbr_replenish_ring()
1365 dbr_buf_pool[cookie].paddr = paddr; in target_if_dbr_replenish_ring()
1378 WMI_HOST_DBR_DATA_ADDR_HI_HOST_DATA_SET(dw_hi, cookie); in target_if_dbr_replenish_ring()
1417 dbr_buf_pool[idx].cookie = idx; in target_if_dbr_fill_ring()
1819 qdf_dma_addr_t paddr, uint32_t cookie) in target_if_dbr_vaddr_lookup() argument
1825 if (cookie >= mod_param->dbr_ring_cfg->num_ptr) { in target_if_dbr_vaddr_lookup()
1826 direct_buf_rx_err("invalid cookie %d", cookie); in target_if_dbr_vaddr_lookup()
1830 if (dbr_buf_pool[cookie].paddr == paddr) { in target_if_dbr_vaddr_lookup()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/
Ddp_li_rx.h126 uint32_t cookie) in dp_rx_desc_cookie_2_va_li() argument
128 return dp_rx_cookie_2_va_rxdma_buf(soc, cookie); in dp_rx_desc_cookie_2_va_li()
198 void *dp_rx_cookie_2_va_rxdma_buf_prefetch(struct dp_soc *soc, uint32_t cookie) in dp_rx_cookie_2_va_rxdma_buf_prefetch() argument
200 uint8_t pool_id = DP_RX_DESC_COOKIE_POOL_ID_GET(cookie); in dp_rx_cookie_2_va_rxdma_buf_prefetch()
201 uint16_t index = DP_RX_DESC_COOKIE_INDEX_GET(cookie); in dp_rx_cookie_2_va_rxdma_buf_prefetch()
/wlan-driver/qcacld-3.0/components/p2p/dispatcher/inc/
Dwlan_p2p_ucfg_api.h208 struct p2p_roc_req *roc_req, uint64_t *cookie);
220 uint64_t cookie);
275 uint64_t *cookie,
290 struct wlan_objmgr_vdev *vdev, uint64_t cookie);
/wlan-driver/qcacld-3.0/components/cp_stats/dispatcher/inc/
Dwlan_cp_stats_mc_defs.h252 void *cookie; member
254 void (*get_tx_power_cb)(int tx_power, void *cookie);
255 void (*get_peer_rssi_cb)(struct stats_event *ev, void *cookie);
257 void *cookie);
259 void *cookie);
261 void *cookie);
267 void *cookie);
/wlan-driver/qcacld-3.0/components/disa/dispatcher/src/
Dwlan_disa_tgt_api.c64 void *cookie; in tgt_disa_encrypt_decrypt_resp() local
82 cookie = disa_ctx->callback_context; in tgt_disa_encrypt_decrypt_resp()
88 cb(cookie, resp); in tgt_disa_encrypt_decrypt_resp()

123456