/Linux-v4.19/drivers/misc/echo/ |
D | fir.h | 56 const int16_t *coeffs; member 68 const int32_t *coeffs; member 79 const float *coeffs; member 84 const int16_t *coeffs, int taps) in fir16_create() argument 88 fir->coeffs = coeffs; in fir16_create() 116 y += fir->coeffs[i] * fir->history[i - offset1]; in fir16() 118 y += fir->coeffs[i] * fir->history[i + offset2]; in fir16() 126 const int32_t *coeffs, int taps) in fir32_create() argument 130 fir->coeffs = coeffs; in fir32_create() 157 y += fir->coeffs[i] * fir->history[i - offset1]; in fir32() [all …]
|
D | echo.c | 363 ec->fir_state.coeffs = ec->fir_taps16[0]; in oslec_update()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_color.c | 141 uint16_t coeffs[9] = { 0, }; in ilk_load_csc_matrix() local 169 for (i = 0; i < ARRAY_SIZE(coeffs); i++) { in ilk_load_csc_matrix() 180 coeffs[i] |= 1 << 15; in ilk_load_csc_matrix() 183 coeffs[i] |= (3 << 12) | in ilk_load_csc_matrix() 186 coeffs[i] |= (2 << 12) | in ilk_load_csc_matrix() 189 coeffs[i] |= (1 << 12) | in ilk_load_csc_matrix() 192 coeffs[i] |= ILK_CSC_COEFF_FP(abs_coeff, 9); in ilk_load_csc_matrix() 194 coeffs[i] |= (7 << 12) | in ilk_load_csc_matrix() 197 coeffs[i] |= (6 << 12) | in ilk_load_csc_matrix() 211 coeffs[i * 3 + i] = in ilk_load_csc_matrix() [all …]
|
/Linux-v4.19/drivers/iio/light/ |
D | si1133.c | 245 const struct si1133_coeff *coeffs) in si1133_calculate_output() argument 253 shift = ((u16)coeffs->info & 0xFF00) >> 8; in si1133_calculate_output() 260 coeffs->mag, shift); in si1133_calculate_output() 267 coeffs->mag, shift); in si1133_calculate_output() 280 const struct si1133_coeff *coeffs) in si1133_calc_polynomial() argument 288 if (coeffs->info < 0) in si1133_calc_polynomial() 293 x_order = si1133_get_x_order(coeffs->info); in si1133_calc_polynomial() 294 y_order = si1133_get_y_order(coeffs->info); in si1133_calc_polynomial() 298 sign * coeffs->mag << SI1133_LUX_OUTPUT_FRACTION; in si1133_calc_polynomial() 303 coeffs); in si1133_calc_polynomial() [all …]
|
/Linux-v4.19/drivers/media/platform/vicodec/ |
D | vicodec-codec.c | 641 fwht(input, cf->coeffs, width, input_step, 1); in encode_plane() 642 quantize_intra(cf->coeffs, cf->de_coeffs); in encode_plane() 647 fwht16(deltablock, cf->coeffs, 8, 0); in encode_plane() 648 quantize_inter(cf->coeffs, cf->de_coeffs); in encode_plane() 664 size = rlc(cf->coeffs, *rlco, blocktype); in encode_plane() 767 stat = derlc(rlco, cf->coeffs); in decode_plane() 770 dequantize_inter(cf->coeffs); in decode_plane() 772 dequantize_intra(cf->coeffs); in decode_plane() 774 ifwht(cf->coeffs, cf->de_fwht, in decode_plane()
|
D | vicodec-codec.h | 107 s16 coeffs[8 * 8]; member
|
/Linux-v4.19/drivers/isdn/hardware/eicon/ |
D | capidtmf.c | 185 static void capidtmf_goertzel_loop(long *buffer, long *coeffs, short *sample, long count) in capidtmf_goertzel_loop() argument 194 d = coeffs[i] >> 1; in capidtmf_goertzel_loop() 221 c = (coeffs[i] >> 1) << 1; in capidtmf_goertzel_loop() 243 coeffs[i] = c; in capidtmf_goertzel_loop() 249 static void capidtmf_goertzel_result(long *buffer, long *coeffs) in capidtmf_goertzel_result() argument 259 d = coeffs[i] >> 1; in capidtmf_goertzel_result()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_transform_v.c | 286 const uint16_t *coeffs, in program_multi_taps_filter() argument 298 if (!coeffs) in program_multi_taps_filter() 337 data, coeffs[array_idx], in program_multi_taps_filter() 353 data, coeffs[array_idx + 1], in program_multi_taps_filter()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 183 const uint16_t *coeffs, in program_multi_taps_filter() argument 193 if (!coeffs) in program_multi_taps_filter() 208 uint16_t even_coeff = coeffs[array_idx]; in program_multi_taps_filter() 218 odd_coeff = coeffs[array_idx + 1]; in program_multi_taps_filter()
|
/Linux-v4.19/drivers/gpu/drm/arm/ |
D | malidp_crtc.c | 126 u32 coeffs[MALIDP_COEFFTAB_NUM_COEFFS]) in malidp_generate_gamma_table() 141 coeffs[i] = DE_COEFTAB_DATA(a, b); in malidp_generate_gamma_table()
|
/Linux-v4.19/drivers/media/i2c/ |
D | max2175.c | 436 u8 bank, const u16 *coeffs) in max2175_set_filter_coeffs() argument 449 max2175_write(ctx, 115, coeffs[i] >> 8); in max2175_set_filter_coeffs() 450 max2175_write(ctx, 116, coeffs[i]); in max2175_set_filter_coeffs()
|
/Linux-v4.19/sound/pci/asihpi/ |
D | hpifunc.c | 2240 u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5] in hpi_parametric_eq_get_coeffs() 2255 coeffs[0] = (short)hr.u.c.an_log_value[0]; in hpi_parametric_eq_get_coeffs() 2256 coeffs[1] = (short)hr.u.c.an_log_value[1]; in hpi_parametric_eq_get_coeffs() 2257 coeffs[2] = (short)hr.u.c.param1; in hpi_parametric_eq_get_coeffs() 2258 coeffs[3] = (short)(hr.u.c.param1 >> 16); in hpi_parametric_eq_get_coeffs() 2259 coeffs[4] = (short)hr.u.c.param2; in hpi_parametric_eq_get_coeffs()
|
D | hpi.h | 1629 u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5]
|
/Linux-v4.19/Documentation/input/devices/ |
D | iforce-protocol.rst | 190 The encoding is a bit funny here: For coeffs, these are signed values. The
|