HomeSort by: relevance | last modified time | path
    Searched refs:freq (Results 1 - 25 of 83) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/xf86-video-trident/dist/src/
trident_pll.c 64 int freq, ffreq; local
88 freq = clock;
95 if ((ffreq > freq - clock_diff) &&
96 (ffreq < freq + clock_diff)) {
108 clock_diff = (freq > ffreq) ?
109 freq - ffreq : ffreq - freq;
123 freq);
209 float freq = 0.0; local
217 freq = 60
284 int freq, ffreq; local
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/
sun_bell.c 55 int freq; local
76 freq = pitch;
77 freq = min(freq, (BELL_RATE / 2) - 1);
78 freq = max(freq, 2 * BELL_HZ);
83 freq -= freq % BELL_HZ;
85 if (freq != lastFreq) {
86 lastFreq = freq;
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/
sun_bell.c 55 int freq; local
76 freq = pitch;
77 freq = min(freq, (BELL_RATE / 2) - 1);
78 freq = max(freq, 2 * BELL_HZ);
83 freq -= freq % BELL_HZ;
85 if (freq != lastFreq) {
86 lastFreq = freq;
    [all...]
  /xsrc/external/mit/xf86-video-cirrus/dist/src/
CirrusClk.c 24 /* CLOCK_FACTOR is double the osc freq in kHz (osc = 14.31818 MHz) */
93 int freq, ffreq = 0, mindiff = 0; local
95 freq = *rfreq;
100 cirrusClockTab[i].denom) - freq);
101 if (diff < freq / 1000) {
117 mindiff = freq;
127 diff = abs(c - freq);
  /xsrc/external/mit/xf86-video-siliconmotion/dist/src/
smi_dac.c 39 SMI_CommonCalcClock(int scrnIndex, long freq, int min_m, int min_n1,
50 double ffreq = freq / 1000.0 / BASE_FREQ;
55 xf86DrvMsg(scrnIndex,X_WARNING,"invalid frequency %1.3f MHz [freq >= %1.3f MHz]\n",
60 xf86DrvMsg(scrnIndex,X_WARNING,"invalid frequency %1.3f MHz [freq <= %1.3f MHz]\n",
96 if (freq < 70000 && max_n2 > 0 &&
109 if (freq > 120000)
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
xf86Option.c 603 double freq = strtod(s, &end); local
623 freq *= (double) units;
634 p->value.freq.freq = freq;
635 p->value.freq.units = units;
824 if (p->value.freq.units > 0) {
828 *value = p->value.freq.freq;
831 *value = p->value.freq.freq / 1000.0
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
xf86Option.c 596 double freq = strtod(s, &end); local
618 freq *= (double)units;
628 p->value.freq.freq = freq;
629 p->value.freq.units = units;
818 if (p->value.freq.units > 0) {
822 *value = p->value.freq.freq;
825 *value = p->value.freq.freq / 1000.0
    [all...]
  /xsrc/external/mit/xf86-video-geode/dist/src/gfx/
gfx_i2c.c 54 gfx_i2c_reset(unsigned char busnum, short adr, char freq)
60 status = acc_i2c_reset(busnum, adr, freq);
64 status = gpio_i2c_reset(busnum, adr, freq);
i2c_acc.c 68 char Freq = 0x71;
85 void acc_i2c_config(unsigned char busnum, short adr, char freq);
86 char acc_i2c_set_freq(unsigned char busnum, char freq);
195 * If 'freq' is -1 the frequency is set to 56 clock cycles.
200 acc_i2c_reset(unsigned char busnum, short adr, char freq)
203 gfx_i2c_reset(unsigned char busnum, short adr, char freq)
208 acc_i2c_config(busnum, adr, freq);
439 (unsigned char) (Freq & 0xFE));
812 acc_i2c_config(unsigned char busnum, short adr, char freq)
815 Freq = acc_i2c_set_freq(busnum, freq)
    [all...]
gfx_init.c 170 /* initialize core freq. to 0 */
478 unsigned long freq = 0; local
482 freq = gu1_get_core_freq();
486 freq = gu2_get_core_freq();
489 return freq;
  /xsrc/external/mit/xf86-video-nsc/dist/src/gfx/
gfx_i2c.c 155 gfx_i2c_reset(unsigned char busnum, short adr, char freq)
161 status = acc_i2c_reset(busnum, adr, freq);
165 status = gpio_i2c_reset(busnum, adr, freq);
i2c_acc.c 168 char Freq = 0x71;
185 void acc_i2c_config(unsigned char busnum, short adr, char freq);
186 char acc_i2c_set_freq(unsigned char busnum, char freq);
197 int acc_i2c_reset(unsigned char busnum, short adr, char freq);
308 * If 'freq' is -1 the frequency is set to 56 clock cycles.
313 acc_i2c_reset(unsigned char busnum, short adr, char freq)
316 gfx_i2c_reset(unsigned char busnum, short adr, char freq)
321 acc_i2c_config(busnum, adr, freq);
550 (unsigned char)(Freq & 0xFE));
921 acc_i2c_config(unsigned char busnum, short adr, char freq)
    [all...]
gfx_init.c 254 /* initialize core freq. to 0 */
554 unsigned long freq = 0; local
558 freq = gu1_get_core_freq();
562 freq = gu2_get_core_freq();
564 return freq;
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/
xf86gtf.c 101 xf86GTFMode(int h_pixels, int v_lines, float freq, int interlaced, int margins)
156 * [V FIELD RATE RQD] = IF([INT RQD?]="y", [I/P FREQ RQD]*2,
157 * [I/P FREQ RQD])
160 v_field_rate_rqd = interlaced ? (freq * 2.0) : (freq);
320 * [PIXEL FREQ] = [TOTAL PIXELS] / [H PERIOD]
327 * [H FREQ] = 1000 / [H PERIOD]
373 mode->VRefresh = freq;
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/modes/
xf86gtf.c 106 xf86GTFMode(int h_pixels, int v_lines, float freq, int interlaced, int margins)
162 * [V FIELD RATE RQD] = IF([INT RQD?]="y", [I/P FREQ RQD]*2,
163 * [I/P FREQ RQD])
166 v_field_rate_rqd = interlaced ? (freq * 2.0) : (freq);
323 * [PIXEL FREQ] = [TOTAL PIXELS] / [H PERIOD]
330 * [H FREQ] = 1000 / [H PERIOD]
377 mode->VRefresh = freq;
  /xsrc/external/mit/xf86-video-intel/dist/src/legacy/i810/
i810_wmark.c 42 double freq; member in struct:wm_info
248 I810CalcWatermark(ScrnInfoPtr pScrn, double freq, Bool dcache)
291 for (i = 0; i < nr && tab[i].freq < freq; i++) ;
297 "chose watermark 0x%x: (tab.freq %.1f)\n",
298 tab[i].wm, tab[i].freq);
  /xsrc/external/mit/xf86-video-intel-2014/dist/src/legacy/i810/
i810_wmark.c 42 double freq; member in struct:wm_info
248 I810CalcWatermark(ScrnInfoPtr pScrn, double freq, Bool dcache)
291 for (i = 0; i < nr && tab[i].freq < freq; i++) ;
297 "chose watermark 0x%x: (tab.freq %.1f)\n",
298 tab[i].wm, tab[i].freq);
  /xsrc/external/mit/xf86-video-intel-old/dist/src/
i810_wmark.c 41 double freq; member in struct:wm_info
247 I810CalcWatermark(ScrnInfoPtr pScrn, double freq, Bool dcache)
290 for (i = 0; i < nr && tab[i].freq < freq; i++) ;
296 "chose watermark 0x%x: (tab.freq %.1f)\n",
297 tab[i].wm, tab[i].freq);
  /xsrc/external/mit/xf86-video-i740/dist/src/
i740_driver.c 1092 I740CalcFIFO(ScrnInfoPtr pScrn, double freq)
1110 if (freq > 200) wm = 0x18120000;
1111 else if (freq > 175) wm = 0x16110000;
1112 else if (freq > 135) wm = 0x120E0000;
1115 if (freq > 200) wm = 0x18120000;
1116 else if (freq > 175) wm = 0x16110000;
1117 else if (freq > 135) wm = 0x120E0000;
1123 if (freq > 140) wm = 0x2C1D0000;
1124 else if (freq > 120) wm = 0x2C180000;
1125 else if (freq > 100) wm = 0x24160000
    [all...]
  /xsrc/external/mit/xf86-video-s3virge/dist/src/
s3v_dac.c 51 long freq, int min_m, int min_n1,
62 ffreq = freq / 1000.0 / BASE_FREQ;
76 "invalid frequency %1.3f MHz [freq <= %1.3f MHz]\n",
82 "invalid frequency %1.3f MHz [freq >= %1.3f MHz]\n",
  /xsrc/external/mit/xf86-video-ati/dist/src/
radeon_crtc.c 147 unsigned long freq,
171 freq = freq * 1000;
173 /* ErrorF("freq: %lu\n", freq); */
250 error = freq - current_freq;
253 error = RD_ABS(current_freq, freq);
267 } else if (current_freq == freq) {
291 if (current_freq < freq)
296 if (current_freq < freq)
    [all...]
  /xsrc/external/mit/xf86-video-mga/dist/src/
mga_g450pll.c 485 CARD32 freq; local
487 G450CalculVCO(pScrn, ulMNP, &freq);
489 G450ApplyPFactor(pScrn, ucP, &freq);
492 xf86DrvMsg(pScrn->scrnIndex,X_INFO,"Saved PLLClk = %u\n", (unsigned)freq);
494 return freq;
503 CARD32 freq; local
505 G450CalculVCO(pScrn, ulMNP, &freq);
507 G450ApplyPFactor(pScrn, ucP, &freq);
510 (unsigned)freq, (unsigned)ulMNP);
  /xsrc/external/mit/xf86-video-s3/dist/src/
s3_GENDAC.c 243 long freq; local
247 freq = mode->Clock * 2; /* XXXX: frem xfree86 3.x */
250 freq = mode->Clock / 2;
253 freq = mode->Clock;
256 S3GENDACSetClock(pScrn, freq,
358 S3GENDACSetClock(ScrnInfoPtr pScrn, long freq, int clk, int min_m, int min_n1,
364 S3GENDACCalcClock(freq, min_m, min_n1, max_n1, min_n2, max_n2,
373 S3GENDACCalcClock(long freq, int min_m, int min_n1, int max_n1, int min_n2,
383 ffreq = freq / 1000.0 / BASE_FREQ;
388 ErrorF("invalid frequency %1.3f Mhz [freq >= %1.3f Mhz]\n"
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/freedreno/perfcntrs/
freedreno_dt.c 81 if (strcmp(fname, "qcom,gpu-freq") == 0) {
83 uint32_t freq = ntohl(buf[0]); local
85 dev.max_freq = MAX2(dev.max_freq, freq);
86 dev.min_freq = MIN2(dev.min_freq, freq);
  /xsrc/external/mit/xf86-video-rendition/dist/src/
vmodes.c 548 double vco, pcf, diff, freq; local
560 freq=vco/(1<<pp);
561 diff=fabs(target-freq);
572 freq=vco/(1<<(*P));
576 "RENDITION: target=%f freq=%f vco=%f pcf=%f n=%d m=%d p=%d\n",
577 target, freq, vco, pcf, *N, *M, *P);
580 return freq;
589 double vco, pcf, diff, freq; local
604 freq = vco/pp;
605 diff = fabs(target-freq);
    [all...]

Completed in 189 milliseconds

1 2 3 4