| /xsrc/external/mit/xf86-video-xgi/dist/src/ |
| valid_mode.h | 35 int Clock;
|
| xgi_dac.h | 31 int compute_vclk(int Clock, int *out_n, int *out_dn, int *out_div, 39 void XGICalcClock(ScrnInfoPtr pScrn, int clock, int max_VLD, unsigned *vclk);
|
| /xsrc/external/mit/oclock/dist/ |
| Makefile.am | 30 Clock.c \ 31 Clock.h \ 44 app-defaults/Clock-color
|
| /xsrc/external/mit/xclock/dist/ |
| Makefile.am | 30 Clock.c \ 31 Clock.h \ 48 clock.bit
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/modes/ |
| xf86cvt.c | 84 /* Pixel Clock step (kHz) */ 266 /* 15/13. Find pixel clock frequency (kHz for xf86) */ 267 Mode->Clock = Mode->HTotal * 1000.0 / HPeriod; 268 Mode->Clock -= Mode->Clock % CVT_CLOCK_STEP; 271 Mode->HSync = ((float) Mode->Clock) / ((float) Mode->HTotal); 274 Mode->VRefresh = (1000.0 * ((float) Mode->Clock)) /
|
| xf86Modes.c | 52 hsync = (float)mode->Clock / (float)mode->HTotal; 68 refresh = mode->Clock * 1000.0 / mode->HTotal / mode->VTotal; 116 if (!mode->HTotal || !mode->VTotal || !mode->Clock) 122 pixels_per_second = active_percent * mode->Clock * 1000.0; 255 if (pMode1->Clock == pMode2->Clock && 315 mode->name, mode->VRefresh, mode->Clock/1000., mode->HDisplay, 434 * Marks as bad any modes extending beyond outside of the given clock ranges. 437 * \param min pointer to minimums of clock ranges 438 * \param max pointer to maximums of clock range [all...] |
| /xsrc/external/mit/xf86-video-geode/dist/src/ |
| lx_panel.c | 101 " VSA Panel Mode is: %dx%d, pixel clock freq(kHz) is %d\n", 103 lx_panel_modes[ret].VDisplay, lx_panel_modes[ret].Clock); 117 int clock; local 124 &clock, 142 mode->Clock = clock;
|
| geode_dcon.c | 138 pGeode->panelMode->Clock = 57275;
|
| geode_common.c | 127 return (int) (pMode->Clock * 1000.0 / pMode->HTotal / pMode->VTotal + 0.5);
|
| /xsrc/external/mit/xf86-video-siliconmotion/dist/src/ |
| smi_output.c | 74 if((mode->Clock < pSmi->clockRange.minClock) || 75 (mode->Clock > pSmi->clockRange.maxClock) ||
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/ |
| xf86Mode.c | 116 * Find closest clock to given frequency (in kHz). This assumes the 124 int minimumGap = abs(freq - scrp->clock[0]); 132 /* Must set this here in case the best match is scrp->clock[0] */ 138 gap = abs((freq * j) - ((scrp->clock[i] * DivFactor) / MulFactor)); 190 return "no clock available for mode"; 192 return "mode clock too high"; 194 return "mode clock too low"; 196 return "bad mode clock/interlace/doublescan"; 243 * xf86ShowClockRanges() -- Print the clock ranges allowed 244 * and the clock values scaled by ClockMulFactor and ClockDivFacto [all...] |
| xf86VidMode.c | 101 *dotClock = pScrn->currentMode->Clock; 109 xf86VidModeGetDotClock(ScreenPtr pScreen, int Clock) 114 if ((pScrn->progClock) || (Clock >= MAXCLOCKS)) 115 return Clock; 117 return pScrn->clock[Clock]; 148 *Clocks++ = pScrn->clock[i]; 165 *dotClock = xf86VidModeGetDotClock(pScreen, p->Clock); 189 *dotClock = xf86VidModeGetDotClock(pScreen, pVidMode->First->Clock);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/ |
| xf86Mode.c | 116 * Find closest clock to given frequency (in kHz). This assumes the 124 int minimumGap = abs(freq - scrp->clock[0]); 132 /* Must set this here in case the best match is scrp->clock[0] */ 138 gap = abs((freq * j) - ((scrp->clock[i] * DivFactor) / MulFactor)); 191 return "no clock available for mode"; 193 return "mode clock too high"; 195 return "mode clock too low"; 197 return "bad mode clock/interlace/doublescan"; 244 * xf86ShowClockRanges() -- Print the clock ranges allowed 245 * and the clock values scaled by ClockMulFactor and ClockDivFacto [all...] |
| xf86VidMode.c | 153 *dotClock = pScrn->currentMode->Clock; 161 VidModeGetDotClock(int scrnIndex, int Clock) 169 if ((pScrn->progClock) || (Clock >= MAXCLOCKS)) 170 return Clock; 172 return pScrn->clock[Clock]; 208 *Clocks++ = pScrn->clock[i]; 233 *dotClock = VidModeGetDotClock(scrnIndex, pVidMode->First->Clock); 257 *dotClock = VidModeGetDotClock(scrnIndex, p->Clock); 590 ret = ((DisplayModePtr)mode)->Clock; [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/ |
| xf86Modes.c | 49 hsync = (float) mode->Clock / (float) mode->HTotal; 65 refresh = mode->Clock * 1000.0 / mode->HTotal / mode->VTotal; 113 if (!mode->HTotal || !mode->VTotal || !mode->Clock) 119 pixels_per_second = active_percent * mode->Clock * 1000.0; 270 if (pMode1->Clock == pMode2->Clock && 384 mode->name, mode->VRefresh, mode->Clock / 1000., 502 * Marks as bad any modes extending beyond outside of the given clock ranges. 505 * \param min pointer to minimums of clock ranges 506 * \param max pointer to maximums of clock range [all...] |
| /xsrc/external/mit/xorg-server/dist/include/ |
| displaymode.h | 28 MODE_NOCLOCK, /* no fixed clock available */ 29 MODE_CLOCK_HIGH, /* clock required is too high */ 30 MODE_CLOCK_LOW, /* clock required is too low */ 31 MODE_CLOCK_RANGE, /* clock/mode isn't in a ClockRange */ 64 int Clock; /* pixel clock freq (kHz) */ 79 int SynthClock; /* Actual clock freq to
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/ramdac/ |
| IBM.c | 46 char IsPixClock, /* boolean, is this the pixel or the sys clock */ 56 unsigned long IntRef, VCO, Clock; 73 Clock = (RefClock * (M + 1)) / ((N + 1) * 2 * P); 75 Clock = (RefClock * (M + 1)) / (N + 1); 77 freqErr = (Clock - ReqClock); 94 ActualClock = Clock; 112 char IsPixClock, /* boolean, is this the pixel or the sys clock */ 122 unsigned long IntRef, VCO, Clock; 139 Clock = (RefClock * (M + 1)) / ((N + 1) * 2 * P); 141 Clock = VCO [all...] |
| /xsrc/external/mit/xf86-video-mach64/dist/src/ |
| aticlock.c | 24 * For all supported programmable clock generators, the driver will ignore any 25 * XF86Config clock line and programme, as needed, the clock number reserved by 33 * best approximates the mode's clock frequency, where R is the crystal- 36 * Different clock generators have different restrictions on the value N, M and 39 * then encoded in a generator-specific way and used to programme the clock. 40 * The Mach64's clock divider is not used in this case. 57 * Definitions related to programmable clock generators. 121 * Recognise supported clock generators. This involves telling the 128 "%s programmable clock generator detected.\n" [all...] |
| /xsrc/external/mit/xf86-video-s3/dist/src/ |
| s3_GENDAC.c | 190 S3GENDACSetClock(pScrn, mode->Clock * (pScrn->depth >> 3), 2, 1, 1, 31, 239 (pScrn->depth == 32) ? mode->Clock * 2 : mode->Clock, 247 freq = mode->Clock * 2; /* XXXX: frem xfree86 3.x */ 250 freq = mode->Clock / 2; 253 freq = mode->Clock; 260 outb(vgaCRIndex, 0x42);/* select the clock */
|
| /xsrc/external/mit/xf86-video-chips/dist/src/ |
| ct_driver.c | 164 static void chipsClockSave(ScrnInfoPtr pScrn, CHIPSClockPtr Clock); 165 static void chipsClockLoad(ScrnInfoPtr pScrn, CHIPSClockPtr Clock); 167 int no, CHIPSClockPtr Clock); 168 static void chipsCalcClock(ScrnInfoPtr pScrn, int Clock, 345 15000, /* Clock frequency */ 389 15000, /* Clock frequency */ 431 11970, /* Clock frequency */ 1166 * Setup the ClockRanges, which describe what clock ranges are available, 1337 CHIPSClockPtr SaveClk = &(cPtr->SavedReg.Clock); 2037 /* We use a programmable clock */ [all...] |
| /xsrc/external/mit/xf86-video-tseng/dist/src/ |
| tseng_mode.c | 415 STG1703Clock(ScrnInfoPtr pScrn, int Clock) 427 temp = Clock * divider; 432 temp = (2 * Clock * divider) / 14318; 445 if (temp > Clock) 446 temp -= Clock; 448 temp = Clock - temp; 510 Regs->PLL = STG1703Clock(pScrn, mode->Clock); 661 CH8398Clock(ScrnInfoPtr pScrn, int Clock) 667 if (Clock > 68000) 677 temp = (2 * Clock * divider) / 14318 [all...] |
| /xsrc/external/mit/xf86-video-glint/dist/src/ |
| pm_dac.c | 98 /* Get the programmable clock values */ 101 (void) IBMramdac526CalculateMNPCForClock(pGlint->RefClock, mode->Clock, 113 (void) IBMramdac526CalculateMNPCForClock(pGlint->RefClock, mode->Clock, 138 /* Get the programmable clock values */ 140 unsigned long clock; local 143 clock = TIramdacCalculateMNPForClock(pGlint->RefClock, 144 mode->Clock, 1, pGlint->MinClock, pGlint->MaxClock, &m, &n, &p); 160 VCO = ((clock * (q + 1) * (65 - m)) / (65 - n)) << (p + 1);
|
| tx_dac.c | 184 /* Get the programmable clock values */ 187 (void) IBMramdac526CalculateMNPCForClock(pGlint->RefClock, mode->Clock, 199 (void) IBMramdac526CalculateMNPCForClock(pGlint->RefClock, mode->Clock, 221 /* Get the programmable clock values */ 224 (void) IBMramdac640CalculateMNPCForClock(pGlint->RefClock, mode->Clock, 253 /* Get the programmable clock values */ 255 unsigned long clock; local 258 clock = TIramdacCalculateMNPForClock(pGlint->RefClock, 259 mode->Clock, 1, pGlint->MinClock, pGlint->MaxClock, &m, &n, &p); 275 VCO = ((clock * (q + 1) * (65 - m)) / (65 - n)) << (p + 1) [all...] |
| /xsrc/external/mit/xf86-video-vmware/dist/src/ |
| vmwaremodes.c | 136 dynamic.Clock = dynamic.VRefresh * dynamic.VTotal *
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/int10/ |
| vbeModes.c | 394 if (!best || (p->Clock > best->Clock)) 399 int clock; local 402 pMode->HSync = (float) best->Clock * 1000.0 / best->HTotal + 0.5; 416 data->block->PixelClock = best->Clock * 1000; 418 clock = VBEGetPixelClock(pVbe, data->mode, data->block->PixelClock); 419 DebugF("Setting clock %.2fMHz, closest is %.2fMHz\n", 421 (double) clock / 1000000.0); 422 if (clock) 423 data->block->PixelClock = clock; [all...] |