Home
last modified time | relevance | path

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

123

/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/spl/
Ddc_spl_scl_easf_filters.c1470 uint16_t *spl_dscl_get_easf_filter_coeffs_64p(int taps, struct spl_fixed31_32 ratio) in spl_dscl_get_easf_filter_coeffs_64p() argument
1472 if (taps == 6) in spl_dscl_get_easf_filter_coeffs_64p()
1474 else if (taps == 4) in spl_dscl_get_easf_filter_coeffs_64p()
1476 else if (taps == 3) in spl_dscl_get_easf_filter_coeffs_64p()
1495 data->taps.h_taps, data->recip_ratios.horz); in spl_set_filters_data()
1498 data->taps.h_taps_c, data->recip_ratios.horz_c); in spl_set_filters_data()
1501 data->taps.h_taps, data->ratios.horz); in spl_set_filters_data()
1504 data->taps.h_taps_c, data->ratios.horz_c); in spl_set_filters_data()
1508 data->taps.v_taps, data->recip_ratios.vert); in spl_set_filters_data()
1511 data->taps.v_taps_c, data->recip_ratios.vert_c); in spl_set_filters_data()
[all …]
Ddc_spl_scl_easf_filters.h20 uint16_t *spl_dscl_get_easf_filter_coeffs_64p(int taps, struct spl_fixed31_32 ratio);
27 uint32_t spl_get_reducer_gain6(int taps, struct spl_fixed31_32 ratio);
28 uint32_t spl_get_reducer_gain4(int taps, struct spl_fixed31_32 ratio);
29 uint32_t spl_get_gainRing6(int taps, struct spl_fixed31_32 ratio);
30 uint32_t spl_get_gainRing4(int taps, struct spl_fixed31_32 ratio);
31 uint32_t spl_get_3tap_dntilt_uptilt_offset(int taps, struct spl_fixed31_32 ratio);
32 uint32_t spl_get_3tap_uptilt_maxval(int taps, struct spl_fixed31_32 ratio);
33 uint32_t spl_get_3tap_dntilt_slope(int taps, struct spl_fixed31_32 ratio);
34 uint32_t spl_get_3tap_uptilt1_slope(int taps, struct spl_fixed31_32 ratio);
35 uint32_t spl_get_3tap_uptilt2_slope(int taps, struct spl_fixed31_32 ratio);
[all …]
Ddc_spl.c473 int taps, in spl_calculate_init_and_vp() argument
496 *init = spl_fixpt_add(spl_fixpt_div_int(spl_fixpt_add_int(ratio, taps + 1), 2), temp); in spl_calculate_init_and_vp()
506 if (int_part < taps) { in spl_calculate_init_and_vp()
507 int_part = taps - int_part; in spl_calculate_init_and_vp()
622 spl_scratch->scl_data.taps.h_taps, in spl_calculate_inits_and_viewports()
633 spl_scratch->scl_data.taps.h_taps_c, in spl_calculate_inits_and_viewports()
644 spl_scratch->scl_data.taps.v_taps, in spl_calculate_inits_and_viewports()
655 spl_scratch->scl_data.taps.v_taps_c, in spl_calculate_inits_and_viewports()
830 struct spl_taps taps = spl_scratch->scl_data.taps; in spl_get_isharp_en() local
864 if ((taps.h_taps == 4 || taps.h_taps == 6) && in spl_get_isharp_en()
[all …]
Ddc_spl_scl_filters.c1427 const uint16_t *spl_dscl_get_filter_coeffs_64p(int taps, struct spl_fixed31_32 ratio) in spl_dscl_get_filter_coeffs_64p() argument
1429 if (taps == 8) in spl_dscl_get_filter_coeffs_64p()
1431 else if (taps == 7) in spl_dscl_get_filter_coeffs_64p()
1433 else if (taps == 6) in spl_dscl_get_filter_coeffs_64p()
1435 else if (taps == 5) in spl_dscl_get_filter_coeffs_64p()
1437 else if (taps == 4) in spl_dscl_get_filter_coeffs_64p()
1439 else if (taps == 3) in spl_dscl_get_filter_coeffs_64p()
1441 else if (taps == 2) in spl_dscl_get_filter_coeffs_64p()
1443 else if (taps == 1) in spl_dscl_get_filter_coeffs_64p()
Ddc_spl_isharp_filters.c733 uint16_t *spl_dscl_get_blur_scale_coeffs_64p(int taps) in spl_dscl_get_blur_scale_coeffs_64p() argument
735 if (taps == 3) in spl_dscl_get_blur_scale_coeffs_64p()
737 else if (taps == 4) in spl_dscl_get_blur_scale_coeffs_64p()
739 else if (taps == 6) in spl_dscl_get_blur_scale_coeffs_64p()
752 spl_dscl_get_blur_scale_coeffs_64p(data->taps.h_taps); in spl_set_blur_scale_data()
755 spl_dscl_get_blur_scale_coeffs_64p(data->taps.v_taps); in spl_set_blur_scale_data()
Ddc_spl_scl_filters.h20 const uint16_t *spl_dscl_get_filter_coeffs_64p(int taps, struct spl_fixed31_32 ratio);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
Ddcn10_dpp_dscl.c215 static const uint16_t *dpp1_dscl_get_filter_coeffs_64p(int taps, struct fixed31_32 ratio) in dpp1_dscl_get_filter_coeffs_64p() argument
217 if (taps == 8) in dpp1_dscl_get_filter_coeffs_64p()
219 else if (taps == 7) in dpp1_dscl_get_filter_coeffs_64p()
221 else if (taps == 6) in dpp1_dscl_get_filter_coeffs_64p()
223 else if (taps == 5) in dpp1_dscl_get_filter_coeffs_64p()
225 else if (taps == 4) in dpp1_dscl_get_filter_coeffs_64p()
227 else if (taps == 3) in dpp1_dscl_get_filter_coeffs_64p()
229 else if (taps == 2) in dpp1_dscl_get_filter_coeffs_64p()
231 else if (taps == 1) in dpp1_dscl_get_filter_coeffs_64p()
242 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.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn201/
Ddcn201_dpp.c220 scl_data->taps.h_taps = 8; in dpp201_get_optimal_number_of_taps()
222 scl_data->taps.h_taps = 4; in dpp201_get_optimal_number_of_taps()
224 scl_data->taps.h_taps = in_taps->h_taps; in dpp201_get_optimal_number_of_taps()
228 scl_data->taps.v_taps = 8; in dpp201_get_optimal_number_of_taps()
230 scl_data->taps.v_taps = 4; in dpp201_get_optimal_number_of_taps()
232 scl_data->taps.v_taps = in_taps->v_taps; in dpp201_get_optimal_number_of_taps()
235 scl_data->taps.v_taps_c = 4; in dpp201_get_optimal_number_of_taps()
237 scl_data->taps.v_taps_c = 2; in dpp201_get_optimal_number_of_taps()
239 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp201_get_optimal_number_of_taps()
242 scl_data->taps.h_taps_c = 4; in dpp201_get_optimal_number_of_taps()
[all …]
/linux-6.12.1/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.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
Ddcn401_dpp_dscl.c217 static const uint16_t *dpp401_dscl_get_filter_coeffs_64p(int taps, struct fixed31_32 ratio) in dpp401_dscl_get_filter_coeffs_64p() argument
219 if (taps == 8) in dpp401_dscl_get_filter_coeffs_64p()
221 else if (taps == 7) in dpp401_dscl_get_filter_coeffs_64p()
223 else if (taps == 6) in dpp401_dscl_get_filter_coeffs_64p()
225 else if (taps == 5) in dpp401_dscl_get_filter_coeffs_64p()
227 else if (taps == 4) in dpp401_dscl_get_filter_coeffs_64p()
229 else if (taps == 3) in dpp401_dscl_get_filter_coeffs_64p()
231 else if (taps == 2) in dpp401_dscl_get_filter_coeffs_64p()
233 else if (taps == 1) in dpp401_dscl_get_filter_coeffs_64p()
244 uint32_t taps, in dpp401_dscl_set_scaler_filter() argument
[all …]
/linux-6.12.1/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.c635 if (!test_bit(i, priv->taps)) in renesas_sdhi_select_tuning()
636 clear_bit(i + offset, priv->taps); in renesas_sdhi_select_tuning()
646 if (bitmap_full(priv->taps, taps_size)) { in renesas_sdhi_select_tuning()
650 bitmap = priv->taps; in renesas_sdhi_select_tuning()
693 if (priv->tap_num * 2 >= sizeof(priv->taps) * BITS_PER_BYTE) { in renesas_sdhi_execute_tuning()
699 bitmap_zero(priv->taps, priv->tap_num * 2); in renesas_sdhi_execute_tuning()
710 set_bit(i, priv->taps); in renesas_sdhi_execute_tuning()
1084 const struct renesas_sdhi_scc *taps = of_data->taps; in renesas_sdhi_probe() local
1089 if (taps[i].clk_rate == 0 || in renesas_sdhi_probe()
1090 taps[i].clk_rate == host->mmc->f_max) { in renesas_sdhi_probe()
[all …]
Drenesas_sdhi.h34 struct renesas_sdhi_scc *taps; member
90 DECLARE_BITMAP(taps, BITS_PER_LONG);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
Ddcn30_dpp.c440 scl_data->taps.h_taps = min(2 * dc_fixpt_ceil(scl_data->ratios.horz), 8); in dpp3_get_optimal_number_of_taps()
442 scl_data->taps.h_taps = 4; in dpp3_get_optimal_number_of_taps()
444 scl_data->taps.h_taps = in_taps->h_taps; in dpp3_get_optimal_number_of_taps()
447 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()
449 scl_data->taps.v_taps = 4; in dpp3_get_optimal_number_of_taps()
451 scl_data->taps.v_taps = in_taps->v_taps; in dpp3_get_optimal_number_of_taps()
454 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()
456 scl_data->taps.v_taps_c = 4; in dpp3_get_optimal_number_of_taps()
458 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp3_get_optimal_number_of_taps()
461 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.12.1/sound/soc/ti/
Domap-mcbsp-st.c58 s16 taps[128]; /* Sidetone filter coefficients */ member
247 st_data->taps[i]); in st_taps_show()
264 memset(st_data->taps, 0, sizeof(st_data->taps)); in st_taps_store()
277 st_data->taps[i++] = val; in st_taps_store()
308 omap_mcbsp_st_fir_write(mcbsp, st_data->taps); in omap_mcbsp_st_start()
/linux-6.12.1/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 : 2nd pre-cursor emphasis taps control. Two set of
43 - apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c710 temp_pipe->plane_res.scl_data.taps = pipe->plane_res.scl_data.taps; in get_scaler_data_for_plane()
775 if (!scaler_data->taps.h_taps) { in populate_dml21_plane_config_from_plane_state()
785 if ((scaler_data->taps.h_taps > 1) || (scaler_data->taps.v_taps > 1) || in populate_dml21_plane_config_from_plane_state()
786 (scaler_data->taps.h_taps_c > 1) || (scaler_data->taps.v_taps_c > 1)) in populate_dml21_plane_config_from_plane_state()
808 if (!scaler_data->taps.h_taps) { in populate_dml21_plane_config_from_plane_state()
812 plane->composition.scaler_info.plane0.h_taps = scaler_data->taps.h_taps; in populate_dml21_plane_config_from_plane_state()
813 plane->composition.scaler_info.plane1.h_taps = scaler_data->taps.h_taps_c; in populate_dml21_plane_config_from_plane_state()
815 if (!scaler_data->taps.v_taps) { in populate_dml21_plane_config_from_plane_state()
819 plane->composition.scaler_info.plane0.v_taps = scaler_data->taps.v_taps; in populate_dml21_plane_config_from_plane_state()
820 plane->composition.scaler_info.plane1.v_taps = scaler_data->taps.v_taps_c; in populate_dml21_plane_config_from_plane_state()
/linux-6.12.1/include/linux/iio/
Dbackend.h110 unsigned int taps);
161 unsigned int taps);
/linux-6.12.1/drivers/net/
Dtap.c157 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_enable_queue()
174 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_set_queue()
203 nq = rtnl_dereference(tap->taps[tap->numvtaps - 1]); in tap_disable_queue()
206 rcu_assign_pointer(tap->taps[index], nq); in tap_disable_queue()
207 RCU_INIT_POINTER(tap->taps[tap->numvtaps - 1], NULL); in tap_disable_queue()
275 queue = rcu_dereference(tap->taps[rxq % numvtaps]); in tap_get_queue()
285 queue = rcu_dereference(tap->taps[rxq]); in tap_get_queue()
290 queue = rcu_dereference(tap->taps[0]); in tap_get_queue()

123