/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/ |
H A D | socrates_fpga_pic.c | 240 struct device_node *ct, const u32 *intspec, unsigned int intsize, in socrates_fpga_pic_host_xlate() 243 struct socrates_fpga_irq_info *fpga_irq = &fpga_irqs[intspec[0]]; in socrates_fpga_pic_host_xlate() 245 *out_hwirq = intspec[0]; in socrates_fpga_pic_host_xlate() 248 if (intspec[1] != IRQ_TYPE_LEVEL_LOW && in socrates_fpga_pic_host_xlate() 249 intspec[1] != IRQ_TYPE_LEVEL_HIGH) { in socrates_fpga_pic_host_xlate() 253 *out_flags = intspec[1]; in socrates_fpga_pic_host_xlate() 261 if (intspec[2] <= 2) in socrates_fpga_pic_host_xlate() 262 fpga_irq->irq_line = intspec[2]; in socrates_fpga_pic_host_xlate() 239 socrates_fpga_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) socrates_fpga_pic_host_xlate() argument
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/85xx/ |
H A D | socrates_fpga_pic.c | 239 struct device_node *ct, const u32 *intspec, unsigned int intsize, in socrates_fpga_pic_host_xlate() 242 struct socrates_fpga_irq_info *fpga_irq = &fpga_irqs[intspec[0]]; in socrates_fpga_pic_host_xlate() 244 *out_hwirq = intspec[0]; in socrates_fpga_pic_host_xlate() 247 if (intspec[1] != IRQ_TYPE_LEVEL_LOW && in socrates_fpga_pic_host_xlate() 248 intspec[1] != IRQ_TYPE_LEVEL_HIGH) { in socrates_fpga_pic_host_xlate() 252 *out_flags = intspec[1]; in socrates_fpga_pic_host_xlate() 260 if (intspec[2] <= 2) in socrates_fpga_pic_host_xlate() 261 fpga_irq->irq_line = intspec[2]; in socrates_fpga_pic_host_xlate() 238 socrates_fpga_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) socrates_fpga_pic_host_xlate() argument
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-bcm2835.c | 109 const u32 *intspec, unsigned int intsize, in armctrl_xlate() 115 if (WARN_ON(intspec[0] >= NR_BANKS)) in armctrl_xlate() 118 if (WARN_ON(intspec[1] >= IRQS_PER_BANK)) in armctrl_xlate() 121 if (WARN_ON(intspec[0] == 0 && intspec[1] >= NR_IRQS_BANK0)) in armctrl_xlate() 124 *out_hwirq = MAKE_HWIRQ(intspec[0], intspec[1]); in armctrl_xlate() 108 armctrl_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) armctrl_xlate() argument
|
H A D | irq-xtensa-pic.c | 31 const u32 *intspec, unsigned int intsize, in xtensa_pic_irq_domain_xlate() 34 return xtensa_irq_domain_xlate(intspec, intsize, in xtensa_pic_irq_domain_xlate() 35 intspec[0], intspec[0], in xtensa_pic_irq_domain_xlate() 29 xtensa_pic_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) xtensa_pic_irq_domain_xlate() argument
|
H A D | irq-atmel-aic-common.c | 91 const u32 *intspec, in aic_common_irq_domain_xlate() 99 if (WARN_ON((intspec[2] < AT91_AIC_IRQ_MIN_PRIORITY) || in aic_common_irq_domain_xlate() 100 (intspec[2] > AT91_AIC_IRQ_MAX_PRIORITY))) in aic_common_irq_domain_xlate() 103 *out_hwirq = intspec[0]; in aic_common_irq_domain_xlate() 104 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in aic_common_irq_domain_xlate() 89 aic_common_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) aic_common_irq_domain_xlate() argument
|
H A D | irq-xtensa-mx.c | 47 const u32 *intspec, unsigned int intsize, in xtensa_mx_irq_domain_xlate() 50 return xtensa_irq_domain_xlate(intspec, intsize, in xtensa_mx_irq_domain_xlate() 51 intspec[0], intspec[0] + HW_IRQ_EXTERN_BASE, in xtensa_mx_irq_domain_xlate() 45 xtensa_mx_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) xtensa_mx_irq_domain_xlate() argument
|
H A D | irq-hip04.c | 319 const u32 *intspec, unsigned int intsize, in hip04_irq_domain_xlate() 325 if (intsize == 1 && intspec[0] < 16) { in hip04_irq_domain_xlate() 326 *out_hwirq = intspec[0]; in hip04_irq_domain_xlate() 334 *out_hwirq = intspec[1] + 16; in hip04_irq_domain_xlate() 337 if (!intspec[0]) in hip04_irq_domain_xlate() 340 *out_type = intspec[2] & IRQ_TYPE_SENSE_MASK; in hip04_irq_domain_xlate() 317 hip04_irq_domain_xlate(struct irq_domain *d, struct device_node *controller, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) hip04_irq_domain_xlate() argument
|
H A D | irq-pic32-evic.c | 166 const u32 *intspec, unsigned int intsize, in pic32_irq_domain_xlate() 174 if (WARN_ON(intspec[0] >= NR_IRQS)) in pic32_irq_domain_xlate() 177 *out_hwirq = intspec[0]; in pic32_irq_domain_xlate() 178 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in pic32_irq_domain_xlate() 180 priv->irq_types[intspec[0]] = intspec[1] & IRQ_TYPE_SENSE_MASK; in pic32_irq_domain_xlate() 165 pic32_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) pic32_irq_domain_xlate() argument
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-bcm2835.c | 109 const u32 *intspec, unsigned int intsize, in armctrl_xlate() 115 if (WARN_ON(intspec[0] >= NR_BANKS)) in armctrl_xlate() 118 if (WARN_ON(intspec[1] >= IRQS_PER_BANK)) in armctrl_xlate() 121 if (WARN_ON(intspec[0] == 0 && intspec[1] >= NR_IRQS_BANK0)) in armctrl_xlate() 124 *out_hwirq = MAKE_HWIRQ(intspec[0], intspec[1]); in armctrl_xlate() 108 armctrl_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) armctrl_xlate() argument
|
H A D | irq-xtensa-pic.c | 32 const u32 *intspec, unsigned int intsize, in xtensa_pic_irq_domain_xlate() 35 return xtensa_irq_domain_xlate(intspec, intsize, in xtensa_pic_irq_domain_xlate() 36 intspec[0], intspec[0], in xtensa_pic_irq_domain_xlate() 30 xtensa_pic_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) xtensa_pic_irq_domain_xlate() argument
|
H A D | irq-atmel-aic-common.c | 91 const u32 *intspec, in aic_common_irq_domain_xlate() 99 if (WARN_ON((intspec[2] < AT91_AIC_IRQ_MIN_PRIORITY) || in aic_common_irq_domain_xlate() 100 (intspec[2] > AT91_AIC_IRQ_MAX_PRIORITY))) in aic_common_irq_domain_xlate() 103 *out_hwirq = intspec[0]; in aic_common_irq_domain_xlate() 104 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in aic_common_irq_domain_xlate() 89 aic_common_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) aic_common_irq_domain_xlate() argument
|
H A D | irq-xtensa-mx.c | 48 const u32 *intspec, unsigned int intsize, in xtensa_mx_irq_domain_xlate() 51 return xtensa_irq_domain_xlate(intspec, intsize, in xtensa_mx_irq_domain_xlate() 52 intspec[0], intspec[0] + HW_IRQ_EXTERN_BASE, in xtensa_mx_irq_domain_xlate() 46 xtensa_mx_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) xtensa_mx_irq_domain_xlate() argument
|
H A D | irq-hip04.c | 315 const u32 *intspec, unsigned int intsize, in hip04_irq_domain_xlate() 321 if (intsize == 1 && intspec[0] < 16) { in hip04_irq_domain_xlate() 322 *out_hwirq = intspec[0]; in hip04_irq_domain_xlate() 330 *out_hwirq = intspec[1] + 16; in hip04_irq_domain_xlate() 333 if (!intspec[0]) in hip04_irq_domain_xlate() 336 *out_type = intspec[2] & IRQ_TYPE_SENSE_MASK; in hip04_irq_domain_xlate() 313 hip04_irq_domain_xlate(struct irq_domain *d, struct device_node *controller, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) hip04_irq_domain_xlate() argument
|
H A D | irq-pic32-evic.c | 165 const u32 *intspec, unsigned int intsize, in pic32_irq_domain_xlate() 173 if (WARN_ON(intspec[0] >= NR_IRQS)) in pic32_irq_domain_xlate() 176 *out_hwirq = intspec[0]; in pic32_irq_domain_xlate() 177 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in pic32_irq_domain_xlate() 179 priv->irq_types[intspec[0]] = intspec[1] & IRQ_TYPE_SENSE_MASK; in pic32_irq_domain_xlate() 164 pic32_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) pic32_irq_domain_xlate() argument
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/8xx/ |
H A D | pic.c | 100 const u32 *intspec, unsigned int intsize, in mpc8xx_pic_host_xlate() 110 if (intspec[0] > 0x1f) in mpc8xx_pic_host_xlate() 113 *out_hwirq = intspec[0]; in mpc8xx_pic_host_xlate() 114 if (intsize > 1 && intspec[1] < 4) in mpc8xx_pic_host_xlate() 115 *out_flags = map_pic_senses[intspec[1]]; in mpc8xx_pic_host_xlate() 99 mpc8xx_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) mpc8xx_pic_host_xlate() argument
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/8xx/ |
H A D | pic.c | 99 const u32 *intspec, unsigned int intsize, in mpc8xx_pic_host_xlate() 109 if (intspec[0] > 0x1f) in mpc8xx_pic_host_xlate() 112 *out_hwirq = intspec[0]; in mpc8xx_pic_host_xlate() 113 if (intsize > 1 && intspec[1] < 4) in mpc8xx_pic_host_xlate() 114 *out_flags = map_pic_senses[intspec[1]]; in mpc8xx_pic_host_xlate() 98 mpc8xx_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) mpc8xx_pic_host_xlate() argument
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | ehv_pic.c | 218 const u32 *intspec, unsigned int intsize, in ehv_pic_host_xlate() 236 *out_hwirq = intspec[0]; in ehv_pic_host_xlate() 238 hwirq_intspec[intspec[0]] = intspec[1]; in ehv_pic_host_xlate() 239 *out_flags = map_of_senses_to_linux_irqtype[intspec[1] & in ehv_pic_host_xlate() 217 ehv_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) ehv_pic_host_xlate() argument
|
H A D | i8259.c | 186 const u32 *intspec, unsigned int intsize, in i8259_host_xlate() 196 *out_hwirq = intspec[0]; in i8259_host_xlate() 197 if (intsize > 1 && intspec[1] < 4) in i8259_host_xlate() 198 *out_flags = map_isa_senses[intspec[1]]; in i8259_host_xlate() 185 i8259_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) i8259_host_xlate() argument
|
/kernel/linux/linux-6.6/arch/powerpc/sysdev/ |
H A D | ehv_pic.c | 219 const u32 *intspec, unsigned int intsize, in ehv_pic_host_xlate() 237 *out_hwirq = intspec[0]; in ehv_pic_host_xlate() 239 hwirq_intspec[intspec[0]] = intspec[1]; in ehv_pic_host_xlate() 240 *out_flags = map_of_senses_to_linux_irqtype[intspec[1] & in ehv_pic_host_xlate() 218 ehv_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) ehv_pic_host_xlate() argument
|
H A D | i8259.c | 186 const u32 *intspec, unsigned int intsize, in i8259_host_xlate() 196 *out_hwirq = intspec[0]; in i8259_host_xlate() 197 if (intsize > 1 && intspec[1] < 4) in i8259_host_xlate() 198 *out_flags = map_isa_senses[intspec[1]]; in i8259_host_xlate() 185 i8259_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) i8259_host_xlate() argument
|
/kernel/linux/linux-5.10/drivers/sh/intc/ |
H A D | irqdomain.c | 28 const u32 *intspec, unsigned int intsize, in intc_evt_xlate() 34 *out_hwirq = evt2irq(intspec[0]); in intc_evt_xlate() 27 intc_evt_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) intc_evt_xlate() argument
|
/kernel/linux/linux-6.6/drivers/sh/intc/ |
H A D | irqdomain.c | 28 const u32 *intspec, unsigned int intsize, in intc_evt_xlate() 34 *out_hwirq = evt2irq(intspec[0]); in intc_evt_xlate() 27 intc_evt_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) intc_evt_xlate() argument
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-sodaville.c | 93 const u32 *intspec, u32 intsize, irq_hw_number_t *out_hwirq, in sdv_xlate() 104 line = *intspec; in sdv_xlate() 107 intspec++; in sdv_xlate() 108 type = *intspec; in sdv_xlate() 92 sdv_xlate(struct irq_domain *h, struct device_node *node, const u32 *intspec, u32 intsize, irq_hw_number_t *out_hwirq, u32 *out_type) sdv_xlate() argument
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/ |
H A D | media5200.c | 121 const u32 *intspec, unsigned int intsize, in media5200_irq_xlate() 128 pr_debug("%s: bank=%i, number=%i\n", __func__, intspec[0], intspec[1]); in media5200_irq_xlate() 129 *out_hwirq = intspec[1]; in media5200_irq_xlate() 120 media5200_irq_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) media5200_irq_xlate() argument
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/52xx/ |
H A D | media5200.c | 121 const u32 *intspec, unsigned int intsize, in media5200_irq_xlate() 128 pr_debug("%s: bank=%i, number=%i\n", __func__, intspec[0], intspec[1]); in media5200_irq_xlate() 129 *out_hwirq = intspec[1]; in media5200_irq_xlate() 120 media5200_irq_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) media5200_irq_xlate() argument
|