Lines Matching refs:sw
256 u8 sw; in checkboard() local
270 sw = QIXIS_READ(arch); in checkboard()
271 printf("Board Arch: V%d, ", sw >> 4); in checkboard()
274 printf("Board version: %c, boot from ", (sw & 0xf) + 'A' - 1); in checkboard()
276 printf("Board version: %c, boot from ", (sw & 0xf) + 'A'); in checkboard()
281 sw = QIXIS_READ(brdcfg[0]); in checkboard()
282 sw = (sw & QIXIS_LBMAP_MASK) >> QIXIS_LBMAP_SHIFT; in checkboard()
292 switch (sw) { in checkboard()
302 printf("vBank: %d\n", sw); in checkboard()
315 sw = QIXIS_READ(brdcfg[0]); in checkboard()
316 sw = (sw & QIXIS_QMAP_MASK) >> QIXIS_QMAP_SHIFT; in checkboard()
317 if (sw == 0 || sw == 4) in checkboard()
319 else if (sw == 1) in checkboard()
349 sw = QIXIS_READ(brdcfg[2]); in checkboard()
350 clock = (sw >> 6) & 3; in checkboard()
352 clock = (sw >> 4) & 3; in checkboard()
356 clock = (sw >> 2) & 3; in checkboard()
358 clock = (sw >> 0) & 3; in checkboard()