Lines Matching refs:hif_softc

77 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()
524 struct hif_softc *sc = HIF_GET_SOFTC(scn); in hif_get_hw_info()
542 struct hif_softc *scn = (struct hif_softc *)hif_handle; in hif_get_dev_ba()
556 struct hif_softc *scn = (struct hif_softc *)hif_handle; in hif_get_dev_ba_ce()
572 struct hif_softc *scn = (struct hif_softc *)hif_handle; in hif_get_dev_ba_pmm()
581 struct hif_softc *scn = (struct hif_softc *)hif_handle; in hif_get_soc_version()
596 struct hif_softc *scn = (struct hif_softc *)hif_handle; in hif_get_dev_ba_cmem()
604 void hif_runtime_prevent_linkdown(struct hif_softc *scn, bool is_get) in hif_runtime_prevent_linkdown()
613 void hif_rtpm_lock_init(struct hif_softc *scn) in hif_rtpm_lock_init()
619 void hif_rtpm_lock_deinit(struct hif_softc *scn) in hif_rtpm_lock_deinit()
625 void hif_rtpm_lock_init(struct hif_softc *scn) in hif_rtpm_lock_init()
630 void hif_rtpm_lock_deinit(struct hif_softc *scn) in hif_rtpm_lock_deinit()
644 void hif_get_interrupt_threshold_cfg_from_psoc(struct hif_softc *scn, in hif_get_interrupt_threshold_cfg_from_psoc()
658 void hif_get_interrupt_threshold_cfg_from_psoc(struct hif_softc *scn, in hif_get_interrupt_threshold_cfg_from_psoc()
672 void hif_get_cfg_from_psoc(struct hif_softc *scn, in hif_get_cfg_from_psoc()
710 struct hif_softc *hif_handle; in hif_recovery_notifier_cb()
740 QDF_STATUS hif_register_recovery_notifier(struct hif_softc *hif_handle) in hif_register_recovery_notifier()
761 QDF_STATUS hif_unregister_recovery_notifier(struct hif_softc *hif_handle) in hif_unregister_recovery_notifier()
769 QDF_STATUS hif_register_recovery_notifier(struct hif_softc *hif_handle) in hif_register_recovery_notifier()
775 QDF_STATUS hif_unregister_recovery_notifier(struct hif_softc *hif_handle) in hif_unregister_recovery_notifier()
794 struct hif_softc *scn = context; in __hif_cpu_hotplug_notify()
840 static void hif_cpuhp_register(struct hif_softc *scn) in hif_cpuhp_register()
852 static void hif_cpuhp_unregister(struct hif_softc *scn) in hif_cpuhp_unregister()
862 static void hif_cpuhp_register(struct hif_softc *scn) in hif_cpuhp_register()
866 static void hif_cpuhp_unregister(struct hif_softc *scn) in hif_cpuhp_unregister()
881 __hif_tasklet_latency(struct hif_softc *scn, bool from_timer, int idx) in __hif_tasklet_latency()
923 hif_tasklet_latency_detect_enabled(struct hif_softc *scn, int idx) in hif_tasklet_latency_detect_enabled()
938 void hif_tasklet_latency_record_exec(struct hif_softc *scn, int idx) in hif_tasklet_latency_record_exec()
959 void hif_tasklet_latency_record_sched(struct hif_softc *scn, int idx) in hif_tasklet_latency_record_sched()
968 static inline void hif_credit_latency(struct hif_softc *scn, bool from_timer) in hif_credit_latency()
1001 static inline void hif_tasklet_latency(struct hif_softc *scn, bool from_timer) in hif_tasklet_latency()
1024 void hif_check_detection_latency(struct hif_softc *scn, in hif_check_detection_latency()
1043 struct hif_softc *scn = (struct hif_softc *)arg; in hif_latency_detect_timeout_handler()
1080 static void hif_latency_detect_timer_init(struct hif_softc *scn) in hif_latency_detect_timer_init()
1100 static void hif_latency_detect_timer_deinit(struct hif_softc *scn) in hif_latency_detect_timer_deinit()
1106 static void hif_latency_detect_init(struct hif_softc *scn) in hif_latency_detect_init()
1124 static void hif_latency_detect_deinit(struct hif_softc *scn) in hif_latency_detect_deinit()
1138 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_latency_detect_timer_start()
1156 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_latency_detect_timer_stop()
1171 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_latency_detect_credit_record_time()
1191 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_set_enable_detection()
1204 static inline void hif_latency_detect_init(struct hif_softc *scn) in hif_latency_detect_init()
1207 static inline void hif_latency_detect_deinit(struct hif_softc *scn) in hif_latency_detect_deinit()
1214 hif_affinity_mgr_init(struct hif_softc *scn, struct wlan_objmgr_psoc *psoc) in hif_affinity_mgr_init()
1237 hif_affinity_mgr_init(struct hif_softc *scn, struct wlan_objmgr_psoc *psoc) in hif_affinity_mgr_init()
1251 void hif_init_direct_link_rcv_pipe_num(struct hif_softc *scn) in hif_init_direct_link_rcv_pipe_num()
1257 void hif_init_direct_link_rcv_pipe_num(struct hif_softc *scn) in hif_init_direct_link_rcv_pipe_num()
1268 struct hif_softc *scn; in hif_open()
1277 scn = (struct hif_softc *)qdf_mem_malloc(bus_context_size); in hif_open()
1328 void hif_uninit_rri_on_ddr(struct hif_softc *scn) in hif_uninit_rri_on_ddr()
1347 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_close()
1388 static inline int hif_get_num_active_grp_tasklets(struct hif_softc *scn) in hif_get_num_active_grp_tasklets()
1407 static inline int hif_get_num_pending_work(struct hif_softc *scn) in hif_get_num_pending_work()
1412 static inline int hif_get_num_pending_work(struct hif_softc *scn) in hif_get_num_pending_work()
1418 static inline int hif_get_num_pending_work(struct hif_softc *scn) in hif_get_num_pending_work()
1424 QDF_STATUS hif_try_complete_tasks(struct hif_softc *scn) in hif_try_complete_tasks()
1463 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_try_complete_dp_tasks()
1486 void hif_reg_window_write(struct hif_softc *scn, uint32_t offset, in hif_reg_window_write()
1492 uint32_t hif_reg_window_read(struct hif_softc *scn, uint32_t offset) in hif_reg_window_read()
1501 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_try_prevent_ep_vote_access()
1539 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_set_ep_intermediate_vote_access()
1557 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_allow_ep_vote_access()
1568 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_set_ep_vote_access()
1579 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_get_ep_vote_access()
1603 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_print_reg_write_stats()
1640 static inline bool hif_is_reg_write_tput_level_high(struct hif_softc *scn) in hif_is_reg_write_tput_level_high()
1654 static inline void hif_reg_write_fill_sched_delay_hist(struct hif_softc *scn, in hif_reg_write_fill_sched_delay_hist()
1679 hif_process_reg_write_q_elem(struct hif_softc *scn, in hif_process_reg_write_q_elem()
1721 struct hif_softc *scn = arg; in hif_reg_write_work()
1801 static void hif_delayed_reg_write_deinit(struct hif_softc *scn) in hif_delayed_reg_write_deinit()
1818 static QDF_STATUS hif_delayed_reg_write_init(struct hif_softc *scn) in hif_delayed_reg_write_init()
1839 static void hif_reg_write_enqueue(struct hif_softc *scn, in hif_reg_write_enqueue()
1904 void hif_delayed_reg_write(struct hif_softc *scn, uint32_t ctrl_addr, in hif_delayed_reg_write()
1927 static inline QDF_STATUS hif_delayed_reg_write_init(struct hif_softc *scn) in hif_delayed_reg_write_init()
1932 static inline void hif_delayed_reg_write_deinit(struct hif_softc *scn) in hif_delayed_reg_write_deinit()
1938 static QDF_STATUS hif_hal_attach(struct hif_softc *scn) in hif_hal_attach()
1948 static QDF_STATUS hif_hal_detach(struct hif_softc *scn) in hif_hal_detach()
1961 static QDF_STATUS hif_hal_attach(struct hif_softc *scn) in hif_hal_attach()
1974 static QDF_STATUS hif_hal_detach(struct hif_softc *scn) in hif_hal_detach()
1984 static QDF_STATUS hif_hal_attach(struct hif_softc *scn) in hif_hal_attach()
1989 static QDF_STATUS hif_hal_detach(struct hif_softc *scn) in hif_hal_detach()
2035 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_enable()
2092 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_disable()
2123 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_enable_ce_latency_stats()
2174 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_crash_shutdown()
2232 void hif_read_phy_mem_base(struct hif_softc *scn, qdf_dma_addr_t *phy_mem_base) in hif_read_phy_mem_base()
2468 struct hif_softc *scn = HIF_GET_SOFTC(hif_hdl); in hif_get_bus_type()
2489 struct hif_softc *sc = HIF_GET_SOFTC(hif_ctx); in hif_get_ini_handle()
2503 struct hif_softc *sc = HIF_GET_SOFTC(hif_ctx); in hif_get_target_info_handle()
2575 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_get_target_status()
2591 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_set_target_status()
2606 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_init_ini_config()
2617 uint32_t hif_get_conparam(struct hif_softc *scn) in hif_get_conparam()
2632 struct hif_softc *scn) in hif_get_callbacks_handle()
2643 bool hif_is_driver_unloading(struct hif_softc *scn) in hif_is_driver_unloading()
2660 bool hif_is_load_or_unload_in_progress(struct hif_softc *scn) in hif_is_load_or_unload_in_progress()
2677 bool hif_is_recovery_in_progress(struct hif_softc *scn) in hif_is_recovery_in_progress()
2703 struct hif_softc *scn = HIF_GET_SOFTC(osc); in hif_update_pipe_callback()
2725 bool hif_is_target_ready(struct hif_softc *scn) in hif_is_target_ready()
2742 struct hif_softc *scn = HIF_GET_SOFTC(hif_handle); in hif_get_bandwidth_level()
2754 void *hif_mem_alloc_consistent_unaligned(struct hif_softc *scn, in hif_mem_alloc_consistent_unaligned()
2787 void hif_mem_free_consistent_unaligned(struct hif_softc *scn, in hif_mem_free_consistent_unaligned()
2810 void hif_prealloc_get_multi_pages(struct hif_softc *scn, uint32_t desc_type, in hif_prealloc_get_multi_pages()
2827 void hif_prealloc_put_multi_pages(struct hif_softc *scn, uint32_t desc_type, in hif_prealloc_put_multi_pages()
2921 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_reg_write()
2939 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_reg_read()
2959 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_pm_get_wake_irq_type()
2966 struct hif_softc *scn = context; in hif_wake_interrupt_handler()
2988 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_set_initial_wakeup_cb()
2997 struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif); in hif_set_ce_service_max_yield_time()
3006 struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif); in hif_get_ce_service_max_yield_time()
3014 struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif); in hif_set_ce_service_max_rx_ind_flush()
3028 struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif); in __hif_system_pm_set_state()
3035 struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif); in hif_system_pm_get_state()
3042 struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif); in hif_system_pm_state_check()
3079 hif_audio_cpu_affinity_allowed(struct hif_softc *scn, in hif_audio_cpu_affinity_allowed()
3107 hif_affinity_mgr_check_update_mask(struct hif_softc *scn, in hif_affinity_mgr_check_update_mask()
3184 hif_check_and_affine_irq(struct hif_softc *scn, struct hif_cpu_affinity *cfg, in hif_check_and_affine_irq()
3221 void hif_affinity_mgr_affine_irq(struct hif_softc *scn) in hif_affinity_mgr_affine_irq()
3279 hif_affinity_mgr_set_irq_affinity(struct hif_softc *scn, uint32_t irq, in hif_affinity_mgr_set_irq_affinity()
3318 hif_affinity_mgr_set_qrg_irq_affinity(struct hif_softc *scn, uint32_t irq, in hif_affinity_mgr_set_qrg_irq_affinity()
3332 hif_affinity_mgr_set_ce_irq_affinity(struct hif_softc *scn, uint32_t irq, in hif_affinity_mgr_set_ce_irq_affinity()
3345 hif_affinity_mgr_init_ce_irq(struct hif_softc *scn, int id, int irq) in hif_affinity_mgr_init_ce_irq()
3370 hif_affinity_mgr_init_grp_irq(struct hif_softc *scn, int grp_id, in hif_affinity_mgr_init_grp_irq()
3401 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_config_irq_set_perf_affinity_hint()