Home
last modified time | relevance | path

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

/Linux-v4.19/arch/m68k/q40/
Dq40ints.c208 unsigned mir, mer; in q40_irq_handler() local
212 mir = master_inb(IIRQ_REG); in q40_irq_handler()
214 if ((mir & Q40_IRQ_EXT_MASK) && in q40_irq_handler()
226 if (mir & Q40_IRQ_FRAME_MASK) { in q40_irq_handler()
230 if ((mir & Q40_IRQ_SER_MASK) || (mir & Q40_IRQ_EXT_MASK)) { in q40_irq_handler()
291 mir = master_inb(IIRQ_REG); in q40_irq_handler()
293 if (mir & Q40_IRQ_KEYB_MASK) in q40_irq_handler()
/Linux-v4.19/drivers/edac/
Di7300_edac.c105 u16 mir[MAX_MIR]; /* Memory Interleave Reg*/ member
825 static void decode_mir(int mir_no, u16 mir[MAX_MIR]) in decode_mir()
827 if (mir[mir_no] & 3) in decode_mir()
830 (mir[mir_no] >> 4) & 0xfff, in decode_mir()
831 (mir[mir_no] & 1) ? "B0" : "", in decode_mir()
832 (mir[mir_no] & 2) ? "B1" : ""); in decode_mir()
883 &pvt->mir[0]); in i7300_get_mc_regs()
885 &pvt->mir[1]); in i7300_get_mc_regs()
887 &pvt->mir[2]); in i7300_get_mc_regs()
891 decode_mir(i, pvt->mir); in i7300_get_mc_regs()
Di5100_edac.c320 } mir[I5100_CHANNELS]; member
814 priv->mir[0].limit = (u64) i5100_mir_limit(w) << 28; in i5100_init_interleaving()
815 priv->mir[0].way[1] = i5100_mir_way1(w); in i5100_init_interleaving()
816 priv->mir[0].way[0] = i5100_mir_way0(w); in i5100_init_interleaving()
819 priv->mir[1].limit = (u64) i5100_mir_limit(w) << 28; in i5100_init_interleaving()
820 priv->mir[1].way[1] = i5100_mir_way1(w); in i5100_init_interleaving()
821 priv->mir[1].way[0] = i5100_mir_way0(w); in i5100_init_interleaving()
/Linux-v4.19/drivers/irqchip/
Dirq-omap-intc.c63 u32 mir[INTCPS_NR_MIR_REGS]; member
99 intc_context.mir[i] = in omap_intc_save_context()
118 intc_context.mir[i]); in omap_intc_restore_context()
/Linux-v4.19/drivers/video/fbdev/
Dsstfb.c871 int i, mir, dir; in sst_detect_att() local
882 mir = sst_dac_read(DACREG_RMR); in sst_detect_att()
885 f_ddprintk("mir: %#x, dir: %#x\n", mir, dir); in sst_detect_att()
886 if (mir == DACREG_MIR_ATT && dir == DACREG_DIR_ATT) { in sst_detect_att()
896 int i, mir, dir; in sst_detect_ti() local
907 mir = sst_dac_read(DACREG_RMR); in sst_detect_ti()
910 f_ddprintk("mir: %#x, dir: %#x\n", mir, dir); in sst_detect_ti()
911 if ((mir == DACREG_MIR_TI ) && (dir == DACREG_DIR_TI)) { in sst_detect_ti()
/Linux-v4.19/drivers/net/ethernet/smsc/
Dsmc91c92_cs.c812 u_long mir; in smc91c92_config() local
889 mir = inw(ioaddr + MEMINFO) & 0xff; in smc91c92_config()
890 if (mir == 0xff) mir++; in smc91c92_config()
893 mir *= 128 * (1<<((mcr >> 9) & 7)); in smc91c92_config()
902 mir = 0; in smc91c92_config()
927 if (mir & 0x3ff) in smc91c92_config()
928 netdev_info(dev, " %lu byte", mir); in smc91c92_config()
930 netdev_info(dev, " %lu kb", mir>>10); in smc91c92_config()