Home
last modified time | relevance | path

Searched refs:den (Results 1 – 16 of 16) sorted by relevance

/linux-2.4.37.9/arch/ia64/kernel/
Dtime.c255 itc_ratio.den = 1; in ia64_init_itm()
262 if (!proc_ratio.den) in ia64_init_itm()
263 proc_ratio.den = 1; /* avoid division by zero */ in ia64_init_itm()
264 if (!itc_ratio.den) in ia64_init_itm()
265 itc_ratio.den = 1; /* avoid division by zero */ in ia64_init_itm()
267 itc_freq = (platform_base_freq*itc_ratio.num)/itc_ratio.den; in ia64_init_itm()
272 itc_ratio.num, itc_ratio.den, itc_freq / 1000000, (itc_freq / 1000) % 1000); in ia64_init_itm()
274 local_cpu_data->proc_freq = (platform_base_freq*proc_ratio.num)/proc_ratio.den; in ia64_init_itm()
Dpalinfo.c643 proc.num, proc.den, bus.num, bus.den, itc.num, itc.den); in frequency_info()
/linux-2.4.37.9/arch/ppc/boot/simple/
Dembed_config.c188 uint num, den; in rpx_cpuspeed() local
190 num = den = 0; in rpx_cpuspeed()
198 den = (*cp) - '0'; in rpx_cpuspeed()
206 if (den) { in rpx_cpuspeed()
207 num /= den; in rpx_cpuspeed()
208 num *= den; in rpx_cpuspeed()
/linux-2.4.37.9/drivers/ide/pci/
Damd74xx.c113 int speed[4], cycle[4], setup[4], active[4], recover[4], den[4], in amd74xx_get_info() local
167 den[i] = (c & ((i & 1) ? 0x40 : 0x20) << ((i & 2) << 2)); in amd74xx_get_info()
169 if (den[i] && uen[i] && udma[i] == 1) { in amd74xx_get_info()
175 if (den[i] && uen[i] && udma[i] == 15) { in amd74xx_get_info()
181 speed[i] = 4 * amd_clock / ((den[i] && uen[i]) ? udma[i] : (active[i] + recover[i]) * 2); in amd74xx_get_info()
182 …cycle[i] = 1000000 * ((den[i] && uen[i]) ? udma[i] : (active[i] + recover[i]) * 2) / amd_clock / 2; in amd74xx_get_info()
185 amd_print_drive("Transfer Mode: ", "%10s", den[i] ? (uen[i] ? "UDMA" : "DMA") : "PIO"); in amd74xx_get_info()
Dvia82cxxx.c138 int speed[4], cycle[4], setup[4], active[4], recover[4], den[4], in via_get_info() local
221 den[i] = (c & ((i & 1) ? 0x40 : 0x20) << ((i & 2) << 2)); in via_get_info()
226 if (!uen[i] || !den[i]) in via_get_info()
254 den[i] ? (uen[i] ? "UDMA" : "DMA") : "PIO"); in via_get_info()
/linux-2.4.37.9/drivers/mtd/devices/
Ddocecc.c196 gf u,q,tmp,num1,num2,den,discr_r; in eras_dec_rs() local
403 den = 0; in eras_dec_rs()
408 den ^= Alpha_to[modnn(lambda[i+1] + i * root[j])]; in eras_dec_rs()
410 if (den == 0) { in eras_dec_rs()
420 eras_val[j] = Alpha_to[modnn(Index_of[num1] + Index_of[num2] + NN - Index_of[den])]; in eras_dec_rs()
/linux-2.4.37.9/drivers/video/
Dclgenfb.c336 long den; member
636 long *nom, long *den,
779 int nom, den; /* translyting from pixels->bytes */ in clgen_decode_var() local
820 den = 8; in clgen_decode_var()
825 den = 1; in clgen_decode_var()
830 den = 1; in clgen_decode_var()
835 den = 1; in clgen_decode_var()
840 den = 1; in clgen_decode_var()
849 if (_par->var.xres * nom / den * _par->var.yres > fb_info->size) { in clgen_decode_var()
860 if (modes[i].xres * nom / den * modes[i].yres < fb_info->size / 2) in clgen_decode_var()
[all …]
Dradeonfb.c817 static __inline__ int round_div(int num, int den) in round_div() argument
819 return (num + (den / 2)) / den; in round_div()
2204 int nom, int den) in radeonfb_do_maximize() argument
2223 if (modes[i].xres * nom / den * modes[i].yres < in radeonfb_do_maximize()
2237 v->xres_virtual = (fb_info->mapped_vram * den / in radeonfb_do_maximize()
2241 v->yres_virtual = fb_info->mapped_vram * den / in radeonfb_do_maximize()
2244 if (v->xres_virtual * nom / den * v->yres_virtual > in radeonfb_do_maximize()
2250 if (v->xres_virtual * nom / den >= 8192) { in radeonfb_do_maximize()
2251 v->xres_virtual = 8192 * den / nom - 16; in radeonfb_do_maximize()
2322 int nom, den, accel; in radeon_do_set_var() local
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dtime.c538 …unsigned long den, new_tb_ticks_per_sec, tb_ticks, old_xsec, new_tb_to_xs, new_xsec, new_stamp_xse… in ppc_adjtimex() local
596 den = 1000000 * (1 << (SHIFT_USEC - 8)); in ppc_adjtimex()
598 tb_ticks_per_sec_delta = ( tb_ticks_per_sec * ( (-delta_freq) >> (SHIFT_USEC - 8))) / den; in ppc_adjtimex()
602 tb_ticks_per_sec_delta = ( tb_ticks_per_sec * ( delta_freq >> (SHIFT_USEC - 8))) / den; in ppc_adjtimex()
/linux-2.4.37.9/drivers/video/riva/
Dfbdev.c1074 int nom, int den) in rivafb_do_maximize() argument
1093 if (modes[i].xres * nom / den * modes[i].yres < in rivafb_do_maximize()
1110 v->xres_virtual = (rinfo->ram_amount * den / in rivafb_do_maximize()
1116 v->yres_virtual = rinfo->ram_amount * den / in rivafb_do_maximize()
1122 if (v->xres_virtual * nom / den * v->yres_virtual > rinfo->ram_amount) { in rivafb_do_maximize()
1131 if (v->xres_virtual * nom / den >= 8192) { in rivafb_do_maximize()
1134 v->xres_virtual, 8192 * den / nom - 16); in rivafb_do_maximize()
1135 v->xres_virtual = 8192 * den / nom - 16; in rivafb_do_maximize()
1427 int nom, den; /* translating from pixels->bytes */ in rivafb_set_var() local
1471 den = 1; in rivafb_set_var()
[all …]
/linux-2.4.37.9/Documentation/isdn/
DCREDITS49 Jan den Ouden (denouden@groovin.xs4all.nl)
DREADME.HiSax3 driver from Jan den Ouden.
450 Fritz Elfert, Jan den Ouden, Michael Hipp, Michael Wein,
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_maven.c202 unsigned int den; member
230 unsigned int fmin = pll->vco_freq_min / ctl->den; in matroxfb_PLL_mavenclock()
240 fmax = pll->vco_freq_max / ctl->den; in matroxfb_PLL_mavenclock()
291 return fxtal * (*feed) / (*in) * ctl->den; in matroxfb_PLL_mavenclock()
/linux-2.4.37.9/include/asm-ia64/
Dpal.h132 u64 den : 32, num : 32; /* numerator & denominator */ member
/linux-2.4.37.9/drivers/scsi/
Dadvansys.c3806 #define ASC_TENTHS(num, den) \ argument
3807 (((10 * ((num)/(den))) > (((num) * 10)/(den))) ? \
3808 0 : ((((num) * 10)/(den)) - (10 * ((num)/(den)))))
/linux-2.4.37.9/
DCREDITS284 N: Stephen R. van den Berg (AKA BuGless)
1161 S: 2400 AG, Alphen aan den Rijn
2891 S: 2400 AG, Alphen aan den Rijn