Lines Matching refs:scn
144 #define HIF_GET_PCI_SOFTC(scn) ((struct hif_pci_softc *)scn) argument
145 #define HIF_GET_IPCI_SOFTC(scn) ((struct hif_ipci_softc *)scn) argument
146 #define HIF_GET_CE_STATE(scn) ((struct HIF_CE_state *)scn) argument
147 #define HIF_GET_SDIO_SOFTC(scn) ((struct hif_sdio_softc *)scn) argument
148 #define HIF_GET_USB_SOFTC(scn) ((struct hif_usb_softc *)scn) argument
149 #define HIF_GET_USB_DEVICE(scn) ((struct HIF_DEVICE_USB *)scn) argument
150 #define HIF_GET_SOFTC(scn) ((struct hif_softc *)scn) argument
151 #define GET_HIF_OPAQUE_HDL(scn) ((struct hif_opaque_softc *)scn) argument
574 static inline int hif_get_num_active_tasklets(struct hif_softc *scn) in hif_get_num_active_tasklets() argument
576 return qdf_atomic_read(&scn->active_tasklet_cnt); 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() argument
588 return qdf_atomic_read(&scn->active_oom_work_cnt); in hif_get_num_active_oom_work()
612 QDF_STATUS hif_try_complete_tasks(struct hif_softc *scn);
635 struct hif_softc *scn = (struct hif_softc *)hif_handle; in hif_set_event_hist_mask() local
637 scn->event_enable_mask = HIF_EVENT_HIST_ENABLE_MASK; 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);
647 void hif_display_bus_stats(struct hif_opaque_softc *scn);
648 void hif_clear_bus_stats(struct hif_opaque_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);
660 int athdiag_procfs_init(void *scn);
672 void hif_nointrs(struct hif_softc *scn);
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() argument
753 return qdf_mem_alloc_consistent(scn->qdf_dev, in hif_mem_alloc_consistent_unaligned()
754 scn->qdf_dev->dev, in hif_mem_alloc_consistent_unaligned()
760 void hif_mem_free_consistent_unaligned(struct hif_softc *scn, in hif_mem_free_consistent_unaligned() argument
767 return qdf_mem_free_consistent(scn->qdf_dev, scn->qdf_dev->dev, 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() argument
777 qdf_mem_multi_pages_alloc(scn->qdf_dev, pages, 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() argument
786 qdf_mem_multi_pages_free(scn->qdf_dev, pages, 0, in hif_prealloc_put_multi_pages()
799 void hif_ramdump_handler(struct hif_opaque_softc *scn);
801 void hif_usb_get_hw_info(struct hif_softc *scn);
802 void hif_usb_ramdump_handler(struct hif_opaque_softc *scn);
804 static inline void hif_usb_get_hw_info(struct hif_softc *scn) {} in hif_usb_get_hw_info() argument
805 static inline void hif_usb_ramdump_handler(struct hif_opaque_softc *scn) {} in hif_usb_ramdump_handler() argument
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() argument
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() argument
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() argument
871 if ((qdf_atomic_read(&scn->dp_ep_vote_access) == in hif_is_ep_vote_access_disabled()
873 (qdf_atomic_read(&scn->ep_vote_access) == 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() argument