Home
last modified time | relevance | path

Searched refs:hif_softc (Results 1 – 25 of 70) sorted by relevance

123

/wlan-driver/qca-wifi-host-cmn/hif/src/dispatcher/
Dmultibus.h27 struct hif_softc;
31 QDF_STATUS (*hif_bus_open)(struct hif_softc *hif_sc,
33 void (*hif_bus_close)(struct hif_softc *hif_sc);
34 void (*hif_bus_prevent_linkdown)(struct hif_softc *hif_sc, bool flag);
35 void (*hif_reset_soc)(struct hif_softc *hif_sc);
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);
[all …]
Ddummy.h20 struct hif_softc;
23 void hif_dummy_bus_prevent_linkdown(struct hif_softc *scn, bool flag);
24 void hif_dummy_reset_soc(struct hif_softc *scn);
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);
29 int hif_dummy_target_sleep_state_adjust(struct hif_softc *scn,
31 void hif_dummy_enable_power_management(struct hif_softc *hif_ctx,
33 void hif_dummy_disable_power_management(struct hif_softc *hif_ctx);
[all …]
Ddummy.c32 void hif_dummy_bus_prevent_linkdown(struct hif_softc *scn, bool flag) in hif_dummy_bus_prevent_linkdown()
47 void hif_dummy_reset_soc(struct hif_softc *hif_ctx) in hif_dummy_reset_soc()
59 int hif_dummy_bus_suspend(struct hif_softc *hif_ctx) in hif_dummy_bus_suspend()
73 int hif_dummy_bus_resume(struct hif_softc *hif_ctx) in hif_dummy_bus_resume()
87 int hif_dummy_bus_suspend_noirq(struct hif_softc *hif_ctx) in hif_dummy_bus_suspend_noirq()
101 int hif_dummy_bus_resume_noirq(struct hif_softc *hif_ctx) in hif_dummy_bus_resume_noirq()
112 int hif_dummy_target_sleep_state_adjust(struct hif_softc *scn, in hif_dummy_target_sleep_state_adjust()
123 void hif_dummy_enable_power_management(struct hif_softc *hif_ctx, in hif_dummy_enable_power_management()
133 void hif_dummy_disable_power_management(struct hif_softc *hif_ctx) in hif_dummy_disable_power_management()
142 void hif_dummy_disable_isr(struct hif_softc *scn) in hif_dummy_disable_isr()
[all …]
Dpci_api.h24 QDF_STATUS hif_pci_open(struct hif_softc *hif_ctx,
26 void hif_pci_close(struct hif_softc *hif_ctx);
27 void hif_pci_prevent_linkdown(struct hif_softc *scn, bool flag);
28 void hif_pci_reset_soc(struct hif_softc *ol_sc);
29 int hif_pci_bus_suspend(struct hif_softc *scn);
30 int hif_pci_bus_suspend_noirq(struct hif_softc *scn);
31 int hif_pci_bus_resume(struct hif_softc *scn);
32 int hif_pci_bus_resume_noirq(struct hif_softc *scn);
33 int hif_pci_target_sleep_state_adjust(struct hif_softc *scn,
36 void hif_pci_disable_isr(struct hif_softc *scn);
[all …]
Dipci_api.h29 QDF_STATUS hif_ipci_open(struct hif_softc *hif_ctx,
38 void hif_ipci_close(struct hif_softc *hif_ctx);
50 void hif_ipci_prevent_linkdown(struct hif_softc *scn, bool flag);
58 int hif_ipci_bus_suspend(struct hif_softc *scn);
69 int hif_ipci_bus_suspend_noirq(struct hif_softc *scn);
77 int hif_ipci_bus_resume(struct hif_softc *scn);
88 int hif_ipci_bus_resume_noirq(struct hif_softc *scn);
96 void hif_ipci_disable_isr(struct hif_softc *scn);
106 void hif_ipci_nointrs(struct hif_softc *scn);
116 int hif_ipci_dump_registers(struct hif_softc *scn);
[all …]
Dusb_api.h22 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);
28 void hif_usb_nointrs(struct hif_softc *scn);
29 QDF_STATUS hif_usb_enable_bus(struct hif_softc *ol_sc,
33 void hif_usb_disable_bus(struct hif_softc *scn);
34 int hif_usb_bus_configure(struct hif_softc *scn);
35 void hif_usb_irq_disable(struct hif_softc *scn, int ce_id);
36 void hif_usb_irq_enable(struct hif_softc *scn, int ce_id);
37 int hif_usb_dump_registers(struct hif_softc *scn);
[all …]
Dsnoc_api.h22 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);
27 int hif_snoc_bus_suspend_noirq(struct hif_softc *scn);
28 void hif_snoc_disable_isr(struct hif_softc *hif_ctx);
29 void hif_snoc_nointrs(struct hif_softc *scn);
30 QDF_STATUS hif_snoc_enable_bus(struct hif_softc *ol_sc,
34 void hif_snoc_disable_bus(struct hif_softc *scn);
35 int hif_snoc_bus_configure(struct hif_softc *scn);
[all …]
Dmultibus.c44 static void hif_initialize_default_ops(struct hif_softc *hif_sc) in hif_initialize_default_ops()
90 static QDF_STATUS hif_verify_basic_ops(struct hif_softc *hif_sc) in hif_verify_basic_ops()
139 QDF_STATUS hif_bus_open(struct hif_softc *hif_sc, in hif_bus_open()
186 void hif_bus_close(struct hif_softc *hif_sc) in hif_bus_close()
198 void hif_bus_prevent_linkdown(struct hif_softc *hif_sc, bool flag) in hif_bus_prevent_linkdown()
206 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_reset_soc()
213 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_bus_early_suspend()
220 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_bus_late_resume()
227 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_bus_suspend()
234 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_bus_resume()
[all …]
Dahb_api.h24 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);
30 void hif_ahb_nointrs(struct hif_softc *scn);
31 QDF_STATUS hif_ahb_enable_bus(struct hif_softc *ol_sc,
35 void hif_ahb_disable_bus(struct hif_softc *scn);
36 int hif_ahb_bus_configure(struct hif_softc *scn);
37 void hif_ahb_irq_disable(struct hif_softc *scn, int ce_id);
38 void hif_ahb_irq_enable(struct hif_softc *scn, int ce_id);
41 int hif_ahb_dump_registers(struct hif_softc *scn);
[all …]
Dsdio_api.h19 QDF_STATUS hif_sdio_open(struct hif_softc *hif_sc,
21 void hif_sdio_close(struct hif_softc *hif_sc);
22 int hif_sdio_bus_suspend(struct hif_softc *hif_ctx);
23 int hif_sdio_bus_resume(struct hif_softc *hif_ctx);
24 QDF_STATUS hif_sdio_enable_bus(struct hif_softc *hif_sc,
28 void hif_sdio_disable_bus(struct hif_softc *hif_sc);
30 hif_sdio_get_config_item(struct hif_softc *hif_sc,
32 void hif_sdio_set_mailbox_swap(struct hif_softc *hif_sc);
33 void hif_sdio_claim_device(struct hif_softc *hif_sc);
34 void hif_sdio_mask_interrupt_call(struct hif_softc *scn);
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_main.h150 #define HIF_GET_SOFTC(scn) ((struct hif_softc *)scn)
360 struct hif_softc { struct
540 struct hif_softc *sc = (struct hif_softc *)hif_hdl; in hif_get_hal_handle() argument
561 struct hif_softc *sc = (struct hif_softc *)hif_hdl; in hif_get_cmem_info()
574 static inline int hif_get_num_active_tasklets(struct hif_softc *scn) in hif_get_num_active_tasklets()
586 static inline int hif_get_num_active_oom_work(struct hif_softc *scn) in hif_get_num_active_oom_work()
612 QDF_STATUS hif_try_complete_tasks(struct hif_softc *scn);
615 static inline bool hif_is_nss_wifi_enabled(struct hif_softc *sc) in hif_is_nss_wifi_enabled()
620 static inline bool hif_is_nss_wifi_enabled(struct hif_softc *sc) in hif_is_nss_wifi_enabled()
626 static inline uint8_t hif_is_attribute_set(struct hif_softc *sc, in hif_is_attribute_set()
[all …]
Dhif_main.c77 A_target_id_t hif_get_target_id(struct hif_softc *scn) in hif_get_target_id()
90 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_get_targetdef()
100 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_srng_init_phase()
109 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_srng_init_phase()
119 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_shutdown_notifier_cb()
142 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_vote_link_down()
169 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_vote_link_up()
193 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_can_suspend_link()
248 bool hif_max_num_receives_reached(struct hif_softc *scn, unsigned int count) in hif_max_num_receives_reached()
280 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_save_htc_htt_config_endpoint()
[all …]
Dhif_unit_test_suspend_i.h45 void hif_ut_suspend_init(struct hif_softc *scn);
53 bool hif_is_ut_suspended(struct hif_softc *scn);
64 QDF_STATUS hif_ut_fw_resume(struct hif_softc *scn);
72 bool hif_irq_trigger_ut_resume(struct hif_softc *scn);
78 static inline void hif_ut_suspend_init(struct hif_softc *scn) {} in hif_ut_suspend_init()
80 static inline bool hif_is_ut_suspended(struct hif_softc *scn) in hif_is_ut_suspended()
85 static inline QDF_STATUS hif_ut_fw_resume(struct hif_softc *scn) in hif_ut_fw_resume()
Dhif_runtime_pm.h304 void hif_rtpm_open(struct hif_softc *scn);
314 void hif_rtpm_close(struct hif_softc *scn);
324 void hif_rtpm_start(struct hif_softc *scn);
335 void hif_rtpm_stop(struct hif_softc *scn);
349 static inline void hif_rtpm_open(struct hif_softc *scn) {} in hif_rtpm_open()
350 static inline void hif_rtpm_close(struct hif_softc *scn) {} in hif_rtpm_close()
351 static inline void hif_rtpm_start(struct hif_softc *scn) {} in hif_rtpm_start()
352 static inline void hif_rtpm_stop(struct hif_softc *scn) {} in hif_rtpm_stop()
Dmp_dev.h21 void priv_start_agc(struct hif_softc *scn);
22 void priv_dump_agc(struct hif_softc *scn);
23 void priv_start_cap_chaninfo(struct hif_softc *scn);
24 void priv_dump_chaninfo(struct hif_softc *scn);
25 void priv_dump_bbwatchdog(struct hif_softc *scn);
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/
Dif_snoc.c50 void hif_snoc_disable_isr(struct hif_softc *scn) in hif_snoc_disable_isr()
67 int hif_snoc_dump_registers(struct hif_softc *hif_ctx) in hif_snoc_dump_registers()
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()
88 void hif_snoc_clear_stats(struct hif_softc *hif_ctx) in hif_snoc_clear_stats()
105 void hif_snoc_close(struct hif_softc *scn) in hif_snoc_close()
117 QDF_STATUS hif_snoc_open(struct hif_softc *hif_ctx, enum qdf_bus_type bus_type) in hif_snoc_open()
131 static QDF_STATUS hif_snoc_get_soc_info(struct hif_softc *scn) in hif_snoc_get_soc_info()
159 int hif_snoc_bus_configure(struct hif_softc *scn) in hif_snoc_bus_configure()
215 static inline int hif_snoc_get_target_type(struct hif_softc *ol_sc, in hif_snoc_get_target_type()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
Dce_api.h435 struct CE_handle *ce_init(struct hif_softc *scn,
445 void hif_ce_desc_history_log_register(struct hif_softc *scn);
484 void ce_per_engine_service_any(int irq, struct hif_softc *scn);
485 int ce_per_engine_service(struct hif_softc *scn, unsigned int CE_id);
486 void ce_per_engine_servicereap(struct hif_softc *scn, unsigned int CE_id);
489 void ce_disable_any_copy_compl_intr_nolock(struct hif_softc *scn);
490 void ce_enable_any_copy_compl_intr_nolock(struct hif_softc *scn);
495 bool ce_get_rx_pending(struct hif_softc *scn);
505 void war_ce_src_ring_write_idx_set(struct hif_softc *scn,
594 struct hif_softc *scn = HIF_GET_SOFTC(_hif_state); in ce_pkt_error_count_incr()
[all …]
Dce_main.h204 struct hif_softc ol_sc;
327 void hif_ce_stop(struct hif_softc *scn);
328 int hif_dump_ce_registers(struct hif_softc *scn);
330 hif_ce_dump_target_memory(struct hif_softc *scn, void *ramdump_base,
334 void hif_ce_ipa_get_ce_resource(struct hif_softc *scn,
340 void hif_ce_ipa_get_ce_resource(struct hif_softc *scn, in hif_ce_ipa_get_ce_resource()
348 int hif_wlan_enable(struct hif_softc *scn);
351 void hif_wlan_disable(struct hif_softc *scn);
352 void hif_get_target_ce_config(struct hif_softc *scn,
361 void hif_ce_prepare_epping_config(struct hif_softc *scn,
[all …]
Dce_main.c87 static void hif_config_rri_on_ddr(struct hif_softc *scn);
448 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_trigger_dump()
1365 void hif_set_ce_config_qcn9224(struct hif_softc *scn, in hif_set_ce_config_qcn9224()
1385 void hif_set_ce_config_qcn9224(struct hif_softc *scn, in hif_set_ce_config_qcn9224()
1410 hif_select_service_to_pipe_map_kiwi(struct hif_softc *scn, in hif_select_service_to_pipe_map_kiwi()
1425 hif_select_service_to_pipe_map_kiwi(struct hif_softc *scn, in hif_select_service_to_pipe_map_kiwi()
1434 static void hif_select_service_to_pipe_map(struct hif_softc *scn, in hif_select_service_to_pipe_map()
1597 static inline void ce_update_wrt_idx_offset(struct hif_softc *scn, in ce_update_wrt_idx_offset()
1637 static inline void ce_update_wrt_idx_offset(struct hif_softc *scn, in ce_update_wrt_idx_offset()
1664 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_ce_print_ring_stats()
[all …]
Dce_tasklet.c79 struct hif_softc *scn = ce_work->data; in reschedule_ce_tasklet_work_handler()
152 hif_record_tasklet_exec_entry_ts(struct hif_softc *scn, uint8_t ce_id) in hif_record_tasklet_exec_entry_ts()
169 hif_record_tasklet_sched_entry_ts(struct hif_softc *scn, uint8_t ce_id) in hif_record_tasklet_sched_entry_ts()
184 hif_ce_latency_stats(struct hif_softc *hif_ctx) in hif_ce_latency_stats()
323 hif_record_tasklet_exec_entry_ts(struct hif_softc *scn, uint8_t ce_id) in hif_record_tasklet_exec_entry_ts()
333 hif_record_tasklet_sched_entry_ts(struct hif_softc *scn, uint8_t ce_id) in hif_record_tasklet_sched_entry_ts()
338 hif_ce_latency_stats(struct hif_softc *hif_ctx) in hif_ce_latency_stats()
352 hif_reset_ce_full_count(struct hif_softc *scn, uint8_t ce_id) in hif_reset_ce_full_count()
360 hif_reset_ce_full_count(struct hif_softc *scn, uint8_t ce_id) in hif_reset_ce_full_count()
416 struct hif_softc *scn = HIF_GET_SOFTC(hif_ce_state); in ce_tasklet()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/
Dif_sdio.c72 int hif_sdio_bus_suspend(struct hif_softc *hif_ctx) in hif_sdio_bus_suspend()
91 int hif_sdio_bus_resume(struct hif_softc *hif_ctx) in hif_sdio_bus_resume()
117 void hif_sdio_close(struct hif_softc *hif_sc) in hif_sdio_close()
128 QDF_STATUS hif_sdio_open(struct hif_softc *hif_sc, in hif_sdio_open()
136 void hif_get_target_revision(struct hif_softc *ol_sc) in hif_get_target_revision()
138 struct hif_softc *ol_sc_local = (struct hif_softc *)ol_sc; in hif_get_target_revision()
163 QDF_STATUS hif_sdio_enable_bus(struct hif_softc *ol_sc, struct device *dev, in hif_sdio_enable_bus()
184 void hif_sdio_disable_bus(struct hif_softc *hif_sc) in hif_sdio_disable_bus()
200 QDF_STATUS hif_sdio_get_config_item(struct hif_softc *hif_sc, in hif_sdio_get_config_item()
216 void hif_sdio_set_mailbox_swap(struct hif_softc *hif_sc) in hif_sdio_set_mailbox_swap()
[all …]
Dif_sdio.h41 struct hif_softc ol_sc;
90 QDF_STATUS hif_sdio_device_inserted(struct hif_softc *ol_sc,
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);
97 int hif_device_suspend(struct hif_softc *ol_sc, struct device *dev);
98 int hif_device_resume(struct hif_softc *ol_sc, struct device *dev);
99 void hif_register_tbl_attach(struct hif_softc *scn,
101 void target_register_tbl_attach(struct hif_softc *scn,
104 void hif_sdio_close(struct hif_softc *hif_sc);
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/ipcie/
Dif_ipci.c47 void hif_ipci_enable_power_management(struct hif_softc *hif_sc, in hif_ipci_enable_power_management()
53 void hif_ipci_disable_power_management(struct hif_softc *hif_ctx) in hif_ipci_disable_power_management()
58 void hif_ipci_display_stats(struct hif_softc *hif_ctx) in hif_ipci_display_stats()
63 void hif_ipci_clear_stats(struct hif_softc *hif_ctx) in hif_ipci_clear_stats()
74 QDF_STATUS hif_ipci_open(struct hif_softc *hif_ctx, enum qdf_bus_type bus_type) in hif_ipci_open()
93 static int hif_ce_msi_map_ce_to_irq(struct hif_softc *scn, int ce_id) in hif_ce_msi_map_ce_to_irq()
100 int hif_ipci_bus_configure(struct hif_softc *hif_sc) in hif_ipci_bus_configure()
147 void hif_ipci_close(struct hif_softc *hif_sc) in hif_ipci_close()
159 static int hif_ce_srng_msi_free_irq(struct hif_softc *scn) in hif_ce_srng_msi_free_irq()
203 void hif_ipci_deconfigure_grp_irq(struct hif_softc *scn) in hif_ipci_deconfigure_grp_irq()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/
Dif_pci.c195 static inline int hif_get_pci_slot(struct hif_softc *scn) in hif_get_pci_slot()
225 struct hif_softc *scn = HIF_GET_SOFTC(sc); in hif_pci_route_adrastea_interrupt()
252 static void pci_dispatch_interrupt(struct hif_softc *scn) in pci_dispatch_interrupt()
296 struct hif_softc *scn = HIF_GET_SOFTC(sc); in hif_pci_legacy_ce_interrupt_handler()
417 bool hif_pci_targ_is_present(struct hif_softc *scn, void *__iomem *mem) in hif_pci_targ_is_present()
456 void hif_pci_cancel_deferred_target_sleep(struct hif_softc *scn) in hif_pci_cancel_deferred_target_sleep()
478 inline void hif_pci_cancel_deferred_target_sleep(struct hif_softc *scn) in hif_pci_cancel_deferred_target_sleep()
501 static bool hif_targ_is_awake(struct hif_softc *hif_ctx, void *__iomem *mem) in hif_targ_is_awake()
513 static bool hif_targ_is_awake(struct hif_softc *scn, void *__iomem *mem) in hif_targ_is_awake()
531 struct hif_softc *scn = HIF_GET_SOFTC(sc); in hif_pci_device_reset()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/usb/
Dif_usb.c55 hif_usb_diag_write_cold_reset(struct hif_softc *scn) in hif_usb_diag_write_cold_reset()
79 hif_usb_procfs_init(struct hif_softc *scn) in hif_usb_procfs_init()
104 void hif_usb_nointrs(struct hif_softc *scn) in hif_usb_nointrs()
182 QDF_STATUS hif_usb_enable_bus(struct hif_softc *scn, in hif_usb_enable_bus()
286 void hif_usb_close(struct hif_softc *scn) in hif_usb_close()
297 void hif_usb_disable_bus(struct hif_softc *hif_ctx) in hif_usb_disable_bus()
342 int hif_usb_bus_suspend(struct hif_softc *hif_ctx) in hif_usb_bus_suspend()
363 int hif_usb_bus_resume(struct hif_softc *hif_ctx) in hif_usb_bus_resume()
386 int hif_usb_bus_reset_resume(struct hif_softc *hif_ctx) in hif_usb_bus_reset_resume()
405 QDF_STATUS hif_usb_open(struct hif_softc *hif_ctx, in hif_usb_open()
[all …]

123