Searched refs:frequency (Results 1 - 25 of 75) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dos_time.c72 static LARGE_INTEGER frequency;
75 if(!frequency.QuadPart)
76 QueryPerformanceFrequency(&frequency);
81 secs = counter.QuadPart / frequency.QuadPart;
82 nanosecs = (counter.QuadPart % frequency.QuadPart) * INT64_C(1000000000)
83 / frequency.QuadPart;
/xsrc/external/mit/xf86-video-nsc/dist/src/gfx/
H A Dgfx_mode.h184 unsigned long frequency; member in struct:tagDISPLAYMODE
218 unsigned long frequency; member in struct:tagFIXEDTIMINGS
H A Dgfx_tv.h28 unsigned long frequency; member in struct:tagTVDISPLAYMODE
H A Dtv_1200.c153 int *frequency);
750 pMode->vblankend, pMode->vtotal, pMode->frequency);
1001 unsigned long frequency; local in function:sc1200_get_tv_display_mode
1007 frequency = gfx_get_clock_frequency();
1012 TVTimings[mode].frequency == frequency) {
1031 * This routine returns the PLL frequency of a given TV mode.
1038 TVStandardType format, int *frequency)
1042 TVStandardType format, int *frequency)
1048 *frequency
1036 sc1200_get_tv_display_mode_frequency(unsigned short width,unsigned short height,TVStandardType format,int * frequency) argument
[all...]
H A Ddisp_gu1.c151 unsigned long frequency);
158 void gu1_set_clock_frequency(unsigned long frequency);
201 unsigned long frequency);
203 unsigned long frequency);
205 unsigned long frequency);
207 int *frequency);
555 gfx_set_clock_frequency(pMode->frequency & 0x7FFFFFFF);
558 /* This allows the dot clock frequency that was just set to settle. */
566 if (pMode->frequency & 0x80000000)
676 /* Bit 31 of frequency indicate
897 gu1_set_display_timings(unsigned short bpp,unsigned short flags,unsigned short hactive,unsigned short hblankstart,unsigned short hsyncstart,unsigned short hsyncend,unsigned short hblankend,unsigned short htotal,unsigned short vactive,unsigned short vblankstart,unsigned short vsyncstart,unsigned short vsyncend,unsigned short vblankend,unsigned short vtotal,unsigned long frequency) argument
1984 gu1_mode_frequency_supported(int xres,int yres,int bpp,unsigned long frequency) argument
2035 gu1_get_refreshrate_from_frequency(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
2101 gu1_get_refreshrate_from_mode(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
2163 gu1_get_frequency_from_refreshrate(int xres,int yres,int bpp,int hz,int * frequency) argument
[all...]
H A Dvid_1400.c23 long frequency; /* 16.16 fixed point frequency */ member in struct:tagSC1400PLL
90 * This routine sets the clock frequency, specified as a 16.16 fixed point
91 * value (0x00318000 = 49.5 MHz). It will set the closest frequency found
97 sc1400_set_clock_frequency(unsigned long frequency) argument
100 gfx_set_clock_frequency(unsigned long frequency)
108 /* Search the table for the closest frequency (16.16 format). */
111 min = (long)gfx_sc1400_clock_table[0].frequency - frequency;
115 diff = (long)gfx_sc1400_clock_table[index].frequency
[all...]
H A Ddisp_gu2.c147 unsigned long frequency);
154 void gu2_set_clock_frequency(unsigned long frequency);
197 unsigned long frequency);
199 unsigned long frequency);
201 unsigned long frequency);
203 int *frequency);
469 gfx_set_clock_frequency(pMode->frequency & 0x7FFFFFFF);
472 /* This allows the dot clock frequency that was just set to settle. */
746 unsigned long frequency)
756 unsigned long frequency)
739 gu2_set_display_timings(unsigned short bpp,unsigned short flags,unsigned short hactive,unsigned short hblankstart,unsigned short hsyncstart,unsigned short hsyncend,unsigned short hblankend,unsigned short htotal,unsigned short vactive,unsigned short vblankstart,unsigned short vsyncstart,unsigned short vsyncend,unsigned short vblankend,unsigned short vtotal,unsigned long frequency) argument
2011 gu2_mode_frequency_supported(int xres,int yres,int bpp,unsigned long frequency) argument
2080 gu2_get_refreshrate_from_frequency(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
2165 gu2_get_refreshrate_from_mode(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
2246 gu2_get_frequency_from_refreshrate(int xres,int yres,int bpp,int hz,int * frequency) argument
[all...]
H A Dvid_5530.c137 long frequency; /* 16.16 fixed point frequency */ member in struct:tagCS5530PLLENTRY
243 void cs5530_set_clock_frequency(unsigned long frequency);
443 * This routine sets the clock frequency, specified as a 16.16 fixed point
444 * value (0x00318000 = 49.5 MHz). It will set the closest frequency found
450 cs5530_set_clock_frequency(unsigned long frequency) argument
453 gfx_set_clock_frequency(unsigned long frequency)
461 /* Search the table for the closest frequency (16.16 format). */
464 min = (long)CS5530_PLLtable[0].frequency - frequency;
[all...]
H A Dgfx_disp.c714 unsigned long frequency)
724 vblankend, vtotal, frequency);
732 vblankend, vtotal, frequency);
1384 unsigned long frequency)
1390 freq = gu1_mode_frequency_supported(xres, yres, bpp, frequency);
1394 freq = gu2_mode_frequency_supported(xres, yres, bpp, frequency);
1405 unsigned long frequency)
1409 gu1_get_refreshrate_from_frequency(xres, yres, bpp, hz, frequency);
1413 gu2_get_refreshrate_from_frequency(xres, yres, bpp, hz, frequency);
1425 unsigned long frequency)
707 gfx_set_display_timings(unsigned short bpp,unsigned short flags,unsigned short hactive,unsigned short hblankstart,unsigned short hsyncstart,unsigned short hsyncend,unsigned short hblankend,unsigned short htotal,unsigned short vactive,unsigned short vblankstart,unsigned short vsyncstart,unsigned short vsyncend,unsigned short vblankend,unsigned short vtotal,unsigned long frequency) argument
1383 gfx_mode_frequency_supported(int xres,int yres,int bpp,unsigned long frequency) argument
1404 gfx_get_refreshrate_from_frequency(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
1424 gfx_get_refreshrate_from_mode(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
1444 gfx_get_frequency_from_refreshrate(int xres,int yres,int bpp,int hz,int * frequency) argument
[all...]
H A Dgfx_rtns.h254 unsigned long frequency);
262 void gfx_set_clock_frequency(unsigned long frequency);
312 unsigned long frequency);
314 int *hz, unsigned long frequency);
316 unsigned long frequency);
318 int *frequency);
681 int *frequency);
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dos_time.c70 LARGE_INTEGER frequency;
73 QueryPerformanceFrequency(&frequency);
78 secs = counter.QuadPart / frequency.QuadPart;
79 nanosecs = (counter.QuadPart % frequency.QuadPart) * INT64_C(1000000000)
80 / frequency.QuadPart;
/xsrc/external/mit/xorg-server.old/dist/hw/kdrive/fake/
H A Dkbd.c62 FakeKeyboardBell (KdKeyboardInfo *ki, int volume, int frequency, int duration) argument
/xsrc/external/mit/xf86-video-geode/dist/src/gfx/
H A Dgfx_mode.h154 unsigned long frequency; member in struct:tagDISPLAYMODE
186 unsigned long frequency; member in struct:tagFIXEDTIMINGS
H A Dtv_1200.c608 pMode->vblankend, pMode->vtotal, pMode->frequency);
862 unsigned long frequency; local in function:sc1200_get_tv_display_mode
868 frequency = gfx_get_clock_frequency();
873 TVTimings[mode].frequency == frequency) {
892 * This routine returns the PLL frequency of a given TV mode.
899 TVStandardType format, int *frequency)
903 TVStandardType format, int *frequency)
909 *frequency = 0;
926 *frequency
897 sc1200_get_tv_display_mode_frequency(unsigned short width,unsigned short height,TVStandardType format,int * frequency) argument
[all...]
H A Ddisp_gu1.c318 gfx_set_clock_frequency(pMode->frequency & 0x7FFFFFFF);
321 /* This allows the dot clock frequency that was just set to settle. */
327 if (pMode->frequency & 0x80000000)
422 /* Bit 31 of frequency indicates divide frequency by two */
423 if (pMode->frequency & 0x80000000)
640 unsigned long frequency)
650 unsigned long frequency)
674 gfx_display_mode.frequency = frequency;
633 gu1_set_display_timings(unsigned short bpp,unsigned short flags,unsigned short hactive,unsigned short hblankstart,unsigned short hsyncstart,unsigned short hsyncend,unsigned short hblankend,unsigned short htotal,unsigned short vactive,unsigned short vblankstart,unsigned short vsyncstart,unsigned short vsyncend,unsigned short vblankend,unsigned short vtotal,unsigned long frequency) argument
1687 gu1_mode_frequency_supported(int xres,int yres,int bpp,unsigned long frequency) argument
1739 gu1_get_refreshrate_from_frequency(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
1804 gu1_get_refreshrate_from_mode(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
1867 gu1_get_frequency_from_refreshrate(int xres,int yres,int bpp,int hz,int * frequency) argument
[all...]
H A Ddisp_gu2.c229 gfx_set_clock_frequency(pMode->frequency & 0x7FFFFFFF);
232 /* This allows the dot clock frequency that was just set to settle. */
458 unsigned long frequency)
468 unsigned long frequency)
494 gfx_display_mode.frequency = frequency;
1667 fmode->vtotal, fmode->frequency);
1739 * This routine examines if the requested mode with pixel frequency is
1748 unsigned long frequency)
1752 unsigned long frequency)
451 gu2_set_display_timings(unsigned short bpp,unsigned short flags,unsigned short hactive,unsigned short hblankstart,unsigned short hsyncstart,unsigned short hsyncend,unsigned short hblankend,unsigned short htotal,unsigned short vactive,unsigned short vblankstart,unsigned short vsyncstart,unsigned short vsyncend,unsigned short vblankend,unsigned short vtotal,unsigned long frequency) argument
1747 gu2_mode_frequency_supported(int xres,int yres,int bpp,unsigned long frequency) argument
1801 gu2_get_refreshrate_from_frequency(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
1868 gu2_get_refreshrate_from_mode(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
1933 gu2_get_frequency_from_refreshrate(int xres,int yres,int bpp,int hz,int * frequency) argument
[all...]
H A Dgfx_priv.h141 unsigned short vtotal, unsigned long frequency);
175 unsigned long frequency);
177 unsigned long frequency);
179 unsigned long frequency);
181 int *frequency);
282 unsigned short vtotal, unsigned long frequency);
326 unsigned long frequency);
328 unsigned long frequency);
330 unsigned long frequency);
332 int *frequency);
[all...]
H A Dvid_5530.c35 long frequency; /* 16.16 fixed point frequency */ member in struct:tagCS5530PLLENTRY
229 * This routine sets the clock frequency, specified as a 16.16 fixed point
230 * value (0x00318000 = 49.5 MHz). It will set the closest frequency found
236 cs5530_set_clock_frequency(unsigned long frequency) argument
239 gfx_set_clock_frequency(unsigned long frequency)
247 /* Search the table for the closest frequency (16.16 format). */
250 min = (long) CS5530_PLLtable[0].frequency - frequency;
254 diff = (long) CS5530_PLLtable[index].frequency
[all...]
H A Dgfx_disp.c953 unsigned long frequency)
963 vblankend, vtotal, frequency);
971 vblankend, vtotal, frequency);
1643 unsigned long frequency)
1649 freq = gu1_mode_frequency_supported(xres, yres, bpp, frequency);
1653 freq = gu2_mode_frequency_supported(xres, yres, bpp, frequency);
1664 unsigned long frequency)
1668 gu1_get_refreshrate_from_frequency(xres, yres, bpp, hz, frequency);
1672 gu2_get_refreshrate_from_frequency(xres, yres, bpp, hz, frequency);
1684 unsigned long frequency)
946 gfx_set_display_timings(unsigned short bpp,unsigned short flags,unsigned short hactive,unsigned short hblankstart,unsigned short hsyncstart,unsigned short hsyncend,unsigned short hblankend,unsigned short htotal,unsigned short vactive,unsigned short vblankstart,unsigned short vsyncstart,unsigned short vsyncend,unsigned short vblankend,unsigned short vtotal,unsigned long frequency) argument
1642 gfx_mode_frequency_supported(int xres,int yres,int bpp,unsigned long frequency) argument
1663 gfx_get_refreshrate_from_frequency(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
1683 gfx_get_refreshrate_from_mode(int xres,int yres,int bpp,int * hz,unsigned long frequency) argument
1703 gfx_get_frequency_from_refreshrate(int xres,int yres,int bpp,int hz,int * frequency) argument
[all...]
H A Dgfx_rtns.h152 unsigned short vtotal, unsigned long frequency);
160 void gfx_set_clock_frequency(unsigned long frequency);
211 unsigned long frequency);
213 int *hz, unsigned long frequency);
215 unsigned long frequency);
217 int hz, int *frequency);
580 int *frequency);
/xsrc/external/mit/xf86-video-ati/xorg-server-copy/
H A Dfi1236.h27 double f_rf; /* frequency to tune to */
28 double f_if1; /* first intermediate frequency */
29 double f_if2; /* second intermediate frequency */
30 double f_ref; /* reference frequency */
90 void FI1236_tune(FI1236Ptr f, CARD32 frequency);
102 extern _X_EXPORT void TUNER_set_frequency(FI1236Ptr f, CARD32 frequency);
H A Dfi1236.c284 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: failed to set frequency\n");
461 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: failed to set frequency\n");
489 void FI1236_tune(FI1236Ptr f, CARD32 frequency) argument
494 if(frequency < f->parm.min_freq) frequency = f->parm.min_freq;
495 if(frequency > f->parm.max_freq) frequency = f->parm.max_freq;
497 divider = (f->parm.fcar+(CARD16)frequency) & 0x7fff;
502 if(frequency < f->parm.threshold1)
506 else if (frequency <
531 TUNER_set_frequency(FI1236Ptr f,CARD32 frequency) argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/i2c/
H A Dfi1236.h27 double f_rf; /* frequency to tune to */
28 double f_if1; /* first intermediate frequency */
29 double f_if2; /* second intermediate frequency */
30 double f_ref; /* reference frequency */
90 void FI1236_tune(FI1236Ptr f, CARD32 frequency);
102 extern _X_EXPORT void TUNER_set_frequency(FI1236Ptr f, CARD32 frequency);
H A Dfi1236.c284 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: failed to set frequency\n");
461 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: failed to set frequency\n");
489 void FI1236_tune(FI1236Ptr f, CARD32 frequency) argument
494 if(frequency < f->parm.min_freq) frequency = f->parm.min_freq;
495 if(frequency > f->parm.max_freq) frequency = f->parm.max_freq;
497 divider = (f->parm.fcar+(CARD16)frequency) & 0x7fff;
502 if(frequency < f->parm.threshold1)
506 else if (frequency <
531 TUNER_set_frequency(FI1236Ptr f,CARD32 frequency) argument
[all...]
/xsrc/external/mit/xf86-video-trident/dist/src/
H A Dtrident_pll.c48 if (pTrident->frequency != 0) return;
53 pTrident->frequency = PAL;
55 pTrident->frequency = NTSC;
93 ffreq = ((((n + 8) * pTrident->frequency) /
271 freq = ((n + 8) * pTrident->frequency) /
312 ffreq = ((((n + 8) * pTrident->frequency) /

Completed in 26 milliseconds

123