Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/misc/echo/
Dfir.h42 int taps; member
54 int taps; member
65 int taps; member
72 const int16_t *coeffs, int taps) in fir16_create() argument
74 fir->taps = taps; in fir16_create()
75 fir->curr_pos = taps - 1; in fir16_create()
77 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir16_create()
83 memset(fir->history, 0, fir->taps * sizeof(int16_t)); in fir16_flush()
101 offset1 = fir->taps - offset2; in fir16()
103 for (i = fir->taps - 1; i >= offset1; i--) in fir16()
[all …]
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()
167 history = fir16_create(&ec->fir_state, ec->fir_taps16[0], ec->taps); in oslec_create()
170 history = fir16_create(&ec->fir_state_bg, ec->fir_taps16[1], ec->taps); in oslec_create()
180 ec->snapshot = kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
244 ec->fir_state.curr_pos = ec->taps - 1; in oslec_flush()
[all …]
Decho.h125 int taps; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c219 static const uint16_t *dpp1_dscl_get_filter_coeffs_64p(int taps, struct fixed31_32 ratio) in dpp1_dscl_get_filter_coeffs_64p() argument
221 if (taps == 8) in dpp1_dscl_get_filter_coeffs_64p()
223 else if (taps == 7) in dpp1_dscl_get_filter_coeffs_64p()
225 else if (taps == 6) in dpp1_dscl_get_filter_coeffs_64p()
227 else if (taps == 5) in dpp1_dscl_get_filter_coeffs_64p()
229 else if (taps == 4) in dpp1_dscl_get_filter_coeffs_64p()
231 else if (taps == 3) in dpp1_dscl_get_filter_coeffs_64p()
233 else if (taps == 2) in dpp1_dscl_get_filter_coeffs_64p()
235 else if (taps == 1) in dpp1_dscl_get_filter_coeffs_64p()
246 uint32_t taps, in dpp1_dscl_set_scaler_filter() argument
[all …]
Ddcn10_dpp.c155 scl_data->taps.h_taps = 4; in dpp1_get_optimal_number_of_taps()
157 scl_data->taps.h_taps = in_taps->h_taps; in dpp1_get_optimal_number_of_taps()
159 scl_data->taps.v_taps = 4; in dpp1_get_optimal_number_of_taps()
161 scl_data->taps.v_taps = in_taps->v_taps; in dpp1_get_optimal_number_of_taps()
163 scl_data->taps.v_taps_c = 2; in dpp1_get_optimal_number_of_taps()
165 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp1_get_optimal_number_of_taps()
167 scl_data->taps.h_taps_c = 2; in dpp1_get_optimal_number_of_taps()
170 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp1_get_optimal_number_of_taps()
172 scl_data->taps.h_taps_c = in_taps->h_taps_c; in dpp1_get_optimal_number_of_taps()
176 scl_data->taps.h_taps = 1; in dpp1_get_optimal_number_of_taps()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_dpp.c217 scl_data->taps.h_taps = 8; in dpp201_get_optimal_number_of_taps()
219 scl_data->taps.h_taps = 4; in dpp201_get_optimal_number_of_taps()
221 scl_data->taps.h_taps = in_taps->h_taps; in dpp201_get_optimal_number_of_taps()
225 scl_data->taps.v_taps = 8; in dpp201_get_optimal_number_of_taps()
227 scl_data->taps.v_taps = 4; in dpp201_get_optimal_number_of_taps()
229 scl_data->taps.v_taps = in_taps->v_taps; in dpp201_get_optimal_number_of_taps()
232 scl_data->taps.v_taps_c = 4; in dpp201_get_optimal_number_of_taps()
234 scl_data->taps.v_taps_c = 2; in dpp201_get_optimal_number_of_taps()
236 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp201_get_optimal_number_of_taps()
239 scl_data->taps.h_taps_c = 4; in dpp201_get_optimal_number_of_taps()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c122 if (data->taps.h_taps + data->taps.v_taps <= 2) { in setup_scaling_configuration()
132 SCL_H_NUM_OF_TAPS, data->taps.h_taps - 1, in setup_scaling_configuration()
133 SCL_V_NUM_OF_TAPS, data->taps.v_taps - 1); in setup_scaling_configuration()
156 if (data->taps.h_taps + data->taps.v_taps <= 2) { in dce60_setup_scaling_configuration()
165 SCL_H_NUM_OF_TAPS, data->taps.h_taps - 1, in dce60_setup_scaling_configuration()
166 SCL_V_NUM_OF_TAPS, data->taps.v_taps - 1); in dce60_setup_scaling_configuration()
209 int taps, in program_multi_taps_filter() argument
215 int taps_pairs = (taps + 1) / 2; in program_multi_taps_filter()
242 if (taps % 2 && pair == taps_pairs - 1) in program_multi_taps_filter()
294 dc_fixpt_from_int(data->taps.h_taps + 1)), in calculate_inits()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c649 static const uint16_t *wbscl_get_filter_coeffs_16p(int taps, struct fixed31_32 ratio) in wbscl_get_filter_coeffs_16p() argument
651 if (taps == 12) in wbscl_get_filter_coeffs_16p()
653 else if (taps == 11) in wbscl_get_filter_coeffs_16p()
655 else if (taps == 10) 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()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c165 set_reg_field_value(value, data->taps.h_taps - 1, in setup_scaling_configuration()
167 set_reg_field_value(value, data->taps.v_taps - 1, in setup_scaling_configuration()
169 set_reg_field_value(value, data->taps.h_taps_c - 1, in setup_scaling_configuration()
171 set_reg_field_value(value, data->taps.v_taps_c - 1, in setup_scaling_configuration()
176 if (data->taps.h_taps + data->taps.v_taps > 2) { in setup_scaling_configuration()
185 if (data->taps.h_taps_c + data->taps.v_taps_c > 2) { in setup_scaling_configuration()
284 int taps, in program_multi_taps_filter() argument
291 int taps_pairs = (taps + 1) / 2; in program_multi_taps_filter()
340 if (taps % 2 && pair == taps_pairs - 1) { in program_multi_taps_filter()
488 static const uint16_t *get_filter_coeffs_64p(int taps, struct fixed31_32 ratio) in get_filter_coeffs_64p() argument
[all …]
/linux-6.1.9/drivers/mmc/host/
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()
228 aspeed_sdc_set_phase_taps(sdhci->parent, sdhci->phase_desc, taps); in aspeed_sdhci_configure_phase()
[all …]
Drenesas_sdhi_core.c632 if (!test_bit(i, priv->taps)) in renesas_sdhi_select_tuning()
633 clear_bit(i + offset, priv->taps); in renesas_sdhi_select_tuning()
643 if (bitmap_full(priv->taps, taps_size)) { in renesas_sdhi_select_tuning()
647 bitmap = priv->taps; in renesas_sdhi_select_tuning()
690 if (priv->tap_num * 2 >= sizeof(priv->taps) * BITS_PER_BYTE) { in renesas_sdhi_execute_tuning()
696 bitmap_zero(priv->taps, priv->tap_num * 2); in renesas_sdhi_execute_tuning()
707 set_bit(i, priv->taps); in renesas_sdhi_execute_tuning()
1079 const struct renesas_sdhi_scc *taps = of_data->taps; in renesas_sdhi_probe() local
1084 if (taps[i].clk_rate == 0 || in renesas_sdhi_probe()
1085 taps[i].clk_rate == host->mmc->f_max) { in renesas_sdhi_probe()
[all …]
Drenesas_sdhi.h32 struct renesas_sdhi_scc *taps; member
81 DECLARE_BITMAP(taps, BITS_PER_LONG);
Drenesas_sdhi_internal_dmac.c101 .taps = rcar_gen3_scc_taps,
116 .taps = rcar_gen3_scc_taps,
132 .taps = rcar_gen3_scc_taps,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c404 scl_data->taps.h_taps = min(2 * dc_fixpt_ceil(scl_data->ratios.horz), 8); in dpp3_get_optimal_number_of_taps()
406 scl_data->taps.h_taps = 4; in dpp3_get_optimal_number_of_taps()
408 scl_data->taps.h_taps = in_taps->h_taps; in dpp3_get_optimal_number_of_taps()
411 scl_data->taps.v_taps = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert, 2)), 8); in dpp3_get_optimal_number_of_taps()
413 scl_data->taps.v_taps = 4; in dpp3_get_optimal_number_of_taps()
415 scl_data->taps.v_taps = in_taps->v_taps; in dpp3_get_optimal_number_of_taps()
418 scl_data->taps.v_taps_c = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert_c, 2)), 8); in dpp3_get_optimal_number_of_taps()
420 scl_data->taps.v_taps_c = 4; in dpp3_get_optimal_number_of_taps()
422 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp3_get_optimal_number_of_taps()
425 scl_data->taps.h_taps_c = min(2 * dc_fixpt_ceil(scl_data->ratios.horz_c), 8); in dpp3_get_optimal_number_of_taps()
[all …]
/linux-6.1.9/sound/soc/ti/
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-6.1.9/Documentation/devicetree/bindings/phy/
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-6.1.9/drivers/net/
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-6.1.9/Documentation/devicetree/bindings/net/
Damd-xgbe.txt49 - amd,serdes-dfe-tap-config: DFE taps available to run
50 - amd,serdes-dfe-tap-enable: DFE taps to enable
/linux-6.1.9/include/linux/
Dif_tap.h39 struct tap_queue __rcu *taps[MAX_TAP_QUEUES]; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h171 struct scaling_taps taps; member
/linux-6.1.9/drivers/gpu/drm/imx/dcss/
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-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
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()
1012 v->override_hta_ps[input_idx] = pipe->plane_res.scl_data.taps.h_taps; in dcn_validate_bandwidth()
1013 v->override_vta_ps[input_idx] = pipe->plane_res.scl_data.taps.v_taps; in dcn_validate_bandwidth()
1014 v->override_hta_pschroma[input_idx] = pipe->plane_res.scl_data.taps.h_taps_c; in dcn_validate_bandwidth()
1015 v->override_vta_pschroma[input_idx] = pipe->plane_res.scl_data.taps.v_taps_c; in dcn_validate_bandwidth()
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dyuv-formats.rst54 odd number of taps. This is referred to as co-sited chroma.
/linux-6.1.9/drivers/staging/media/ipu3/
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()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c534 scaler_taps_st *taps = &pipes[j].pipe.scale_taps; in fetch_pipe_params() local
593 mode_lib->vba.htaps[mode_lib->vba.NumberOfActivePlanes] = taps->htaps; in fetch_pipe_params()
594 mode_lib->vba.vtaps[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps; in fetch_pipe_params()
595 mode_lib->vba.HTAPsChroma[mode_lib->vba.NumberOfActivePlanes] = taps->htaps_c; in fetch_pipe_params()
596 mode_lib->vba.VTAPsChroma[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps_c; in fetch_pipe_params()

12