Home
last modified time | relevance | path

Searched refs:chip_types (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v6.1/drivers/irqchip/
Dirq-sunxi-nmi.c100 struct irq_chip_type *ct = gc->chip_types; in sunxi_sc_nmi_set_type()
185 gc->chip_types[0].type = IRQ_TYPE_LEVEL_MASK; in sunxi_sc_nmi_irq_init()
186 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in sunxi_sc_nmi_irq_init()
187 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_set_bit; in sunxi_sc_nmi_irq_init()
188 gc->chip_types[0].chip.irq_eoi = irq_gc_ack_set_bit; in sunxi_sc_nmi_irq_init()
189 gc->chip_types[0].chip.irq_set_type = sunxi_sc_nmi_set_type; in sunxi_sc_nmi_irq_init()
190 gc->chip_types[0].chip.flags = IRQCHIP_EOI_THREADED | IRQCHIP_EOI_IF_HANDLED; in sunxi_sc_nmi_irq_init()
191 gc->chip_types[0].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init()
192 gc->chip_types[0].regs.mask = reg_offs->enable; in sunxi_sc_nmi_irq_init()
193 gc->chip_types[0].regs.type = reg_offs->ctrl; in sunxi_sc_nmi_irq_init()
[all …]
Dirq-tb10x.c147 gc->chip_types[0].type = IRQ_TYPE_LEVEL_MASK; in of_tb10x_init_irq()
148 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in of_tb10x_init_irq()
149 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_set_bit; in of_tb10x_init_irq()
150 gc->chip_types[0].chip.irq_set_type = tb10x_irq_set_type; in of_tb10x_init_irq()
151 gc->chip_types[0].regs.mask = AB_IRQCTL_INT_ENABLE; in of_tb10x_init_irq()
153 gc->chip_types[1].type = IRQ_TYPE_EDGE_BOTH; in of_tb10x_init_irq()
154 gc->chip_types[1].chip.name = gc->chip_types[0].chip.name; in of_tb10x_init_irq()
155 gc->chip_types[1].chip.irq_ack = irq_gc_ack_set_bit; in of_tb10x_init_irq()
156 gc->chip_types[1].chip.irq_mask = irq_gc_mask_clr_bit; in of_tb10x_init_irq()
157 gc->chip_types[1].chip.irq_unmask = irq_gc_mask_set_bit; in of_tb10x_init_irq()
[all …]
Dirq-pic32-evic.c271 gc->chip_types[0].type = IRQ_TYPE_LEVEL_MASK; in pic32_of_init()
272 gc->chip_types[0].handler = handle_fasteoi_irq; in pic32_of_init()
273 gc->chip_types[0].regs.ack = ifsclr; in pic32_of_init()
274 gc->chip_types[0].regs.mask = iec; in pic32_of_init()
275 gc->chip_types[0].chip.name = "evic-level"; in pic32_of_init()
276 gc->chip_types[0].chip.irq_eoi = irq_gc_ack_set_bit; in pic32_of_init()
277 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in pic32_of_init()
278 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_set_bit; in pic32_of_init()
279 gc->chip_types[0].chip.flags = IRQCHIP_SKIP_SET_WAKE; in pic32_of_init()
282 gc->chip_types[1].type = IRQ_TYPE_EDGE_BOTH; in pic32_of_init()
[all …]
Dirq-imgpdc.c402 gc->chip_types[0].regs.mask = PDC_IRQ_ROUTE; in pdc_intc_probe()
403 gc->chip_types[0].chip.irq_mask = perip_irq_mask; in pdc_intc_probe()
404 gc->chip_types[0].chip.irq_unmask = perip_irq_unmask; in pdc_intc_probe()
405 gc->chip_types[0].chip.irq_set_wake = pdc_irq_set_wake; in pdc_intc_probe()
414 gc->chip_types[0].type = IRQ_TYPE_EDGE_BOTH; in pdc_intc_probe()
415 gc->chip_types[0].handler = handle_edge_irq; in pdc_intc_probe()
416 gc->chip_types[0].regs.ack = PDC_IRQ_CLEAR; in pdc_intc_probe()
417 gc->chip_types[0].regs.mask = PDC_IRQ_ENABLE; in pdc_intc_probe()
418 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit; in pdc_intc_probe()
419 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in pdc_intc_probe()
[all …]
Dirq-zevio.c106 gc->chip_types[0].chip.irq_ack = zevio_irq_ack; in zevio_of_init()
107 gc->chip_types[0].chip.irq_mask = irq_gc_mask_disable_reg; in zevio_of_init()
108 gc->chip_types[0].chip.irq_unmask = irq_gc_unmask_enable_reg; in zevio_of_init()
109 gc->chip_types[0].regs.mask = IO_IRQ_BASE + IO_ENABLE; in zevio_of_init()
110 gc->chip_types[0].regs.enable = IO_IRQ_BASE + IO_ENABLE; in zevio_of_init()
111 gc->chip_types[0].regs.disable = IO_IRQ_BASE + IO_DISABLE; in zevio_of_init()
112 gc->chip_types[0].regs.ack = IO_IRQ_BASE + IO_RESET; in zevio_of_init()
Dirq-orion.c90 gc->chip_types[0].regs.mask = ORION_IRQ_MASK; in orion_irq_init()
91 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in orion_irq_init()
92 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_set_bit; in orion_irq_init()
189 gc->chip_types[0].regs.ack = ORION_BRIDGE_IRQ_CAUSE; in orion_bridge_irq_init()
190 gc->chip_types[0].regs.mask = ORION_BRIDGE_IRQ_MASK; in orion_bridge_irq_init()
191 gc->chip_types[0].chip.irq_startup = orion_bridge_irq_startup; in orion_bridge_irq_init()
192 gc->chip_types[0].chip.irq_ack = irq_gc_ack_clr_bit; in orion_bridge_irq_init()
193 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in orion_bridge_irq_init()
194 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_set_bit; in orion_bridge_irq_init()
Dirq-atmel-aic.c258 gc->chip_types[0].regs.eoi = AT91_AIC_EOICR; in aic_of_init()
259 gc->chip_types[0].regs.enable = AT91_AIC_IECR; in aic_of_init()
260 gc->chip_types[0].regs.disable = AT91_AIC_IDCR; in aic_of_init()
261 gc->chip_types[0].chip.irq_mask = irq_gc_mask_disable_reg; in aic_of_init()
262 gc->chip_types[0].chip.irq_unmask = irq_gc_unmask_enable_reg; in aic_of_init()
263 gc->chip_types[0].chip.irq_retrigger = aic_retrigger; in aic_of_init()
264 gc->chip_types[0].chip.irq_set_type = aic_set_type; in aic_of_init()
265 gc->chip_types[0].chip.irq_suspend = aic_suspend; in aic_of_init()
266 gc->chip_types[0].chip.irq_resume = aic_resume; in aic_of_init()
267 gc->chip_types[0].chip.irq_pm_shutdown = aic_pm_shutdown; in aic_of_init()
Dirq-mscc-ocelot.c152 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit; in vcoreiii_irq_init()
153 gc->chip_types[0].regs.ack = p->reg_off_sticky; in vcoreiii_irq_init()
155 gc->chip_types[0].regs.mask = p->reg_off_ena_clr; in vcoreiii_irq_init()
156 gc->chip_types[0].chip.irq_unmask = ocelot_irq_unmask; in vcoreiii_irq_init()
157 gc->chip_types[0].chip.irq_mask = irq_gc_mask_set_bit; in vcoreiii_irq_init()
159 gc->chip_types[0].regs.enable = p->reg_off_ena_set; in vcoreiii_irq_init()
160 gc->chip_types[0].regs.disable = p->reg_off_ena_clr; in vcoreiii_irq_init()
161 gc->chip_types[0].chip.irq_mask = irq_gc_mask_disable_reg; in vcoreiii_irq_init()
162 gc->chip_types[0].chip.irq_unmask = irq_gc_unmask_enable_reg; in vcoreiii_irq_init()
Dirq-al-fic.c59 gc->chip_types->handler = handler; in al_fic_set_trigger()
164 gc->chip_types->regs.mask = AL_FIC_MASK; in al_fic_register()
165 gc->chip_types->regs.ack = AL_FIC_CAUSE; in al_fic_register()
166 gc->chip_types->chip.irq_mask = irq_gc_mask_set_bit; in al_fic_register()
167 gc->chip_types->chip.irq_unmask = irq_gc_mask_clr_bit; in al_fic_register()
168 gc->chip_types->chip.irq_ack = irq_gc_ack_clr_bit; in al_fic_register()
169 gc->chip_types->chip.irq_set_type = al_fic_irq_set_type; in al_fic_register()
170 gc->chip_types->chip.irq_retrigger = al_fic_irq_retrigger; in al_fic_register()
171 gc->chip_types->chip.flags = IRQCHIP_SKIP_SET_WAKE; in al_fic_register()
Dirq-digicolor.c64 gc->chip_types[0].regs.ack = ack_reg; in digicolor_set_gc()
65 gc->chip_types[0].regs.mask = en_reg; in digicolor_set_gc()
66 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit; in digicolor_set_gc()
67 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in digicolor_set_gc()
68 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_set_bit; in digicolor_set_gc()
Dirq-nvic.c116 gc->chip_types[0].regs.enable = NVIC_ISER; in nvic_of_init()
117 gc->chip_types[0].regs.disable = NVIC_ICER; in nvic_of_init()
118 gc->chip_types[0].chip.irq_mask = irq_gc_mask_disable_reg; in nvic_of_init()
119 gc->chip_types[0].chip.irq_unmask = irq_gc_unmask_enable_reg; in nvic_of_init()
123 gc->chip_types[0].chip.irq_eoi = irq_gc_noop; in nvic_of_init()
Dirq-renesas-irqc.c189 p->gc->chip_types[0].regs.enable = IRQC_EN_SET; in irqc_probe()
190 p->gc->chip_types[0].regs.disable = IRQC_EN_STS; in irqc_probe()
191 p->gc->chip_types[0].chip.irq_mask = irq_gc_mask_disable_reg; in irqc_probe()
192 p->gc->chip_types[0].chip.irq_unmask = irq_gc_unmask_enable_reg; in irqc_probe()
193 p->gc->chip_types[0].chip.irq_set_type = irqc_irq_set_type; in irqc_probe()
194 p->gc->chip_types[0].chip.irq_set_wake = irqc_irq_set_wake; in irqc_probe()
195 p->gc->chip_types[0].chip.flags = IRQCHIP_MASK_ON_SUSPEND; in irqc_probe()
Dirq-atmel-aic5.c351 gc->chip_types[0].regs.eoi = AT91_AIC5_EOICR; in aic5_of_init()
352 gc->chip_types[0].chip.irq_mask = aic5_mask; in aic5_of_init()
353 gc->chip_types[0].chip.irq_unmask = aic5_unmask; in aic5_of_init()
354 gc->chip_types[0].chip.irq_retrigger = aic5_retrigger; in aic5_of_init()
355 gc->chip_types[0].chip.irq_set_type = aic5_set_type; in aic5_of_init()
356 gc->chip_types[0].chip.irq_suspend = aic5_suspend; in aic5_of_init()
357 gc->chip_types[0].chip.irq_resume = aic5_resume; in aic5_of_init()
358 gc->chip_types[0].chip.irq_pm_shutdown = aic5_pm_shutdown; in aic5_of_init()
Dirq-dw-apb-ictl.c194 gc->chip_types[0].regs.mask = APB_INT_MASK_L; in dw_apb_ictl_init()
195 gc->chip_types[0].regs.enable = APB_INT_ENABLE_L; in dw_apb_ictl_init()
196 gc->chip_types[0].chip.irq_mask = irq_gc_mask_set_bit; in dw_apb_ictl_init()
197 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_clr_bit; in dw_apb_ictl_init()
198 gc->chip_types[0].chip.irq_resume = dw_apb_ictl_resume; in dw_apb_ictl_init()
Dirq-atmel-aic-common.c253 gc->chip_types[0].type = IRQ_TYPE_SENSE_MASK; in aic_common_of_init()
254 gc->chip_types[0].chip.irq_eoi = irq_gc_eoi; in aic_common_of_init()
255 gc->chip_types[0].chip.irq_set_wake = irq_gc_set_wake; in aic_common_of_init()
256 gc->chip_types[0].chip.irq_shutdown = aic_common_shutdown; in aic_common_of_init()
Dirq-csky-apb-intc.c67 gc->chip_types[0].regs.mask = mask_reg; in ck_set_gc()
68 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in ck_set_gc()
69 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_set_bit; in ck_set_gc()
72 gc->chip_types[0].chip.irq_unmask = irq_ck_mask_set_bit; in ck_set_gc()
Dirq-stm32-exti.c840 gc->chip_types->type = IRQ_TYPE_EDGE_BOTH; in stm32_exti_init()
841 gc->chip_types->chip.irq_ack = stm32_irq_ack; in stm32_exti_init()
842 gc->chip_types->chip.irq_mask = irq_gc_mask_clr_bit; in stm32_exti_init()
843 gc->chip_types->chip.irq_unmask = irq_gc_mask_set_bit; in stm32_exti_init()
844 gc->chip_types->chip.irq_set_type = stm32_irq_set_type; in stm32_exti_init()
845 gc->chip_types->chip.irq_set_wake = irq_gc_set_wake; in stm32_exti_init()
850 gc->chip_types->regs.mask = stm32_bank->imr_ofst; in stm32_exti_init()
Dirq-bcm7120-l2.c87 struct irq_chip_type *ct = gc->chip_types; in bcm7120_l2_intc_suspend()
98 struct irq_chip_type *ct = gc->chip_types; in bcm7120_l2_intc_resume()
294 ct = gc->chip_types; in bcm7120_l2_intc_probe()
Dirq-omap-intc.c206 ct = gc->chip_types; in omap_alloc_gc_of()
231 ct = gc->chip_types; in omap_alloc_gc_legacy()
/Linux-v6.1/drivers/gpio/
Dgpio-tb10x.c202 gc->chip_types[0].type = IRQ_TYPE_EDGE_BOTH; in tb10x_gpio_probe()
203 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit; in tb10x_gpio_probe()
204 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in tb10x_gpio_probe()
205 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_set_bit; in tb10x_gpio_probe()
206 gc->chip_types[0].chip.irq_set_type = tb10x_gpio_irq_set_type; in tb10x_gpio_probe()
207 gc->chip_types[0].regs.ack = OFFSET_TO_REG_CHANGE; in tb10x_gpio_probe()
208 gc->chip_types[0].regs.mask = OFFSET_TO_REG_INT_EN; in tb10x_gpio_probe()
Dgpio-rockchip.c544 gc->chip_types[0].regs.mask = bank->gpio_regs->int_mask; in rockchip_interrupts_register()
545 gc->chip_types[0].regs.ack = bank->gpio_regs->port_eoi; in rockchip_interrupts_register()
546 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit; in rockchip_interrupts_register()
547 gc->chip_types[0].chip.irq_mask = irq_gc_mask_set_bit; in rockchip_interrupts_register()
548 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_clr_bit; in rockchip_interrupts_register()
549 gc->chip_types[0].chip.irq_enable = rockchip_irq_enable; in rockchip_interrupts_register()
550 gc->chip_types[0].chip.irq_disable = rockchip_irq_disable; in rockchip_interrupts_register()
551 gc->chip_types[0].chip.irq_set_wake = irq_gc_set_wake; in rockchip_interrupts_register()
552 gc->chip_types[0].chip.irq_suspend = rockchip_irq_suspend; in rockchip_interrupts_register()
553 gc->chip_types[0].chip.irq_resume = rockchip_irq_resume; in rockchip_interrupts_register()
[all …]
/Linux-v6.1/kernel/irq/
Dgeneric-chip.c226 gc->chip_types->chip.name = name; in irq_init_generic_chip()
227 gc->chip_types->handler = handler; in irq_init_generic_chip()
247 gc = kzalloc(struct_size(gc, chip_types, num_ct), GFP_KERNEL); in irq_alloc_generic_chip()
259 struct irq_chip_type *ct = gc->chip_types; in irq_gc_init_mask_cache()
308 gc_sz = struct_size(gc, chip_types, num_ct); in __irq_alloc_domain_generic_chips()
407 ct = gc->chip_types; in irq_map_generic_chip()
477 struct irq_chip_type *ct = gc->chip_types; in irq_setup_generic_chip()
521 struct irq_chip_type *ct = gc->chip_types; in irq_setup_alt_chip()
590 struct irq_chip_type *ct = gc->chip_types; in irq_gc_suspend()
610 struct irq_chip_type *ct = gc->chip_types; in irq_gc_resume()
[all …]
/Linux-v6.1/arch/arm/mach-imx/
Davic.c85 struct irq_chip_type *ct = gc->chip_types; in avic_irq_suspend()
107 struct irq_chip_type *ct = gc->chip_types; in avic_irq_resume()
135 ct = gc->chip_types; in avic_init_gc()
/Linux-v6.1/arch/arm/plat-orion/
Dirq.c34 ct = gc->chip_types; in orion_irq_init()
/Linux-v6.1/drivers/soc/dove/
Dpmu.c296 gc->chip_types[0].regs.mask = PMC_IRQ_MASK; in dove_init_pmu_irq()
297 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in dove_init_pmu_irq()
298 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_set_bit; in dove_init_pmu_irq()

123