intc 161 arch/arc/kernel/intc-arcv2.c init_onchip_IRQ(struct device_node *intc, struct device_node *parent) intc 173 arch/arc/kernel/intc-arcv2.c root_domain = irq_domain_add_linear(intc, nr_cpu_irqs, &arcv2_irq_ops, NULL); intc 108 arch/arc/kernel/intc-compact.c init_onchip_IRQ(struct device_node *intc, struct device_node *parent) intc 115 arch/arc/kernel/intc-compact.c root_domain = irq_domain_add_linear(intc, NR_CPU_IRQS, intc 380 arch/arc/kernel/mcip.c idu_of_init(struct device_node *intc, struct device_node *parent) intc 398 arch/arc/kernel/mcip.c domain = irq_domain_add_linear(intc, nr_irqs, &idu_irq_ops, NULL); intc 25 arch/mips/include/asm/mach-au1x00/gpio-au1000.h #define MAKE_IRQ(intc, off) (AU1000_INTC##intc##_INT_BASE + (off)) intc 655 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t intc:1; intc 683 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t intc:1; intc 698 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t intc:1; intc 726 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t intc:1; intc 61 arch/mips/include/asm/octeon/cvmx-sli-defs.h __BITFIELD_FIELD(uint64_t intc:1, intc 21 arch/mips/include/asm/txx9pio.h __u32 intc; intc 168 drivers/dma/sprd-dma.c u32 intc; intc 493 drivers/dma/sprd-dma.c writel(cfg->intc, schan->chn_base + SPRD_DMA_CHN_INTC); intc 800 drivers/dma/sprd-dma.c hw->intc = int_mode | SPRD_DMA_CFG_ERR_INT_EN; intc 881 drivers/dma/sprd-dma.c hw->intc = SPRD_DMA_TRANS_INT | SPRD_DMA_CFG_ERR_INT_EN; intc 94 drivers/gpio/gpio-eic-sprd.c struct irq_chip intc; intc 627 drivers/gpio/gpio-eic-sprd.c sprd_eic->intc.name = dev_name(&pdev->dev); intc 628 drivers/gpio/gpio-eic-sprd.c sprd_eic->intc.irq_ack = sprd_eic_irq_ack; intc 629 drivers/gpio/gpio-eic-sprd.c sprd_eic->intc.irq_mask = sprd_eic_irq_mask; intc 630 drivers/gpio/gpio-eic-sprd.c sprd_eic->intc.irq_unmask = sprd_eic_irq_unmask; intc 631 drivers/gpio/gpio-eic-sprd.c sprd_eic->intc.irq_set_type = sprd_eic_irq_set_type; intc 632 drivers/gpio/gpio-eic-sprd.c sprd_eic->intc.flags = IRQCHIP_SKIP_SET_WAKE; intc 635 drivers/gpio/gpio-eic-sprd.c irq->chip = &sprd_eic->intc; intc 59 drivers/gpio/gpio-pmic-eic-sprd.c struct irq_chip intc; intc 342 drivers/gpio/gpio-pmic-eic-sprd.c pmic_eic->intc.name = dev_name(&pdev->dev); intc 343 drivers/gpio/gpio-pmic-eic-sprd.c pmic_eic->intc.irq_mask = sprd_pmic_eic_irq_mask; intc 344 drivers/gpio/gpio-pmic-eic-sprd.c pmic_eic->intc.irq_unmask = sprd_pmic_eic_irq_unmask; intc 345 drivers/gpio/gpio-pmic-eic-sprd.c pmic_eic->intc.irq_set_type = sprd_pmic_eic_irq_set_type; intc 346 drivers/gpio/gpio-pmic-eic-sprd.c pmic_eic->intc.irq_bus_lock = sprd_pmic_eic_bus_lock; intc 347 drivers/gpio/gpio-pmic-eic-sprd.c pmic_eic->intc.irq_bus_sync_unlock = sprd_pmic_eic_bus_sync_unlock; intc 348 drivers/gpio/gpio-pmic-eic-sprd.c pmic_eic->intc.flags = IRQCHIP_SKIP_SET_WAKE; intc 351 drivers/gpio/gpio-pmic-eic-sprd.c irq->chip = &pmic_eic->intc; intc 60 drivers/gpio/gpio-tegra186.c struct irq_chip intc; intc 485 drivers/gpio/gpio-tegra186.c gpio->intc.name = pdev->dev.of_node->name; intc 486 drivers/gpio/gpio-tegra186.c gpio->intc.irq_ack = tegra186_irq_ack; intc 487 drivers/gpio/gpio-tegra186.c gpio->intc.irq_mask = tegra186_irq_mask; intc 488 drivers/gpio/gpio-tegra186.c gpio->intc.irq_unmask = tegra186_irq_unmask; intc 489 drivers/gpio/gpio-tegra186.c gpio->intc.irq_set_type = tegra186_irq_set_type; intc 492 drivers/gpio/gpio-tegra186.c irq->chip = &gpio->intc; intc 86 drivers/irqchip/irq-bcm2835.c static struct armctrl_ic intc __read_mostly; intc 93 drivers/irqchip/irq-bcm2835.c writel_relaxed(HWIRQ_BIT(d->hwirq), intc.disable[HWIRQ_BANK(d->hwirq)]); intc 98 drivers/irqchip/irq-bcm2835.c writel_relaxed(HWIRQ_BIT(d->hwirq), intc.enable[HWIRQ_BANK(d->hwirq)]); intc 143 drivers/irqchip/irq-bcm2835.c intc.domain = irq_domain_add_linear(node, MAKE_HWIRQ(NR_BANKS, 0), intc 145 drivers/irqchip/irq-bcm2835.c if (!intc.domain) intc 149 drivers/irqchip/irq-bcm2835.c intc.pending[b] = base + reg_pending[b]; intc 150 drivers/irqchip/irq-bcm2835.c intc.enable[b] = base + reg_enable[b]; intc 151 drivers/irqchip/irq-bcm2835.c intc.disable[b] = base + reg_disable[b]; intc 154 drivers/irqchip/irq-bcm2835.c irq = irq_create_mapping(intc.domain, MAKE_HWIRQ(b, i)); intc 198 drivers/irqchip/irq-bcm2835.c u32 stat = readl_relaxed(intc.pending[bank]); intc 210 drivers/irqchip/irq-bcm2835.c u32 stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK; intc 234 drivers/irqchip/irq-bcm2835.c handle_domain_irq(intc.domain, hwirq, regs); intc 242 drivers/irqchip/irq-bcm2835.c generic_handle_irq(irq_linear_revmap(intc.domain, hwirq)); intc 22 drivers/irqchip/irq-bcm2836.c static struct bcm2836_arm_irqchip_intc intc __read_mostly; intc 28 drivers/irqchip/irq-bcm2836.c void __iomem *reg = intc.base + reg_offset + 4 * cpu; intc 37 drivers/irqchip/irq-bcm2836.c void __iomem *reg = intc.base + reg_offset + 4 * cpu; intc 64 drivers/irqchip/irq-bcm2836.c writel(1 << smp_processor_id(), intc.base + LOCAL_PM_ROUTING_CLR); intc 69 drivers/irqchip/irq-bcm2836.c writel(1 << smp_processor_id(), intc.base + LOCAL_PM_ROUTING_SET); intc 129 drivers/irqchip/irq-bcm2836.c stat = readl_relaxed(intc.base + LOCAL_IRQ_PENDING0 + 4 * cpu); intc 132 drivers/irqchip/irq-bcm2836.c void __iomem *mailbox0 = (intc.base + intc 143 drivers/irqchip/irq-bcm2836.c handle_domain_irq(intc.domain, hwirq, regs); intc 152 drivers/irqchip/irq-bcm2836.c void __iomem *mailbox0_base = intc.base + LOCAL_MAILBOX0_SET0; intc 210 drivers/irqchip/irq-bcm2836.c writel(0, intc.base + LOCAL_CONTROL); intc 216 drivers/irqchip/irq-bcm2836.c writel(0x80000000, intc.base + LOCAL_PRESCALER); intc 222 drivers/irqchip/irq-bcm2836.c intc.base = of_iomap(node, 0); intc 223 drivers/irqchip/irq-bcm2836.c if (!intc.base) { intc 229 drivers/irqchip/irq-bcm2836.c intc.domain = irq_domain_add_linear(node, LAST_IRQ + 1, intc 232 drivers/irqchip/irq-bcm2836.c if (!intc.domain) intc 90 drivers/irqchip/irq-bcm6345-l1.c static inline unsigned int reg_enable(struct bcm6345_l1_chip *intc, intc 94 drivers/irqchip/irq-bcm6345-l1.c return (1 * intc->n_words - word - 1) * sizeof(u32); intc 96 drivers/irqchip/irq-bcm6345-l1.c return (0 * intc->n_words + word) * sizeof(u32); intc 100 drivers/irqchip/irq-bcm6345-l1.c static inline unsigned int reg_status(struct bcm6345_l1_chip *intc, intc 104 drivers/irqchip/irq-bcm6345-l1.c return (2 * intc->n_words - word - 1) * sizeof(u32); intc 106 drivers/irqchip/irq-bcm6345-l1.c return (1 * intc->n_words + word) * sizeof(u32); intc 110 drivers/irqchip/irq-bcm6345-l1.c static inline unsigned int cpu_for_irq(struct bcm6345_l1_chip *intc, intc 113 drivers/irqchip/irq-bcm6345-l1.c return cpumask_first_and(&intc->cpumask, irq_data_get_affinity_mask(d)); intc 118 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_chip *intc = irq_desc_get_handler_data(desc); intc 124 drivers/irqchip/irq-bcm6345-l1.c cpu = intc->cpus[cpu_logical_map(smp_processor_id())]; intc 126 drivers/irqchip/irq-bcm6345-l1.c cpu = intc->cpus[0]; intc 131 drivers/irqchip/irq-bcm6345-l1.c for (idx = 0; idx < intc->n_words; idx++) { intc 137 drivers/irqchip/irq-bcm6345-l1.c pending = __raw_readl(cpu->map_base + reg_status(intc, idx)); intc 138 drivers/irqchip/irq-bcm6345-l1.c pending &= __raw_readl(cpu->map_base + reg_enable(intc, idx)); intc 141 drivers/irqchip/irq-bcm6345-l1.c irq = irq_linear_revmap(intc->domain, base + hwirq); intc 154 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 157 drivers/irqchip/irq-bcm6345-l1.c unsigned int cpu_idx = cpu_for_irq(intc, d); intc 159 drivers/irqchip/irq-bcm6345-l1.c intc->cpus[cpu_idx]->enable_cache[word] |= mask; intc 160 drivers/irqchip/irq-bcm6345-l1.c __raw_writel(intc->cpus[cpu_idx]->enable_cache[word], intc 161 drivers/irqchip/irq-bcm6345-l1.c intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); intc 166 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 169 drivers/irqchip/irq-bcm6345-l1.c unsigned int cpu_idx = cpu_for_irq(intc, d); intc 171 drivers/irqchip/irq-bcm6345-l1.c intc->cpus[cpu_idx]->enable_cache[word] &= ~mask; intc 172 drivers/irqchip/irq-bcm6345-l1.c __raw_writel(intc->cpus[cpu_idx]->enable_cache[word], intc 173 drivers/irqchip/irq-bcm6345-l1.c intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); intc 178 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 181 drivers/irqchip/irq-bcm6345-l1.c raw_spin_lock_irqsave(&intc->lock, flags); intc 183 drivers/irqchip/irq-bcm6345-l1.c raw_spin_unlock_irqrestore(&intc->lock, flags); intc 188 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 191 drivers/irqchip/irq-bcm6345-l1.c raw_spin_lock_irqsave(&intc->lock, flags); intc 193 drivers/irqchip/irq-bcm6345-l1.c raw_spin_unlock_irqrestore(&intc->lock, flags); intc 200 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 203 drivers/irqchip/irq-bcm6345-l1.c unsigned int old_cpu = cpu_for_irq(intc, d); intc 209 drivers/irqchip/irq-bcm6345-l1.c if (!cpumask_and(&valid, &intc->cpumask, dest)) intc 218 drivers/irqchip/irq-bcm6345-l1.c raw_spin_lock_irqsave(&intc->lock, flags); intc 220 drivers/irqchip/irq-bcm6345-l1.c enabled = intc->cpus[old_cpu]->enable_cache[word] & mask; intc 229 drivers/irqchip/irq-bcm6345-l1.c raw_spin_unlock_irqrestore(&intc->lock, flags); intc 238 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_chip *intc) intc 250 drivers/irqchip/irq-bcm6345-l1.c if (!intc->n_words) intc 251 drivers/irqchip/irq-bcm6345-l1.c intc->n_words = n_words; intc 252 drivers/irqchip/irq-bcm6345-l1.c else if (intc->n_words != n_words) intc 255 drivers/irqchip/irq-bcm6345-l1.c cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), intc 266 drivers/irqchip/irq-bcm6345-l1.c __raw_writel(0, cpu->map_base + reg_enable(intc, i)); intc 275 drivers/irqchip/irq-bcm6345-l1.c bcm6345_l1_irq_handle, intc); intc 305 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_chip *intc; intc 309 drivers/irqchip/irq-bcm6345-l1.c intc = kzalloc(sizeof(*intc), GFP_KERNEL); intc 310 drivers/irqchip/irq-bcm6345-l1.c if (!intc) intc 314 drivers/irqchip/irq-bcm6345-l1.c ret = bcm6345_l1_init_one(dn, idx, intc); intc 319 drivers/irqchip/irq-bcm6345-l1.c cpumask_set_cpu(idx, &intc->cpumask); intc 322 drivers/irqchip/irq-bcm6345-l1.c if (!cpumask_weight(&intc->cpumask)) { intc 327 drivers/irqchip/irq-bcm6345-l1.c raw_spin_lock_init(&intc->lock); intc 329 drivers/irqchip/irq-bcm6345-l1.c intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, intc 331 drivers/irqchip/irq-bcm6345-l1.c intc); intc 332 drivers/irqchip/irq-bcm6345-l1.c if (!intc->domain) { intc 338 drivers/irqchip/irq-bcm6345-l1.c IRQS_PER_WORD * intc->n_words); intc 339 drivers/irqchip/irq-bcm6345-l1.c for_each_cpu(idx, &intc->cpumask) { intc 340 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_cpu *cpu = intc->cpus[idx]; intc 350 drivers/irqchip/irq-bcm6345-l1.c struct bcm6345_l1_cpu *cpu = intc->cpus[idx]; intc 359 drivers/irqchip/irq-bcm6345-l1.c kfree(intc); intc 74 drivers/irqchip/irq-bcm7038-l1.c static inline unsigned int reg_status(struct bcm7038_l1_chip *intc, intc 77 drivers/irqchip/irq-bcm7038-l1.c return (0 * intc->n_words + word) * sizeof(u32); intc 80 drivers/irqchip/irq-bcm7038-l1.c static inline unsigned int reg_mask_status(struct bcm7038_l1_chip *intc, intc 83 drivers/irqchip/irq-bcm7038-l1.c return (1 * intc->n_words + word) * sizeof(u32); intc 86 drivers/irqchip/irq-bcm7038-l1.c static inline unsigned int reg_mask_set(struct bcm7038_l1_chip *intc, intc 89 drivers/irqchip/irq-bcm7038-l1.c return (2 * intc->n_words + word) * sizeof(u32); intc 92 drivers/irqchip/irq-bcm7038-l1.c static inline unsigned int reg_mask_clr(struct bcm7038_l1_chip *intc, intc 95 drivers/irqchip/irq-bcm7038-l1.c return (3 * intc->n_words + word) * sizeof(u32); intc 116 drivers/irqchip/irq-bcm7038-l1.c struct bcm7038_l1_chip *intc = irq_desc_get_handler_data(desc); intc 122 drivers/irqchip/irq-bcm7038-l1.c cpu = intc->cpus[cpu_logical_map(smp_processor_id())]; intc 124 drivers/irqchip/irq-bcm7038-l1.c cpu = intc->cpus[0]; intc 129 drivers/irqchip/irq-bcm7038-l1.c for (idx = 0; idx < intc->n_words; idx++) { intc 134 drivers/irqchip/irq-bcm7038-l1.c raw_spin_lock_irqsave(&intc->lock, flags); intc 135 drivers/irqchip/irq-bcm7038-l1.c pending = l1_readl(cpu->map_base + reg_status(intc, idx)) & intc 137 drivers/irqchip/irq-bcm7038-l1.c raw_spin_unlock_irqrestore(&intc->lock, flags); intc 140 drivers/irqchip/irq-bcm7038-l1.c generic_handle_irq(irq_find_mapping(intc->domain, intc 150 drivers/irqchip/irq-bcm7038-l1.c struct bcm7038_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 154 drivers/irqchip/irq-bcm7038-l1.c intc->cpus[cpu_idx]->mask_cache[word] &= ~mask; intc 155 drivers/irqchip/irq-bcm7038-l1.c l1_writel(mask, intc->cpus[cpu_idx]->map_base + intc 156 drivers/irqchip/irq-bcm7038-l1.c reg_mask_clr(intc, word)); intc 161 drivers/irqchip/irq-bcm7038-l1.c struct bcm7038_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 165 drivers/irqchip/irq-bcm7038-l1.c intc->cpus[cpu_idx]->mask_cache[word] |= mask; intc 166 drivers/irqchip/irq-bcm7038-l1.c l1_writel(mask, intc->cpus[cpu_idx]->map_base + intc 167 drivers/irqchip/irq-bcm7038-l1.c reg_mask_set(intc, word)); intc 172 drivers/irqchip/irq-bcm7038-l1.c struct bcm7038_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 175 drivers/irqchip/irq-bcm7038-l1.c raw_spin_lock_irqsave(&intc->lock, flags); intc 176 drivers/irqchip/irq-bcm7038-l1.c __bcm7038_l1_unmask(d, intc->affinity[d->hwirq]); intc 177 drivers/irqchip/irq-bcm7038-l1.c raw_spin_unlock_irqrestore(&intc->lock, flags); intc 182 drivers/irqchip/irq-bcm7038-l1.c struct bcm7038_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 185 drivers/irqchip/irq-bcm7038-l1.c raw_spin_lock_irqsave(&intc->lock, flags); intc 186 drivers/irqchip/irq-bcm7038-l1.c __bcm7038_l1_mask(d, intc->affinity[d->hwirq]); intc 187 drivers/irqchip/irq-bcm7038-l1.c raw_spin_unlock_irqrestore(&intc->lock, flags); intc 194 drivers/irqchip/irq-bcm7038-l1.c struct bcm7038_l1_chip *intc = irq_data_get_irq_chip_data(d); intc 202 drivers/irqchip/irq-bcm7038-l1.c raw_spin_lock_irqsave(&intc->lock, flags); intc 204 drivers/irqchip/irq-bcm7038-l1.c was_disabled = !!(intc->cpus[intc->affinity[hw]]->mask_cache[word] & intc 206 drivers/irqchip/irq-bcm7038-l1.c __bcm7038_l1_mask(d, intc->affinity[hw]); intc 207 drivers/irqchip/irq-bcm7038-l1.c intc->affinity[hw] = first_cpu; intc 211 drivers/irqchip/irq-bcm7038-l1.c raw_spin_unlock_irqrestore(&intc->lock, flags); intc 246 drivers/irqchip/irq-bcm7038-l1.c struct bcm7038_l1_chip *intc) intc 260 drivers/irqchip/irq-bcm7038-l1.c else if (!intc->n_words) intc 261 drivers/irqchip/irq-bcm7038-l1.c intc->n_words = n_words; intc 262 drivers/irqchip/irq-bcm7038-l1.c else if (intc->n_words != n_words) intc 265 drivers/irqchip/irq-bcm7038-l1.c cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), intc 275 drivers/irqchip/irq-bcm7038-l1.c l1_writel(0xffffffff, cpu->map_base + reg_mask_set(intc, i)); intc 289 drivers/irqchip/irq-bcm7038-l1.c intc); intc 321 drivers/irqchip/irq-bcm7038-l1.c struct bcm7038_l1_chip *intc; intc 324 drivers/irqchip/irq-bcm7038-l1.c intc = kzalloc(sizeof(*intc), GFP_KERNEL); intc 325 drivers/irqchip/irq-bcm7038-l1.c if (!intc) intc 328 drivers/irqchip/irq-bcm7038-l1.c raw_spin_lock_init(&intc->lock); intc 330 drivers/irqchip/irq-bcm7038-l1.c ret = bcm7038_l1_init_one(dn, idx, intc); intc 339 drivers/irqchip/irq-bcm7038-l1.c intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, intc 341 drivers/irqchip/irq-bcm7038-l1.c intc); intc 342 drivers/irqchip/irq-bcm7038-l1.c if (!intc->domain) { intc 348 drivers/irqchip/irq-bcm7038-l1.c dn, IRQS_PER_WORD * intc->n_words); intc 354 drivers/irqchip/irq-bcm7038-l1.c struct bcm7038_l1_cpu *cpu = intc->cpus[idx]; intc 363 drivers/irqchip/irq-bcm7038-l1.c kfree(intc); intc 214 drivers/irqchip/irq-hip04.c static u16 hip04_get_cpumask(struct hip04_irq_data *intc) intc 216 drivers/irqchip/irq-hip04.c void __iomem *base = intc->dist_base; intc 232 drivers/irqchip/irq-hip04.c static void __init hip04_irq_dist_init(struct hip04_irq_data *intc) intc 236 drivers/irqchip/irq-hip04.c unsigned int nr_irqs = intc->nr_irqs; intc 237 drivers/irqchip/irq-hip04.c void __iomem *base = intc->dist_base; intc 244 drivers/irqchip/irq-hip04.c cpumask = hip04_get_cpumask(intc); intc 254 drivers/irqchip/irq-hip04.c static void hip04_irq_cpu_init(struct hip04_irq_data *intc) intc 256 drivers/irqchip/irq-hip04.c void __iomem *dist_base = intc->dist_base; intc 257 drivers/irqchip/irq-hip04.c void __iomem *base = intc->cpu_base; intc 265 drivers/irqchip/irq-hip04.c cpu_mask = hip04_get_cpumask(intc); intc 37 drivers/irqchip/irq-ingenic.c struct ingenic_intc_data *intc = irq_get_handler_data(irq); intc 41 drivers/irqchip/irq-ingenic.c for (i = 0; i < intc->num_chips; i++) { intc 42 drivers/irqchip/irq-ingenic.c irq_reg = readl(intc->base + (i * CHIP_SIZE) + intc 81 drivers/irqchip/irq-ingenic.c struct ingenic_intc_data *intc; intc 88 drivers/irqchip/irq-ingenic.c intc = kzalloc(sizeof(*intc), GFP_KERNEL); intc 89 drivers/irqchip/irq-ingenic.c if (!intc) { intc 100 drivers/irqchip/irq-ingenic.c err = irq_set_handler_data(parent_irq, intc); intc 104 drivers/irqchip/irq-ingenic.c intc->num_chips = num_chips; intc 105 drivers/irqchip/irq-ingenic.c intc->base = of_iomap(node, 0); intc 106 drivers/irqchip/irq-ingenic.c if (!intc->base) { intc 121 drivers/irqchip/irq-ingenic.c writel(0xffffffff, intc->base + (i * CHIP_SIZE) + intc 126 drivers/irqchip/irq-ingenic.c intc->base + (i * CHIP_SIZE), intc 149 drivers/irqchip/irq-ingenic.c iounmap(intc->base); intc 153 drivers/irqchip/irq-ingenic.c kfree(intc); intc 76 drivers/irqchip/irq-renesas-h8300h.c static int __init h8300h_intc_of_init(struct device_node *intc, intc 81 drivers/irqchip/irq-renesas-h8300h.c intc_baseaddr = of_iomap(intc, 0); intc 88 drivers/irqchip/irq-renesas-h8300h.c domain = irq_domain_add_linear(intc, NR_IRQS, &irq_ops, NULL); intc 82 drivers/irqchip/irq-renesas-h8s.c static int __init h8s_intc_of_init(struct device_node *intc, intc 88 drivers/irqchip/irq-renesas-h8s.c intc_baseaddr = of_iomap(intc, 0); intc 96 drivers/irqchip/irq-renesas-h8s.c domain = irq_domain_add_linear(intc, NR_IRQS, &irq_ops, NULL); intc 46 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc; intc 80 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc = irq_data->intc; intc 81 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *parent_intc = intc->parent; intc 86 drivers/irqchip/irq-s3c24xx.c mask = readl_relaxed(intc->reg_mask); intc 88 drivers/irqchip/irq-s3c24xx.c writel_relaxed(mask, intc->reg_mask); intc 108 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc = irq_data->intc; intc 109 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *parent_intc = intc->parent; intc 113 drivers/irqchip/irq-s3c24xx.c mask = readl_relaxed(intc->reg_mask); intc 115 drivers/irqchip/irq-s3c24xx.c writel_relaxed(mask, intc->reg_mask); intc 127 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc = irq_data->intc; intc 130 drivers/irqchip/irq-s3c24xx.c writel_relaxed(bitval, intc->reg_pending); intc 131 drivers/irqchip/irq-s3c24xx.c if (intc->reg_intpnd) intc 132 drivers/irqchip/irq-s3c24xx.c writel_relaxed(bitval, intc->reg_intpnd); intc 296 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc = irq_data->intc; intc 305 drivers/irqchip/irq-s3c24xx.c offset = irq_domain_get_of_node(intc->domain) ? 32 : 0; intc 325 drivers/irqchip/irq-s3c24xx.c static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc, intc 331 drivers/irqchip/irq-s3c24xx.c pnd = readl_relaxed(intc->reg_intpnd); intc 336 drivers/irqchip/irq-s3c24xx.c if (!irq_domain_get_of_node(intc->domain)) intc 346 drivers/irqchip/irq-s3c24xx.c offset = readl_relaxed(intc->reg_intpnd + 4); intc 355 drivers/irqchip/irq-s3c24xx.c handle_domain_irq(intc->domain, intc_offset + offset, regs); intc 410 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc = h->host_data; intc 411 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_data *irq_data = &intc->irqs[hw]; intc 417 drivers/irqchip/irq-s3c24xx.c irq_data->intc = intc; intc 420 drivers/irqchip/irq-s3c24xx.c parent_intc = intc->parent; intc 438 drivers/irqchip/irq-s3c24xx.c if (parent_intc || intc->reg_pending == S3C2416_SRCPND2) intc 468 drivers/irqchip/irq-s3c24xx.c parent_irq_data->sub_intc = intc; intc 490 drivers/irqchip/irq-s3c24xx.c static void s3c24xx_clear_intc(struct s3c_irq_intc *intc) intc 498 drivers/irqchip/irq-s3c24xx.c reg_source = intc->reg_intpnd ? intc->reg_intpnd : intc->reg_pending; intc 507 drivers/irqchip/irq-s3c24xx.c writel_relaxed(pend, intc->reg_pending); intc 508 drivers/irqchip/irq-s3c24xx.c if (intc->reg_intpnd) intc 509 drivers/irqchip/irq-s3c24xx.c writel_relaxed(pend, intc->reg_intpnd); intc 521 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc; intc 527 drivers/irqchip/irq-s3c24xx.c intc = kzalloc(sizeof(struct s3c_irq_intc), GFP_KERNEL); intc 528 drivers/irqchip/irq-s3c24xx.c if (!intc) intc 531 drivers/irqchip/irq-s3c24xx.c intc->irqs = irq_data; intc 534 drivers/irqchip/irq-s3c24xx.c intc->parent = parent; intc 543 drivers/irqchip/irq-s3c24xx.c intc->reg_pending = base; intc 544 drivers/irqchip/irq-s3c24xx.c intc->reg_mask = base + 0x08; intc 545 drivers/irqchip/irq-s3c24xx.c intc->reg_intpnd = base + 0x10; intc 551 drivers/irqchip/irq-s3c24xx.c intc->reg_pending = base + 0x18; intc 552 drivers/irqchip/irq-s3c24xx.c intc->reg_mask = base + 0x1c; intc 558 drivers/irqchip/irq-s3c24xx.c intc->reg_pending = base + 0x40; intc 559 drivers/irqchip/irq-s3c24xx.c intc->reg_mask = base + 0x48; intc 560 drivers/irqchip/irq-s3c24xx.c intc->reg_intpnd = base + 0x50; intc 568 drivers/irqchip/irq-s3c24xx.c intc->reg_mask = base + 0xa4; intc 569 drivers/irqchip/irq-s3c24xx.c intc->reg_pending = base + 0xa8; intc 580 drivers/irqchip/irq-s3c24xx.c s3c24xx_clear_intc(intc); intc 581 drivers/irqchip/irq-s3c24xx.c intc->domain = irq_domain_add_legacy(np, irq_num, irq_start, intc 583 drivers/irqchip/irq-s3c24xx.c intc); intc 584 drivers/irqchip/irq-s3c24xx.c if (!intc->domain) { intc 592 drivers/irqchip/irq-s3c24xx.c return intc; intc 595 drivers/irqchip/irq-s3c24xx.c kfree(intc); intc 1144 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc = s3c_intc[ctrl_num]; intc 1145 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *parent_intc = intc->parent; intc 1146 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_data *irq_data = &intc->irqs[intc_hw]; intc 1149 drivers/irqchip/irq-s3c24xx.c irq_data->intc = intc; intc 1170 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc; intc 1183 drivers/irqchip/irq-s3c24xx.c intc = s3c_intc[intspec[0]]; intc 1188 drivers/irqchip/irq-s3c24xx.c parent_intc = intc->parent; intc 1190 drivers/irqchip/irq-s3c24xx.c irq_data = &intc->irqs[intspec[2]]; intc 1193 drivers/irqchip/irq-s3c24xx.c parent_irq_data->sub_intc = intc; intc 1226 drivers/irqchip/irq-s3c24xx.c struct s3c_irq_intc *intc; intc 1250 drivers/irqchip/irq-s3c24xx.c intc = kzalloc(sizeof(struct s3c_irq_intc), GFP_KERNEL); intc 1251 drivers/irqchip/irq-s3c24xx.c if (!intc) intc 1254 drivers/irqchip/irq-s3c24xx.c intc->domain = domain; intc 1255 drivers/irqchip/irq-s3c24xx.c intc->irqs = kcalloc(32, sizeof(struct s3c_irq_data), intc 1257 drivers/irqchip/irq-s3c24xx.c if (!intc->irqs) { intc 1258 drivers/irqchip/irq-s3c24xx.c kfree(intc); intc 1263 drivers/irqchip/irq-s3c24xx.c intc->reg_pending = reg_base + ctrl->offset; intc 1264 drivers/irqchip/irq-s3c24xx.c intc->reg_mask = reg_base + ctrl->offset + 0x4; intc 1267 drivers/irqchip/irq-s3c24xx.c intc->parent = *(ctrl->parent); intc 1271 drivers/irqchip/irq-s3c24xx.c kfree(intc->irqs); intc 1272 drivers/irqchip/irq-s3c24xx.c kfree(intc); intc 1276 drivers/irqchip/irq-s3c24xx.c intc->reg_pending = reg_base + ctrl->offset; intc 1277 drivers/irqchip/irq-s3c24xx.c intc->reg_mask = reg_base + ctrl->offset + 0x08; intc 1278 drivers/irqchip/irq-s3c24xx.c intc->reg_intpnd = reg_base + ctrl->offset + 0x10; intc 1281 drivers/irqchip/irq-s3c24xx.c s3c24xx_clear_intc(intc); intc 1282 drivers/irqchip/irq-s3c24xx.c s3c_intc[i] = intc; intc 67 drivers/irqchip/irq-vt8500.c static struct vt8500_irq_data intc[VT8500_INTC_MAX]; intc 174 drivers/irqchip/irq-vt8500.c base = intc[i].base; intc 186 drivers/irqchip/irq-vt8500.c handle_domain_irq(intc[i].domain, irqnr, regs); intc 202 drivers/irqchip/irq-vt8500.c intc[active_cnt].base = of_iomap(np, 0); intc 203 drivers/irqchip/irq-vt8500.c intc[active_cnt].domain = irq_domain_add_linear(node, 64, intc 204 drivers/irqchip/irq-vt8500.c &vt8500_irq_domain_ops, &intc[active_cnt]); intc 206 drivers/irqchip/irq-vt8500.c if (!intc[active_cnt].base) { intc 211 drivers/irqchip/irq-vt8500.c if (!intc[active_cnt].domain) { intc 218 drivers/irqchip/irq-vt8500.c vt8500_init_irq_hw(intc[active_cnt].base); intc 153 drivers/irqchip/irq-xilinx-intc.c static int __init xilinx_intc_of_init(struct device_node *intc, intc 171 drivers/irqchip/irq-xilinx-intc.c irqc->base = of_iomap(intc, 0); intc 174 drivers/irqchip/irq-xilinx-intc.c ret = of_property_read_u32(intc, "xlnx,num-intr-inputs", &nr_irq); intc 180 drivers/irqchip/irq-xilinx-intc.c ret = of_property_read_u32(intc, "xlnx,kind-of-intr", &irqc->intr_mask); intc 190 drivers/irqchip/irq-xilinx-intc.c intc, nr_irq, irqc->intr_mask); intc 209 drivers/irqchip/irq-xilinx-intc.c irqc->root_domain = irq_domain_add_linear(intc, nr_irq, intc 217 drivers/irqchip/irq-xilinx-intc.c irq = irq_of_parse_and_map(intc, 0); intc 494 drivers/net/dsa/rtl8366rb.c struct device_node *intc; intc 501 drivers/net/dsa/rtl8366rb.c intc = of_get_child_by_name(smi->dev->of_node, "interrupt-controller"); intc 502 drivers/net/dsa/rtl8366rb.c if (!intc) { intc 507 drivers/net/dsa/rtl8366rb.c irq = of_irq_get(intc, 0); intc 551 drivers/net/dsa/rtl8366rb.c smi->irqdomain = irq_domain_add_linear(intc, intc 564 drivers/net/dsa/rtl8366rb.c of_node_put(intc); intc 2214 drivers/net/wireless/realtek/rtlwifi/wifi.h u32 intc; intc 345 drivers/pci/controller/pci-ftpci100.c struct device_node *intc = of_get_next_child(p->dev->of_node, NULL); intc 349 drivers/pci/controller/pci-ftpci100.c if (!intc) { intc 355 drivers/pci/controller/pci-ftpci100.c irq = of_irq_get(intc, 0); intc 358 drivers/pci/controller/pci-ftpci100.c of_node_put(intc); intc 362 drivers/pci/controller/pci-ftpci100.c p->irqdomain = irq_domain_add_linear(intc, PCI_NUM_INTX, intc 364 drivers/pci/controller/pci-ftpci100.c of_node_put(intc); intc 718 drivers/pci/controller/pcie-rockchip-host.c struct device_node *intc = of_get_next_child(dev->of_node, NULL); intc 720 drivers/pci/controller/pcie-rockchip-host.c if (!intc) { intc 725 drivers/pci/controller/pcie-rockchip-host.c rockchip->irq_domain = irq_domain_add_linear(intc, PCI_NUM_INTX, intc 727 drivers/pci/controller/pcie-rockchip-host.c of_node_put(intc); intc 3203 drivers/pinctrl/sh-pfc/pfc-r8a7740.c SH_PFC_FUNCTION(intc), intc 3132 drivers/pinctrl/sh-pfc/pfc-r8a7779.c SH_PFC_FUNCTION(intc), intc 4710 drivers/pinctrl/sh-pfc/pfc-r8a7790.c SH_PFC_FUNCTION(intc), intc 5384 drivers/pinctrl/sh-pfc/pfc-r8a7791.c SH_PFC_FUNCTION(intc), intc 1972 drivers/pinctrl/sh-pfc/pfc-r8a7792.c SH_PFC_FUNCTION(intc), intc 4580 drivers/pinctrl/sh-pfc/pfc-r8a7794.c SH_PFC_FUNCTION(intc),