| /linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
| H A D | dcn10_dpp_dscl.c | 215 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 …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dpp/dcn201/ |
| H A D | dcn201_dpp.c | 217 /* Set default taps if none are provided */ in dpp201_get_optimal_number_of_taps() 220 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() [all …]
|
| /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() 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() 168 SCL_H_NUM_OF_TAPS, data->taps.h_taps - 1, in dce60_setup_scaling_configuration() 169 SCL_V_NUM_OF_TAPS, data->taps.v_taps - 1); in dce60_setup_scaling_configuration() 212 int taps, in program_multi_taps_filter() argument 218 int taps_pairs = (taps + 1) / 2; in program_multi_taps_filter() 245 if (taps % 2 && pair == taps_pairs - 1) in program_multi_taps_filter() 297 dc_fixpt_from_int(data->taps.h_taps + 1)), in calculate_inits() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce110/ |
| H A D | dce110_transform_v.c | 151 * Purpose: setup scaling mode : bypass, RGb, YCbCr and nummber of taps 165 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() [all …]
|
| /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() 228 aspeed_sdc_set_phase_taps(sdhci->parent, sdhci->phase_desc, taps); in aspeed_sdhci_configure_phase() [all …]
|
| H A D | sdhci-of-arasan.c | 791 /* For 50MHz clock, 30 Taps are available */ in sdhci_zynqmp_sdcardclk_set_phase() 795 /* For 100MHz clock, 15 Taps are available */ in sdhci_zynqmp_sdcardclk_set_phase() 800 /* For 200MHz clock, 8 Taps are available */ in sdhci_zynqmp_sdcardclk_set_phase() 860 /* For 50MHz clock, 120 Taps are available */ in sdhci_zynqmp_sampleclk_set_phase() 864 /* For 100MHz clock, 60 Taps are available */ in sdhci_zynqmp_sampleclk_set_phase() 869 /* For 200MHz clock, 30 Taps are available */ in sdhci_zynqmp_sampleclk_set_phase() 920 /* For 50MHz clock, 30 Taps are available */ in sdhci_versal_sdcardclk_set_phase() 924 /* For 100MHz clock, 15 Taps are available */ in sdhci_versal_sdcardclk_set_phase() 929 /* For 200MHz clock, 8 Taps are available */ in sdhci_versal_sdcardclk_set_phase() 987 /* For 50MHz clock, 120 Taps are available */ in sdhci_versal_sampleclk_set_phase() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
| H A D | dcn20_dwb_scl.c | 649 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/include/linux/ |
| H A D | if_tap.h | 38 /* This array tracks active taps. */ 39 struct tap_queue __rcu *taps[MAX_TAP_QUEUES]; member 40 /* This list tracks all taps (both enabled and disabled) */
|
| /linux/drivers/media/platform/ti/vpe/ |
| H A D | sc.h | 164 /* number of taps used by horizontal polyphase scaler */ 167 /* number of taps used by vertical polyphase scaler */ 170 /* number of taps expected by the scaler in it's coefficient memory */ 181 * num phases x num sets(luma and chroma) x num taps(aligned) x coeff size
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | apm,xgene-phy.yaml | 97 1st pre-cursor emphasis taps control. Two set of 3-tuple setting for 113 2nd pre-cursor emphasis taps control. Two set of 3-tuple setting for 128 Post-cursor emphasis taps control. Two set of 3-tuple setting for Gen1,
|
| /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()
|
| /linux/drivers/net/ |
| H A D | tap.c | 92 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_enable_queue() 109 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_set_queue() 138 nq = rtnl_dereference(tap->taps[tap->numvtaps - 1]); in tap_disable_queue() 141 rcu_assign_pointer(tap->taps[index], nq); in tap_disable_queue() 142 RCU_INIT_POINTER(tap->taps[tap->numvtaps - 1], NULL); in tap_disable_queue() 193 /* Access to taps array is protected by rcu, but access to numvtaps in tap_get_queue() 210 queue = rcu_dereference(tap->taps[rxq % numvtaps]); in tap_get_queue() 220 queue = rcu_dereference(tap->taps[rxq]); in tap_get_queue() 225 queue = rcu_dereference(tap->taps[0]); in tap_get_queue()
|
| /linux/drivers/iio/ |
| H A D | industrialio-backend.c | 476 * @taps: Number of taps 480 * transferring data. Note that @taps has no unit since the actual delay per tap 482 * an array of @taps (the size of that array should typically match the size of 489 unsigned int taps) in iio_backend_iodelay_set() argument 491 return iio_backend_op_call(back, iodelay_set, lane, taps); in iio_backend_iodelay_set()
|
| /linux/include/linux/iio/ |
| H A D | backend.h | 140 unsigned int taps); 207 unsigned int taps);
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | mxl692_defs.h | 449 /* QAM Demodulator equalizer filter taps */ 501 /* ATSC Demodulator equalizers filter taps */
|
| /linux/drivers/isdn/mISDN/ |
| H A D | dsp_hwec.c | 20 { "deftaps", "128", "Set the number of taps of cancellation." },
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_easrc.c | 169 * According to the resample taps, calculate the resample ratio 324 dev_dbg(dev, "Selected interp_filter: %u taps - %u phases\n", in fsl_easrc_resampler_config() 339 * symetrical - i.e. odd number of taps in fsl_easrc_resampler_config() 346 * Write Number of Resampling Coefficient Taps in fsl_easrc_resampler_config() 363 * 32-tap mode, 16-taps, 128-phases 4-coefficients per phase in fsl_easrc_resampler_config() 364 * 64-tap mode, 32-taps, 64-phases 4-coefficients per phase in fsl_easrc_resampler_config() 365 * 128-tap mode, 64-taps, 32-phases 4-coefficients per phase in fsl_easrc_resampler_config() 640 dev_err(dev, "ST1 taps [%d] mus be lower than %d\n", in fsl_easrc_prefilter_config() 665 dev_err(dev, "ST2 taps [%d] mus be lower than %d\n", in fsl_easrc_prefilter_config() 1783 dev_dbg(dev, "%d. taps: %u, phases: %u, center: %llu\n", i, in fsl_easrc_dump_firmware()
|
| /linux/drivers/media/i2c/ |
| H A D | tda1997x_regs.h | 206 #define FILTERS_CTRL_2TAP 1L /* 2 Taps */ 207 #define FILTERS_CTRL_7TAP 2L /* 7 Taps */ 208 #define FILTERS_CTRL_2_7TAP 3L /* 2/7 Taps */
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | yuv-formats.rst | 55 odd number of taps. This is referred to as co-sited chroma.
|
| /linux/drivers/input/touchscreen/ |
| H A D | migor_ts.c | 43 * is pulled low whenever someone taps the screen. To deassert in migor_ts_isr()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/ |
| H A D | display_mode_vba.c | 536 scaler_taps_st *taps = &pipes[j].pipe.scale_taps; in fetch_pipe_params() local 599 mode_lib->vba.htaps[mode_lib->vba.NumberOfActivePlanes] = taps->htaps; in fetch_pipe_params() 600 mode_lib->vba.vtaps[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps; in fetch_pipe_params() 601 mode_lib->vba.HTAPsChroma[mode_lib->vba.NumberOfActivePlanes] = taps->htaps_c; in fetch_pipe_params() 602 mode_lib->vba.VTAPsChroma[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps_c; in fetch_pipe_params()
|
| H A D | display_mode_lib.c | 296 …dml_print("DML SUPPORT: Scale Ratio And Taps : %s\n", mode_lib->vba.ScaleRatioA… in dml_log_mode_support_params() 308 …dml_print("DML SUPPORT: Writeback Scale Ratio And Taps : %s\n", mode_lib->vba.WritebackSc… in dml_log_mode_support_params()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 1240 int taps, in calculate_init_and_vp() argument 1250 * First of the taps starts sampling pixel number <init_int_part> corresponding to recout in calculate_init_and_vp() 1263 dc_fixpt_add_int(ratio, taps + 1), 2), temp), 19); in calculate_init_and_vp() 1265 * If viewport has non 0 offset and there are more taps than covered by init then in calculate_init_and_vp() 1270 if (int_part < taps) { in calculate_init_and_vp() 1271 int_part = taps - int_part; in calculate_init_and_vp() 1278 * If taps are sampling outside of viewport at end of recout and there are more pixels in calculate_init_and_vp() 1344 data->taps.h_taps, in calculate_inits_and_viewports() 1354 data->taps.h_taps_c, in calculate_inits_and_viewports() 1364 data->taps.v_taps, in calculate_inits_and_viewports() [all …]
|
| /linux/Documentation/input/devices/ |
| H A D | ntrig.rst | 106 the ghosts while keeping the screen quite responsive to firm taps.
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | hantro_vp8.c | 35 * filter taps taken to 7-bit precision,
|