/linux-6.1.9/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)
|
/linux-6.1.9/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; 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; 215 __entry->irq_id
|
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 | 205 int irq_id; in afu_ioctl() local 227 rc = ocxl_afu_irq_alloc(ctx, &irq_id); in afu_ioctl() 229 irq_offset = ocxl_irq_id_to_offset(ctx, irq_id); in afu_ioctl() 233 ocxl_afu_irq_free(ctx, irq_id); in afu_ioctl() 244 irq_id = ocxl_irq_offset_to_id(ctx, irq_offset); in afu_ioctl() 245 rc = ocxl_afu_irq_free(ctx, irq_id); in afu_ioctl() 255 irq_id = ocxl_irq_offset_to_id(ctx, irq_fd.irq_offset); in afu_ioctl() 259 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.1.9/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() 57 u32 mask = BIT(irq_id); in ipa_interrupt_process() 68 if (irq_id < IPA_IRQ_COUNT && interrupt->handler[irq_id]) in ipa_interrupt_process() 69 interrupt->handler[irq_id](interrupt->ipa, irq_id); in ipa_interrupt_process() 106 u32 irq_id = __ffs(mask); in ipa_isr_thread() local 108 mask ^= BIT(irq_id); in ipa_isr_thread() 110 ipa_interrupt_process(interrupt, irq_id); in ipa_isr_thread()
|
D | ipa_interrupt.h | 23 typedef void (*ipa_irq_handler_t)(struct ipa *ipa, enum ipa_irq_id irq_id); 35 void ipa_interrupt_add(struct ipa_interrupt *interrupt, enum ipa_irq_id irq_id, 46 enum ipa_irq_id irq_id);
|
D | ipa_uc.c | 127 static void ipa_uc_event_handler(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_event_handler() argument 141 static void ipa_uc_response_hdlr(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_response_hdlr() argument
|
/linux-6.1.9/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);
|
/linux-6.1.9/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,
|
/linux-6.1.9/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 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()
|
/linux-6.1.9/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.1.9/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-eiointc.c | 31 #define VEC_REG_IDX(irq_id) ((irq_id) / VEC_COUNT_PER_REG) argument 32 #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
|
/linux-6.1.9/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() 171 __func__, memif->data->name, cmd, irq_id); in mt8186_fe_trigger() 298 int irq_id = memif->irq_usage; in mt8186_fe_prepare() local 299 struct mtk_base_afe_irq *irqs = &afe->irqs[irq_id]; in mt8186_fe_prepare() [all …]
|
/linux-6.1.9/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()
|
/linux-6.1.9/sound/pci/hda/ |
D | hda_tegra.c | 266 int irq_id = platform_get_irq(pdev, 0); in hda_tegra_first_init() local 270 if (irq_id < 0) in hda_tegra_first_init() 271 return irq_id; in hda_tegra_first_init() 277 err = devm_request_irq(chip->card->dev, irq_id, azx_interrupt, in hda_tegra_first_init() 282 irq_id); in hda_tegra_first_init() 285 bus->irq = irq_id; in hda_tegra_first_init()
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/sound/soc/mediatek/mt8173/ |
D | mt8173-afe-pcm.c | 1052 int irq_id; in mt8173_afe_pcm_dev_probe() local 1178 irq_id = platform_get_irq(pdev, 0); in mt8173_afe_pcm_dev_probe() 1179 if (irq_id <= 0) in mt8173_afe_pcm_dev_probe() 1180 return irq_id < 0 ? irq_id : -ENXIO; in mt8173_afe_pcm_dev_probe() 1181 ret = devm_request_irq(afe->dev, irq_id, mt8173_afe_irq_handler, in mt8173_afe_pcm_dev_probe()
|