/linux-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | irq.c | 30 static inline irq_ID_t virq_get_irq_id(const enum virq_id irq_ID, 81 const unsigned int irq_id) in irq_enable_channel() argument 89 unsigned int me = 1U << irq_id; in irq_enable_channel() 92 assert(irq_id < IRQ_N_CHANNEL[ID]); in irq_enable_channel() 138 const unsigned int irq_id) in irq_disable_channel() argument 144 unsigned int me = 1U << irq_id; in irq_disable_channel() 147 assert(irq_id < IRQ_N_CHANNEL[ID]); in irq_disable_channel() 169 unsigned int *irq_id) in irq_get_channel_id() argument 177 assert(irq_id); in irq_get_channel_id() 196 if (irq_id) in irq_get_channel_id() [all …]
|
D | gp_timer_local.h | 36 #define _REG_GP_TIMER_IRQ_TRIGGER_VALUE_ID(irq_id) HIVE_GP_TIMER_IRQ_TRIGGER_VALUE_REG_IDX(irq_id, … argument 38 #define _REG_GP_TIMER_IRQ_TIMER_SELECT_ID(irq_id) \ argument 39 HIVE_GP_TIMER_IRQ_TIMER_SELECT_REG_IDX(irq_id, HIVE_GP_TIMER_NUM_COUNTERS, HIVE_GP_TIMER_NUM_IRQS) 41 #define _REG_GP_TIMER_IRQ_ENABLE_ID(irq_id) \ argument 42 HIVE_GP_TIMER_IRQ_ENABLE_REG_IDX(irq_id, HIVE_GP_TIMER_NUM_COUNTERS, HIVE_GP_TIMER_NUM_IRQS)
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
D | irq_public.h | 52 \return none, enable(IRQ[ID].channel[irq_ID]) 56 const unsigned int irq_ID); 74 \return none, disable(IRQ[ID].channel[irq_ID]) 92 \param irq_id[out] active IRQ (channel) identifier 102 unsigned int *irq_id); 104 /*! Raise an interrupt on channel irq_id of device IRQ[ID] 107 \param irq_id[in] IRQ (channel) identifier 109 \return none, signal(IRQ[ID].channel[irq_id]) 113 const irq_sw_channel_id_t irq_id); 117 \return any(VIRQ.channel[irq_ID] != 0) [all …]
|
/linux-6.12.1/drivers/misc/ocxl/ |
D | trace.h | 174 TP_PROTO(int pasid, int irq_id, unsigned int virq, int hw_irq), 175 TP_ARGS(pasid, irq_id, virq, hw_irq), 179 __field(int, irq_id) 186 __entry->irq_id = irq_id; 191 TP_printk("pasid=0x%x irq_id=%d virq=%u hw_irq=%d", 193 __entry->irq_id, 200 TP_PROTO(int pasid, int irq_id), 201 TP_ARGS(pasid, irq_id), 205 __field(int, irq_id) 210 __entry->irq_id = irq_id; [all …]
|
D | afu_irq.c | 25 u64 ocxl_irq_id_to_offset(struct ocxl_context *ctx, int irq_id) in ocxl_irq_id_to_offset() argument 27 return ctx->afu->irq_base_offset + (irq_id << PAGE_SHIFT); in ocxl_irq_id_to_offset() 30 int ocxl_irq_set_handler(struct ocxl_context *ctx, int irq_id, in ocxl_irq_set_handler() argument 39 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_irq_set_handler() 105 int ocxl_afu_irq_alloc(struct ocxl_context *ctx, int *irq_id) in ocxl_afu_irq_alloc() argument 139 *irq_id = irq->id; in ocxl_afu_irq_alloc() 168 int ocxl_afu_irq_free(struct ocxl_context *ctx, int irq_id) in ocxl_afu_irq_free() argument 174 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_afu_irq_free() 197 u64 ocxl_afu_irq_get_addr(struct ocxl_context *ctx, int irq_id) in ocxl_afu_irq_get_addr() argument 204 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_afu_irq_get_addr()
|
D | file.c | 204 int irq_id; in afu_ioctl() local 226 rc = ocxl_afu_irq_alloc(ctx, &irq_id); in afu_ioctl() 228 irq_offset = ocxl_irq_id_to_offset(ctx, irq_id); in afu_ioctl() 232 ocxl_afu_irq_free(ctx, irq_id); in afu_ioctl() 243 irq_id = ocxl_irq_offset_to_id(ctx, irq_offset); in afu_ioctl() 244 rc = ocxl_afu_irq_free(ctx, irq_id); in afu_ioctl() 254 irq_id = ocxl_irq_offset_to_id(ctx, irq_fd.irq_offset); in afu_ioctl() 258 rc = ocxl_irq_set_handler(ctx, irq_id, irq_handler, irq_free, ev_ctx); in afu_ioctl()
|
D | context.c | 102 int irq_id = ocxl_irq_offset_to_id(ctx, offset); in map_afu_irq() local 104 trigger_addr = ocxl_afu_irq_get_addr(ctx, irq_id); in map_afu_irq() 164 int irq_id = ocxl_irq_offset_to_id(ctx, vma->vm_pgoff << PAGE_SHIFT); in check_mmap_afu_irq() local 171 if (!ocxl_afu_irq_get_addr(ctx, irq_id)) in check_mmap_afu_irq()
|
/linux-6.12.1/drivers/net/ipa/ |
D | ipa_interrupt.c | 74 static void ipa_interrupt_process(struct ipa_interrupt *interrupt, u32 irq_id) in ipa_interrupt_process() argument 78 u32 mask = BIT(irq_id); in ipa_interrupt_process() 84 switch (irq_id) { in ipa_interrupt_process() 91 ipa_uc_interrupt_handler(ipa, irq_id); in ipa_interrupt_process() 135 u32 irq_id = __ffs(mask); in ipa_isr_thread() local 137 mask ^= BIT(irq_id); in ipa_isr_thread() 139 ipa_interrupt_process(interrupt, irq_id); in ipa_isr_thread()
|
D | ipa_uc.h | 14 * @irq_id: IPA interrupt ID 16 void ipa_uc_interrupt_handler(struct ipa *ipa, enum ipa_irq_id irq_id);
|
D | ipa_uc.c | 175 void ipa_uc_interrupt_handler(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_interrupt_handler() argument 178 if (irq_id == IPA_IRQ_UC_0) in ipa_uc_interrupt_handler() 180 else if (irq_id == IPA_IRQ_UC_1) in ipa_uc_interrupt_handler()
|
/linux-6.12.1/sound/soc/mediatek/common/ |
D | mtk-afe-fe-dai.c | 83 int irq_id = mtk_dynamic_irq_acquire(afe); in mtk_afe_fe_startup() local 85 if (irq_id != afe->irqs_size) { in mtk_afe_fe_startup() 87 memif->irq_usage = irq_id; in mtk_afe_fe_startup() 104 int irq_id; in mtk_afe_fe_shutdown() local 106 irq_id = memif->irq_usage; in mtk_afe_fe_shutdown() 112 mtk_dynamic_irq_release(afe, irq_id); in mtk_afe_fe_shutdown() 308 int mtk_dynamic_irq_release(struct mtk_base_afe *afe, int irq_id) in mtk_dynamic_irq_release() argument 311 if (irq_id >= 0 && irq_id < afe->irqs_size) { in mtk_dynamic_irq_release() 312 afe->irqs[irq_id].irq_occupyed = 0; in mtk_dynamic_irq_release()
|
D | mtk-btcvsd.c | 112 int irq_id; member 219 disable_irq(bt->irq_id); in mtk_btcvsd_snd_set_state() 225 enable_irq(bt->irq_id); in mtk_btcvsd_snd_set_state() 481 static irqreturn_t mtk_btcvsd_snd_irq_handler(int irq_id, void *dev) in mtk_btcvsd_snd_irq_handler() argument 1276 int irq_id; in mtk_btcvsd_snd_probe() local 1307 irq_id = platform_get_irq(pdev, 0); in mtk_btcvsd_snd_probe() 1308 if (irq_id <= 0) in mtk_btcvsd_snd_probe() 1309 return irq_id < 0 ? irq_id : -ENXIO; in mtk_btcvsd_snd_probe() 1311 ret = devm_request_irq(dev, irq_id, mtk_btcvsd_snd_irq_handler, in mtk_btcvsd_snd_probe() 1319 btcvsd->irq_id = irq_id; in mtk_btcvsd_snd_probe()
|
/linux-6.12.1/include/misc/ |
D | ocxl.h | 163 * @irq_id: out, the IRQ ID 167 int ocxl_afu_irq_alloc(struct ocxl_context *ctx, int *irq_id); 172 * @irq_id: the IRQ ID 176 int ocxl_afu_irq_free(struct ocxl_context *ctx, int irq_id); 183 * @irq_id: The IRQ ID 187 u64 ocxl_afu_irq_get_addr(struct ocxl_context *ctx, int irq_id); 192 * @irq_id: The IRQ ID 199 int ocxl_irq_set_handler(struct ocxl_context *ctx, int irq_id,
|
/linux-6.12.1/drivers/tty/serial/ |
D | men_z135_uart.c | 35 #define IRQ_ID(x) ((x) & 0x1f) macro 381 int irq_id; in men_z135_intr() local 384 irq_id = IRQ_ID(uart->stat_reg); in men_z135_intr() 386 if (!irq_id) in men_z135_intr() 391 iowrite8(irq_id, port->membase + MEN_Z135_STAT_REG); in men_z135_intr() 393 if (irq_id & MEN_Z135_IRQ_ID_RLS) { in men_z135_intr() 398 if (irq_id & (MEN_Z135_IRQ_ID_RDA | MEN_Z135_IRQ_ID_CTI)) { in men_z135_intr() 399 if (irq_id & MEN_Z135_IRQ_ID_CTI) in men_z135_intr() 405 if (irq_id & MEN_Z135_IRQ_ID_TSA) { in men_z135_intr() 410 if (irq_id & MEN_Z135_IRQ_ID_MST) { in men_z135_intr()
|
/linux-6.12.1/sound/soc/mediatek/mt8186/ |
D | mt8186-afe-pcm.c | 67 int irq_id = mtk_dynamic_irq_acquire(afe); in mt8186_fe_startup() local 69 if (irq_id != afe->irqs_size) { in mt8186_fe_startup() 71 memif->irq_usage = irq_id; in mt8186_fe_startup() 90 int irq_id = memif->irq_usage; in mt8186_fe_shutdown() local 97 mtk_dynamic_irq_release(afe, irq_id); in mt8186_fe_shutdown() 162 int irq_id = memif->irq_usage; in mt8186_fe_trigger() local 163 struct mtk_base_afe_irq *irqs = &afe->irqs[irq_id]; in mt8186_fe_trigger() 170 dev_dbg(afe->dev, "%s(), %s cmd %d, irq_id %d\n", in mt8186_fe_trigger() 171 __func__, memif->data->name, cmd, irq_id); in mt8186_fe_trigger() 298 int irq_id = memif->irq_usage; in mt8186_fe_prepare() local [all …]
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-loongson-htvec.c | 26 #define VEC_REG_IDX(irq_id) ((irq_id) / VEC_COUNT_PER_REG) argument 27 #define VEC_REG_BIT(irq_id) ((irq_id) % VEC_COUNT_PER_REG) argument
|
D | irq-loongson-eiointc.c | 32 #define VEC_REG_IDX(irq_id) ((irq_id) / VEC_COUNT_PER_REG) argument 33 #define VEC_REG_BIT(irq_id) ((irq_id) % VEC_COUNT_PER_REG) argument
|
D | irq-loongson-pch-pic.c | 36 #define PIC_REG_IDX(irq_id) ((irq_id) / PIC_COUNT_PER_REG) argument 37 #define PIC_REG_BIT(irq_id) ((irq_id) % PIC_COUNT_PER_REG) argument
|
D | irq-mvebu-sei.c | 28 #define SEI_IRQ_REG_IDX(irq_id) ((irq_id) / SEI_IRQ_COUNT_PER_REG) argument 29 #define SEI_IRQ_REG_BIT(irq_id) ((irq_id) % SEI_IRQ_COUNT_PER_REG) argument
|
/linux-6.12.1/sound/soc/mediatek/mt7986/ |
D | mt7986-afe-pcm.c | 342 static irqreturn_t mt7986_afe_irq_handler(int irq_id, void *dev) in mt7986_afe_irq_handler() argument 464 int i, irq_id, ret; in mt7986_afe_pcm_dev_probe() local 531 irq_id = platform_get_irq(pdev, 0); in mt7986_afe_pcm_dev_probe() 532 if (irq_id < 0) in mt7986_afe_pcm_dev_probe() 533 return irq_id; in mt7986_afe_pcm_dev_probe() 535 ret = devm_request_irq(dev, irq_id, mt7986_afe_irq_handler, in mt7986_afe_pcm_dev_probe()
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/ |
D | sh_css_hrt.c | 67 irq_sw_channel_id_t irq_id = IRQ_SW_CHANNEL0_ID; in sh_css_hrt_sp_wait() local 77 (1U << (irq_id + IRQ_SW_CHANNEL_OFFSET))) == 0)) { in sh_css_hrt_sp_wait()
|
/linux-6.12.1/sound/pci/hda/ |
D | hda_tegra.c | 267 int irq_id = platform_get_irq(pdev, 0); in hda_tegra_first_init() local 271 if (irq_id < 0) in hda_tegra_first_init() 272 return irq_id; in hda_tegra_first_init() 278 err = devm_request_irq(chip->card->dev, irq_id, azx_interrupt, in hda_tegra_first_init() 283 irq_id); in hda_tegra_first_init() 286 bus->irq = irq_id; in hda_tegra_first_init()
|
/linux-6.12.1/drivers/edac/ |
D | thunderx_edac.c | 1069 static irqreturn_t thunderx_ocx_com_isr(int irq, void *irq_id) in thunderx_ocx_com_isr() argument 1071 struct msix_entry *msix = irq_id; in thunderx_ocx_com_isr() 1098 static irqreturn_t thunderx_ocx_com_threaded_isr(int irq, void *irq_id) in thunderx_ocx_com_threaded_isr() argument 1100 struct msix_entry *msix = irq_id; in thunderx_ocx_com_threaded_isr() 1162 static irqreturn_t thunderx_ocx_lnk_isr(int irq, void *irq_id) in thunderx_ocx_lnk_isr() argument 1164 struct msix_entry *msix = irq_id; in thunderx_ocx_lnk_isr() 1181 static irqreturn_t thunderx_ocx_lnk_threaded_isr(int irq, void *irq_id) in thunderx_ocx_lnk_threaded_isr() argument 1183 struct msix_entry *msix = irq_id; in thunderx_ocx_lnk_threaded_isr() 1753 static irqreturn_t thunderx_l2c_tad_isr(int irq, void *irq_id) in thunderx_l2c_tad_isr() argument 1755 struct msix_entry *msix = irq_id; in thunderx_l2c_tad_isr() [all …]
|
/linux-6.12.1/sound/soc/mediatek/mt6797/ |
D | mt6797-afe-pcm.c | 602 static irqreturn_t mt6797_afe_irq_handler(int irq_id, void *dev) in mt6797_afe_irq_handler() argument 740 int i, irq_id, ret; in mt6797_afe_pcm_dev_probe() local 797 irq_id = platform_get_irq(pdev, 0); in mt6797_afe_pcm_dev_probe() 798 if (irq_id < 0) in mt6797_afe_pcm_dev_probe() 799 return irq_id; in mt6797_afe_pcm_dev_probe() 801 ret = devm_request_irq(dev, irq_id, mt6797_afe_irq_handler, in mt6797_afe_pcm_dev_probe()
|
/linux-6.12.1/sound/soc/mediatek/mt8183/ |
D | mt8183-afe-pcm.c | 927 static irqreturn_t mt8183_afe_irq_handler(int irq_id, void *dev) in mt8183_afe_irq_handler() argument 1081 int i, irq_id, ret; in mt8183_afe_pcm_dev_probe() local 1181 irq_id = platform_get_irq(pdev, 0); in mt8183_afe_pcm_dev_probe() 1182 if (irq_id < 0) { in mt8183_afe_pcm_dev_probe() 1183 ret = irq_id; in mt8183_afe_pcm_dev_probe() 1187 ret = devm_request_irq(dev, irq_id, mt8183_afe_irq_handler, in mt8183_afe_pcm_dev_probe()
|