Home
last modified time | relevance | path

Searched refs:irq_id (Results 1 – 24 of 24) sorted by relevance

/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dirq.c81 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 …]
Dgp_timer_local.h36 #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)
/drivers/net/ipa/
Dipa_interrupt.c46 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()
Dipa_interrupt.h39 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);
Dipa_uc.c125 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
Dipa_main.c83 static void ipa_suspend_handler(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_suspend_handler() argument
/drivers/misc/ocxl/
Dtrace.h110 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
Dafu_irq.c24 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()
Dfile.c207 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()
Dcontext.c100 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()
Docxl_internal.h148 u64 ocxl_irq_id_to_offset(struct ocxl_context *ctx, int irq_id);
/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
Dirq_public.h112 unsigned int *irq_id);
123 const irq_sw_channel_id_t irq_id);
167 enum virq_id *irq_id);
/drivers/irqchip/
Dirq-loongson-htvec.c25 #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
Dirq-loongson-pch-pic.c33 #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
Dirq-mvebu-sei.c26 #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
Dirq-gic-v3-its.c1224 static void its_send_mapti(struct its_device *dev, u32 irq_id, u32 id) in its_send_mapti() argument
1229 desc.its_mapti_cmd.phys_id = irq_id; in its_send_mapti()
/drivers/tty/serial/
Dmen_z135_uart.c390 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()
/drivers/staging/media/atomisp/pci/
Dsh_css_hrt.c67 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()
/drivers/edac/
Dthunderx_edac.c1075 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 …]
/drivers/net/ieee802154/
Dca8210.c405 int irq_id; member
2869 pdata->irq_id = gpio_to_irq(pdata->gpio_irq); in ca8210_interrupt_init()
2870 if (pdata->irq_id < 0) { in ca8210_interrupt_init()
2877 return pdata->irq_id; in ca8210_interrupt_init()
2881 pdata->irq_id, in ca8210_interrupt_init()
2888 dev_crit(&spi->dev, "request_irq %d failed\n", pdata->irq_id); in ca8210_interrupt_init()
3057 free_irq(pdata->irq_id, spi_device->dev.driver_data); in ca8210_remove()
/drivers/scsi/pm8001/
Dpm8001_init.c201 PM8001_CHIP_DISP->isr(pm8001_ha, irq_vector->irq_id); in pm8001_tasklet()
226 tasklet_schedule(&pm8001_ha->tasklet[irq_vector->irq_id]); in pm8001_interrupt_handler_msix()
228 ret = PM8001_CHIP_DISP->isr(pm8001_ha, irq_vector->irq_id); in pm8001_interrupt_handler_msix()
964 pm8001_ha->irq_vector[i].irq_id = i; in pm8001_request_msix()
1011 pm8001_ha->irq_vector[0].irq_id = 0; in pm8001_request_irq()
Dpm8001_sas.h467 u32 irq_id; member
/drivers/platform/mellanox/
Dmlxbf-tmfifo.c846 int irq_id, bool is_rx) in mlxbf_tmfifo_work_rxtx() argument
852 if (!test_and_clear_bit(irq_id, &fifo->pend_events) || in mlxbf_tmfifo_work_rxtx()
853 !fifo->irq_info[irq_id].irq) in mlxbf_tmfifo_work_rxtx()
/drivers/spmi/
Dspmi-pmic-arb.c103 #define spec_to_hwirq(slave_id, periph_id, irq_id, apid) \ argument
106 (((irq_id) & 0x7) << 16) | \