Searched refs:nom (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_pll.c | 44 static void amdgpu_pll_reduce_ratio(unsigned *nom, unsigned *den, in amdgpu_pll_reduce_ratio() argument 50 tmp = gcd(*nom, *den); in amdgpu_pll_reduce_ratio() 51 *nom /= tmp; in amdgpu_pll_reduce_ratio() 55 if (*nom < nom_min) { in amdgpu_pll_reduce_ratio() 56 tmp = DIV_ROUND_UP(nom_min, *nom); in amdgpu_pll_reduce_ratio() 57 *nom *= tmp; in amdgpu_pll_reduce_ratio() 64 *nom *= tmp; in amdgpu_pll_reduce_ratio() 84 static void amdgpu_pll_get_fb_ref_div(struct amdgpu_device *adev, unsigned int nom, in amdgpu_pll_get_fb_ref_div() argument 98 *fb_div = DIV_ROUND_CLOSEST(nom * *ref_div * post_div, den); in amdgpu_pll_get_fb_ref_div() 138 unsigned nom, den; in amdgpu_pll_compute() local [all …]
|
| /linux/drivers/net/can/usb/ |
| H A D | esd_usb.c | 237 struct esd_usb_3_baudrate_cfg nom; /* nominal bit rate */ member 1141 baud_x->nom.brp = cpu_to_le16(nom_bt->brp & (nom_btc->brp_max - 1)); in esd_usb_3_set_bittiming() 1142 baud_x->nom.sjw = cpu_to_le16(nom_bt->sjw & (nom_btc->sjw_max - 1)); in esd_usb_3_set_bittiming() 1143 baud_x->nom.tseg1 = cpu_to_le16((nom_bt->prop_seg + nom_bt->phase_seg1) in esd_usb_3_set_bittiming() 1145 baud_x->nom.tseg2 = cpu_to_le16(nom_bt->phase_seg2 & (nom_btc->tseg2_max - 1)); in esd_usb_3_set_bittiming()
|
| /linux/drivers/acpi/ |
| H A D | cppc_acpi.c | 1494 u64 high, low, guaranteed, nom, ref, min_nonlinear, in cppc_get_perf_caps() local 1544 ret = cpc_read(cpunum, nominal_reg, &nom); in cppc_get_perf_caps() 1547 perf_caps->nominal_perf = nom; in cppc_get_perf_caps() 1558 ref = nom; in cppc_get_perf_caps() 1577 if (!high || !low || !nom || !ref || !min_nonlinear) { in cppc_get_perf_caps()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | dib7000p.c | 2443 u32 nom = (insertExtSynchro * P_Kin + syncSize); in dib7090_calcSyncFreq() local 2445 u32 syncFreq = ((nom << quantif) / denom); in dib7090_calcSyncFreq()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_oa.c | 1943 u64 nom = (2ULL << exponent) * NSEC_PER_SEC; in oa_exponent_to_ns() local 1946 return div_u64(nom + den - 1, den); in oa_exponent_to_ns()
|