Home
last modified time | relevance | path

Searched refs:sourcecfg (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/riscv/kvm/
Daia_aplic.c19 u32 sourcecfg; member
51 ret = irqd->sourcecfg; in aplic_read_sourcecfg()
72 irqd->sourcecfg = val; in aplic_write_sourcecfg()
139 sm = irqd->sourcecfg & APLIC_SOURCECFG_SM_MASK; in aplic_write_pending()
200 u32 sourcecfg, sm, raw_input, irq_inverted; in aplic_read_input() local
211 sourcecfg = irqd->sourcecfg; in aplic_read_input()
212 if (sourcecfg & APLIC_SOURCECFG_D) in aplic_read_input()
215 sm = sourcecfg & APLIC_SOURCECFG_SM_MASK; in aplic_read_input()
290 if (irqd->sourcecfg & APLIC_SOURCECFG_D) in kvm_riscv_aia_aplic_inject()
293 switch (irqd->sourcecfg & APLIC_SOURCECFG_SM_MASK) { in kvm_riscv_aia_aplic_inject()
/linux-6.12.1/drivers/irqchip/
Dirq-riscv-aplic-main.c36 void __iomem *sourcecfg; in aplic_irq_set_type() local
59 sourcecfg = priv->regs + APLIC_SOURCECFG_BASE; in aplic_irq_set_type()
60 sourcecfg += (d->hwirq - 1) * sizeof(u32); in aplic_irq_set_type()
61 writel(val, sourcecfg); in aplic_irq_set_type()