/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pll.c | 35 * @nom: nominator 44 static void amdgpu_pll_reduce_ratio(unsigned *nom, unsigned *den, argument 50 tmp = gcd(*nom, *den); 51 *nom /= tmp; 55 if (*nom < nom_min) { 56 tmp = DIV_ROUND_UP(nom_min, *nom); 57 *nom *= tmp; 64 *nom *= tmp; 73 * @nom: nominator 84 static void amdgpu_pll_get_fb_ref_div(struct amdgpu_device *adev, unsigned int nom, argument 138 unsigned nom, den; local [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_clock_utils.c | 204 static u64 div_u64_roundup(u64 nom, u32 den) argument 206 return div_u64(nom + den - 1, den);
|
/linux-master/sound/soc/img/ |
H A D | img-spdif-in.c | 152 unsigned int ori, nom, hld; local 167 nom = (4096 / ori) + 1; 169 hld = 4096 - (--nom * (ori - 1)); 172 *pnom = nom; 181 unsigned int nom, hld; local 190 ret = img_spdif_in_do_clkgen_calc(rate, &nom, &hld, clk_rate); 194 reg = (nom << IMG_SPDIF_IN_CLKGEN_NOM_SHIFT) & 218 unsigned int nom, hld, rate, max_rate = 0; local 234 ret = img_spdif_in_do_clkgen_calc(rate, &nom, &hld, clk_rate); 238 reg = (nom << IMG_SPDIF_IN_ACLKGEN_NOM_SHIF [all...] |
/linux-master/drivers/isdn/hardware/mISDN/ |
H A D | mISDNisar.c | 176 u8 nom, noc; local 240 nom = (2 * noc) + 3; 258 if (!send_mbox(isar, ISAR_HIS_FIRM, 0, nom, NULL)) { 1343 u8 ctrl = 0, nom = 0, p1 = 0; local 1352 nom = 1; 1365 nom = 0; 1374 nom = 1; 1387 nom = 0; 1396 nom = 1; 1409 nom [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 882 * @nom: nominator 891 static void avivo_reduce_ratio(unsigned *nom, unsigned *den, argument 897 tmp = gcd(*nom, *den); 898 *nom /= tmp; 902 if (*nom < nom_min) { 903 tmp = DIV_ROUND_UP(nom_min, *nom); 904 *nom *= tmp; 911 *nom *= tmp; 919 * @nom: nominator 930 static void avivo_get_fb_ref_div(unsigned nom, unsigne argument 977 unsigned nom, den; local [all...] |
/linux-master/drivers/video/fbdev/riva/ |
H A D | fbdev.c | 842 * @nom: nom 857 int nom, int den) 877 if (modes[i].xres * nom / den * modes[i].yres < 895 (nom * var->yres_virtual)) & ~15; 901 (nom * var->xres_virtual); 906 if (var->xres_virtual * nom / den * var->yres_virtual > info->fix.smem_len) { 915 if (var->xres_virtual * nom / den >= 8192) { 918 var->xres_virtual, 8192 * den / nom - 16); 919 var->xres_virtual = 8192 * den / nom 855 rivafb_do_maximize(struct fb_info *info, struct fb_var_screeninfo *var, int nom, int den) argument 1078 int nom, den; /* translating from pixels->bytes */ local [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | cirrusfb.c | 408 static void bestclock(long freq, int *nom, int *den, int *div); 670 int nom, den, div; local 846 bestclock(freq, &nom, &den, &div); 848 dev_dbg(info->device, "VCLK freq: %ld kHz nom: %d den: %d div: %d\n", 849 freq, nom, den, div); 863 nom = 0; 885 if (nom) { 898 vga_wseq(regbase, CL_SEQR1E, nom); 900 vga_wseq(regbase, CL_SEQRE, nom); 2741 static void bestclock(long freq, int *nom, in argument [all...] |
/linux-master/drivers/net/can/usb/ |
H A D | esd_usb.c | 236 struct esd_usb_3_baudrate_cfg nom; /* nominal bit rate */ member in struct:esd_usb_3_set_baudrate_msg_x 1122 baud_x->nom.brp = cpu_to_le16(nom_bt->brp & (nom_btc->brp_max - 1)); 1123 baud_x->nom.sjw = cpu_to_le16(nom_bt->sjw & (nom_btc->sjw_max - 1)); 1124 baud_x->nom.tseg1 = cpu_to_le16((nom_bt->prop_seg + nom_bt->phase_seg1) 1126 baud_x->nom.tseg2 = cpu_to_le16(nom_bt->phase_seg2 & (nom_btc->tseg2_max - 1));
|
/linux-master/drivers/acpi/ |
H A D | cppc_acpi.c | 1241 u64 high, low, guaranteed, nom, min_nonlinear, low_f = 0, nom_f = 0; local 1283 cpc_read(cpunum, nominal_reg, &nom); 1284 perf_caps->nominal_perf = nom; 1297 if (!high || !low || !nom || !min_nonlinear)
|
/linux-master/drivers/video/fbdev/aty/ |
H A D | radeon_base.c | 836 int nom, den; local 858 nom = den = 1; 864 nom = 2; 873 nom = 2; 884 nom = 4; 893 nom = 4; 925 if (((v.xres_virtual * v.yres_virtual * nom) / den) > rinfo->mapped_vram)
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | dib7000p.c | 2440 u32 nom = (insertExtSynchro * P_Kin + syncSize); local 2442 u32 syncFreq = ((nom << quantif) / denom);
|
H A D | dib8000.c | 1383 u32 nom = (insertExtSynchro * P_Kin+syncSize); local 1385 u32 syncFreq = ((nom << quantif) / denom);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 3965 u64 nom = (2ULL << exponent) * NSEC_PER_SEC; local 3968 return div_u64(nom + den - 1, den);
|
/linux-master/scripts/ |
H A D | checkpatch.pl | 1142 $maintained_status{$filename} = `perl $root/scripts/get_maintainer.pl --status --nom --nol --nogit --nogit-fallback -f $filename 2>&1`;
|