/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_pll.c | 42 * @nom: nominator 51 static void amdgpu_pll_reduce_ratio(unsigned *nom, unsigned *den, 57 tmp = gcd(*nom, *den); 58 *nom /= tmp; 62 if (*nom < nom_min) { 63 tmp = DIV_ROUND_UP(nom_min, *nom); 64 *nom *= tmp; 71 *nom *= tmp; 79 * @nom: nominator 90 static void amdgpu_pll_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_div 136 unsigned nom, den; local in function:amdgpu_pll_compute [all...] |
amdgpu_pll.c | 42 * @nom: nominator 51 static void amdgpu_pll_reduce_ratio(unsigned *nom, unsigned *den, 57 tmp = gcd(*nom, *den); 58 *nom /= tmp; 62 if (*nom < nom_min) { 63 tmp = DIV_ROUND_UP(nom_min, *nom); 64 *nom *= tmp; 71 *nom *= tmp; 79 * @nom: nominator 90 static void amdgpu_pll_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_div 136 unsigned nom, den; local in function:amdgpu_pll_compute [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_display.c | 874 * @nom: nominator 883 static void avivo_reduce_ratio(unsigned *nom, unsigned *den, 889 tmp = gcd(*nom, *den); 890 *nom /= tmp; 894 if (*nom < nom_min) { 895 tmp = DIV_ROUND_UP(nom_min, *nom); 896 *nom *= tmp; 903 *nom *= tmp; 911 * @nom: nominator 922 static void avivo_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_div 968 unsigned nom, den; local in function:radeon_compute_pll_avivo [all...] |
radeon_display.c | 874 * @nom: nominator 883 static void avivo_reduce_ratio(unsigned *nom, unsigned *den, 889 tmp = gcd(*nom, *den); 890 *nom /= tmp; 894 if (*nom < nom_min) { 895 tmp = DIV_ROUND_UP(nom_min, *nom); 896 *nom *= tmp; 903 *nom *= tmp; 911 * @nom: nominator 922 static void avivo_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_div 968 unsigned nom, den; local in function:radeon_compute_pll_avivo [all...] |
/src/sys/dev/i2c/ |
dbcool.c | 192 * nom-voltage-index 1052 int64_t nom; local in function:dbcool_read_volt 1054 nom = nominal_voltages[nom_idx]; 1055 if (nom < 0) 1056 nom = sc->sc_supply_voltage; 1109 val = nom = 0; 1122 ret = (ret * nom) / 0x300; 1993 int nom; local in function:dbcool_get_volt_limits 1995 nom = nominal_voltages[sc->sc_dc.dc_chip->table[idx].nom_volt_index]; 1996 if (nom < 0 2127 int nom; local in function:dbcool_set_volt_limits [all...] |
dbcool.c | 192 * nom-voltage-index 1052 int64_t nom; local in function:dbcool_read_volt 1054 nom = nominal_voltages[nom_idx]; 1055 if (nom < 0) 1056 nom = sc->sc_supply_voltage; 1109 val = nom = 0; 1122 ret = (ret * nom) / 0x300; 1993 int nom; local in function:dbcool_get_volt_limits 1995 nom = nominal_voltages[sc->sc_dc.dc_chip->table[idx].nom_volt_index]; 1996 if (nom < 0 2127 int nom; local in function:dbcool_set_volt_limits [all...] |