Home
last modified time | relevance | path

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

/Linux-v5.10/arch/sh/cchips/hd6446x/
Dhd64461.c24 unsigned short nimr; in hd64461_mask_irq() local
27 nimr = __raw_readw(HD64461_NIMR); in hd64461_mask_irq()
28 nimr |= mask; in hd64461_mask_irq()
29 __raw_writew(nimr, HD64461_NIMR); in hd64461_mask_irq()
35 unsigned short nimr; in hd64461_unmask_irq() local
38 nimr = __raw_readw(HD64461_NIMR); in hd64461_unmask_irq()
39 nimr &= ~mask; in hd64461_unmask_irq()
40 __raw_writew(nimr, HD64461_NIMR); in hd64461_unmask_irq()
/Linux-v5.10/drivers/pcmcia/
Dpxa2xx_sharpsl.c111 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; in sharpsl_pcmcia_configure_socket() local
132 nimr = (imr = read_scoop_reg(scoop, SCOOP_IMR)) & ~0x003E; in sharpsl_pcmcia_configure_socket()
144 nimr |= ((skt->status&SS_DETECT) ? 0x0004 : 0)| in sharpsl_pcmcia_configure_socket()
170 if (imr != nimr) in sharpsl_pcmcia_configure_socket()
171 write_scoop_reg(scoop, SCOOP_IMR, nimr); in sharpsl_pcmcia_configure_socket()