/drivers/media/video/m5mols/ |
H A D | m5mols_capture.c | 43 u32 num, den; local 47 ret = m5mols_read_u32(sd, addr_den, &den); 50 *val = den == 0 ? 0 : num / den;
|
/drivers/staging/line6/ |
H A D | podhd.c | 26 .den = 1,
|
H A D | toneport.c | 30 .den = 1
|
H A D | playback.c | 146 line6pcm->properties->snd_line6_rates.rats[0].den *
|
H A D | pod.c | 70 .den = 2
|
/drivers/video/ |
H A D | fbcvt.c | 76 u32 den; local 80 den = 2 * (cvt->yres/cvt->interlace + 2 * cvt->v_margin); 83 den = 2 * (cvt->yres/cvt->interlace + cvt->v_margin * 2 87 return 2 * (num/den);
|
H A D | cirrusfb.c | 414 static void bestclock(long freq, int *nom, int *den, int *div); 692 int nom, den, div; local 868 bestclock(freq, &nom, &den, &div); 870 dev_dbg(info->device, "VCLK freq: %ld kHz nom: %d den: %d div: %d\n", 871 freq, nom, den, div); 908 tmp = den << 1; 2783 static void bestclock(long freq, int *nom, int *den, int *div) argument 2789 assert(den != NULL); 2793 *den = 0; 2817 *den [all...] |
/drivers/mtd/devices/ |
H A D | docecc.c | 191 gf u,q,tmp,num1,num2,den,discr_r; local 389 * inv(X(l))**(B0-1) and den = lambda_pr(inv(X(l))) all in poly-form 398 den = 0; 403 den ^= Alpha_to[modnn(lambda[i+1] + i * root[j])]; 405 if (den == 0) { 415 eras_val[j] = Alpha_to[modnn(Index_of[num1] + Index_of[num2] + NN - Index_of[den])];
|
/drivers/video/aty/ |
H A D | radeonfb.h | 504 static inline int round_div(int num, int den) argument 506 return (num + (den / 2)) / den;
|
H A D | radeon_base.c | 721 int nom, den; local 749 nom = den = 1; 756 den = 1; 765 den = 1; 776 den = 1; 785 den = 1; 816 if (((v.xres_virtual * v.yres_virtual * nom) / den) > rinfo->mapped_vram)
|
/drivers/video/riva/ |
H A D | fbdev.c | 867 * @den: 881 int nom, int den) 901 if (modes[i].xres * nom / den * modes[i].yres < 918 var->xres_virtual = (info->fix.smem_len * den / 924 var->yres_virtual = info->fix.smem_len * den / 930 if (var->xres_virtual * nom / den * var->yres_virtual > info->fix.smem_len) { 939 if (var->xres_virtual * nom / den >= 8192) { 942 var->xres_virtual, 8192 * den / nom - 16); 943 var->xres_virtual = 8192 * den / nom - 16; 1102 int nom, den; /* translatin local 879 rivafb_do_maximize(struct fb_info *info, struct fb_var_screeninfo *var, int nom, int den) argument [all...] |
/drivers/video/matrox/ |
H A D | matroxfb_maven.c | 188 unsigned int den; member in struct:matrox_pll_ctl 216 unsigned int fmin = pll->vco_freq_min / ctl->den; 226 fmax = pll->vco_freq_max / ctl->den; 280 return fxtal * (*feed) / (*in) * ctl->den;
|
/drivers/media/video/ |
H A D | mx3_camera.c | 744 unsigned int num, den; local 745 int ret = soc_mbus_samples_per_pixel(fmt, &num, &den); 747 width = width * num / den;
|
/drivers/gpu/drm/i915/ |
H A D | intel_dp.c | 720 intel_reduce_ratio(uint32_t *num, uint32_t *den) argument 722 while (*num > 0xffffff || *den > 0xffffff) { 724 *den >>= 1;
|
H A D | intel_display.c | 3483 fdi_reduce_ratio(u32 *num, u32 *den) argument 3485 while (*num > 0xffffff || *den > 0xffffff) { 3487 *den >>= 1;
|
/drivers/net/wireless/b43legacy/ |
H A D | phy.c | 1958 s32 b43legacy_tssi2dbm_ad(s32 num, s32 den) argument 1961 return num/den; 1963 return (num+den/2)/den;
|
/drivers/net/wireless/b43/ |
H A D | phy_g.c | 2323 static s32 b43_tssi2dbm_ad(s32 num, s32 den) argument 2326 return num / den; 2328 return (num + den / 2) / den;
|
/drivers/scsi/ |
H A D | advansys.c | 2220 #define ASC_TENTHS(num, den) \ 2221 (((10 * ((num)/(den))) > (((num) * 10)/(den))) ? \ 2222 0 : ((((num) * 10)/(den)) - (10 * ((num)/(den)))))
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_n.c | 17796 s32 num, den, pwr_est; local 17994 den = 32768 + a1[tbl_id - 26] * idx; 17995 pwr_est = max(((4 * num + den / 2) / den), -8);
|