Lines Matching refs:sw
109 u8 sw; in checkboard() local
118 sw = QIXIS_READ(arch); in checkboard()
119 printf("Board version: %c, ", (sw & 0xf) + 'A'); in checkboard()
121 sw = QIXIS_READ(brdcfg[0]); in checkboard()
122 sw = (sw >> QIXIS_QMAP_SHIFT) & QIXIS_QMAP_MASK; in checkboard()
123 switch (sw) { in checkboard()
145 printf("invalid setting of SW%u\n", sw); in checkboard()
155 sw = QIXIS_READ(arch); in checkboard()
156 printf("Board Arch: V%d, ", sw >> 4); in checkboard()
157 printf("Board version: %c, boot from ", (sw & 0xf) + 'A'); in checkboard()
159 sw = QIXIS_READ(brdcfg[0]); in checkboard()
160 sw = (sw & QIXIS_LBMAP_MASK) >> QIXIS_LBMAP_SHIFT; in checkboard()
162 if (sw < 0x8) in checkboard()
163 printf("vBank: %d\n", sw); in checkboard()
164 else if (sw == 0x9) in checkboard()
555 u8 sw; in update_spd_address() local
557 sw = QIXIS_READ(arch); in update_spd_address()
558 if ((sw & 0xf) < 0x3) { in update_spd_address()