/linux-4.4.14/drivers/hwmon/pmbus/ |
D | lm25066.c | 435 struct __coeff *coeff; in lm25066_probe() local 481 coeff = &lm25066_coeff[data->id][0]; in lm25066_probe() 482 info->m[PSC_TEMPERATURE] = coeff[PSC_TEMPERATURE].m; in lm25066_probe() 483 info->b[PSC_TEMPERATURE] = coeff[PSC_TEMPERATURE].b; in lm25066_probe() 484 info->R[PSC_TEMPERATURE] = coeff[PSC_TEMPERATURE].R; in lm25066_probe() 485 info->m[PSC_VOLTAGE_IN] = coeff[PSC_VOLTAGE_IN].m; in lm25066_probe() 486 info->b[PSC_VOLTAGE_IN] = coeff[PSC_VOLTAGE_IN].b; in lm25066_probe() 487 info->R[PSC_VOLTAGE_IN] = coeff[PSC_VOLTAGE_IN].R; in lm25066_probe() 488 info->m[PSC_VOLTAGE_OUT] = coeff[PSC_VOLTAGE_OUT].m; in lm25066_probe() 489 info->b[PSC_VOLTAGE_OUT] = coeff[PSC_VOLTAGE_OUT].b; in lm25066_probe() [all …]
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
D | csc.c | 124 u16 *coeff, *end_coeff; in csc_set_coeff() local 154 coeff = sd_hd_coeffs->sd; in csc_set_coeff() 156 coeff = sd_hd_coeffs->hd; in csc_set_coeff() 158 end_coeff = coeff + 12; in csc_set_coeff() 160 for (; coeff < end_coeff; coeff += 2) in csc_set_coeff() 161 *shadow_csc++ = (*(coeff + 1) << 16) | *coeff; in csc_set_coeff()
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy.c | 35 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument 41 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero() 65 s32 coeff = 1000; /* Precision, should avoid overflow */ in msm_dsi_dphy_timing_calc() local 71 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc() 72 lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); in msm_dsi_dphy_timing_calc() 74 tmax = S_DIV_ROUND_UP(95 * coeff, ui) - 2; in msm_dsi_dphy_timing_calc() 75 tmin = S_DIV_ROUND_UP(38 * coeff, ui) - 2; in msm_dsi_dphy_timing_calc() 85 dsi_dphy_timing_calc_clk_zero(timing, ui, coeff, pcnt2); in msm_dsi_dphy_timing_calc() 87 temp = 105 * coeff + 12 * ui - 20 * coeff; in msm_dsi_dphy_timing_calc() 89 tmin = S_DIV_ROUND_UP(60 * coeff, ui) - 2; in msm_dsi_dphy_timing_calc() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | ar9003_calib.c | 28 struct coeff { struct 890 struct coeff *coeff, in ar9003_hw_tx_iq_cal_outlier_detection() argument 931 ar9003_hw_detect_outlier(coeff->mag_coeff[i], in ar9003_hw_tx_iq_cal_outlier_detection() 936 ar9003_hw_detect_outlier(coeff->phs_coeff[i], in ar9003_hw_tx_iq_cal_outlier_detection() 943 magnitude = coeff->mag_coeff[i][im][0]; in ar9003_hw_tx_iq_cal_outlier_detection() 944 phase = coeff->phs_coeff[i][im][0]; in ar9003_hw_tx_iq_cal_outlier_detection() 946 coeff->iqc_coeff[0] = in ar9003_hw_tx_iq_cal_outlier_detection() 952 coeff->iqc_coeff[0]); in ar9003_hw_tx_iq_cal_outlier_detection() 956 coeff->iqc_coeff[0]); in ar9003_hw_tx_iq_cal_outlier_detection() 960 coeff->iqc_coeff[0]; in ar9003_hw_tx_iq_cal_outlier_detection() [all …]
|
/linux-4.4.14/Documentation/input/ |
D | interactive.fig | 40 4 0 0 50 0 0 12 0.0000 4 180 2505 5400 3900 left coeff ( positive in that case )\001 41 4 0 0 50 0 0 12 0.0000 4 180 2640 5475 5100 right coeff ( negative in that case )\001
|
/linux-4.4.14/sound/soc/codecs/ |
D | wm8988.c | 675 int coeff; in wm8988_pcm_hw_params() local 677 coeff = get_coeff(wm8988->sysclk, params_rate(params)); in wm8988_pcm_hw_params() 678 if (coeff < 0) { in wm8988_pcm_hw_params() 679 coeff = get_coeff(wm8988->sysclk / 2, params_rate(params)); in wm8988_pcm_hw_params() 682 if (coeff < 0) { in wm8988_pcm_hw_params() 686 return coeff; in wm8988_pcm_hw_params() 706 if (coeff >= 0) in wm8988_pcm_hw_params() 708 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8988_pcm_hw_params()
|
D | alc5623.c | 706 int coeff, rate; in alc5623_pcm_hw_params() local 733 coeff = get_coeff(codec, rate); in alc5623_pcm_hw_params() 734 if (coeff < 0) in alc5623_pcm_hw_params() 737 coeff = coeff_div[coeff].regvalue; in alc5623_pcm_hw_params() 739 __func__, alc5623->sysclk, rate, coeff); in alc5623_pcm_hw_params() 740 snd_soc_write(codec, ALC5623_STEREO_AD_DA_CLK_CTRL, coeff); in alc5623_pcm_hw_params()
|
D | alc5632.c | 874 int coeff, rate; in alc5632_pcm_hw_params() local 898 coeff = get_coeff(codec, rate); in alc5632_pcm_hw_params() 899 if (coeff < 0) in alc5632_pcm_hw_params() 902 coeff = coeff_div[coeff].regvalue; in alc5632_pcm_hw_params() 903 snd_soc_write(codec, ALC5632_DAC_CLK_CTRL1, coeff); in alc5632_pcm_hw_params()
|
D | wm8971.c | 517 int coeff = get_coeff(wm8971->sysclk, params_rate(params)); in wm8971_pcm_hw_params() local 536 if (coeff >= 0) in wm8971_pcm_hw_params() 538 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8971_pcm_hw_params()
|
D | wm8750.c | 586 int coeff = get_coeff(wm8750->sysclk, params_rate(params)); in wm8750_pcm_hw_params() local 605 if (coeff >= 0) in wm8750_pcm_hw_params() 607 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8750_pcm_hw_params()
|
D | wm8753.c | 1162 int coeff; in wm8753_i2s_hw_params() local 1165 coeff = get_coeff(wm8753->sysclk, params_rate(params)); in wm8753_i2s_hw_params() 1166 if (coeff < 0) { in wm8753_i2s_hw_params() 1168 return coeff; in wm8753_i2s_hw_params() 1170 snd_soc_write(codec, WM8753_SRATE1, srate | (coeff_div[coeff].sr << 1) | in wm8753_i2s_hw_params() 1171 coeff_div[coeff].usb); in wm8753_i2s_hw_params()
|
D | rt5631.c | 1357 int timesofbclk = 32, coeff; in rt5631_hifi_pcm_params() local 1370 coeff = get_coeff(rt5631->sysclk, rt5631->rx_rate, in rt5631_hifi_pcm_params() 1373 coeff = get_coeff(rt5631->sysclk, rt5631->rx_rate, in rt5631_hifi_pcm_params() 1375 if (coeff < 0) { in rt5631_hifi_pcm_params() 1377 return coeff; in rt5631_hifi_pcm_params() 1399 coeff_div[coeff].reg_val); in rt5631_hifi_pcm_params()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | af9033_priv.h | 40 struct coeff { struct 72 static const struct coeff coeff_lut[] = {
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | mx2_camera.c | 587 unsigned int coeff[2] = {0, 0}; in mx2_prp_resize_commit() local 598 coeff[j] = (coeff[j] << BC_COEF) | in mx2_prp_resize_commit() 602 coeff[j] <<= 1; in mx2_prp_resize_commit() 614 writel(coeff[0], pcdev->base_emma + in mx2_prp_resize_commit() 616 writel(coeff[1], pcdev->base_emma + in mx2_prp_resize_commit() 621 writel(coeff[0], pcdev->base_emma + in mx2_prp_resize_commit() 623 writel(coeff[1], pcdev->base_emma + in mx2_prp_resize_commit() 630 writel(coeff[0], pcdev->base_emma + in mx2_prp_resize_commit() 632 writel(coeff[1], pcdev->base_emma + in mx2_prp_resize_commit() 637 writel(coeff[0], pcdev->base_emma + in mx2_prp_resize_commit() [all …]
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fb_agm1264k-fl.c | 326 signed char coeff; in write_vmem() local 336 coeff = diffusing_matrix[i][j]; in write_vmem() 337 if (coeff == -1) in write_vmem() 342 error * coeff; in write_vmem()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-dsp.c | 103 s32 coeff = 2*int_cos(freq); in int_goertzel() local 110 s32 s = x[i] + ((s64)coeff*s_prev/32768) - s_prev2; in int_goertzel() 116 (s64)coeff * s_prev2 * s_prev / 32768; in int_goertzel()
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
D | ipu-ic.c | 177 s16 coeff[3][3]; /* signed 9-bit integer coefficients */ member 189 .coeff = { 200 .coeff = { 214 .coeff = { 250 c = (const u16 (*)[3])params->coeff; in init_csc()
|
/linux-4.4.14/Documentation/devicetree/bindings/display/exynos/ |
D | exynos_dp.txt | 40 -samsung,ycbcr-coeff: 93 samsung,ycbcr-coeff = <0>;
|
/linux-4.4.14/drivers/media/platform/davinci/ |
D | dm355_ccdc.c | 568 val1 = (csc->coeff[i].integer & in ccdc_config_csc() 575 val1 |= (((csc->coeff[i].decimal & in ccdc_config_csc() 581 val2 = (csc->coeff[i].integer & in ccdc_config_csc() 584 val2 |= (((csc->coeff[i].decimal & in ccdc_config_csc()
|
D | isif.c | 508 val1 = (df_csc->csc.coeff[i].integer << in isif_config_csc() 510 df_csc->csc.coeff[i].decimal; in isif_config_csc() 514 val2 = (df_csc->csc.coeff[i].integer << in isif_config_csc() 516 df_csc->csc.coeff[i].decimal; in isif_config_csc()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gk20a.c | 451 u32 coeff, m, n_lo; in gk20a_pllg_disable() local 453 coeff = nvkm_rd32(device, GPCPLL_COEFF); in gk20a_pllg_disable() 454 m = (coeff >> GPCPLL_COEFF_M_SHIFT) & MASK(GPCPLL_COEFF_M_WIDTH); in gk20a_pllg_disable()
|
/linux-4.4.14/include/media/davinci/ |
D | dm355_ccdc.h | 145 struct ccdc_float coeff[CCDC_CSC_COEFF_TABLE_SIZE]; member
|
D | isif.h | 212 struct isif_float_8 coeff[ISIF_CSC_NUM_COEFF]; member
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
D | hfcmulti.c | 1841 s32 *coeff; in hfcmulti_dtmf() local 1866 coeff = &(hc->chan[ch].coeff[hc->chan[ch].coeff_count * 16]); in hfcmulti_dtmf() 1891 coeff[co << 1] = mantissa; in hfcmulti_dtmf() 1910 coeff[(co << 1) | 1] = mantissa; in hfcmulti_dtmf() 1915 coeff[0], coeff[1], coeff[2], coeff[3], in hfcmulti_dtmf() 1916 coeff[4], coeff[5], coeff[6], coeff[7]); in hfcmulti_dtmf() 1929 memcpy(skb_put(skb, 512), hc->chan[ch].coeff, 512); in hfcmulti_dtmf() 4591 kfree(hc->chan[i].coeff); in release_port() 4614 kfree(hc->chan[ci - 2].coeff); in release_port() 4628 kfree(hc->chan[ci - 1].coeff); in release_port() [all …]
|
D | hfc_multi.h | 60 s32 *coeff; /* memory pointer to 8 coeff blocks */ member
|
/linux-4.4.14/drivers/gpu/drm/i2c/ |
D | adv7511.c | 166 const uint16_t *coeff, in adv7511_set_colormap() argument 178 0x1f, coeff[i] >> 8); in adv7511_set_colormap() 181 coeff[i] & 0xff); in adv7511_set_colormap()
|
/linux-4.4.14/sound/soc/intel/skylake/ |
D | skl-topology.h | 143 s32 coeff[UP_DOWN_MIXER_MAX_COEFF]; member
|
D | skl-messages.c | 455 mixer_mconfig->coeff[i] = 0xDEADBEEF; in skl_set_updown_mixer_format()
|
/linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
D | dm365_isif.c | 450 if (csc->coeff[i].integer > in isif_validate_df_csc_params() 452 csc->coeff[i].decimal > in isif_validate_df_csc_params() 951 val1 = ((df_csc->csc.coeff[i].integer & in isif_config_csc() 954 ((df_csc->csc.coeff[i].decimal & in isif_config_csc() 959 val2 = ((df_csc->csc.coeff[i].integer & in isif_config_csc() 962 ((df_csc->csc.coeff[i].decimal & in isif_config_csc()
|
D | davinci_vpfe_user.h | 346 struct float_8_bit coeff[VPFE_ISIF_CSC_NUM_COEFF]; member
|
/linux-4.4.14/include/uapi/linux/ |
D | ixjuser.h | 717 unsigned int coeff[19]; member
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | si_dpm.c | 1770 static void si_calculate_leakage_for_v_and_t_formula(const struct ni_leakage_coeffients *coeff, in si_calculate_leakage_for_v_and_t_formula() argument 1781 t_slope = div64_s64(drm_int2fixp(coeff->t_slope), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1782 t_intercept = div64_s64(drm_int2fixp(coeff->t_intercept), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1783 av = div64_s64(drm_int2fixp(coeff->av), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1784 bv = div64_s64(drm_int2fixp(coeff->bv), 100000000); in si_calculate_leakage_for_v_and_t_formula() 1785 t_ref = drm_int2fixp(coeff->t_ref); in si_calculate_leakage_for_v_and_t_formula() 1798 const struct ni_leakage_coeffients *coeff, in si_calculate_leakage_for_v_and_t() argument 1804 si_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage); in si_calculate_leakage_for_v_and_t() 1807 static void si_calculate_leakage_for_v_formula(const struct ni_leakage_coeffients *coeff, in si_calculate_leakage_for_v_formula() argument 1817 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula() [all …]
|
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()
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | exynos5250-smdk5250.dts | 84 samsung,ycbcr-coeff = <0>;
|
D | exynos5420-smdk5420.dts | 97 samsung,ycbcr-coeff = <0>;
|
D | exynos5250-arndale.dts | 128 samsung,ycbcr-coeff = <0>;
|
D | exynos5250-spring.dts | 78 samsung,ycbcr-coeff = <0>;
|
D | exynos5250-snow-common.dtsi | 240 samsung,ycbcr-coeff = <0>;
|
D | exynos5420-peach-pit.dts | 152 samsung,ycbcr-coeff = <0>;
|
D | exynos5800-peach-pi.dts | 146 samsung,ycbcr-coeff = <0>;
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | phy_lp.c | 1385 u32 iq_comp, tx_gain, coeff, rf_power; in lpphy_set_tx_power_by_index() local 1410 coeff = b43_lptab_read(dev, B43_LPTAB32(7, index + 448)); in lpphy_set_tx_power_by_index() 1412 coeff = b43_lptab_read(dev, B43_LPTAB32(10, index + 448)); in lpphy_set_tx_power_by_index() 1414 b43_lptab_write(dev, B43_LPTAB16(0, 85), coeff & 0xFFFF); in lpphy_set_tx_power_by_index()
|
/linux-4.4.14/drivers/net/wireless/ |
D | airo.c | 954 u32 coeff[((EMMH32_MSGLEN_MAX)+3)>>2]; member 1627 context->accum += (u64)(val) * context->coeff[coeff_position++]; 1644 for (i = 0; i < ARRAY_SIZE(context->coeff); ) { in emmh32_setseed() 1653 for (j = 0; (j < 16) && (i < ARRAY_SIZE(context->coeff)); ) { in emmh32_setseed() 1654 context->coeff[i++] = ntohl(*(__be32 *)&cipher[j]); in emmh32_setseed()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_display.c | 8666 uint16_t coeff = 0x7800; /* 1.0 */ in intel_set_pipe_csc() local 8676 coeff = ((235 - 16) * (1 << 12) / 255) & 0xff8; /* 0.xxx... */ in intel_set_pipe_csc() 8683 I915_WRITE(PIPE_CSC_COEFF_RY_GY(pipe), coeff << 16); in intel_set_pipe_csc() 8686 I915_WRITE(PIPE_CSC_COEFF_RU_GU(pipe), coeff); in intel_set_pipe_csc() 8690 I915_WRITE(PIPE_CSC_COEFF_BV(pipe), coeff << 16); in intel_set_pipe_csc()
|