Lines Matching defs:dir1
179 unsigned char dir1 = gfx_gxm_config_read(GXM_CONFIG_DIR1);
184 if ((dir1 >= 0x30) && (dir1 <= 0x82)) {
186 if ((dir1 & 0xF0) < 0x70) {
188 version = GFX_CPU_GXLV | (((((unsigned long) dir1 >> 4) - 1) << 8)) | /* major - 1 */
189 ((((unsigned long) dir1 & 0x0F)) << 16); /* minor */
192 version = GFX_CPU_GXLV | ((((unsigned long) dir1 >> 4))
194 ((((unsigned long) dir1 & 0x0F)) << 16); /* minor */
216 if ((dir1 == 0x70) || (dir1 == 0x81)) {
217 version = GFX_CPU_SC1200 | ((((unsigned long) dir1 >> 4))
219 ((((unsigned long) dir1 & 0x0F)) << 16); /* minor */