Lines Matching refs:hif_softc
27 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);
41 int (*hif_bus_resume_noirq)(struct hif_softc *hif_ctx);
42 int (*hif_target_sleep_state_adjust)(struct hif_softc *scn,
44 void (*hif_disable_isr)(struct hif_softc *hif_sc);
45 void (*hif_nointrs)(struct hif_softc *hif_sc);
46 QDF_STATUS (*hif_enable_bus)(struct hif_softc *hif_sc,
51 void (*hif_disable_bus)(struct hif_softc *hif_sc);
52 int (*hif_bus_configure)(struct hif_softc *hif_sc);
53 QDF_STATUS (*hif_get_config_item)(struct hif_softc *hif_sc,
55 void (*hif_set_mailbox_swap)(struct hif_softc *hif_sc);
56 void (*hif_claim_device)(struct hif_softc *hif_sc);
57 void (*hif_shutdown_device)(struct hif_softc *hif_sc);
58 void (*hif_stop)(struct hif_softc *hif_sc);
59 void (*hif_cancel_deferred_target_sleep)(struct hif_softc *hif_sc);
60 void (*hif_irq_disable)(struct hif_softc *hif_sc, int ce_id);
61 void (*hif_irq_enable)(struct hif_softc *hif_sc, int ce_id);
62 int (*hif_grp_irq_configure)(struct hif_softc *hif_sc,
64 void (*hif_grp_irq_deconfigure)(struct hif_softc *hif_sc);
65 int (*hif_dump_registers)(struct hif_softc *hif_sc);
66 void (*hif_dump_target_memory)(struct hif_softc *hif_sc,
69 uint32_t (*hif_reg_read32)(struct hif_softc *hif_sc,
71 void (*hif_reg_write32)(struct hif_softc *hif_sc,
74 void (*hif_ipa_get_ce_resource)(struct hif_softc *hif_sc,
78 void (*hif_mask_interrupt_call)(struct hif_softc *hif_sc);
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);
84 void (*hif_set_bundle_mode)(struct hif_softc *hif_ctx, bool enabled,
86 int (*hif_bus_reset_resume)(struct hif_softc *hif_ctx);
87 int (*hif_map_ce_to_irq)(struct hif_softc *hif_sc, int ce_id);
88 int (*hif_addr_in_boundary)(struct hif_softc *scn, uint32_t offset);
89 bool (*hif_needs_bmi)(struct hif_softc *hif_sc);
90 void (*hif_config_irq_affinity)(struct hif_softc *hif_sc);
91 int (*hif_config_irq_by_ceid)(struct hif_softc *hif_sc, int ce_id);
92 void (*hif_config_irq_clear_cpu_affinity)(struct hif_softc *hif_sc,
94 bool (*hif_log_bus_info)(struct hif_softc *scn, uint8_t *data,
96 int (*hif_enable_grp_irqs)(struct hif_softc *scn);
97 int (*hif_disable_grp_irqs)(struct hif_softc *scn);
99 void (*hif_set_grp_intr_affinity)(struct hif_softc *scn,
102 void (*hif_affinity_mgr_set_affinity)(struct hif_softc *scn);
126 QDF_STATUS hif_initialize_pci_ops(struct hif_softc *hif_sc);
127 QDF_STATUS hif_update_irq_ops_with_pci(struct hif_softc *hif_sc);
130 static inline QDF_STATUS hif_initialize_pci_ops(struct hif_softc *hif_sc) in hif_initialize_pci_ops()
137 QDF_STATUS hif_update_irq_ops_with_pci(struct hif_softc *hif_sc) in hif_update_irq_ops_with_pci()
160 QDF_STATUS hif_initialize_ipci_ops(struct hif_softc *hif_sc);
169 static inline QDF_STATUS hif_initialize_ipci_ops(struct hif_softc *hif_sc) in hif_initialize_ipci_ops()
214 QDF_STATUS hif_initialize_sdio_ops(struct hif_softc *hif_sc);
224 static inline QDF_STATUS hif_initialize_sdio_ops(struct hif_softc *hif_sc) in hif_initialize_sdio_ops()
241 int hif_grp_irq_configure(struct hif_softc *hif_sc,
243 void hif_grp_irq_deconfigure(struct hif_softc *hif_sc);
273 void hif_config_irq_affinity(struct hif_softc *hif_sc);
282 int hif_config_irq_by_ceid(struct hif_softc *hif_sc, int ce_id);
293 bool hif_log_bus_info(struct hif_softc *scn, uint8_t *data,
297 bool hif_log_bus_info(struct hif_softc *scn, uint8_t *data, in hif_log_bus_info()