/openbsd-current/sys/dev/pci/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 474 struct gamma_coefficients *coeff, 481 scratch_gamma_args.a0 = coeff->a0[color_index]; 482 scratch_gamma_args.a1 = coeff->a1[color_index]; 483 scratch_gamma_args.a2 = coeff->a2[color_index]; 484 scratch_gamma_args.a3 = coeff->a3[color_index]; 485 scratch_gamma_args.gamma = coeff->user_gamma[color_index]; 494 struct gamma_coefficients *coeff, 499 coeff->a0[color_index], 500 coeff->a1[color_index], 501 coeff 472 translate_from_linear_space_ex( struct fixed31_32 arg, struct gamma_coefficients *coeff, uint32_t color_index, struct calculate_buffer *cal_buffer) argument 492 translate_to_linear_space_ex( struct fixed31_32 arg, struct gamma_coefficients *coeff, uint32_t color_index) argument 586 build_custom_gamma_mapping_coefficients_worker( const struct dc_gamma *ramp, struct pixel_gamma_point *coeff, const struct hw_x_point *coordinates_x, const struct gamma_pixel *axis_x, enum channel_name channel, uint32_t number_of_points) argument 678 calculate_mapped_value( struct pwl_float_data *rgb, const struct pixel_gamma_point *coeff, enum channel_name channel, uint32_t max_index) argument 830 struct gamma_coefficients *coeff; local 1083 struct gamma_coefficients coeff; local 1532 const struct pixel_gamma_point *coeff = coeff128; local 1690 struct gamma_coefficients coeff; local 1761 struct gamma_coefficients coeff; local 1884 struct pixel_gamma_point *coeff = NULL; local 2126 struct pixel_gamma_point *coeff = NULL; local [all...] |
H A D | color_gamma.h | 48 unsigned int coeffFromUser :1; //coeff. A0-A3 from user is in use 49 unsigned int coeffFromEdid :1; //coeff. A0-A3 from edid is in use 75 struct regamma_coeff coeff; member in union:regamma_lut::__anon351
|
/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_color.c | 92 #define CTM_COEFF_NEGATIVE(coeff) (((coeff) & CTM_COEFF_SIGN) != 0) 93 #define CTM_COEFF_ABS(coeff) ((coeff) & (CTM_COEFF_SIGN - 1)) 121 #define ILK_CSC_COEFF_FP(coeff, fbits) \ 122 (clamp_val(((coeff) >> (32 - (fbits) - 3)) + 4, 0, 0xfff) & 0xff8) 130 .coeff = { 141 .coeff = { 156 .coeff = { 213 csc->coeff[ 571 ctm_to_twos_complement(u64 coeff, int int_bits, int frac_bits) argument [all...] |
H A D | intel_crtc_state_dump.c | 174 csc->coeff[3 * i + 0], 175 csc->coeff[3 * i + 1], 176 csc->coeff[3 * i + 2]); 195 csc->coeff[3 * i + 0], 196 csc->coeff[3 * i + 1], 197 csc->coeff[3 * i + 2]);
|
H A D | intel_display.c | 5187 PIPE_CONF_CHECK_X(name.coeff[0]); \ 5188 PIPE_CONF_CHECK_X(name.coeff[1]); \ 5189 PIPE_CONF_CHECK_X(name.coeff[2]); \ 5190 PIPE_CONF_CHECK_X(name.coeff[3]); \ 5191 PIPE_CONF_CHECK_X(name.coeff[4]); \ 5192 PIPE_CONF_CHECK_X(name.coeff[5]); \ 5193 PIPE_CONF_CHECK_X(name.coeff[6]); \ 5194 PIPE_CONF_CHECK_X(name.coeff[7]); \ 5195 PIPE_CONF_CHECK_X(name.coeff[8]); \
|
H A D | intel_display_types.h | 1000 u16 coeff[9]; member in struct:intel_csc_matrix
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20020406-1.c | 56 void DUPFFshift_add(DUPFF f, const DUPFF g, int deg, const FFelem coeff) argument
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/inc/hw/ |
H A D | opp.h | 173 struct fixed31_32 coeff; member in struct:gamma_point
|
/openbsd-current/sys/dev/usb/ |
H A D | if_otus.c | 1899 otus_get_delta_slope(uint32_t coeff, uint32_t *exponent, uint32_t *mantissa) argument 1904 /* exponent = 14 - floor(log2(coeff)) */ 1906 if (coeff & (1 << exp)) 1911 /* mantissa = floor(coeff * 2^exponent + 0.5) */ 1912 man = coeff + (1 << (COEFF_SCALE_SHIFT - exp - 1)); 1926 uint32_t coeff, exp, man, tmp; local 1997 coeff = (100 << 24) / c->ic_freq; 1998 otus_get_delta_slope(coeff, &exp, &man); 2001 DPRINTF(("ds coeff=%u exp=%u man=%u\n", coeff, ex [all...] |
/openbsd-current/sys/dev/ic/ |
H A D | ar9003.c | 1856 uint32_t coeff, exp, man, reg; local 1859 coeff = (100 << 24) / c->ic_freq; 1860 athn_get_delta_slope(coeff, &exp, &man); 1861 DPRINTFN(5, ("delta slope coeff exp=%u man=%u\n", exp, man)); 1868 /* For Short GI, coeff is 9/10 that of normal coeff. */ 1869 coeff = (9 * coeff) / 10; 1870 athn_get_delta_slope(coeff, &exp, &man); 1871 DPRINTFN(5, ("delta slope coeff ex 2219 ar9003_get_iq_corr(struct athn_softc *sc, int32_t res[6], int32_t coeff[2]) argument 2341 int32_t res[6], coeff[2]; local [all...] |
H A D | ar5008.c | 1918 uint32_t coeff, exp, man, reg; local 1921 coeff = (100 << 24) / c->ic_freq; 1922 athn_get_delta_slope(coeff, &exp, &man); 1923 DPRINTFN(5, ("delta slope coeff exp=%u man=%u\n", exp, man)); 1930 /* For Short GI, coeff is 9/10 that of normal coeff. */ 1931 coeff = (9 * coeff) / 10; 1932 athn_get_delta_slope(coeff, &exp, &man); 1933 DPRINTFN(5, ("delta slope coeff ex [all...] |
H A D | athn.c | 968 athn_get_delta_slope(uint32_t coeff, uint32_t *exponent, uint32_t *mantissa) argument 973 /* exponent = 14 - floor(log2(coeff)) */ 975 if (coeff & (1 << exp)) 979 /* mantissa = floor(coeff * 2^exponent + 0.5) */ 980 man = coeff + (1 << (COEFF_SCALE_SHIFT - exp - 1));
|
/openbsd-current/gnu/gcc/gcc/ |
H A D | lambda-code.c | 1652 tree coeff; local 1661 coeff = build_int_cst (type, 1663 mult = fold_build2 (MULT_EXPR, type, iv, coeff); 1694 tree coeff; local 1703 coeff = build_int_cst (type, invcoeff); 1704 mult = fold_build2 (MULT_EXPR, type, invar, coeff);
|
H A D | expmed.c | 2388 alg_shift total := total * coeff 2389 alg_add_t_m2 total := total + multiplicand * coeff; 2390 alg_sub_t_m2 total := total - multiplicand * coeff; 2391 alg_add_factor total := total * coeff + total; 2392 alg_sub_factor total := total * coeff - total; 2393 alg_add_t2_m total := total * coeff + multiplicand; 2394 alg_sub_t2_m total := total * coeff - multiplicand; 3124 coeff below. */ 3141 HOST_WIDE_INT coeff = 0; 3175 else coeff 3130 HOST_WIDE_INT coeff = 0; local [all...] |
H A D | simplify-rtx.c | 1596 rtx coeff; 1601 coeff = immed_double_const (l, h, mode); 1603 tem = simplify_gen_binary (MULT, mode, lhs, coeff); 1790 rtx coeff; 1795 coeff = immed_double_const (l, h, mode); 1797 tem = simplify_gen_binary (MULT, mode, lhs, coeff); 1817 /* Don't let a relocatable value get a negative coeff. */ 1589 rtx coeff; local 1783 rtx coeff; local
|
H A D | builtins.c | 3399 rtx target, coeff; 3409 coeff = c_readstr (p, mode); 3412 target = expand_mult (mode, target, coeff, NULL_RTX, 1); 3398 rtx target, coeff; local
|
/openbsd-current/sys/dev/pci/drm/radeon/ |
H A D | ni_dpm.c | 740 static void ni_calculate_leakage_for_v_and_t_formula(const struct ni_leakage_coeffients *coeff, argument 751 kt = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->at), 1000), 752 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bt), 1000), temperature))); 753 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 1000), 754 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 1000), vddc))); 762 const struct ni_leakage_coeffients *coeff, 768 ni_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage); 761 ni_calculate_leakage_for_v_and_t(struct radeon_device *rdev, const struct ni_leakage_coeffients *coeff, u16 v, s32 t, u32 i_leakage, u32 *leakage) argument
|
H A D | si_dpm.c | 1750 static void si_calculate_leakage_for_v_and_t_formula(const struct ni_leakage_coeffients *coeff, argument 1761 t_slope = div64_s64(drm_int2fixp(coeff->t_slope), 100000000); 1762 t_intercept = div64_s64(drm_int2fixp(coeff->t_intercept), 100000000); 1763 av = div64_s64(drm_int2fixp(coeff->av), 100000000); 1764 bv = div64_s64(drm_int2fixp(coeff->bv), 100000000); 1765 t_ref = drm_int2fixp(coeff->t_ref); 1778 const struct ni_leakage_coeffients *coeff, 1784 si_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage); 1787 static void si_calculate_leakage_for_v_formula(const struct ni_leakage_coeffients *coeff, argument 1797 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff 1777 si_calculate_leakage_for_v_and_t(struct radeon_device *rdev, const struct ni_leakage_coeffients *coeff, u16 v, s32 t, u32 i_leakage, u32 *leakage) argument 1805 si_calculate_leakage_for_v(struct radeon_device *rdev, const struct ni_leakage_coeffients *coeff, const u32 fixed_kt, u16 v, u32 i_leakage, u32 *leakage) argument [all...] |
/openbsd-current/sys/dev/pci/drm/amd/pm/legacy-dpm/ |
H A D | amdgpu_si_dpm.c | 1858 static void si_calculate_leakage_for_v_and_t_formula(const struct ni_leakage_coeffients *coeff, argument 1869 t_slope = div64_s64(drm_int2fixp(coeff->t_slope), 100000000); 1870 t_intercept = div64_s64(drm_int2fixp(coeff->t_intercept), 100000000); 1871 av = div64_s64(drm_int2fixp(coeff->av), 100000000); 1872 bv = div64_s64(drm_int2fixp(coeff->bv), 100000000); 1873 t_ref = drm_int2fixp(coeff->t_ref); 1886 const struct ni_leakage_coeffients *coeff, 1892 si_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage); 1895 static void si_calculate_leakage_for_v_formula(const struct ni_leakage_coeffients *coeff, argument 1905 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff 1885 si_calculate_leakage_for_v_and_t(struct amdgpu_device *adev, const struct ni_leakage_coeffients *coeff, u16 v, s32 t, u32 i_leakage, u32 *leakage) argument 1913 si_calculate_leakage_for_v(struct amdgpu_device *adev, const struct ni_leakage_coeffients *coeff, const u32 fixed_kt, u16 v, u32 i_leakage, u32 *leakage) argument [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/ |
H A D | builtins.c | 2187 rtx target, coeff; 2197 coeff = c_readstr (p, mode); 2200 target = expand_mult (mode, target, coeff, NULL_RTX, 1); 2186 rtx target, coeff; local
|