Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/
Dbcsr.c26 static void __iomem *bcsr_virt; /* KSEG1 addr of BCSR base */ variable
36 bcsr_virt = (void __iomem *)bcsr1_phys; in bcsr_init()
93 unsigned short bisr = __raw_readw(bcsr_virt + BCSR_REG_INTSTAT); in bcsr_csc_handler()
104 __raw_writew(v, bcsr_virt + BCSR_REG_MASKCLR); in bcsr_irq_mask()
111 __raw_writew(v, bcsr_virt + BCSR_REG_MASKCLR); in bcsr_irq_maskack()
112 __raw_writew(v, bcsr_virt + BCSR_REG_INTSTAT); /* ack */ in bcsr_irq_maskack()
119 __raw_writew(v, bcsr_virt + BCSR_REG_MASKSET); in bcsr_irq_unmask()
135 __raw_writew(0xffff, bcsr_virt + BCSR_REG_MASKCLR); in bcsr_init_irq()
136 __raw_writew(0xffff, bcsr_virt + BCSR_REG_INTSET); in bcsr_init_irq()
137 __raw_writew(0xffff, bcsr_virt + BCSR_REG_INTSTAT); in bcsr_init_irq()