Home
last modified time | relevance | path

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

/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.c325 } mir[I5100_CHANNELS]; member
821 priv->mir[0].limit = (u64) i5100_mir_limit(w) << 28; in i5100_init_interleaving()
822 priv->mir[0].way[1] = i5100_mir_way1(w); in i5100_init_interleaving()
823 priv->mir[0].way[0] = i5100_mir_way0(w); in i5100_init_interleaving()
826 priv->mir[1].limit = (u64) i5100_mir_limit(w) << 28; in i5100_init_interleaving()
827 priv->mir[1].way[1] = i5100_mir_way1(w); in i5100_init_interleaving()
828 priv->mir[1].way[0] = i5100_mir_way0(w); in i5100_init_interleaving()
/drivers/irqchip/
Dirq-omap-intc.c66 u32 mir[INTCPS_NR_MIR_REGS]; member
102 intc_context.mir[i] = in omap_intc_save_context()
121 intc_context.mir[i]); in omap_intc_restore_context()
/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()
/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()