/openbsd/sys/dev/pci/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 709 point->coeff, in calculate_mapped_value() 717 point->coeff, in calculate_mapped_value() 725 point->coeff, in calculate_mapped_value() 834 coeff = kvzalloc(sizeof(*coeff), GFP_KERNEL); in build_regamma() 835 if (!coeff) in build_regamma() 858 kvfree(coeff); in build_regamma() 1557 ++coeff; in calculate_interpolated_hardware_curve() 1952 if (!coeff) in mod_color_calculate_degamma_params() 2021 kvfree(coeff); in mod_color_calculate_degamma_params() 2182 if (!coeff) in mod_color_calculate_regamma_params() [all …]
|
H A D | color_gamma.h | 75 struct regamma_coeff coeff; member
|
/openbsd/sys/dev/pci/drm/i915/display/ |
H A D | intel_color.c | 213 csc->coeff[0] << 16 | csc->coeff[1]); in ilk_update_pipe_csc() 218 csc->coeff[3] << 16 | csc->coeff[4]); in ilk_update_pipe_csc() 223 csc->coeff[6] << 16 | csc->coeff[7]); in ilk_update_pipe_csc() 312 csc->coeff[0] << 16 | csc->coeff[1]); in icl_update_output_csc() 317 csc->coeff[3] << 16 | csc->coeff[4]); in icl_update_output_csc() 322 csc->coeff[6] << 16 | csc->coeff[7]); in icl_update_output_csc() 615 csc->coeff[1] << 16 | csc->coeff[0]); in vlv_load_wgc_csc() 620 csc->coeff[4] << 16 | csc->coeff[3]); in vlv_load_wgc_csc() 625 csc->coeff[7] << 16 | csc->coeff[6]); in vlv_load_wgc_csc() 717 csc->coeff[1] << 16 | csc->coeff[0]); in chv_load_cgm_csc() [all …]
|
H A D | intel_crtc_state_dump.c | 174 csc->coeff[3 * i + 0], in ilk_dump_csc() 175 csc->coeff[3 * i + 1], in ilk_dump_csc() 176 csc->coeff[3 * i + 2]); in ilk_dump_csc() 195 csc->coeff[3 * i + 0], in vlv_dump_csc() 196 csc->coeff[3 * i + 1], in vlv_dump_csc() 197 csc->coeff[3 * i + 2]); in vlv_dump_csc()
|
H A D | intel_display.c | 5187 PIPE_CONF_CHECK_X(name.coeff[0]); \ in intel_pipe_config_compare() 5188 PIPE_CONF_CHECK_X(name.coeff[1]); \ in intel_pipe_config_compare() 5189 PIPE_CONF_CHECK_X(name.coeff[2]); \ in intel_pipe_config_compare() 5190 PIPE_CONF_CHECK_X(name.coeff[3]); \ in intel_pipe_config_compare() 5191 PIPE_CONF_CHECK_X(name.coeff[4]); \ in intel_pipe_config_compare() 5192 PIPE_CONF_CHECK_X(name.coeff[5]); \ in intel_pipe_config_compare() 5193 PIPE_CONF_CHECK_X(name.coeff[6]); \ in intel_pipe_config_compare() 5194 PIPE_CONF_CHECK_X(name.coeff[7]); \ in intel_pipe_config_compare() 5195 PIPE_CONF_CHECK_X(name.coeff[8]); \ in intel_pipe_config_compare()
|
H A D | intel_display_types.h | 1002 u16 coeff[9]; member
|
/openbsd/sys/dev/usb/ |
H A D | if_otus.c | 1899 otus_get_delta_slope(uint32_t coeff, uint32_t *exponent, uint32_t *mantissa) in otus_get_delta_slope() argument 1906 if (coeff & (1 << exp)) in otus_get_delta_slope() 1912 man = coeff + (1 << (COEFF_SCALE_SHIFT - exp - 1)); in otus_get_delta_slope() 1926 uint32_t coeff, exp, man, tmp; in otus_set_chan() local 1997 coeff = (100 << 24) / c->ic_freq; in otus_set_chan() 1998 otus_get_delta_slope(coeff, &exp, &man); in otus_set_chan() 2001 DPRINTF(("ds coeff=%u exp=%u man=%u\n", coeff, exp, man)); in otus_set_chan() 2003 coeff = (9 * coeff) / 10; in otus_set_chan() 2004 otus_get_delta_slope(coeff, &exp, &man); in otus_set_chan() 2007 DPRINTF(("ds shgi coeff=%u exp=%u man=%u\n", coeff, exp, man)); in otus_set_chan()
|
/openbsd/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) in DUPFFshift_add() argument
|
/openbsd/sys/dev/ic/ |
H A D | ar9003.c | 1856 uint32_t coeff, exp, man, reg; in ar9003_set_delta_slope() local 1859 coeff = (100 << 24) / c->ic_freq; in ar9003_set_delta_slope() 1860 athn_get_delta_slope(coeff, &exp, &man); in ar9003_set_delta_slope() 1869 coeff = (9 * coeff) / 10; in ar9003_set_delta_slope() 1870 athn_get_delta_slope(coeff, &exp, &man); in ar9003_set_delta_slope() 2314 coeff[0] = q_coff * 128 + i_coff; in ar9003_get_iq_corr() 2329 coeff[1] = q_coff * 128 + i_coff; in ar9003_get_iq_corr() 2341 int32_t res[6], coeff[2]; in ar9003_calib_tx_iq() local 2388 coeff[0]); in ar9003_calib_tx_iq() 2393 coeff[1] >> 7); in ar9003_calib_tx_iq() [all …]
|
H A D | ar5008.c | 1918 uint32_t coeff, exp, man, reg; in ar5008_set_delta_slope() local 1921 coeff = (100 << 24) / c->ic_freq; in ar5008_set_delta_slope() 1922 athn_get_delta_slope(coeff, &exp, &man); in ar5008_set_delta_slope() 1931 coeff = (9 * coeff) / 10; in ar5008_set_delta_slope() 1932 athn_get_delta_slope(coeff, &exp, &man); in ar5008_set_delta_slope()
|
H A D | athn.c | 968 athn_get_delta_slope(uint32_t coeff, uint32_t *exponent, uint32_t *mantissa) in athn_get_delta_slope() argument 975 if (coeff & (1 << exp)) in athn_get_delta_slope() 980 man = coeff + (1 << (COEFF_SCALE_SHIFT - exp - 1)); in athn_get_delta_slope()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/inc/hw/ |
H A D | opp.h | 173 struct fixed31_32 coeff; member
|
/openbsd/gnu/gcc/gcc/ |
H A D | lambda-code.c | 1652 tree coeff; in lle_to_gcc_expression() local 1661 coeff = build_int_cst (type, in lle_to_gcc_expression() 1663 mult = fold_build2 (MULT_EXPR, type, iv, coeff); in lle_to_gcc_expression() 1694 tree coeff; in lle_to_gcc_expression() local 1703 coeff = build_int_cst (type, invcoeff); in lle_to_gcc_expression() 1704 mult = fold_build2 (MULT_EXPR, type, invar, coeff); in lle_to_gcc_expression()
|
H A D | expmed.c | 3130 HOST_WIDE_INT coeff = 0; in expand_mult() local 3164 else coeff = INTVAL (op1); in expand_mult() 3171 coeff = CONST_DOUBLE_LOW (op1); in expand_mult() 3187 if (coeff != 0) in expand_mult() 3190 if (EXACT_POWER_OF_2_OR_ZERO_P (coeff)) in expand_mult() 3192 build_int_cst (NULL_TREE, floor_log2 (coeff)), in expand_mult() 3198 if (choose_mult_variant (mode, coeff, &algorithm, &variant, in expand_mult() 3200 return expand_mult_const (mode, op0, coeff, target, in expand_mult()
|
H A D | simplify-rtx.c | 1589 rtx coeff; in simplify_binary_operation_1() local 1594 coeff = immed_double_const (l, h, mode); in simplify_binary_operation_1() 1596 tem = simplify_gen_binary (MULT, mode, lhs, coeff); in simplify_binary_operation_1() 1783 rtx coeff; in simplify_binary_operation_1() local 1788 coeff = immed_double_const (l, h, mode); in simplify_binary_operation_1() 1790 tem = simplify_gen_binary (MULT, mode, lhs, coeff); in simplify_binary_operation_1()
|
H A D | builtins.c | 3398 rtx target, coeff; in builtin_memset_gen_str() local 3408 coeff = c_readstr (p, mode); in builtin_memset_gen_str() 3411 target = expand_mult (mode, target, coeff, NULL_RTX, 1); in builtin_memset_gen_str()
|
/openbsd/sys/dev/pci/drm/radeon/ |
H A D | si_dpm.c | 1761 t_slope = div64_s64(drm_int2fixp(coeff->t_slope), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1762 t_intercept = div64_s64(drm_int2fixp(coeff->t_intercept), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1763 av = div64_s64(drm_int2fixp(coeff->av), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1764 bv = div64_s64(drm_int2fixp(coeff->bv), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1765 t_ref = drm_int2fixp(coeff->t_ref); in si_calculate_leakage_for_v_and_t_formula() 1778 const struct ni_leakage_coeffients *coeff, in si_calculate_leakage_for_v_and_t() argument 1784 si_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage); in si_calculate_leakage_for_v_and_t() 1797 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula() 1798 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 100000000), vddc))); in si_calculate_leakage_for_v_formula() 1806 const struct ni_leakage_coeffients *coeff, in si_calculate_leakage_for_v() argument [all …]
|
H A D | ni_dpm.c | 740 static void ni_calculate_leakage_for_v_and_t_formula(const struct ni_leakage_coeffients *coeff, in ni_calculate_leakage_for_v_and_t_formula() argument 751 kt = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->at), 1000), in ni_calculate_leakage_for_v_and_t_formula() 752 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bt), 1000), temperature))); in ni_calculate_leakage_for_v_and_t_formula() 753 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 1000), in ni_calculate_leakage_for_v_and_t_formula() 754 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 1000), vddc))); in ni_calculate_leakage_for_v_and_t_formula() 762 const struct ni_leakage_coeffients *coeff, in ni_calculate_leakage_for_v_and_t() argument 768 ni_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage); in ni_calculate_leakage_for_v_and_t()
|
/openbsd/sys/dev/pci/drm/amd/pm/legacy-dpm/ |
H A D | amdgpu_si_dpm.c | 1869 t_slope = div64_s64(drm_int2fixp(coeff->t_slope), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1870 t_intercept = div64_s64(drm_int2fixp(coeff->t_intercept), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1871 av = div64_s64(drm_int2fixp(coeff->av), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1872 bv = div64_s64(drm_int2fixp(coeff->bv), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1873 t_ref = drm_int2fixp(coeff->t_ref); in si_calculate_leakage_for_v_and_t_formula() 1886 const struct ni_leakage_coeffients *coeff, in si_calculate_leakage_for_v_and_t() argument 1892 si_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage); in si_calculate_leakage_for_v_and_t() 1905 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula() 1906 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 100000000), vddc))); in si_calculate_leakage_for_v_formula() 1914 const struct ni_leakage_coeffients *coeff, in si_calculate_leakage_for_v() argument [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | builtins.c | 2186 rtx target, coeff; local 2196 coeff = c_readstr (p, mode); 2199 target = expand_mult (mode, target, coeff, NULL_RTX, 1);
|