Lines Matching refs:hif_softc
150 #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()
635 struct hif_softc *scn = (struct hif_softc *)hif_handle; in hif_set_event_hist_mask()
645 A_target_id_t hif_get_target_id(struct hif_softc *scn);
646 void hif_dump_pipe_debug_count(struct hif_softc *scn);
649 bool hif_max_num_receives_reached(struct hif_softc *scn, unsigned int count);
651 int hif_bus_configure(struct hif_softc *scn);
652 void hif_cancel_deferred_target_sleep(struct hif_softc *scn);
653 int hif_config_ce(struct hif_softc *scn);
655 int hif_config_ce_by_id(struct hif_softc *scn, int pipe_num);
656 void hif_unconfig_ce(struct hif_softc *scn);
657 void hif_ce_prepare_config(struct hif_softc *scn);
658 QDF_STATUS hif_ce_open(struct hif_softc *scn);
659 void hif_ce_close(struct hif_softc *scn);
672 void hif_nointrs(struct hif_softc *scn);
673 void hif_bus_close(struct hif_softc *ol_sc);
674 QDF_STATUS hif_bus_open(struct hif_softc *ol_sc,
676 QDF_STATUS hif_enable_bus(struct hif_softc *ol_sc, struct device *dev,
678 void hif_disable_bus(struct hif_softc *scn);
679 void hif_bus_prevent_linkdown(struct hif_softc *scn, bool flag);
681 void hif_read_phy_mem_base(struct hif_softc *scn, qdf_dma_addr_t *bar_value);
682 uint32_t hif_get_conparam(struct hif_softc *scn);
684 struct hif_softc *scn);
685 bool hif_is_driver_unloading(struct hif_softc *scn);
686 bool hif_is_load_or_unload_in_progress(struct hif_softc *scn);
687 bool hif_is_recovery_in_progress(struct hif_softc *scn);
688 bool hif_is_target_ready(struct hif_softc *scn);
698 void hif_wlan_disable(struct hif_softc *scn);
699 int hif_target_sleep_state_adjust(struct hif_softc *scn,
704 void *hif_mem_alloc_consistent_unaligned(struct hif_softc *scn,
710 void hif_mem_free_consistent_unaligned(struct hif_softc *scn,
728 void hif_prealloc_get_multi_pages(struct hif_softc *scn, uint32_t desc_type,
742 void hif_prealloc_put_multi_pages(struct hif_softc *scn, uint32_t desc_type,
747 void *hif_mem_alloc_consistent_unaligned(struct hif_softc *scn, in hif_mem_alloc_consistent_unaligned()
760 void hif_mem_free_consistent_unaligned(struct hif_softc *scn, in hif_mem_free_consistent_unaligned()
772 void hif_prealloc_get_multi_pages(struct hif_softc *scn, uint32_t desc_type, in hif_prealloc_get_multi_pages()
782 void hif_prealloc_put_multi_pages(struct hif_softc *scn, uint32_t desc_type, in hif_prealloc_put_multi_pages()
801 void hif_usb_get_hw_info(struct hif_softc *scn);
804 static inline void hif_usb_get_hw_info(struct hif_softc *scn) {} in hif_usb_get_hw_info()
818 bool hif_is_target_register_access_allowed(struct hif_softc *hif_sc);
821 hif_is_target_register_access_allowed(struct hif_softc *hif_sc) in hif_is_target_register_access_allowed()
827 bool hif_is_target_register_access_allowed(struct hif_softc *hif_sc) in hif_is_target_register_access_allowed()
834 void hif_uninit_rri_on_ddr(struct hif_softc *scn);
837 void hif_uninit_rri_on_ddr(struct hif_softc *scn) {} in hif_uninit_rri_on_ddr()
839 void hif_cleanup_static_buf_to_target(struct hif_softc *scn);
849 void hif_runtime_prevent_linkdown(struct hif_softc *scn, bool is_get);
852 void hif_runtime_prevent_linkdown(struct hif_softc *scn, bool is_get) in hif_runtime_prevent_linkdown()
858 void hif_reg_window_write(struct hif_softc *scn,
860 uint32_t hif_reg_window_read(struct hif_softc *scn, uint32_t offset);
864 void hif_delayed_reg_write(struct hif_softc *scn, uint32_t ctrl_addr,
869 static inline bool hif_is_ep_vote_access_disabled(struct hif_softc *scn) in hif_is_ep_vote_access_disabled()
880 static inline bool hif_is_ep_vote_access_disabled(struct hif_softc *scn) in hif_is_ep_vote_access_disabled()