/openbmc/linux/drivers/misc/echo/ |
H A D | fir.h | 42 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 …]
|
H A D | echo.c | 123 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 …]
|
H A D | echo.h | 125 int taps; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_dpp_dscl.c | 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 297 && (scl_data->taps.h_taps > 1 && scl_data->taps.h_taps_c > 1); in dpp1_dscl_set_scl_filter() [all …]
|
H A D | dcn10_dpp.c | 155 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() 176 scl_data->taps.h_taps = 1; in dpp1_get_optimal_number_of_taps() 178 scl_data->taps.v_taps = 1; in dpp1_get_optimal_number_of_taps() 180 scl_data->taps.h_taps_c = 1; in dpp1_get_optimal_number_of_taps() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_dpp.c | 210 scl_data->taps.h_taps = 8; in dpp201_get_optimal_number_of_taps() 212 scl_data->taps.h_taps = 4; in dpp201_get_optimal_number_of_taps() 218 scl_data->taps.v_taps = 8; in dpp201_get_optimal_number_of_taps() 220 scl_data->taps.v_taps = 4; in dpp201_get_optimal_number_of_taps() 225 scl_data->taps.v_taps_c = 4; in dpp201_get_optimal_number_of_taps() 227 scl_data->taps.v_taps_c = 2; in dpp201_get_optimal_number_of_taps() 232 scl_data->taps.h_taps_c = 4; in dpp201_get_optimal_number_of_taps() 234 scl_data->taps.h_taps_c = 2; in dpp201_get_optimal_number_of_taps() 242 scl_data->taps.h_taps = 1; in dpp201_get_optimal_number_of_taps() 244 scl_data->taps.v_taps = 1; in dpp201_get_optimal_number_of_taps() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_transform.c | 122 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() 1143 uint32_t taps; in decide_taps() local 1148 taps = in_taps; in decide_taps() 1150 taps = 4; in decide_taps() 1154 taps /= 2; in decide_taps() 1155 if (taps < 2) in decide_taps() 1156 taps = 2; in decide_taps() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dwb_scl.c | 651 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_transform_v.c | 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() 490 if (taps == 4) in get_filter_coeffs_64p() 492 else if (taps == 2) in get_filter_coeffs_64p() 494 else if (taps == 1) in get_filter_coeffs_64p() 571 data->taps.v_taps, in dce110_xfmv_set_scaler() 576 data->taps.v_taps_c, in dce110_xfmv_set_scaler() 583 data->taps.h_taps, in dce110_xfmv_set_scaler() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-of-aspeed.c | 144 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 …]
|
H A D | renesas_sdhi_core.c | 632 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() 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() 1086 priv->scc_tappos = taps->tap; in renesas_sdhi_probe() 1088 taps->tap_hs400_4tap : in renesas_sdhi_probe() [all …]
|
H A D | renesas_sdhi.h | 32 struct renesas_sdhi_scc *taps; member 88 DECLARE_BITMAP(taps, BITS_PER_LONG);
|
H A D | renesas_sdhi_internal_dmac.c | 100 .taps = rcar_gen3_scc_taps, 115 .taps = rcar_gen3_scc_taps, 131 .taps = rcar_gen3_scc_taps,
|
/openbmc/u-boot/drivers/mmc/ |
H A D | renesas-sdhi.c | 117 int ret, taps = hs400 ? priv->nrtaps : 8; in renesas_sdhi_hs400() local 120 if (taps == 4) /* HS400 on 4tap SoC needs different clock */ in renesas_sdhi_hs400() 144 if (taps == 4) { in renesas_sdhi_hs400() 179 unsigned int tap_num, unsigned int taps, in renesas_sdhi_select_tuning() argument 196 if (!(taps & BIT(i))) { in renesas_sdhi_select_tuning() 197 taps &= ~BIT(i % tap_num); in renesas_sdhi_select_tuning() 198 taps &= ~BIT((i % tap_num) + tap_num); in renesas_sdhi_select_tuning() 216 if (taps & BIT(i)) in renesas_sdhi_select_tuning() 287 unsigned int taps = 0, smpcmp = 0; in renesas_sdhi_execute_tuning() local 307 if (tap_num * 2 >= sizeof(taps) * 8) { in renesas_sdhi_execute_tuning() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dpp.c | 409 scl_data->taps.h_taps = 4; in dpp3_get_optimal_number_of_taps() 416 scl_data->taps.v_taps = 4; in dpp3_get_optimal_number_of_taps() 423 scl_data->taps.v_taps_c = 4; in dpp3_get_optimal_number_of_taps() 430 scl_data->taps.h_taps_c = 4; in dpp3_get_optimal_number_of_taps() 466 if (scl_data->taps.v_taps > max_taps_y) in dpp3_get_optimal_number_of_taps() 467 scl_data->taps.v_taps = max_taps_y; in dpp3_get_optimal_number_of_taps() 470 scl_data->taps.v_taps_c = max_taps_c; in dpp3_get_optimal_number_of_taps() 474 scl_data->taps.h_taps = 1; in dpp3_get_optimal_number_of_taps() 476 scl_data->taps.v_taps = 1; in dpp3_get_optimal_number_of_taps() 478 scl_data->taps.h_taps_c = 1; in dpp3_get_optimal_number_of_taps() [all …]
|
/openbmc/linux/sound/soc/ti/ |
H A D | omap-mcbsp-st.c | 58 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()
|
/openbmc/openbmc/poky/scripts/ |
H A D | runqemu-ifup | 47 if taps=$(ip tuntap list 2>/dev/null); then 48 …tap_no_last=$(echo "$taps" |cut -f 1 -d ":" |grep -E "^$OE_TAP_NAME.*" |sed "s/$OE_TAP_NAME//g" | …
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu-ifup | 47 if taps=$(ip tuntap list 2>/dev/null); then 48 …tap_no_last=$(echo "$taps" |cut -f 1 -d ":" |grep -E "^$OE_TAP_NAME.*" |sed "s/$OE_TAP_NAME//g" | …
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | apm-xgene-phy.txt | 35 - 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
|
/openbmc/linux/drivers/net/ |
H A D | tap.c | 157 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()
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | amd-xgbe.txt | 49 - amd,serdes-dfe-tap-config: DFE taps available to run 50 - amd,serdes-dfe-tap-enable: DFE taps to enable
|
/openbmc/linux/include/linux/ |
H A D | if_tap.h | 39 struct tap_queue __rcu *taps[MAX_TAP_QUEUES]; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | transform.h | 171 struct scaling_taps taps; member
|
/openbmc/linux/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-scaler.c | 180 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 398 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()
|