Home
last modified time | relevance | path

Searched refs:cb_ctx (Results 1 – 25 of 40) sorted by relevance

12

/wlan-driver/platform/cnss_utils/
Dcnss_plat_ipc_qmi.h32 typedef void (*cnss_plat_ipc_connection_update)(void *cb_ctx,
42 connection_update_cb, void *cb_ctx);
44 void *cb_ctx);
56 connection_update_cb, void *cb_ctx) in cnss_plat_ipc_register() argument
63 void *cb_ctx) in cnss_plat_ipc_unregister() argument
Dcnss_plat_ipc_qmi.c70 void *cb_ctx[CNSS_PLAT_IPC_MAX_USER]; member
256 (qmi_client->cb_ctx[i], in cnss_plat_ipc_qmi_update_user()
812 connection_update_cb, void *cb_ctx) in cnss_plat_ipc_register() argument
832 qmi_client->cb_ctx[num_user] = cb_ctx; in cnss_plat_ipc_register()
848 void *cb_ctx) in cnss_plat_ipc_unregister() argument
862 if (qmi_client->cb_ctx[i] == cb_ctx) { in cnss_plat_ipc_unregister()
863 qmi_client->cb_ctx[i] = NULL; in cnss_plat_ipc_unregister()
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_platform.h75 typedef int (*qdf_wmi_recv_qmi_cb)(void *cb_ctx, void *buf, int len);
86 typedef int (*qdf_qmi_ind_cb)(void *cb_ctx, uint16_t type,
99 void *cb_ctx,
110 typedef QDF_STATUS (*qdf_send_ind_over_qmi_callback)(void *cb_ctx,
139 QDF_STATUS qdf_wmi_send_recv_qmi(void *buf, uint32_t len, void *cb_ctx,
149 QDF_STATUS qdf_reg_qmi_indication(void *cb_ctx, qdf_qmi_ind_cb qmi_ind_cb);
/wlan-driver/platform/cnss_genl/
Dcnss_nl.c46 void *cb_ctx; member
86 info->user_ptr[1] = nl->cld_ops[cmd_id - 1].cb_ctx; in cld80211_pre_doit()
102 info->user_ptr[1] = nl->cld_ops[cmd_id - 1].cb_ctx; in cld80211_pre_doit()
124 int register_cld_cmd_cb(u8 cmd_id, cld80211_cb func, void *cb_ctx) in register_cld_cmd_cb() argument
135 nl->cld_ops[cmd_id - 1].cb_ctx = cb_ctx; in register_cld_cmd_cb()
152 nl->cld_ops[cmd_id - 1].cb_ctx = NULL; in deregister_cld_cmd_cb()
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/
Dwlan_pkt_capture_data_txrx.c890 struct pkt_capture_cb_context *cb_ctx; in pkt_capture_rx_data_cb() local
907 cb_ctx = vdev_priv->cb_ctx; in pkt_capture_rx_data_cb()
908 if (!cb_ctx || !cb_ctx->mon_cb || !cb_ctx->mon_ctx) { in pkt_capture_rx_data_cb()
982 pkt_capture_mon(cb_ctx, msdu, vdev, 0); in pkt_capture_rx_data_cb()
1018 struct pkt_capture_cb_context *cb_ctx; in pkt_capture_rx_data_cb() local
1035 cb_ctx = vdev_priv->cb_ctx; in pkt_capture_rx_data_cb()
1036 if (!cb_ctx || !cb_ctx->mon_cb || !cb_ctx->mon_ctx) { in pkt_capture_rx_data_cb()
1088 pkt_capture_mon(cb_ctx, msdu, vdev, 0); in pkt_capture_rx_data_cb()
1127 struct pkt_capture_cb_context *cb_ctx; in pkt_capture_tx_data_cb() local
1152 cb_ctx = vdev_priv->cb_ctx; in pkt_capture_tx_data_cb()
[all …]
Dwlan_pkt_capture_main.c728 vdev_priv->cb_ctx->mon_cb = mon_cb; in pkt_capture_register_callbacks()
729 vdev_priv->cb_ctx->mon_ctx = context; in pkt_capture_register_callbacks()
779 vdev_priv->cb_ctx->mon_cb = NULL; in pkt_capture_register_callbacks()
780 vdev_priv->cb_ctx->mon_ctx = NULL; in pkt_capture_register_callbacks()
839 vdev_priv->cb_ctx->mon_cb = NULL; in pkt_capture_deregister_callbacks()
840 vdev_priv->cb_ctx->mon_ctx = NULL; in pkt_capture_deregister_callbacks()
952 struct pkt_capture_cb_context *cb_ctx; in pkt_capture_callback_ctx_create() local
954 cb_ctx = qdf_mem_malloc(sizeof(*cb_ctx)); in pkt_capture_callback_ctx_create()
955 if (!cb_ctx) in pkt_capture_callback_ctx_create()
958 vdev_priv->cb_ctx = cb_ctx; in pkt_capture_callback_ctx_create()
[all …]
Dwlan_pkt_capture_mgmt_txrx.c78 struct pkt_capture_cb_context *cb_ctx; in pkt_capture_mgmtpkt_cb() local
97 cb_ctx = vdev_priv->cb_ctx; in pkt_capture_mgmtpkt_cb()
98 if (!cb_ctx || !cb_ctx->mon_cb || !cb_ctx->mon_ctx) { in pkt_capture_mgmtpkt_cb()
107 pkt_capture_mon(cb_ctx, msdu, vdev, ch_freq); in pkt_capture_mgmtpkt_cb()
Dwlan_pkt_capture_mon_thread.c39 void pkt_capture_mon(struct pkt_capture_cb_context *cb_ctx, qdf_nbuf_t msdu, in pkt_capture_mon() argument
42 if (cb_ctx->mon_cb(cb_ctx->mon_ctx, msdu) != QDF_STATUS_SUCCESS) { in pkt_capture_mon()
/wlan-driver/qca-wifi-host-cmn/qdf/src/
Dqdf_platform.c77 QDF_STATUS qdf_wmi_send_recv_qmi(void *buf, uint32_t len, void *cb_ctx, in qdf_wmi_send_recv_qmi() argument
86 return _wmi_send_recv_qmi_cb(buf, len, cb_ctx, wmi_recv_qmi_cb); in qdf_wmi_send_recv_qmi()
91 QDF_STATUS qdf_reg_qmi_indication(void *cb_ctx, qdf_qmi_ind_cb qmi_ind_cb) in qdf_reg_qmi_indication() argument
99 return _qmi_indication_cb(cb_ctx, qmi_ind_cb); in qdf_reg_qmi_indication()
/wlan-driver/platform/inc/
Dcnss_nl.h80 void *cb_ctx, int pid);
91 int register_cld_cmd_cb(u8 cmd_id, cld80211_cb cb, void *cb_ctx);
Dcnss2.h379 int cmd_len, void *cb_ctx,
466 extern int cnss_register_driver_async_data_cb(struct device *dev, void *cb_ctx,
Dicnss2.h231 int cmd_len, void *cb_ctx,
/wlan-driver/qcacld-3.0/core/pld/src/
Dpld_pcie.h448 int cmd_len, void *cb_ctx, in pld_pcie_qmi_send() argument
455 pld_pcie_register_qmi_ind(struct device *dev, void *cb_ctx, in pld_pcie_register_qmi_ind() argument
628 int cmd_len, void *cb_ctx, in pld_pcie_qmi_send() argument
631 return cnss_qmi_send(dev, type, cmd, cmd_len, cb_ctx, cb); in pld_pcie_qmi_send()
637 pld_pcie_register_qmi_ind(struct device *dev, void *cb_ctx, in pld_pcie_register_qmi_ind() argument
641 return cnss_register_driver_async_data_cb(dev, cb_ctx, cb); in pld_pcie_register_qmi_ind()
645 pld_pcie_register_qmi_ind(struct device *dev, void *cb_ctx, in pld_pcie_register_qmi_ind() argument
Dpld_ipci.h165 int cmd_len, void *cb_ctx, in pld_ipci_qmi_send() argument
389 int cmd_len, void *cb_ctx, in pld_ipci_qmi_send() argument
392 return icnss_qmi_send(dev, type, cmd, cmd_len, cb_ctx, cb); in pld_ipci_qmi_send()
Dpld_common.c2306 int cmd_len, void *cb_ctx, in pld_qmi_send() argument
2313 return pld_pcie_qmi_send(dev, type, cmd, cmd_len, cb_ctx, cb); in pld_qmi_send()
2319 return pld_ipci_qmi_send(dev, type, cmd, cmd_len, cb_ctx, cb); in pld_qmi_send()
2326 int pld_qmi_indication(struct device *dev, void *cb_ctx, in pld_qmi_indication() argument
2334 return pld_pcie_register_qmi_ind(dev, cb_ctx, cb); in pld_qmi_indication()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_qdf_hrtimer.h45 struct __qdf_hrtimer_data_internal_t *cb_ctx; member
134 return (enum hrtimer_restart)timer->callback(timer->cb_ctx); in __qdf_hrtimer_cb()
161 timer->cb_ctx = timer; in __qdf_hrtimer_init()
183 timer->cb_ctx = timer; in __qdf_hrtimer_init()
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_exec.c1060 void *cb_ctx, const char *context_name, in hif_register_ext_group() argument
1091 hif_ext_group->context = cb_ctx; in hif_register_ext_group()
1195 umac_reset_ctx->cb_handler(umac_reset_ctx->cb_ctx); in hif_umac_reset_handler_tasklet()
1210 if (umac_reset_ctx->irq_handler(umac_reset_ctx->cb_ctx)) in hif_umac_reset_irq_handler()
1237 bool (*irq_handler)(void *cb_ctx), in hif_register_umac_reset_handler() argument
1238 int (*tl_handler)(void *cb_ctx), in hif_register_umac_reset_handler() argument
1239 void *cb_ctx, int irq) in hif_register_umac_reset_handler()
1254 umac_reset_ctx->cb_ctx = cb_ctx; in hif_register_umac_reset_handler()
1310 umac_reset_ctx->cb_ctx = NULL; in hif_unregister_umac_reset_handler()
Dhif_main.h284 bool (*irq_handler)(void *cb_ctx);
285 int (*cb_handler)(void *cb_ctx);
286 void *cb_ctx; member
/wlan-driver/qcacld-3.0/core/hdd/inc/
Dwlan_hdd_tx_rx.h220 hdd_get_tx_flow_low_watermark(hdd_cb_handle cb_ctx, qdf_netdev_t netdev);
251 hdd_get_tx_flow_low_watermark(hdd_cb_handle cb_ctx, qdf_netdev_t netdev) in hdd_get_tx_flow_low_watermark() argument
Dwlan_hdd_power.h307 void *cb_ctx,
/wlan-driver/qcacld-3.0/components/pkt_capture/core/inc/
Dwlan_pkt_capture_priv.h74 struct pkt_capture_cb_context *cb_ctx; member
Dwlan_pkt_capture_main.h221 void pkt_capture_mon(struct pkt_capture_cb_context *cb_ctx, qdf_nbuf_t msdu,
/wlan-driver/qca-wifi-host-cmn/hif/inc/
Dhif.h2131 void *cb_ctx, const char *context_name,
2772 bool (*irq_handler)(void *cb_ctx),
2773 int (*tl_handler)(void *cb_ctx),
2774 void *cb_ctx, int irq);
2788 bool (*irq_handler)(void *cb_ctx), in hif_register_umac_reset_handler() argument
2789 int (*tl_handler)(void *cb_ctx), in hif_register_umac_reset_handler() argument
2790 void *cb_ctx, int irq) in hif_register_umac_reset_handler()
/wlan-driver/qca-wifi-host-cmn/umac/cp_stats/core/src/
Dwlan_cp_stats_obj_mgr_handler.h231 int wlan_cp_stats_cstats_qmi_event_handler(void *cb_ctx, uint16_t type,
/wlan-driver/qcacld-3.0/components/pmo/dispatcher/inc/
Dwlan_pmo_lphb_public_struct.h172 void (*pmo_lphb_callback)(void *cb_ctx, struct pmo_lphb_rsp *ind_param);

12