Lines Matching refs:hif_ext_group

2154 	struct hif_exec_context *hif_ext_group;  in hif_pci_deconfigure_grp_irq()  local
2157 hif_ext_group = hif_state->hif_ext_group[i]; in hif_pci_deconfigure_grp_irq()
2158 if (hif_ext_group->irq_requested) { in hif_pci_deconfigure_grp_irq()
2159 hif_ext_group->irq_requested = false; in hif_pci_deconfigure_grp_irq()
2160 for (j = 0; j < hif_ext_group->numirq; j++) { in hif_pci_deconfigure_grp_irq()
2161 irq = hif_ext_group->os_irq[j]; in hif_pci_deconfigure_grp_irq()
2169 irq, hif_ext_group); in hif_pci_deconfigure_grp_irq()
2171 hif_ext_group->numirq = 0; in hif_pci_deconfigure_grp_irq()
3185 static void hif_exec_grp_irq_disable(struct hif_exec_context *hif_ext_group) in hif_exec_grp_irq_disable() argument
3188 struct hif_softc *scn = HIF_GET_SOFTC(hif_ext_group->hif); in hif_exec_grp_irq_disable()
3190 for (i = 0; i < hif_ext_group->numirq; i++) in hif_exec_grp_irq_disable()
3192 hif_ext_group->os_irq[i]); in hif_exec_grp_irq_disable()
3195 static void hif_exec_grp_irq_enable(struct hif_exec_context *hif_ext_group) in hif_exec_grp_irq_enable() argument
3198 struct hif_softc *scn = HIF_GET_SOFTC(hif_ext_group->hif); in hif_exec_grp_irq_enable()
3200 for (i = 0; i < hif_ext_group->numirq; i++) in hif_exec_grp_irq_enable()
3201 pfrm_enable_irq(scn->qdf_dev->dev, hif_ext_group->os_irq[i]); in hif_exec_grp_irq_enable()
3219 void hif_pci_irq_set_affinity_hint(struct hif_exec_context *hif_ext_group, in hif_pci_irq_set_affinity_hint() argument
3229 for (i = 0; i < hif_ext_group->numirq; i++) in hif_pci_irq_set_affinity_hint()
3230 qdf_cpumask_clear(&hif_ext_group->new_cpu_mask[i]); in hif_pci_irq_set_affinity_hint()
3232 for (i = 0; i < hif_ext_group->numirq; i++) { in hif_pci_irq_set_affinity_hint()
3237 &hif_ext_group-> in hif_pci_irq_set_affinity_hint()
3243 for (i = 0; i < hif_ext_group->numirq; i++) { in hif_pci_irq_set_affinity_hint()
3245 ret = hif_affinity_mgr_set_qrg_irq_affinity((struct hif_softc *)hif_ext_group->hif, in hif_pci_irq_set_affinity_hint()
3246 hif_ext_group->os_irq[i], in hif_pci_irq_set_affinity_hint()
3247 hif_ext_group->grp_id, i, in hif_pci_irq_set_affinity_hint()
3248 &hif_ext_group->new_cpu_mask[i]); in hif_pci_irq_set_affinity_hint()
3251 qdf_cpumask_pr_args(&hif_ext_group-> in hif_pci_irq_set_affinity_hint()
3253 hif_ext_group->os_irq[i]); in hif_pci_irq_set_affinity_hint()
3256 hif_ext_group->os_irq[i]); in hif_pci_irq_set_affinity_hint()
3321 struct hif_exec_context *hif_ext_group; in hif_pci_config_irq_clear_cpu_affinity() local
3325 hif_ext_group = hif_state->hif_ext_group[intr_ctxt_id]; in hif_pci_config_irq_clear_cpu_affinity()
3327 for (i = 0; i < hif_ext_group->numirq; i++) { in hif_pci_config_irq_clear_cpu_affinity()
3328 qdf_cpumask_setall(&hif_ext_group->new_cpu_mask[i]); in hif_pci_config_irq_clear_cpu_affinity()
3330 &hif_ext_group->new_cpu_mask[i]); in hif_pci_config_irq_clear_cpu_affinity()
3331 ret = hif_affinity_mgr_set_qrg_irq_affinity((struct hif_softc *)hif_ext_group->hif, in hif_pci_config_irq_clear_cpu_affinity()
3332 hif_ext_group->os_irq[i], in hif_pci_config_irq_clear_cpu_affinity()
3333 hif_ext_group->grp_id, i, in hif_pci_config_irq_clear_cpu_affinity()
3334 &hif_ext_group->new_cpu_mask[i]); in hif_pci_config_irq_clear_cpu_affinity()
3337 qdf_cpumask_pr_args(&hif_ext_group-> in hif_pci_config_irq_clear_cpu_affinity()
3339 hif_ext_group->os_irq[i]); in hif_pci_config_irq_clear_cpu_affinity()
3342 qdf_cpumask_pr_args(&hif_ext_group-> in hif_pci_config_irq_clear_cpu_affinity()
3344 hif_ext_group->os_irq[i]); in hif_pci_config_irq_clear_cpu_affinity()
3354 struct hif_exec_context *hif_ext_group; in hif_pci_config_irq_affinity() local
3359 hif_ext_group = hif_state->hif_ext_group[i]; in hif_pci_config_irq_affinity()
3360 hif_pci_irq_set_affinity_hint(hif_ext_group, true); in hif_pci_config_irq_affinity()
3377 struct hif_exec_context *hif_ext_group) in hif_grp_configure_legacyirq() argument
3387 for (j = 0; j < hif_ext_group->numirq; j++) { in hif_grp_configure_legacyirq()
3390 legacy_ic_irqname[hif_ext_group->irq[j]], in hif_grp_configure_legacyirq()
3391 hif_ext_group->irq[j], &irq); in hif_grp_configure_legacyirq()
3396 hif_ext_group->os_irq[j] = irq; in hif_grp_configure_legacyirq()
3399 hif_ext_group->irq_enable = &hif_exec_grp_irq_enable; in hif_grp_configure_legacyirq()
3400 hif_ext_group->irq_disable = &hif_exec_grp_irq_disable; in hif_grp_configure_legacyirq()
3401 hif_ext_group->irq_name = &hif_pci_get_irq_name; in hif_grp_configure_legacyirq()
3402 hif_ext_group->work_complete = &hif_dummy_grp_done; in hif_grp_configure_legacyirq()
3405 for (j = 0; j < hif_ext_group->numirq; j++) { in hif_grp_configure_legacyirq()
3406 irq = hif_ext_group->os_irq[j]; in hif_grp_configure_legacyirq()
3412 irq, hif_ext_group->grp_id); in hif_grp_configure_legacyirq()
3414 qdf_scnprintf(dp_legacy_irqname[pci_slot][hif_ext_group->irq[j]], in hif_grp_configure_legacyirq()
3416 legacy_ic_irqname[hif_ext_group->irq[j]]); in hif_grp_configure_legacyirq()
3421 dp_legacy_irqname[pci_slot][hif_ext_group->irq[j]], in hif_grp_configure_legacyirq()
3422 hif_ext_group); in hif_grp_configure_legacyirq()
3427 hif_ext_group->os_irq[j] = irq; in hif_grp_configure_legacyirq()
3429 hif_ext_group->irq_requested = true; in hif_grp_configure_legacyirq()
3443 struct hif_exec_context *hif_ext_group) in hif_grp_configure_legacyirq() argument
3450 struct hif_exec_context *hif_ext_group) in hif_pci_configure_grp_irq() argument
3459 return hif_grp_configure_legacyirq(scn, hif_ext_group); in hif_pci_configure_grp_irq()
3461 hif_ext_group->irq_enable = &hif_exec_grp_irq_enable; in hif_pci_configure_grp_irq()
3462 hif_ext_group->irq_disable = &hif_exec_grp_irq_disable; in hif_pci_configure_grp_irq()
3463 hif_ext_group->irq_name = &hif_pci_get_irq_name; in hif_pci_configure_grp_irq()
3464 hif_ext_group->work_complete = &hif_dummy_grp_done; in hif_pci_configure_grp_irq()
3467 for (j = 0; j < hif_ext_group->numirq; j++) { in hif_pci_configure_grp_irq()
3468 irq = hif_ext_group->irq[j]; in hif_pci_configure_grp_irq()
3478 irq, hif_ext_group->grp_id, irq_flags); in hif_pci_configure_grp_irq()
3480 qdf_scnprintf(dp_irqname[pci_slot][hif_ext_group->grp_id], in hif_pci_configure_grp_irq()
3482 pci_slot, hif_ext_group->grp_id); in hif_pci_configure_grp_irq()
3487 dp_irqname[pci_slot][hif_ext_group->grp_id], in hif_pci_configure_grp_irq()
3488 hif_ext_group); in hif_pci_configure_grp_irq()
3493 hif_ext_group->os_irq[j] = irq; in hif_pci_configure_grp_irq()
3494 hif_affinity_mgr_init_grp_irq(scn, hif_ext_group->grp_id, in hif_pci_configure_grp_irq()
3497 hif_ext_group->irq_requested = true; in hif_pci_configure_grp_irq()
3507 struct hif_exec_context *hif_ext_group; in hif_pci_set_grp_intr_affinity() local
3513 hif_ext_group = hif_state->hif_ext_group[i]; in hif_pci_set_grp_intr_affinity()
3514 hif_pci_irq_set_affinity_hint(hif_ext_group, perf); in hif_pci_set_grp_intr_affinity()
3515 qdf_atomic_set(&hif_ext_group->force_napi_complete, -1); in hif_pci_set_grp_intr_affinity()