/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | irq.c | 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() 197 *irq_id = (unsigned int)idx; 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)
|
/kernel/linux/linux-5.10/drivers/net/ipa/ |
D | ipa_interrupt.c | 46 static bool ipa_interrupt_uc(struct ipa_interrupt *interrupt, u32 irq_id) in ipa_interrupt_uc() argument 48 return irq_id == IPA_IRQ_UC_0 || irq_id == IPA_IRQ_UC_1; in ipa_interrupt_uc() 52 static void ipa_interrupt_process(struct ipa_interrupt *interrupt, u32 irq_id) in ipa_interrupt_process() argument 54 bool uc_irq = ipa_interrupt_uc(interrupt, irq_id); in ipa_interrupt_process() 56 u32 mask = BIT(irq_id); in ipa_interrupt_process() 64 if (irq_id < IPA_IRQ_COUNT && interrupt->handler[irq_id]) in ipa_interrupt_process() 65 interrupt->handler[irq_id](interrupt->ipa, irq_id); in ipa_interrupt_process() 89 u32 irq_id = __ffs(mask); in ipa_interrupt_process_all() local 91 mask ^= BIT(irq_id); in ipa_interrupt_process_all() 93 ipa_interrupt_process(interrupt, irq_id); in ipa_interrupt_process_all()
|
D | ipa_interrupt.h | 39 typedef void (*ipa_irq_handler_t)(struct ipa *ipa, enum ipa_irq_id irq_id); 50 void ipa_interrupt_add(struct ipa_interrupt *interrupt, enum ipa_irq_id irq_id, 61 enum ipa_irq_id irq_id);
|
D | ipa_uc.c | 125 static void ipa_uc_event_handler(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_event_handler() argument 138 static void ipa_uc_response_hdlr(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_response_hdlr() argument
|
/kernel/linux/linux-5.10/drivers/misc/ocxl/ |
D | trace.h | 110 TP_PROTO(int pasid, int irq_id, unsigned int virq, int hw_irq), 111 TP_ARGS(pasid, irq_id, virq, hw_irq), 115 __field(int, irq_id) 122 __entry->irq_id = irq_id; 129 __entry->irq_id, 136 TP_PROTO(int pasid, int irq_id), 137 TP_ARGS(pasid, irq_id), 141 __field(int, irq_id) 146 __entry->irq_id = irq_id; 151 __entry->irq_id
|
D | afu_irq.c | 24 u64 ocxl_irq_id_to_offset(struct ocxl_context *ctx, int irq_id) in ocxl_irq_id_to_offset() argument 26 return ctx->afu->irq_base_offset + (irq_id << PAGE_SHIFT); in ocxl_irq_id_to_offset() 29 int ocxl_irq_set_handler(struct ocxl_context *ctx, int irq_id, in ocxl_irq_set_handler() argument 38 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_irq_set_handler() 104 int ocxl_afu_irq_alloc(struct ocxl_context *ctx, int *irq_id) in ocxl_afu_irq_alloc() argument 138 *irq_id = irq->id; in ocxl_afu_irq_alloc() 167 int ocxl_afu_irq_free(struct ocxl_context *ctx, int irq_id) in ocxl_afu_irq_free() argument 173 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_afu_irq_free() 196 u64 ocxl_afu_irq_get_addr(struct ocxl_context *ctx, int irq_id) in ocxl_afu_irq_get_addr() argument 203 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_afu_irq_get_addr()
|
D | file.c | 207 int irq_id; in afu_ioctl() local 229 rc = ocxl_afu_irq_alloc(ctx, &irq_id); in afu_ioctl() 231 irq_offset = ocxl_irq_id_to_offset(ctx, irq_id); in afu_ioctl() 235 ocxl_afu_irq_free(ctx, irq_id); in afu_ioctl() 246 irq_id = ocxl_irq_offset_to_id(ctx, irq_offset); in afu_ioctl() 247 rc = ocxl_afu_irq_free(ctx, irq_id); in afu_ioctl() 257 irq_id = ocxl_irq_offset_to_id(ctx, irq_fd.irq_offset); in afu_ioctl() 261 rc = ocxl_irq_set_handler(ctx, irq_id, irq_handler, irq_free, ev_ctx); in afu_ioctl()
|
D | context.c | 100 int irq_id = ocxl_irq_offset_to_id(ctx, offset); in map_afu_irq() local 102 trigger_addr = ocxl_afu_irq_get_addr(ctx, irq_id); in map_afu_irq() 162 int irq_id = ocxl_irq_offset_to_id(ctx, vma->vm_pgoff << PAGE_SHIFT); in check_mmap_afu_irq() local 169 if (!ocxl_afu_irq_get_addr(ctx, irq_id)) in check_mmap_afu_irq()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
D | irq_public.h | 112 unsigned int *irq_id); 123 const irq_sw_channel_id_t irq_id); 167 enum virq_id *irq_id);
|
/kernel/linux/linux-5.10/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() 309 int mtk_dynamic_irq_release(struct mtk_base_afe *afe, int irq_id) in mtk_dynamic_irq_release() argument 312 if (irq_id >= 0 && irq_id < afe->irqs_size) { in mtk_dynamic_irq_release() 313 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 1283 int irq_id; in mtk_btcvsd_snd_probe() local 1314 irq_id = platform_get_irq(pdev, 0); in mtk_btcvsd_snd_probe() 1315 if (irq_id <= 0) in mtk_btcvsd_snd_probe() 1316 return irq_id < 0 ? irq_id : -ENXIO; in mtk_btcvsd_snd_probe() 1318 ret = devm_request_irq(dev, irq_id, mtk_btcvsd_snd_irq_handler, in mtk_btcvsd_snd_probe() 1326 btcvsd->irq_id = irq_id; in mtk_btcvsd_snd_probe()
|
D | mtk-afe-fe-dai.h | 33 int mtk_dynamic_irq_release(struct mtk_base_afe *afe, int irq_id);
|
/kernel/linux/linux-5.10/include/misc/ |
D | ocxl.h | 167 int ocxl_afu_irq_alloc(struct ocxl_context *ctx, int *irq_id); 176 int ocxl_afu_irq_free(struct ocxl_context *ctx, int irq_id); 187 u64 ocxl_afu_irq_get_addr(struct ocxl_context *ctx, int irq_id); 199 int ocxl_irq_set_handler(struct ocxl_context *ctx, int irq_id,
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-loongson-htvec.c | 25 #define VEC_REG_IDX(irq_id) ((irq_id) / VEC_COUNT_PER_REG) argument 26 #define VEC_REG_BIT(irq_id) ((irq_id) % VEC_COUNT_PER_REG) argument
|
D | irq-loongson-pch-pic.c | 33 #define PIC_REG_IDX(irq_id) ((irq_id) / PIC_COUNT_PER_REG) argument 34 #define PIC_REG_BIT(irq_id) ((irq_id) % PIC_COUNT_PER_REG) argument
|
D | irq-mvebu-sei.c | 26 #define SEI_IRQ_REG_IDX(irq_id) ((irq_id) / SEI_IRQ_COUNT_PER_REG) argument 27 #define SEI_IRQ_REG_BIT(irq_id) ((irq_id) % SEI_IRQ_COUNT_PER_REG) argument
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | men_z135_uart.c | 390 int irq_id; in men_z135_intr() local 393 irq_id = IRQ_ID(uart->stat_reg); in men_z135_intr() 395 if (!irq_id) in men_z135_intr() 400 iowrite8(irq_id, port->membase + MEN_Z135_STAT_REG); in men_z135_intr() 402 if (irq_id & MEN_Z135_IRQ_ID_RLS) { in men_z135_intr() 407 if (irq_id & (MEN_Z135_IRQ_ID_RDA | MEN_Z135_IRQ_ID_CTI)) { in men_z135_intr() 408 if (irq_id & MEN_Z135_IRQ_ID_CTI) in men_z135_intr() 414 if (irq_id & MEN_Z135_IRQ_ID_TSA) { in men_z135_intr() 419 if (irq_id & MEN_Z135_IRQ_ID_MST) { in men_z135_intr()
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | hda_tegra.c | 261 int irq_id = platform_get_irq(pdev, 0); in hda_tegra_first_init() local 265 if (irq_id < 0) in hda_tegra_first_init() 266 return irq_id; in hda_tegra_first_init() 272 err = devm_request_irq(chip->card->dev, irq_id, azx_interrupt, in hda_tegra_first_init() 277 irq_id); in hda_tegra_first_init() 280 bus->irq = irq_id; in hda_tegra_first_init()
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | thunderx_edac.c | 1075 static irqreturn_t thunderx_ocx_com_isr(int irq, void *irq_id) in thunderx_ocx_com_isr() argument 1077 struct msix_entry *msix = irq_id; in thunderx_ocx_com_isr() 1104 static irqreturn_t thunderx_ocx_com_threaded_isr(int irq, void *irq_id) in thunderx_ocx_com_threaded_isr() argument 1106 struct msix_entry *msix = irq_id; in thunderx_ocx_com_threaded_isr() 1168 static irqreturn_t thunderx_ocx_lnk_isr(int irq, void *irq_id) in thunderx_ocx_lnk_isr() argument 1170 struct msix_entry *msix = irq_id; in thunderx_ocx_lnk_isr() 1187 static irqreturn_t thunderx_ocx_lnk_threaded_isr(int irq, void *irq_id) in thunderx_ocx_lnk_threaded_isr() argument 1189 struct msix_entry *msix = irq_id; in thunderx_ocx_lnk_threaded_isr() 1760 static irqreturn_t thunderx_l2c_tad_isr(int irq, void *irq_id) in thunderx_l2c_tad_isr() argument 1762 struct msix_entry *msix = irq_id; in thunderx_l2c_tad_isr() [all …]
|
/kernel/linux/linux-5.10/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 752 int i, irq_id, ret; in mt6797_afe_pcm_dev_probe() local 809 irq_id = platform_get_irq(pdev, 0); in mt6797_afe_pcm_dev_probe() 810 if (irq_id < 0) in mt6797_afe_pcm_dev_probe() 811 return irq_id; in mt6797_afe_pcm_dev_probe() 813 ret = devm_request_irq(dev, irq_id, mt6797_afe_irq_handler, in mt6797_afe_pcm_dev_probe()
|
/kernel/linux/linux-5.10/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 1093 int i, irq_id, ret; in mt8183_afe_pcm_dev_probe() local 1193 irq_id = platform_get_irq(pdev, 0); in mt8183_afe_pcm_dev_probe() 1194 if (irq_id < 0) { in mt8183_afe_pcm_dev_probe() 1195 ret = irq_id; in mt8183_afe_pcm_dev_probe() 1199 ret = devm_request_irq(dev, irq_id, mt8183_afe_irq_handler, in mt8183_afe_pcm_dev_probe()
|
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8173/ |
D | mt8173-afe-pcm.c | 1054 int irq_id; in mt8173_afe_pcm_dev_probe() local 1075 irq_id = platform_get_irq(pdev, 0); in mt8173_afe_pcm_dev_probe() 1076 if (irq_id <= 0) in mt8173_afe_pcm_dev_probe() 1077 return irq_id < 0 ? irq_id : -ENXIO; in mt8173_afe_pcm_dev_probe() 1184 ret = devm_request_irq(afe->dev, irq_id, mt8173_afe_irq_handler, in mt8173_afe_pcm_dev_probe()
|
/kernel/linux/linux-5.10/sound/soc/mediatek/mt2701/ |
D | mt2701-afe-pcm.c | 1276 static irqreturn_t mt2701_asys_isr(int irq_id, void *dev) in mt2701_asys_isr() argument 1319 int i, irq_id, ret; in mt2701_afe_pcm_dev_probe() local 1342 irq_id = platform_get_irq_byname(pdev, "asys"); in mt2701_afe_pcm_dev_probe() 1343 if (irq_id < 0) in mt2701_afe_pcm_dev_probe() 1344 return irq_id; in mt2701_afe_pcm_dev_probe() 1346 ret = devm_request_irq(dev, irq_id, mt2701_asys_isr, in mt2701_afe_pcm_dev_probe()
|