Home
last modified time | relevance | path

Searched refs:taps (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/misc/echo/
A Dfir.h42 int taps; member
54 int taps; member
65 int taps; member
74 fir->taps = taps; in fir16_create()
75 fir->curr_pos = taps - 1; in fir16_create()
101 offset1 = fir->taps - offset2; in fir16()
108 fir->curr_pos = fir->taps; in fir16()
116 fir->taps = taps; in fir32_create()
117 fir->curr_pos = taps - 1; in fir32_create()
142 offset1 = fir->taps - offset2; in fir32()
[all …]
A Decho.c123 offset1 = ec->taps - offset2; in lms_adapt_bg()
125 for (i = ec->taps - 1; i >= offset1; i--) { in lms_adapt_bg()
153 ec->taps = len; in oslec_create()
155 ec->curr_pos = ec->taps - 1; in oslec_create()
158 kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
163 kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
244 ec->fir_state.curr_pos = ec->taps - 1; in oslec_flush()
245 ec->fir_state_bg.curr_pos = ec->taps - 1; in oslec_flush()
249 ec->curr_pos = ec->taps - 1; in oslec_flush()
443 ec->taps * sizeof(int16_t)); in oslec_update()
[all …]
A Decho.h125 int taps; member
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_dpp_dscl.c262 if (taps == 8) in dpp1_dscl_get_filter_coeffs_64p()
264 else if (taps == 7) in dpp1_dscl_get_filter_coeffs_64p()
266 else if (taps == 6) in dpp1_dscl_get_filter_coeffs_64p()
268 else if (taps == 5) in dpp1_dscl_get_filter_coeffs_64p()
270 else if (taps == 4) in dpp1_dscl_get_filter_coeffs_64p()
272 else if (taps == 3) in dpp1_dscl_get_filter_coeffs_64p()
274 else if (taps == 2) in dpp1_dscl_get_filter_coeffs_64p()
276 else if (taps == 1) in dpp1_dscl_get_filter_coeffs_64p()
287 uint32_t taps, in dpp1_dscl_set_scaler_filter() argument
342 && (scl_data->taps.h_taps > 1 && scl_data->taps.h_taps_c > 1); in dpp1_dscl_set_scl_filter()
[all …]
A Ddcn10_dpp.c163 scl_data->taps.h_taps = 4; in dpp1_get_optimal_number_of_taps()
165 scl_data->taps.h_taps = in_taps->h_taps; in dpp1_get_optimal_number_of_taps()
167 scl_data->taps.v_taps = 4; in dpp1_get_optimal_number_of_taps()
169 scl_data->taps.v_taps = in_taps->v_taps; in dpp1_get_optimal_number_of_taps()
171 scl_data->taps.v_taps_c = 2; in dpp1_get_optimal_number_of_taps()
173 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp1_get_optimal_number_of_taps()
175 scl_data->taps.h_taps_c = 2; in dpp1_get_optimal_number_of_taps()
184 scl_data->taps.h_taps = 1; in dpp1_get_optimal_number_of_taps()
186 scl_data->taps.v_taps = 1; in dpp1_get_optimal_number_of_taps()
188 scl_data->taps.h_taps_c = 1; in dpp1_get_optimal_number_of_taps()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_transform.c122 if (data->taps.h_taps + data->taps.v_taps <= 2) { in setup_scaling_configuration()
156 if (data->taps.h_taps + data->taps.v_taps <= 2) { in dce60_setup_scaling_configuration()
209 int taps, in program_multi_taps_filter() argument
393 if (taps == 4) in get_filter_coeffs_16p()
1144 uint32_t taps; in decide_taps() local
1149 taps = in_taps; in decide_taps()
1151 taps = 4; in decide_taps()
1155 taps /= 2; in decide_taps()
1156 if (taps < 2) in decide_taps()
1157 taps = 2; in decide_taps()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_dpp.c214 scl_data->taps.h_taps = 8; in dpp201_get_optimal_number_of_taps()
216 scl_data->taps.h_taps = 4; in dpp201_get_optimal_number_of_taps()
222 scl_data->taps.v_taps = 8; in dpp201_get_optimal_number_of_taps()
224 scl_data->taps.v_taps = 4; in dpp201_get_optimal_number_of_taps()
229 scl_data->taps.v_taps_c = 4; in dpp201_get_optimal_number_of_taps()
231 scl_data->taps.v_taps_c = 2; in dpp201_get_optimal_number_of_taps()
236 scl_data->taps.h_taps_c = 4; in dpp201_get_optimal_number_of_taps()
238 scl_data->taps.h_taps_c = 2; in dpp201_get_optimal_number_of_taps()
246 scl_data->taps.h_taps = 1; in dpp201_get_optimal_number_of_taps()
248 scl_data->taps.v_taps = 1; in dpp201_get_optimal_number_of_taps()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_dwb_scl.c651 if (taps == 12) in wbscl_get_filter_coeffs_16p()
657 else if (taps == 9) in wbscl_get_filter_coeffs_16p()
659 else if (taps == 8) in wbscl_get_filter_coeffs_16p()
661 else if (taps == 7) in wbscl_get_filter_coeffs_16p()
663 else if (taps == 6) in wbscl_get_filter_coeffs_16p()
665 else if (taps == 5) in wbscl_get_filter_coeffs_16p()
667 else if (taps == 4) in wbscl_get_filter_coeffs_16p()
669 else if (taps == 3) in wbscl_get_filter_coeffs_16p()
671 else if (taps == 2) in wbscl_get_filter_coeffs_16p()
673 else if (taps == 1) in wbscl_get_filter_coeffs_16p()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_transform_v.c178 if (data->taps.h_taps + data->taps.v_taps > 2) { in setup_scaling_configuration()
187 if (data->taps.h_taps_c + data->taps.v_taps_c > 2) { in setup_scaling_configuration()
286 int taps, in program_multi_taps_filter() argument
293 int taps_pairs = (taps + 1) / 2; in program_multi_taps_filter()
492 if (taps == 4) in get_filter_coeffs_64p()
494 else if (taps == 2) in get_filter_coeffs_64p()
496 else if (taps == 1) in get_filter_coeffs_64p()
573 data->taps.v_taps, in dce110_xfmv_set_scaler()
578 data->taps.v_taps_c, in dce110_xfmv_set_scaler()
585 data->taps.h_taps, in dce110_xfmv_set_scaler()
[all …]
/linux/drivers/mmc/host/
A Dsdhci-of-aspeed.c144 const struct aspeed_sdhci_tap_param *taps) in aspeed_sdc_set_phase_taps() argument
151 reg = aspeed_sdc_set_phase_tap(&desc->in, taps->in, taps->valid, reg); in aspeed_sdc_set_phase_taps()
152 reg = aspeed_sdc_set_phase_tap(&desc->out, taps->out, taps->valid, reg); in aspeed_sdc_set_phase_taps()
201 struct aspeed_sdhci_tap_param *taps) in aspeed_sdhci_phases_to_taps() argument
203 taps->valid = phases->valid; in aspeed_sdhci_phases_to_taps()
208 taps->in = aspeed_sdhci_phase_to_tap(dev, rate, phases->in_deg); in aspeed_sdhci_phases_to_taps()
209 taps->out = aspeed_sdhci_phase_to_tap(dev, rate, phases->out_deg); in aspeed_sdhci_phases_to_taps()
215 struct aspeed_sdhci_tap_param _taps = {0}, *taps = &_taps; in aspeed_sdhci_configure_phase() local
227 aspeed_sdhci_phases_to_taps(dev, rate, params, taps); in aspeed_sdhci_configure_phase()
231 taps->in & ASPEED_SDHCI_NR_TAPS, in aspeed_sdhci_configure_phase()
[all …]
A Drenesas_sdhi_core.c607 if (!test_bit(i, priv->taps)) in renesas_sdhi_select_tuning()
608 clear_bit(i + offset, priv->taps); in renesas_sdhi_select_tuning()
618 if (bitmap_full(priv->taps, taps_size)) { in renesas_sdhi_select_tuning()
622 bitmap = priv->taps; in renesas_sdhi_select_tuning()
671 bitmap_zero(priv->taps, priv->tap_num * 2); in renesas_sdhi_execute_tuning()
682 set_bit(i, priv->taps); in renesas_sdhi_execute_tuning()
1046 const struct renesas_sdhi_scc *taps = of_data->taps; in renesas_sdhi_probe() local
1051 if (taps[i].clk_rate == 0 || in renesas_sdhi_probe()
1053 priv->scc_tappos = taps->tap; in renesas_sdhi_probe()
1055 taps->tap_hs400_4tap : in renesas_sdhi_probe()
[all …]
A Drenesas_sdhi.h30 struct renesas_sdhi_scc *taps; member
73 DECLARE_BITMAP(taps, BITS_PER_LONG);
A Drenesas_sdhi_internal_dmac.c104 .taps = rcar_gen3_scc_taps,
123 .taps = rcar_gen3_scc_taps,
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_dpp.c400 scl_data->taps.h_taps = 4; in dpp3_get_optimal_number_of_taps()
407 scl_data->taps.v_taps = 4; in dpp3_get_optimal_number_of_taps()
414 scl_data->taps.v_taps_c = 4; in dpp3_get_optimal_number_of_taps()
421 scl_data->taps.h_taps_c = 4; in dpp3_get_optimal_number_of_taps()
457 if (scl_data->taps.v_taps > max_taps_y) in dpp3_get_optimal_number_of_taps()
458 scl_data->taps.v_taps = max_taps_y; in dpp3_get_optimal_number_of_taps()
461 scl_data->taps.v_taps_c = max_taps_c; in dpp3_get_optimal_number_of_taps()
465 scl_data->taps.h_taps = 1; in dpp3_get_optimal_number_of_taps()
467 scl_data->taps.v_taps = 1; in dpp3_get_optimal_number_of_taps()
469 scl_data->taps.h_taps_c = 1; in dpp3_get_optimal_number_of_taps()
[all …]
/linux/sound/soc/ti/
A Domap-mcbsp-st.c59 s16 taps[128]; /* Sidetone filter coefficients */ member
248 st_data->taps[i]); in st_taps_show()
265 memset(st_data->taps, 0, sizeof(st_data->taps)); in st_taps_store()
278 st_data->taps[i++] = val; in st_taps_store()
309 omap_mcbsp_st_fir_write(mcbsp, st_data->taps); in omap_mcbsp_st_start()
/linux/Documentation/devicetree/bindings/phy/
A Dapm-xgene-phy.txt35 - apm,tx-pre-cursor1 : 1st pre-cursor emphasis taps control. Two set of
39 - apm,tx-pre-cursor2 : 2st pre-cursor emphasis taps control. Two set of
43 - apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of
/linux/drivers/net/
A Dtap.c155 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_enable_queue()
172 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_set_queue()
201 nq = rtnl_dereference(tap->taps[tap->numvtaps - 1]); in tap_disable_queue()
204 rcu_assign_pointer(tap->taps[index], nq); in tap_disable_queue()
205 RCU_INIT_POINTER(tap->taps[tap->numvtaps - 1], NULL); in tap_disable_queue()
273 queue = rcu_dereference(tap->taps[rxq % numvtaps]); in tap_get_queue()
283 queue = rcu_dereference(tap->taps[rxq]); in tap_get_queue()
288 queue = rcu_dereference(tap->taps[0]); in tap_get_queue()
/linux/Documentation/devicetree/bindings/net/
A Damd-xgbe.txt49 - amd,serdes-dfe-tap-config: DFE taps available to run
50 - amd,serdes-dfe-tap-enable: DFE taps to enable
/linux/include/linux/
A Dif_tap.h38 struct tap_queue __rcu *taps[MAX_TAP_QUEUES]; member
/linux/drivers/gpu/drm/imx/dcss/
A Ddcss-scaler.c180 int taps; in dcss_scaler_gaussian_filter() local
189 taps = use_5_taps ? PSC_NUM_TAPS_RGBA : PSC_NUM_TAPS; in dcss_scaler_gaussian_filter()
190 mid = (PSC_NUM_PHASES * taps) / 2 - 1; in dcss_scaler_gaussian_filter()
/linux/drivers/gpu/drm/amd/display/dc/calcs/
A Ddcn_calcs.c398 input->scale_taps.htaps = pipe->plane_res.scl_data.taps.h_taps; in pipe_ctx_to_e2e_pipe_params()
404 input->scale_taps.vtaps = pipe->plane_res.scl_data.taps.v_taps; in pipe_ctx_to_e2e_pipe_params()
405 input->scale_taps.vtaps_c = pipe->plane_res.scl_data.taps.v_taps_c; in pipe_ctx_to_e2e_pipe_params()
406 input->scale_taps.htaps_c = pipe->plane_res.scl_data.taps.h_taps_c; in pipe_ctx_to_e2e_pipe_params()
1031 v->override_hta_ps[input_idx] = pipe->plane_res.scl_data.taps.h_taps; in dcn_validate_bandwidth()
1032 v->override_vta_ps[input_idx] = pipe->plane_res.scl_data.taps.v_taps; in dcn_validate_bandwidth()
1033 v->override_hta_pschroma[input_idx] = pipe->plane_res.scl_data.taps.h_taps_c; in dcn_validate_bandwidth()
1034 v->override_vta_pschroma[input_idx] = pipe->plane_res.scl_data.taps.v_taps_c; in dcn_validate_bandwidth()
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dtransform.h171 struct scaling_taps taps; member
/linux/drivers/gpu/drm/amd/display/dc/dml/
A Ddisplay_mode_vba.c405 scaler_taps_st *taps = &pipes[j].pipe.scale_taps; in fetch_pipe_params() local
448 mode_lib->vba.htaps[mode_lib->vba.NumberOfActivePlanes] = taps->htaps; in fetch_pipe_params()
449 mode_lib->vba.vtaps[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps; in fetch_pipe_params()
450 mode_lib->vba.HTAPsChroma[mode_lib->vba.NumberOfActivePlanes] = taps->htaps_c; in fetch_pipe_params()
451 mode_lib->vba.VTAPsChroma[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps_c; in fetch_pipe_params()
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_resource.c901 int taps, in calculate_init_and_vp() argument
924 dc_fixpt_add_int(ratio, taps + 1), 2), temp), 19); in calculate_init_and_vp()
931 if (int_part < taps) { in calculate_init_and_vp()
932 int_part = taps - int_part; in calculate_init_and_vp()
1006 data->taps.h_taps, in calculate_inits_and_viewports()
1016 data->taps.h_taps_c, in calculate_inits_and_viewports()
1026 data->taps.v_taps, in calculate_inits_and_viewports()
1036 data->taps.v_taps_c, in calculate_inits_and_viewports()
/linux/drivers/staging/media/ipu3/
A Dipu3-css-params.c44 imgu_css_scaler_setup_lut(unsigned int taps, unsigned int input_width, in imgu_css_scaler_setup_lut() argument
57 for (tap = 0; tap < taps; tap++) in imgu_css_scaler_setup_lut()
74 for (tap = 0; tap < taps; tap++) { in imgu_css_scaler_setup_lut()
77 ((tap * (coeffs_size / taps)) + phase) - 1]; in imgu_css_scaler_setup_lut()
92 phase_sum_left = (taps / 2 * IMGU_SCALER_PHASES * in imgu_css_scaler_setup_lut()
95 phase_sum_right = (taps / 2 * IMGU_SCALER_PHASES * in imgu_css_scaler_setup_lut()
106 info->crop_left = taps - 1; in imgu_css_scaler_setup_lut()
107 info->crop_top = taps - 1; in imgu_css_scaler_setup_lut()

Completed in 63 milliseconds

12