Lines Matching refs:bus_ops
46 struct hif_bus_ops *bus_ops = &hif_sc->bus_ops; in hif_initialize_default_ops() local
49 bus_ops->hif_bus_close = NULL; in hif_initialize_default_ops()
51 bus_ops->hif_display_stats = in hif_initialize_default_ops()
53 bus_ops->hif_clear_stats = in hif_initialize_default_ops()
55 bus_ops->hif_set_bundle_mode = &hif_dummy_set_bundle_mode; in hif_initialize_default_ops()
56 bus_ops->hif_bus_reset_resume = &hif_dummy_bus_reset_resume; in hif_initialize_default_ops()
57 bus_ops->hif_bus_suspend_noirq = &hif_dummy_bus_suspend_noirq; in hif_initialize_default_ops()
58 bus_ops->hif_bus_resume_noirq = &hif_dummy_bus_resume_noirq; in hif_initialize_default_ops()
59 bus_ops->hif_bus_early_suspend = &hif_dummy_bus_suspend; in hif_initialize_default_ops()
60 bus_ops->hif_bus_late_resume = &hif_dummy_bus_resume; in hif_initialize_default_ops()
61 bus_ops->hif_map_ce_to_irq = &hif_dummy_map_ce_to_irq; in hif_initialize_default_ops()
62 bus_ops->hif_grp_irq_configure = &hif_dummy_grp_irq_configure; in hif_initialize_default_ops()
63 bus_ops->hif_grp_irq_deconfigure = &hif_dummy_grp_irq_deconfigure; in hif_initialize_default_ops()
64 bus_ops->hif_config_irq_affinity = in hif_initialize_default_ops()
66 bus_ops->hif_config_irq_by_ceid = &hif_dummy_config_irq_by_ceid; in hif_initialize_default_ops()
67 bus_ops->hif_enable_grp_irqs = &hif_dummy_enable_grp_irqs; in hif_initialize_default_ops()
68 bus_ops->hif_disable_grp_irqs = &hif_dummy_enable_grp_irqs; in hif_initialize_default_ops()
69 bus_ops->hif_config_irq_clear_cpu_affinity = in hif_initialize_default_ops()
72 bus_ops->hif_set_grp_intr_affinity = &hif_dummy_set_grp_intr_affinity; in hif_initialize_default_ops()
74 bus_ops->hif_affinity_mgr_set_affinity = in hif_initialize_default_ops()
92 struct hif_bus_ops *bus_ops = &hif_sc->bus_ops; in hif_verify_basic_ops() local
93 void **ops_array = (void *)bus_ops; in hif_verify_basic_ops()
154 status = hif_initialize_snoc_ops(&hif_sc->bus_ops); in hif_bus_open()
157 status = hif_initialize_ahb_ops(&hif_sc->bus_ops); in hif_bus_open()
163 status = hif_initialize_usb_ops(&hif_sc->bus_ops); in hif_bus_open()
179 return hif_sc->bus_ops.hif_bus_open(hif_sc, bus_type); in hif_bus_open()
188 hif_sc->bus_ops.hif_bus_close(hif_sc); in hif_bus_close()
200 hif_sc->bus_ops.hif_bus_prevent_linkdown(hif_sc, flag); in hif_bus_prevent_linkdown()
208 hif_sc->bus_ops.hif_reset_soc(hif_sc); in hif_reset_soc()
215 return hif_sc->bus_ops.hif_bus_early_suspend(hif_sc); in hif_bus_early_suspend()
222 return hif_sc->bus_ops.hif_bus_late_resume(hif_sc); in hif_bus_late_resume()
229 return hif_sc->bus_ops.hif_bus_suspend(hif_sc); in hif_bus_suspend()
236 return hif_sc->bus_ops.hif_bus_resume(hif_sc); in hif_bus_resume()
243 return hif_sc->bus_ops.hif_bus_suspend_noirq(hif_sc); in hif_bus_suspend_noirq()
250 return hif_sc->bus_ops.hif_bus_resume_noirq(hif_sc); in hif_bus_resume_noirq()
256 return hif_sc->bus_ops.hif_target_sleep_state_adjust(hif_sc, in hif_target_sleep_state_adjust()
265 hif_sc->bus_ops.hif_disable_isr(hif_sc); in hif_disable_isr()
270 hif_sc->bus_ops.hif_nointrs(hif_sc); in hif_nointrs()
277 return hif_sc->bus_ops.hif_enable_bus(hif_sc, dev, bdev, bid, type); in hif_enable_bus()
282 hif_sc->bus_ops.hif_disable_bus(hif_sc); in hif_disable_bus()
287 return hif_sc->bus_ops.hif_bus_configure(hif_sc); in hif_bus_configure()
295 return hif_sc->bus_ops.hif_get_config_item(hif_sc, opcode, config, in hif_get_config_item()
303 hif_sc->bus_ops.hif_set_mailbox_swap(hif_sc); in hif_set_mailbox_swap()
310 hif_sc->bus_ops.hif_claim_device(hif_sc); in hif_claim_device()
317 hif_sc->bus_ops.hif_shutdown_device(hif_sc); in hif_shutdown_device()
324 hif_sc->bus_ops.hif_stop(hif_sc); in hif_stop()
329 return hif_sc->bus_ops.hif_cancel_deferred_target_sleep(hif_sc); in hif_cancel_deferred_target_sleep()
334 hif_sc->bus_ops.hif_irq_enable(hif_sc, irq_id); in hif_irq_enable()
340 hif_sc->bus_ops.hif_irq_disable(hif_sc, irq_id); in hif_irq_disable()
346 return hif_sc->bus_ops.hif_grp_irq_configure(hif_sc, hif_exec); in hif_grp_irq_configure()
351 hif_sc->bus_ops.hif_grp_irq_deconfigure(hif_sc); in hif_grp_irq_deconfigure()
358 return hif_sc->bus_ops.hif_dump_registers(hif_sc); in hif_dump_registers()
367 hif_sc->bus_ops.hif_dump_target_memory(hif_sc, ramdump_base, in hif_dump_target_memory()
378 hif_sc->bus_ops.hif_ipa_get_ce_resource(hif_sc, ce_sr, in hif_ipa_get_ce_resource()
386 hif_sc->bus_ops.hif_mask_interrupt_call(hif_sc); in hif_mask_interrupt_call()
393 hif_sc->bus_ops.hif_display_stats(hif_sc); in hif_display_bus_stats()
400 hif_sc->bus_ops.hif_clear_stats(hif_sc); in hif_clear_bus_stats()
417 hif_sc->bus_ops.hif_enable_power_management(hif_sc, in hif_enable_power_management()
433 hif_sc->bus_ops.hif_disable_power_management(hif_sc); in hif_disable_power_management()
449 hif_sc->bus_ops.hif_set_bundle_mode(hif_sc, enabled, rx_bundle_cnt); in hif_set_bundle_mode()
466 return hif_sc->bus_ops.hif_bus_reset_resume(hif_sc); in hif_bus_reset_resume()
484 int irq = scn->bus_ops.hif_map_ce_to_irq(scn, i); in hif_apps_irqs_disable()
508 int irq = scn->bus_ops.hif_map_ce_to_irq(scn, i); in hif_apps_irqs_enable()
580 int irq = scn->bus_ops.hif_map_ce_to_irq(scn, i); in hif_apps_disable_irqs_except_wake_irq()
600 int irq = scn->bus_ops.hif_map_ce_to_irq(scn, i); in hif_apps_enable_irqs_except_wake_irq()
614 return hif_sc->bus_ops.hif_needs_bmi(hif_sc); in hif_needs_bmi()
621 hif_sc->bus_ops.hif_config_irq_affinity(hif_sc); in hif_config_irq_affinity()
626 return hif_sc->bus_ops.hif_config_irq_by_ceid(hif_sc, ce_id); in hif_config_irq_by_ceid()
635 hif_sc->bus_ops.hif_config_irq_clear_cpu_affinity(hif_sc, in hif_config_irq_clear_cpu_affinity()
646 if (hif_sc->bus_ops.hif_log_bus_info) in hif_log_bus_info()
647 return hif_sc->bus_ops.hif_log_bus_info(hif_sc, data, offset); in hif_log_bus_info()
705 return hif_sc->bus_ops.hif_disable_grp_irqs(hif_sc); in hif_disable_grp_irqs()
712 return hif_sc->bus_ops.hif_enable_grp_irqs(hif_sc); in hif_enable_grp_irqs()
724 hif_sc->bus_ops.hif_set_grp_intr_affinity(hif_sc, grp_intr_bitmask, in hif_set_grp_intr_affinity()
736 if (!hif_sc->bus_ops.hif_affinity_mgr_set_affinity) in hif_affinity_mgr_set_affinity()
739 hif_sc->bus_ops.hif_affinity_mgr_set_affinity(hif_sc); in hif_affinity_mgr_set_affinity()