Lines Matching defs:temp

343 	u16 temp, precache = 0;
351 temp = (mode->crtc_htotal >> 3) - 5;
352 if (temp & 0x100)
354 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x00, 0x00, temp);
356 temp = (mode->crtc_hdisplay >> 3) - 1;
357 if (temp & 0x100)
359 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x01, 0x00, temp);
361 temp = (mode->crtc_hblank_start >> 3) - 1;
362 if (temp & 0x100)
364 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x02, 0x00, temp);
366 temp = ((mode->crtc_hblank_end >> 3) - 1) & 0x7f;
367 if (temp & 0x20)
369 if (temp & 0x40)
371 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x03, 0xE0, (temp & 0x1f));
373 temp = ((mode->crtc_hsync_start-precache) >> 3) - 1;
374 if (temp & 0x100)
376 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x04, 0x00, temp);
378 temp = (((mode->crtc_hsync_end-precache) >> 3) - 1) & 0x3f;
379 if (temp & 0x20)
381 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x05, 0x60, (u8)((temp & 0x1f) | jreg05));
393 temp = (mode->crtc_vtotal) - 2;
394 if (temp & 0x100)
396 if (temp & 0x200)
398 if (temp & 0x400)
400 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x06, 0x00, temp);
402 temp = (mode->crtc_vsync_start) - 1;
403 if (temp & 0x100)
405 if (temp & 0x200)
407 if (temp & 0x400)
409 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x10, 0x00, temp);
411 temp = (mode->crtc_vsync_end - 1) & 0x3f;
412 if (temp & 0x10)
414 if (temp & 0x20)
416 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x11, 0x70, temp & 0xf);
418 temp = mode->crtc_vdisplay - 1;
419 if (temp & 0x100)
421 if (temp & 0x200)
423 if (temp & 0x400)
425 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x12, 0x00, temp);
427 temp = mode->crtc_vblank_start - 1;
428 if (temp & 0x100)
430 if (temp & 0x200)
432 if (temp & 0x400)
434 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x15, 0x00, temp);
436 temp = mode->crtc_vblank_end - 1;
437 if (temp & 0x100)
439 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x16, 0x00, temp);