/wlan-driver/qca-wifi-host-cmn/hif/inc/ |
H A D | hif.h | 358 void *hif_ctx; member 693 void hif_hist_record_event(struct hif_opaque_softc *hif_ctx, 704 void hif_event_history_init(struct hif_opaque_softc *hif_ctx, uint8_t id); 713 void hif_event_history_deinit(struct hif_opaque_softc *hif_ctx, uint8_t id); 726 static inline void hif_record_event(struct hif_opaque_softc *hif_ctx, in hif_record_event() argument 740 hif_hist_record_event(hif_ctx, &event, intr_grp_id); in hif_record_event() 754 static inline void hif_record_event(struct hif_opaque_softc *hif_ctx, in hif_record_event() argument 763 static inline void hif_event_history_init(struct hif_opaque_softc *hif_ctx, in hif_event_history_init() argument 768 static inline void hif_event_history_deinit(struct hif_opaque_softc *hif_ctx, in hif_event_history_deinit() argument 774 void hif_display_ctrl_traffic_pipes_state(struct hif_opaque_softc *hif_ctx); [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/dispatcher/ |
H A D | multibus.c | 204 void hif_reset_soc(struct hif_opaque_softc *hif_ctx) in hif_reset_soc() argument 206 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_reset_soc() 211 int hif_bus_early_suspend(struct hif_opaque_softc *hif_ctx) in hif_bus_early_suspend() argument 213 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_bus_early_suspend() 218 int hif_bus_late_resume(struct hif_opaque_softc *hif_ctx) in hif_bus_late_resume() argument 220 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_bus_late_resume() 225 int hif_bus_suspend(struct hif_opaque_softc *hif_ctx) in hif_bus_suspend() argument 227 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_bus_suspend() 232 int hif_bus_resume(struct hif_opaque_softc *hif_ctx) in hif_bus_resume() argument 234 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_bus_resume() [all …]
|
H A D | dummy.c | 47 void hif_dummy_reset_soc(struct hif_softc *hif_ctx) in hif_dummy_reset_soc() argument 59 int hif_dummy_bus_suspend(struct hif_softc *hif_ctx) in hif_dummy_bus_suspend() argument 73 int hif_dummy_bus_resume(struct hif_softc *hif_ctx) in hif_dummy_bus_resume() argument 87 int hif_dummy_bus_suspend_noirq(struct hif_softc *hif_ctx) in hif_dummy_bus_suspend_noirq() argument 101 int hif_dummy_bus_resume_noirq(struct hif_softc *hif_ctx) in hif_dummy_bus_resume_noirq() argument 123 void hif_dummy_enable_power_management(struct hif_softc *hif_ctx, in hif_dummy_enable_power_management() argument 133 void hif_dummy_disable_power_management(struct hif_softc *hif_ctx) in hif_dummy_disable_power_management() argument 347 void hif_dummy_display_stats(struct hif_softc *hif_ctx) in hif_dummy_display_stats() argument 356 void hif_dummy_clear_stats(struct hif_softc *hif_ctx) in hif_dummy_clear_stats() argument 368 void hif_dummy_set_bundle_mode(struct hif_softc *hif_ctx, in hif_dummy_set_bundle_mode() argument [all …]
|
H A D | dummy.h | 25 int hif_dummy_bus_suspend(struct hif_softc *hif_ctx); 26 int hif_dummy_bus_resume(struct hif_softc *hif_ctx); 27 int hif_dummy_bus_suspend_noirq(struct hif_softc *hif_ctx); 28 int hif_dummy_bus_resume_noirq(struct hif_softc *hif_ctx); 31 void hif_dummy_enable_power_management(struct hif_softc *hif_ctx, 33 void hif_dummy_disable_power_management(struct hif_softc *hif_ctx); 84 void hif_dummy_display_stats(struct hif_softc *hif_ctx); 85 void hif_dummy_clear_stats(struct hif_softc *hif_ctx); 86 void hif_dummy_set_bundle_mode(struct hif_softc *hif_ctx, 88 int hif_dummy_bus_reset_resume(struct hif_softc *hif_ctx);
|
H A D | multibus.h | 36 int (*hif_bus_early_suspend)(struct hif_softc *hif_ctx); 37 int (*hif_bus_late_resume)(struct hif_softc *hif_ctx); 38 int (*hif_bus_suspend)(struct hif_softc *hif_ctx); 39 int (*hif_bus_resume)(struct hif_softc *hif_ctx); 40 int (*hif_bus_suspend_noirq)(struct hif_softc *hif_ctx); 41 int (*hif_bus_resume_noirq)(struct hif_softc *hif_ctx); 79 void (*hif_enable_power_management)(struct hif_softc *hif_ctx, 81 void (*hif_disable_power_management)(struct hif_softc *hif_ctx); 82 void (*hif_display_stats)(struct hif_softc *hif_ctx); 83 void (*hif_clear_stats)(struct hif_softc *hif_ctx); [all …]
|
H A D | snoc_api.h | 22 QDF_STATUS hif_snoc_open(struct hif_softc *hif_ctx, 24 void hif_snoc_close(struct hif_softc *hif_ctx); 25 int hif_snoc_bus_suspend(struct hif_softc *hif_ctx); 26 int hif_snoc_bus_resume(struct hif_softc *hif_ctx); 28 void hif_snoc_disable_isr(struct hif_softc *hif_ctx); 39 void hif_snoc_display_stats(struct hif_softc *hif_ctx); 40 void hif_snoc_clear_stats(struct hif_softc *hif_ctx);
|
H A D | usb_api.h | 22 QDF_STATUS hif_usb_open(struct hif_softc *hif_ctx, 24 void hif_usb_close(struct hif_softc *hif_ctx); 27 void hif_usb_disable_isr(struct hif_softc *hif_ctx); 38 int hif_usb_bus_suspend(struct hif_softc *hif_ctx); 39 int hif_usb_bus_resume(struct hif_softc *hif_ctx); 42 int hif_usb_bus_reset_resume(struct hif_softc *hif_ctx);
|
H A D | ipci_api.h | 29 QDF_STATUS hif_ipci_open(struct hif_softc *hif_ctx, 38 void hif_ipci_close(struct hif_softc *hif_ctx); 162 struct hif_softc *hif_ctx, 171 void hif_ipci_disable_power_management(struct hif_softc *hif_ctx); 198 void hif_ipci_display_stats(struct hif_softc *hif_ctx); 206 void hif_ipci_clear_stats(struct hif_softc *hif_ctx);
|
H A D | pci_api.h | 24 QDF_STATUS hif_pci_open(struct hif_softc *hif_ctx, 26 void hif_pci_close(struct hif_softc *hif_ctx); 47 void hif_pci_enable_power_management(struct hif_softc *hif_ctx, 49 void hif_pci_disable_power_management(struct hif_softc *hif_ctx); 80 void hif_pci_display_stats(struct hif_softc *hif_ctx); 81 void hif_pci_clear_stats(struct hif_softc *hif_ctx);
|
H A D | ahb_api.h | 24 QDF_STATUS hif_ahb_open(struct hif_softc *hif_ctx, 26 void hif_ahb_close(struct hif_softc *hif_ctx); 29 void hif_ahb_disable_isr(struct hif_softc *hif_ctx);
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_driver_ops.c | 403 void hdd_hif_set_enable_detection(struct hif_opaque_softc *hif_ctx, bool value) in hdd_hif_set_enable_detection() argument 405 hif_set_enable_detection(hif_ctx, value); in hdd_hif_set_enable_detection() 410 void hdd_set_hif_init_phase(struct hif_opaque_softc *hif_ctx, in hdd_set_hif_init_phase() argument 413 hif_srng_init_phase(hif_ctx, hal_init_phase); in hdd_set_hif_init_phase() 424 static void hdd_hif_set_attribute(struct hif_opaque_softc *hif_ctx) in hdd_hif_set_attribute() argument 426 hif_set_attribute(hif_ctx, HIF_LOWDESC_CE_NO_PKTLOG_CFG); in hdd_hif_set_attribute() 429 static void hdd_hif_set_attribute(struct hif_opaque_softc *hif_ctx) in hdd_hif_set_attribute() argument 440 hdd_hif_register_shutdown_notifier(struct hif_opaque_softc *hif_ctx) in hdd_hif_register_shutdown_notifier() argument 444 hif_ctx); in hdd_hif_register_shutdown_notifier() 457 static void hdd_hif_set_ce_max_yield_time(struct hif_opaque_softc *hif_ctx, in hdd_hif_set_ce_max_yield_time() argument [all …]
|
H A D | wlan_hdd_napi.c | 99 struct hif_opaque_softc *hif_ctx; in hdd_napi_create() local 113 hif_ctx = cds_get_context(QDF_MODULE_ID_HIF); in hdd_napi_create() 114 if (unlikely(!hif_ctx)) { in hdd_napi_create() 115 QDF_ASSERT(hif_ctx); in hdd_napi_create() 124 rc = hif_napi_create(hif_ctx, hdd_napi_poll, in hdd_napi_create() 171 struct hif_opaque_softc *hif_ctx; in hdd_napi_destroy() local 173 hif_ctx = cds_get_context(QDF_MODULE_ID_HIF); in hdd_napi_destroy() 174 if (unlikely(!hif_ctx)) in hdd_napi_destroy() 175 QDF_ASSERT(hif_ctx); in hdd_napi_destroy() 180 hif_ctx, in hdd_napi_destroy() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/ |
H A D | hif_sdio.c | 53 QDF_STATUS hif_start(struct hif_opaque_softc *hif_ctx) in hif_start() argument 55 struct hif_sdio_softc *scn = HIF_GET_SDIO_SOFTC(hif_ctx); in hif_start() 58 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_start() 80 void hif_flush_surprise_remove(struct hif_opaque_softc *hif_ctx) in hif_flush_surprise_remove() argument 93 void hif_sdio_stop(struct hif_softc *hif_ctx) in hif_sdio_stop() argument 95 struct hif_sdio_softc *scn = HIF_GET_SDIO_SOFTC(hif_ctx); in hif_sdio_stop() 120 QDF_STATUS hif_send_head(struct hif_opaque_softc *hif_ctx, uint8_t pipe, in hif_send_head() argument 124 struct hif_sdio_softc *scn = HIF_GET_SDIO_SOFTC(hif_ctx); in hif_send_head() 180 void hif_post_init(struct hif_opaque_softc *hif_ctx, void *target, in hif_post_init() argument 183 struct hif_sdio_softc *scn = HIF_GET_SDIO_SOFTC(hif_ctx); in hif_post_init() [all …]
|
H A D | if_sdio.c | 72 int hif_sdio_bus_suspend(struct hif_softc *hif_ctx) in hif_sdio_bus_suspend() argument 74 struct hif_sdio_softc *scn = HIF_GET_SDIO_SOFTC(hif_ctx); in hif_sdio_bus_suspend() 78 return hif_device_suspend(hif_ctx, dev); in hif_sdio_bus_suspend() 91 int hif_sdio_bus_resume(struct hif_softc *hif_ctx) in hif_sdio_bus_resume() argument 93 struct hif_sdio_softc *scn = HIF_GET_SDIO_SOFTC(hif_ctx); in hif_sdio_bus_resume() 97 hif_device_resume(hif_ctx, dev); in hif_sdio_bus_resume() 107 void hif_enable_power_gating(void *hif_ctx) in hif_enable_power_gating() argument 246 struct hif_sdio_softc *hif_ctx = HIF_GET_SDIO_SOFTC(scn); in hif_sdio_mask_interrupt_call() local 247 struct hif_sdio_dev *hif_device = hif_ctx->hif_handle; in hif_sdio_mask_interrupt_call() 270 int hif_check_fw_reg(struct hif_opaque_softc *hif_ctx) in hif_check_fw_reg() argument [all …]
|
H A D | if_sdio.h | 94 void hif_sdio_stop(struct hif_softc *hif_ctx); 95 void hif_sdio_shutdown(struct hif_softc *hif_ctx); 96 void hif_sdio_device_removed(struct hif_softc *hif_ctx, struct sdio_func *func); 103 void hif_enable_power_gating(void *hif_ctx); 109 QDF_STATUS hif_reg_based_get_target_info(struct hif_opaque_softc *hif_ctx,
|
H A D | hif_sdio_dev.h | 79 static inline struct hif_sdio_dev *get_hif_device(struct hif_softc *hif_ctx, in get_hif_device() argument 94 static inline int hif_sdio_set_drvdata(struct hif_softc *hif_ctx, in hif_sdio_set_drvdata() argument 119 static inline struct hif_sdio_dev *get_hif_device(struct hif_softc *hif_ctx, in get_hif_device() argument 122 struct hif_sdio_softc *scn = (struct hif_sdio_softc *)hif_ctx; in get_hif_device() 135 static inline int hif_sdio_set_drvdata(struct hif_softc *hif_ctx, in hif_sdio_set_drvdata() argument 139 struct hif_sdio_softc *sc = (struct hif_sdio_softc *)hif_ctx; in hif_sdio_set_drvdata()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ |
H A D | hif_main.c | 62 void hif_dump(struct hif_opaque_softc *hif_ctx, uint8_t cmd_id, bool start) in hif_dump() argument 64 hif_trigger_dump(hif_ctx, cmd_id, start); in hif_dump() 88 void *hif_get_targetdef(struct hif_opaque_softc *hif_ctx) in hif_get_targetdef() argument 90 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_get_targetdef() 97 void hif_srng_init_phase(struct hif_opaque_softc *hif_ctx, in hif_srng_init_phase() argument 100 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_srng_init_phase() 106 void hif_srng_init_phase(struct hif_opaque_softc *hif_ctx, in hif_srng_init_phase() argument 109 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_srng_init_phase() 117 void hif_shutdown_notifier_cb(void *hif_ctx) in hif_shutdown_notifier_cb() argument 119 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_shutdown_notifier_cb() [all …]
|
H A D | hif_exec.c | 158 void hif_hist_record_event(struct hif_opaque_softc *hif_ctx, in hif_hist_record_event() argument 161 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_hist_record_event() 199 void hif_event_history_init(struct hif_opaque_softc *hif_ctx, uint8_t id) in hif_event_history_init() argument 201 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_event_history_init() 209 void hif_event_history_deinit(struct hif_opaque_softc *hif_ctx, uint8_t id) in hif_event_history_deinit() argument 211 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_event_history_deinit() 283 void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx) in hif_clear_napi_stats() argument 285 struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(hif_ctx); in hif_clear_napi_stats() 323 void hif_print_napi_stats(struct hif_opaque_softc *hif_ctx) in hif_print_napi_stats() argument 325 struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(hif_ctx); in hif_print_napi_stats() [all …]
|
H A D | hif_napi.c | 131 int hif_napi_create(struct hif_opaque_softc *hif_ctx, in hif_napi_create() argument 141 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx); in hif_napi_create() 159 rc = hif_napi_cpu_init(hif_ctx); in hif_napi_create() 199 napii->hif_ctx = hif_ctx; in hif_napi_create() 333 int hif_napi_destroy(struct hif_opaque_softc *hif_ctx, in hif_napi_destroy() argument 339 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx); in hif_napi_destroy() 399 rc = hif_napi_cpu_deinit(hif_ctx); in hif_napi_destroy() 440 inline struct qca_napi_data *hif_napi_get_all(struct hif_opaque_softc *hif_ctx) in hif_napi_get_all() argument 442 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx); in hif_napi_get_all() 498 int hif_napi_event(struct hif_opaque_softc *hif_ctx, enum qca_napi_event event, in hif_napi_event() argument [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/usb/ |
H A D | if_usb.c | 297 void hif_usb_disable_bus(struct hif_softc *hif_ctx) in hif_usb_disable_bus() argument 299 struct hif_usb_softc *sc = HIF_GET_USB_SOFTC(hif_ctx); in hif_usb_disable_bus() 302 struct hif_target_info *tgt_info = &hif_ctx->target_info; in hif_usb_disable_bus() 318 hif_usb_diag_write_cold_reset(hif_ctx); in hif_usb_disable_bus() 321 hif_bus_resume(GET_HIF_OPAQUE_HDL(hif_ctx)); in hif_usb_disable_bus() 342 int hif_usb_bus_suspend(struct hif_softc *hif_ctx) in hif_usb_bus_suspend() argument 344 struct hif_usb_softc *sc = HIF_GET_USB_SOFTC(hif_ctx); in hif_usb_bus_suspend() 345 struct HIF_DEVICE_USB *device = HIF_GET_USB_DEVICE(hif_ctx); in hif_usb_bus_suspend() 363 int hif_usb_bus_resume(struct hif_softc *hif_ctx) in hif_usb_bus_resume() argument 365 struct hif_usb_softc *sc = HIF_GET_USB_SOFTC(hif_ctx); in hif_usb_bus_resume() [all …]
|
/wlan-driver/qcacld-3.0/components/pmo/core/src/ |
H A D | wlan_pmo_suspend_resume.c | 498 struct hif_opaque_softc *hif_ctx; in pmo_core_psoc_configure_suspend() local 505 hif_ctx = pmo_core_psoc_get_hif_handle(psoc); in pmo_core_psoc_configure_suspend() 506 if (!hif_ctx) { in pmo_core_psoc_configure_suspend() 510 tgt_info = hif_get_target_info_handle(hif_ctx); in pmo_core_psoc_configure_suspend() 760 void *hif_ctx; in pmo_core_enable_wow_in_fw() local 763 hif_ctx = pmo_core_psoc_get_hif_handle(psoc); in pmo_core_enable_wow_in_fw() 830 if (hif_ctx) { in pmo_core_enable_wow_in_fw() 868 if (hif_ctx) { in pmo_core_enable_wow_in_fw() 869 hif_display_ctrl_traffic_pipes_state(hif_ctx); in pmo_core_enable_wow_in_fw() 870 hif_display_latest_desc_hist(hif_ctx); in pmo_core_enable_wow_in_fw() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
H A D | ce_diag.c | 121 QDF_STATUS hif_diag_read_mem(struct hif_opaque_softc *hif_ctx, in hif_diag_read_mem() argument 124 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_diag_read_mem() 158 target_type = (hif_get_target_info_handle(hif_ctx))->target_type; in hif_diag_read_mem() 179 hif_diag_read_access(hif_ctx, address, in hif_diag_read_mem() 300 QDF_STATUS hif_diag_read_access(struct hif_opaque_softc *hif_ctx, in hif_diag_read_access() argument 303 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_diag_read_access() 307 return hif_diag_read_mem(hif_ctx, address, (uint8_t *) data, in hif_diag_read_access() 327 QDF_STATUS hif_diag_write_mem(struct hif_opaque_softc *hif_ctx, in hif_diag_write_mem() argument 330 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_diag_write_mem() 331 struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(hif_ctx); in hif_diag_write_mem() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/inc/ |
H A D | wlan_hdd_driver_ops.h | 114 void hdd_hif_close(struct hdd_context *hdd_ctx, void *hif_ctx); 159 void hdd_set_hif_init_phase(struct hif_opaque_softc *hif_ctx, 163 void hdd_set_hif_init_phase(struct hif_opaque_softc *hif_ctx, in hdd_set_hif_init_phase() argument 177 void hdd_hif_set_enable_detection(struct hif_opaque_softc *hif_ctx, bool value); 180 void hdd_hif_set_enable_detection(struct hif_opaque_softc *hif_ctx, bool value) in hdd_hif_set_enable_detection() argument
|
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/ |
H A D | if_snoc.c | 67 int hif_snoc_dump_registers(struct hif_softc *hif_ctx) in hif_snoc_dump_registers() argument 70 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_snoc_dump_registers() 79 void hif_snoc_display_stats(struct hif_softc *hif_ctx) in hif_snoc_display_stats() argument 81 if (!hif_ctx) { in hif_snoc_display_stats() 85 hif_display_ce_stats(hif_ctx); in hif_snoc_display_stats() 88 void hif_snoc_clear_stats(struct hif_softc *hif_ctx) in hif_snoc_clear_stats() argument 90 struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(hif_ctx); in hif_snoc_clear_stats() 117 QDF_STATUS hif_snoc_open(struct hif_softc *hif_ctx, enum qdf_bus_type bus_type) in hif_snoc_open() argument 119 return hif_ce_open(hif_ctx); in hif_snoc_open()
|
/wlan-driver/qcacld-3.0/components/dp/core/src/ |
H A D | wlan_dp_wfds.c | 43 struct hif_opaque_softc *hif_ctx; in dp_wfds_send_config_msg() local 59 hif_ctx = dp_soc->hif_handle; in dp_wfds_send_config_msg() 61 hal_soc = hif_get_hal_handle(hif_ctx); in dp_wfds_send_config_msg() 96 status = hif_get_direct_link_ce_srng_info(hif_ctx, ce_info, in dp_wfds_send_config_msg() 188 struct hif_opaque_softc *hif_ctx; in dp_wfds_req_mem_msg() local 200 hif_ctx = dp_soc->hif_handle; in dp_wfds_req_mem_msg() 213 hif_get_direct_link_ce_dest_srng_buffers(hif_ctx, in dp_wfds_req_mem_msg() 526 struct hif_opaque_softc *hif_ctx; in dp_wfds_handle_ipcc_map_n_cfg_ind() local 532 hif_ctx = dp_soc->hif_handle; in dp_wfds_handle_ipcc_map_n_cfg_ind() 547 hif_set_irq_config_by_ceid(hif_ctx, in dp_wfds_handle_ipcc_map_n_cfg_ind() [all …]
|