Lines Matching refs:sw
37 u8 sw; in checkboard() local
45 sw = QIXIS_READ(arch); in checkboard()
46 printf("Sys ID: 0x%02x, Board Arch: V%d, ", QIXIS_READ(id), sw >> 4); in checkboard()
47 printf("Board Version: %c, boot from ", (sw & 0xf) + 'A' - 1); in checkboard()
54 sw = QIXIS_READ(brdcfg[0]); in checkboard()
55 sw = (sw & QIXIS_LBMAP_MASK) >> QIXIS_LBMAP_SHIFT; in checkboard()
57 if (sw < 0x8) in checkboard()
58 printf("vBank%d\n", sw); in checkboard()
59 else if (sw == 0x8) in checkboard()
61 else if (sw == 0x9) in checkboard()
73 sw = QIXIS_READ(brdcfg[2]); in checkboard()
74 printf("SD1_CLK1=%s, SD1_CLK2=%s\n", freq[sw >> 6], in checkboard()
75 freq[(sw >> 4) & 0x3]); in checkboard()
76 printf("SD2_CLK1=%s, SD2_CLK2=%s\n", freq[(sw & 0xf) >> 2], in checkboard()
77 freq[sw & 0x3]); in checkboard()