• Home
  • Raw
  • Download

Lines Matching refs:ic

193 static u32 aic_ic_read(struct aic_irq_chip *ic, u32 reg)  in aic_ic_read()  argument
195 return readl_relaxed(ic->base + reg); in aic_ic_read()
198 static void aic_ic_write(struct aic_irq_chip *ic, u32 reg, u32 val) in aic_ic_write() argument
200 writel_relaxed(val, ic->base + reg); in aic_ic_write()
209 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_irq_mask() local
211 aic_ic_write(ic, AIC_MASK_SET + MASK_REG(irqd_to_hwirq(d)), in aic_irq_mask()
217 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_irq_unmask() local
219 aic_ic_write(ic, AIC_MASK_CLR + MASK_REG(d->hwirq), in aic_irq_unmask()
235 struct aic_irq_chip *ic = aic_irqc; in aic_handle_irq() local
243 event = readl(ic->base + AIC_EVENT); in aic_handle_irq()
272 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_irq_set_affinity() local
280 aic_ic_write(ic, AIC_TARGET_CPU + hwirq * 4, BIT(cpu)); in aic_irq_set_affinity()
310 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_fiq_get_idx() local
312 return irqd_to_hwirq(d) - ic->nr_hw; in aic_fiq_get_idx()
458 struct aic_irq_chip *ic = id->host_data; in aic_irq_domain_map() local
460 if (hw < ic->nr_hw) { in aic_irq_domain_map()
478 struct aic_irq_chip *ic = id->host_data; in aic_irq_domain_translate() local
485 if (fwspec->param[1] >= ic->nr_hw) in aic_irq_domain_translate()
492 *hwirq = ic->nr_hw + fwspec->param[1]; in aic_irq_domain_translate()
501 *hwirq = ic->nr_hw + AIC_TMR_EL0_PHYS; in aic_irq_domain_translate()
504 *hwirq = ic->nr_hw + AIC_TMR_EL0_VIRT; in aic_irq_domain_translate()
577 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_ipi_unmask() local
593 aic_ic_write(ic, AIC_IPI_SEND, AIC_IPI_SEND_CPU(smp_processor_id())); in aic_ipi_unmask()
598 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_ipi_send_mask() local
632 aic_ic_write(ic, AIC_IPI_SEND, send); in aic_ipi_send_mask()