Lines Matching refs:scn

389 void hif_display_bus_stats(struct hif_opaque_softc *scn)  in hif_display_bus_stats()  argument
391 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_display_bus_stats()
396 void hif_clear_bus_stats(struct hif_opaque_softc *scn) in hif_clear_bus_stats() argument
398 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_clear_bus_stats()
444 void hif_set_bundle_mode(struct hif_opaque_softc *scn, bool enabled, in hif_set_bundle_mode() argument
447 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_set_bundle_mode()
462 int hif_bus_reset_resume(struct hif_opaque_softc *scn) in hif_bus_reset_resume() argument
464 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_bus_reset_resume()
471 struct hif_softc *scn; in hif_apps_irqs_disable() local
475 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_irqs_disable()
476 if (!scn) in hif_apps_irqs_disable()
479 if (pld_is_one_msi(scn->qdf_dev->dev)) in hif_apps_irqs_disable()
483 for (i = 0; i < scn->ce_count; ++i) { in hif_apps_irqs_disable()
484 int irq = scn->bus_ops.hif_map_ce_to_irq(scn, i); in hif_apps_irqs_disable()
486 if (irq != scn->wake_irq) in hif_apps_irqs_disable()
495 struct hif_softc *scn; in hif_apps_irqs_enable() local
499 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_irqs_enable()
500 if (!scn) in hif_apps_irqs_enable()
503 if (pld_is_one_msi(scn->qdf_dev->dev)) in hif_apps_irqs_enable()
507 for (i = 0; i < scn->ce_count; ++i) { in hif_apps_irqs_enable()
508 int irq = scn->bus_ops.hif_map_ce_to_irq(scn, i); in hif_apps_irqs_enable()
510 if (irq != scn->wake_irq) in hif_apps_irqs_enable()
519 struct hif_softc *scn; in hif_apps_wake_irq_disable() local
522 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_wake_irq_disable()
523 if (!scn) in hif_apps_wake_irq_disable()
526 disable_irq(scn->wake_irq); in hif_apps_wake_irq_disable()
533 struct hif_softc *scn; in hif_apps_wake_irq_enable() local
536 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_wake_irq_enable()
537 if (!scn) in hif_apps_wake_irq_enable()
540 enable_irq(scn->wake_irq); in hif_apps_wake_irq_enable()
547 struct hif_softc *scn; in hif_apps_disable_irq_wake() local
550 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_disable_irq_wake()
551 if (!scn) in hif_apps_disable_irq_wake()
554 return disable_irq_wake(scn->wake_irq); in hif_apps_disable_irq_wake()
559 struct hif_softc *scn; in hif_apps_enable_irq_wake() local
562 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_enable_irq_wake()
563 if (!scn) in hif_apps_enable_irq_wake()
566 return enable_irq_wake(scn->wake_irq); in hif_apps_enable_irq_wake()
571 struct hif_softc *scn; in hif_apps_disable_irqs_except_wake_irq() local
575 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_disable_irqs_except_wake_irq()
576 if (!scn) in hif_apps_disable_irqs_except_wake_irq()
579 for (i = 0; i < scn->ce_count; ++i) { in hif_apps_disable_irqs_except_wake_irq()
580 int irq = scn->bus_ops.hif_map_ce_to_irq(scn, i); in hif_apps_disable_irqs_except_wake_irq()
582 if (irq != scn->wake_irq) in hif_apps_disable_irqs_except_wake_irq()
591 struct hif_softc *scn; in hif_apps_enable_irqs_except_wake_irq() local
595 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_enable_irqs_except_wake_irq()
596 if (!scn) in hif_apps_enable_irqs_except_wake_irq()
599 for (i = 0; i < scn->ce_count; ++i) { in hif_apps_enable_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()
602 if (irq != scn->wake_irq) in hif_apps_enable_irqs_except_wake_irq()
610 bool hif_needs_bmi(struct hif_opaque_softc *scn) in hif_needs_bmi() argument
612 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_needs_bmi()
630 void hif_config_irq_clear_cpu_affinity(struct hif_opaque_softc *scn, in hif_config_irq_clear_cpu_affinity() argument
633 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_config_irq_clear_cpu_affinity()
656 struct hif_softc *scn; in hif_apps_grp_irqs_enable() local
660 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_grp_irqs_enable()
661 if (!scn) in hif_apps_grp_irqs_enable()
670 pfrm_enable_irq(scn->qdf_dev->dev, in hif_apps_grp_irqs_enable()
680 struct hif_softc *scn; in hif_apps_grp_irqs_disable() local
684 scn = HIF_GET_SOFTC(hif_ctx); in hif_apps_grp_irqs_disable()
685 if (!scn) in hif_apps_grp_irqs_disable()
694 pfrm_disable_irq(scn->qdf_dev->dev, in hif_apps_grp_irqs_disable()
701 int hif_disable_grp_irqs(struct hif_opaque_softc *scn) in hif_disable_grp_irqs() argument
703 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_disable_grp_irqs()
708 int hif_enable_grp_irqs(struct hif_opaque_softc *scn) in hif_enable_grp_irqs() argument
710 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_enable_grp_irqs()
716 void hif_set_grp_intr_affinity(struct hif_opaque_softc *scn, in hif_set_grp_intr_affinity() argument
719 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_set_grp_intr_affinity()
729 void hif_affinity_mgr_set_affinity(struct hif_opaque_softc *scn) in hif_affinity_mgr_set_affinity() argument
731 struct hif_softc *hif_sc = HIF_GET_SOFTC(scn); in hif_affinity_mgr_set_affinity()