Home
last modified time | relevance | path

Searched refs:irq (Results 1 – 25 of 41) sorted by relevance

12

/wlan-driver/qcacld-3.0/core/pld/src/
Dpld_pcie_fw_sim.h92 static inline int pld_pcie_fw_sim_request_irq(struct device *dev, int irq, in pld_pcie_fw_sim_request_irq() argument
114 unsigned int irq) in pld_pcie_fw_sim_enable_irq() argument
119 unsigned int irq) in pld_pcie_fw_sim_disable_irq() argument
199 static inline int pld_pcie_fw_sim_request_irq(struct device *dev, int irq, in pld_pcie_fw_sim_request_irq() argument
205 return cnss_fw_sim_request_irq(dev, irq, handler, in pld_pcie_fw_sim_request_irq()
216 int irq, void *dev_data) in pld_pcie_fw_sim_free_irq() argument
218 return cnss_fw_sim_free_irq(dev, irq, dev_data); in pld_pcie_fw_sim_free_irq()
221 static inline void pld_pcie_fw_sim_enable_irq(struct device *dev, int irq) in pld_pcie_fw_sim_enable_irq() argument
223 cnss_fw_sim_enable_irq(dev, irq); in pld_pcie_fw_sim_enable_irq()
226 static inline void pld_pcie_fw_sim_disable_irq(struct device *dev, int irq) in pld_pcie_fw_sim_disable_irq() argument
[all …]
Dpld_common.c1314 int pld_get_ce_id(struct device *dev, int irq) in pld_get_ce_id() argument
1320 ret = pld_snoc_get_ce_id(dev, irq); in pld_get_ce_id()
1323 ret = pld_snoc_fw_sim_get_ce_id(dev, irq); in pld_get_ce_id()
1326 ret = pld_pcie_get_ce_id(dev, irq); in pld_get_ce_id()
1741 int pld_srng_devm_request_irq(struct device *dev, int irq, in pld_srng_devm_request_irq() argument
1752 ret = devm_request_irq(dev, irq, handler, irqflags, in pld_srng_devm_request_irq()
1757 ret = pld_pcie_fw_sim_request_irq(dev, irq, handler, in pld_srng_devm_request_irq()
1769 ret = devm_request_irq(dev, irq, handler, irqflags, in pld_srng_devm_request_irq()
1781 int pld_srng_request_irq(struct device *dev, int irq, irq_handler_t handler, in pld_srng_request_irq() argument
1791 ret = request_irq(irq, handler, irqflags, devname, dev_data); in pld_srng_request_irq()
[all …]
Dpld_snoc_fw_sim.h80 static inline int pld_snoc_fw_sim_get_ce_id(struct device *dev, int irq) in pld_snoc_fw_sim_get_ce_id() argument
152 static inline int pld_snoc_fw_sim_get_ce_id(struct device *dev, int irq) in pld_snoc_fw_sim_get_ce_id() argument
157 return icnss_get_ce_id(dev, irq); in pld_snoc_fw_sim_get_ce_id()
Dpld_snoc.h86 static inline int pld_snoc_get_ce_id(struct device *dev, int irq) in pld_snoc_get_ce_id() argument
320 static inline int pld_snoc_get_ce_id(struct device *dev, int irq) in pld_snoc_get_ce_id() argument
325 return icnss_get_ce_id(dev, irq); in pld_snoc_get_ce_id()
Dpld_usb.h39 int pld_usb_get_ce_id(int irq);
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/
Dif_ahb.c241 int irq = 0; in hif_ahb_configure_irq_by_ceid() local
248 HIF_IC_CE0_IRQ_OFFSET + ce_id, &irq); in hif_ahb_configure_irq_by_ceid()
255 ic_irqnum[HIF_IC_CE0_IRQ_OFFSET + ce_id] = irq; in hif_ahb_configure_irq_by_ceid()
256 ret = pfrm_request_irq(&pdev->dev, irq, in hif_ahb_configure_irq_by_ceid()
303 int irq = 0; in hif_ahb_configure_grp_irq() local
314 ic_irqname[hif_ext_group->irq[j]], in hif_ahb_configure_grp_irq()
315 hif_ext_group->irq[j], &irq); in hif_ahb_configure_grp_irq()
321 ic_irqnum[hif_ext_group->irq[j]] = irq; in hif_ahb_configure_grp_irq()
322 hif_ext_group->os_irq[j] = irq; in hif_ahb_configure_grp_irq()
326 irq = hif_ext_group->os_irq[j]; in hif_ahb_configure_grp_irq()
[all …]
Dif_snoc.c488 int ret, irq; in hif_snoc_ce_dp_irq_set_affinity_hint() local
515 irq = pld_get_irq(scn->qdf_dev->dev, ce_id); in hif_snoc_ce_dp_irq_set_affinity_hint()
516 ret = hif_affinity_mgr_set_ce_irq_affinity(scn, irq, ce_id, in hif_snoc_ce_dp_irq_set_affinity_hint()
520 qdf_cpumask_pr_args(&updated_mask), irq); in hif_snoc_ce_dp_irq_set_affinity_hint()
523 qdf_cpumask_pr_args(&updated_mask), irq); in hif_snoc_ce_dp_irq_set_affinity_hint()
Dif_ahb.h53 irqreturn_t hif_ahb_interrupt_handler(int irq, void *context);
/wlan-driver/qca-wifi-host-cmn/hif/src/ipcie/
Dif_ipci.c162 int ce_id, irq; in hif_ce_srng_msi_free_irq() local
184 irq = pld_get_msi_irq(scn->qdf_dev->dev, msi_data); in hif_ce_srng_msi_free_irq()
186 hif_ce_irq_remove_affinity_hint(irq); in hif_ce_srng_msi_free_irq()
189 ce_id, msi_data, irq); in hif_ce_srng_msi_free_irq()
191 pfrm_free_irq(scn->qdf_dev->dev, irq, &ce_sc->tasklets[ce_id]); in hif_ce_srng_msi_free_irq()
205 int i, j, irq; in hif_ipci_deconfigure_grp_irq() local
214 irq = hif_ext_group->os_irq[j]; in hif_ipci_deconfigure_grp_irq()
216 irq, hif_ext_group); in hif_ipci_deconfigure_grp_irq()
407 static irqreturn_t hif_ce_interrupt_handler(int irq, void *context) in hif_ce_interrupt_handler() argument
451 int ce_id, irq; in hif_ce_msi_configure_irq() local
[all …]
Dhif_io32_ipci.h49 irqreturn_t hif_fw_interrupt_handler(int irq, void *arg);
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_exec.h85 uint32_t irq[HIF_MAX_GRP_IRQ]; member
163 irqreturn_t hif_ext_group_interrupt_handler(int irq, void *context);
208 static inline void hif_ce_irq_remove_affinity_hint(int irq) in hif_ce_irq_remove_affinity_hint() argument
210 hif_irq_affinity_remove(irq); in hif_ce_irq_remove_affinity_hint()
219 static inline void hif_ce_irq_remove_affinity_hint(int irq) in hif_ce_irq_remove_affinity_hint() argument
Dhif_exec.c955 hif_check_and_trigger_sys_resume(struct hif_softc *scn, int irq) in hif_check_and_trigger_sys_resume() argument
958 hif_info_rl("interrupt rcvd:%d trigger sys resume", irq); in hif_check_and_trigger_sys_resume()
972 irqreturn_t hif_ext_group_interrupt_handler(int irq, void *context) in hif_ext_group_interrupt_handler() argument
1002 hif_check_and_trigger_sys_resume(scn, irq); in hif_ext_group_interrupt_handler()
1058 uint32_t numirq, uint32_t irq[], in hif_register_ext_group() argument
1090 qdf_mem_copy(&hif_ext_group->irq[0], irq, numirq * sizeof(irq[0])); in hif_register_ext_group()
1205 static irqreturn_t hif_umac_reset_irq_handler(int irq, void *ctx) in hif_umac_reset_irq_handler() argument
1239 void *cb_ctx, int irq) in hif_register_umac_reset_handler() argument
1255 umac_reset_ctx->os_irq = irq; in hif_register_umac_reset_handler()
1263 ret = pfrm_request_irq(hif_sc->qdf_dev->dev, irq, in hif_register_umac_reset_handler()
Dhif_napi.c200 napii->irq = pld_get_irq(hif->qdf_dev->dev, i); in hif_napi_create()
202 if (napii->irq < 0) in hif_napi_create()
203 hif_warn("bad IRQ value for CE %d: %d", i, napii->irq); in hif_napi_create()
684 qdf_dev_set_irq_affinity(napii->irq, in hif_napi_event()
1131 qdf_dev_modify_irq_status(napi_info->irq, in hif_napi_correct_cpu()
1133 ret = qdf_dev_set_irq_affinity(napi_info->irq, in hif_napi_correct_cpu()
1137 qdf_dev_modify_irq_status(napi_info->irq, 0, in hif_napi_correct_cpu()
1215 __func__, napi_info->id, napi_info->irq, budget);
1785 qdf_dev_modify_irq_status(napid->napis[napi_ce]->irq,
1787 status = qdf_dev_set_irq_affinity(napid->napis[napi_ce]->irq,
[all …]
Dhif_main.c2964 irqreturn_t hif_wake_interrupt_handler(int irq, void *context) in hif_wake_interrupt_handler() argument
2968 hif_info("wake interrupt received on irq %d", irq); in hif_wake_interrupt_handler()
3196 status = hif_irq_set_affinity_hint(cfg->irq, in hif_check_and_affine_irq()
3279 hif_affinity_mgr_set_irq_affinity(struct hif_softc *scn, uint32_t irq, in hif_affinity_mgr_set_irq_affinity() argument
3295 status = hif_irq_set_affinity_hint(irq, cpu_mask); in hif_affinity_mgr_set_irq_affinity()
3318 hif_affinity_mgr_set_qrg_irq_affinity(struct hif_softc *scn, uint32_t irq, in hif_affinity_mgr_set_qrg_irq_affinity() argument
3325 return hif_irq_set_affinity_hint(irq, cpu_mask); in hif_affinity_mgr_set_qrg_irq_affinity()
3328 return hif_affinity_mgr_set_irq_affinity(scn, irq, cfg, cpu_mask); in hif_affinity_mgr_set_qrg_irq_affinity()
3332 hif_affinity_mgr_set_ce_irq_affinity(struct hif_softc *scn, uint32_t irq, in hif_affinity_mgr_set_ce_irq_affinity() argument
3338 return hif_irq_set_affinity_hint(irq, cpu_mask); in hif_affinity_mgr_set_ce_irq_affinity()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/
Dif_pci.c293 irqreturn_t hif_pci_legacy_ce_interrupt_handler(int irq, void *arg) in hif_pci_legacy_ce_interrupt_handler() argument
405 sc->irq_event = irq; in hif_pci_legacy_ce_interrupt_handler()
422 int hif_get_irq_num(struct hif_opaque_softc *scn, int *irq, uint32_t size) in hif_get_irq_num() argument
427 if (!irq || !size) { in hif_get_irq_num()
432 irq[0] = sc->irq; in hif_get_irq_num()
442 irq[i] = sc->irq + i + MSI_ASSIGN_CE_INITIAL; in hif_get_irq_num()
2071 ret = request_irq(sc->pdev->irq, in hif_pci_configure_legacy_irq()
2078 scn->wake_irq = sc->pdev->irq; in hif_pci_configure_legacy_irq()
2082 sc->irq = sc->pdev->irq; in hif_pci_configure_legacy_irq()
2111 int ce_id, irq; in hif_ce_srng_free_irq() local
[all …]
Dif_pci.h137 int irq; member
167 irqreturn_t hif_pci_legacy_ce_interrupt_handler(int irq, void *arg);
Dhif_io32_pci.h71 irqreturn_t hif_fw_interrupt_handler(int irq, void *arg);
/wlan-driver/qcacld-3.0/core/pld/inc/
Dpld_common.h1343 int pld_get_ce_id(struct device *dev, int irq);
1753 int pld_srng_devm_request_irq(struct device *dev, int irq,
1771 int pld_srng_request_irq(struct device *dev, int irq, irq_handler_t handler,
1785 int pld_srng_free_irq(struct device *dev, int irq, void *ctx);
1794 void pld_srng_enable_irq(struct device *dev, int irq);
1803 void pld_srng_disable_irq(struct device *dev, int irq);
1812 void pld_srng_disable_irq_sync(struct device *dev, int irq);
2038 static inline int pfrm_free_irq(struct device *dev, int irq, void *ctx) in pfrm_free_irq() argument
2040 return pld_srng_free_irq(dev, irq, ctx); in pfrm_free_irq()
2043 static inline void pfrm_enable_irq(struct device *dev, int irq) in pfrm_enable_irq() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/dispatcher/
Dmultibus.c484 int irq = scn->bus_ops.hif_map_ce_to_irq(scn, i); in hif_apps_irqs_disable() local
486 if (irq != scn->wake_irq) in hif_apps_irqs_disable()
487 disable_irq(irq); in hif_apps_irqs_disable()
508 int irq = scn->bus_ops.hif_map_ce_to_irq(scn, i); in hif_apps_irqs_enable() local
510 if (irq != scn->wake_irq) in hif_apps_irqs_enable()
511 enable_irq(irq); 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() local
582 if (irq != scn->wake_irq) in hif_apps_disable_irqs_except_wake_irq()
583 disable_irq(irq); 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() local
[all …]
/wlan-driver/qca-wifi-host-cmn/qal/inc/
Dqal_vbus_dev.h124 irqreturn_t (*handler)(int irq, void *arg),
242 qal_vbus_get_irq(struct qdf_pfm_hndl *pfhndl, const char *str, int *irq);
347 irqreturn_t (*handler)(int irq, void *arg), in qal_vbus_request_irq() argument
408 qal_vbus_get_irq(struct qdf_pfm_hndl *pfhndl, const char *str, int *irq) in qal_vbus_get_irq() argument
410 return __qal_vbus_get_irq(pfhndl, str, irq); in qal_vbus_get_irq()
/wlan-driver/platform/icnss2/
Dmain.c559 static irqreturn_t fw_error_fatal_handler(int irq, void *ctx) in fw_error_fatal_handler() argument
571 static irqreturn_t fw_crash_indication_handler(int irq, void *ctx) in fw_crash_indication_handler() argument
604 int irq = 0, ret = 0; in register_fw_error_notifications() local
618 ret = irq = of_irq_get_byname(dev_node, in register_fw_error_notifications()
622 irq); in register_fw_error_notifications()
627 ret = devm_request_threaded_irq(dev, irq, NULL, fw_error_fatal_handler, in register_fw_error_notifications()
632 irq, ret); in register_fw_error_notifications()
635 icnss_pr_dbg("FW force error fatal handler registered irq = %d\n", irq); in register_fw_error_notifications()
636 priv->fw_error_fatal_irq = irq; in register_fw_error_notifications()
643 int irq = 0, ret = 0; in register_early_crash_notifications() local
[all …]
/wlan-driver/qca-wifi-host-cmn/qal/linux/src/
Di_qal_vbus_dev.h167 irqreturn_t (*handler)(int irq, void *arg), in __qal_vbus_request_irq() argument
338 __qal_vbus_get_irq(struct qdf_pfm_hndl *pfhndl, const char *str, int *irq) in __qal_vbus_get_irq() argument
340 *irq = platform_get_irq_byname((struct platform_device *)pfhndl, str); in __qal_vbus_get_irq()
342 if (*irq < 0) in __qal_vbus_get_irq()
/wlan-driver/qca-wifi-host-cmn/hif/inc/
Dhif.h363 int irq; member
652 int irq; member
2037 int hif_get_irq_num(struct hif_opaque_softc *scn, int *irq, uint32_t size);
2129 uint32_t numirq, uint32_t irq[],
2774 void *cb_ctx, int irq);
2790 void *cb_ctx, int irq) in hif_register_umac_reset_handler() argument
2897 hif_affinity_mgr_init_ce_irq(struct hif_softc *scn, int id, int irq);
2910 int irq_num, int irq);
2923 hif_affinity_mgr_set_qrg_irq_affinity(struct hif_softc *scn, uint32_t irq,
2937 hif_affinity_mgr_set_ce_irq_affinity(struct hif_softc *scn, uint32_t irq,
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
Ddp_be.c1663 if (srng->irq >= 0) { in dp_free_ppeds_interrupts()
1664 qdf_dev_clear_irq_status_flags(srng->irq, IRQ_DISABLE_UNLAZY); in dp_free_ppeds_interrupts()
1667 pld_pfrm_free_irq(soc->osdev->dev, srng->irq, soc); in dp_free_ppeds_interrupts()
1669 pld_pfrm_free_irq(soc->osdev->dev, srng->irq, in dp_free_ppeds_interrupts()
1678 int irq = -1, ret = 0; in dp_register_ppeds_interrupts() local
1682 srng->irq = -1; in dp_register_ppeds_interrupts()
1683 irq = pld_get_msi_irq(soc->osdev->dev, vector); in dp_register_ppeds_interrupts()
1684 qdf_dev_set_irq_status_flags(irq, IRQ_DISABLE_UNLAZY); in dp_register_ppeds_interrupts()
1691 ret = pld_pfrm_request_irq(soc->osdev->dev, irq, in dp_register_ppeds_interrupts()
1701 ret = pld_pfrm_request_irq(soc->osdev->dev, irq, in dp_register_ppeds_interrupts()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
Dce_tasklet.h40 irqreturn_t ce_dispatch_interrupt(int irq,

12