| /OK3568_Linux_fs/kernel/sound/pci/au88x0/ |
| H A D | au88x0_xtalk.c | 243 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftEQ() argument 248 hwwrite(vortex->mmio, 0x24200 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetLeftEQ() 249 hwwrite(vortex->mmio, 0x24204 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetLeftEQ() 250 hwwrite(vortex->mmio, 0x24208 + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetLeftEQ() 251 hwwrite(vortex->mmio, 0x2420c + i * 0x24, coefs[i][3]); in vortex_XtalkHw_SetLeftEQ() 252 hwwrite(vortex->mmio, 0x24210 + i * 0x24, coefs[i][4]); in vortex_XtalkHw_SetLeftEQ() 260 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetRightEQ() argument 265 hwwrite(vortex->mmio, 0x242b4 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetRightEQ() 266 hwwrite(vortex->mmio, 0x242b8 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetRightEQ() 267 hwwrite(vortex->mmio, 0x242bc + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetRightEQ() [all …]
|
| H A D | au88x0_eq.c | 54 static void vortex_EqHw_SetLeftCoefs(vortex_t *vortex, const u16 coefs[]) in vortex_EqHw_SetLeftCoefs() argument 60 hwwrite(vortex->mmio, 0x2b000 + n * 0x30, coefs[i + 0]); in vortex_EqHw_SetLeftCoefs() 61 hwwrite(vortex->mmio, 0x2b004 + n * 0x30, coefs[i + 1]); in vortex_EqHw_SetLeftCoefs() 64 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, coefs[i + 2]); in vortex_EqHw_SetLeftCoefs() 65 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, coefs[i + 3]); in vortex_EqHw_SetLeftCoefs() 66 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, coefs[i + 4]); in vortex_EqHw_SetLeftCoefs() 68 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, sign_invert(coefs[2 + i])); in vortex_EqHw_SetLeftCoefs() 69 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, sign_invert(coefs[3 + i])); in vortex_EqHw_SetLeftCoefs() 70 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, sign_invert(coefs[4 + i])); in vortex_EqHw_SetLeftCoefs() 76 static void vortex_EqHw_SetRightCoefs(vortex_t *vortex, const u16 coefs[]) in vortex_EqHw_SetRightCoefs() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | manager-sysfs.c | 378 struct omap_dss_cpr_coefs coefs; in manager_cpr_coef_store() local 386 &coefs.rr, &coefs.rg, &coefs.rb, in manager_cpr_coef_store() 387 &coefs.gr, &coefs.gg, &coefs.gb, in manager_cpr_coef_store() 388 &coefs.br, &coefs.bg, &coefs.bb) != 9) in manager_cpr_coef_store() 391 arr = (s16[]){ coefs.rr, coefs.rg, coefs.rb, in manager_cpr_coef_store() 392 coefs.gr, coefs.gg, coefs.gb, in manager_cpr_coef_store() 393 coefs.br, coefs.bg, coefs.bb }; in manager_cpr_coef_store() 402 info.cpr_coefs = coefs; in manager_cpr_coef_store()
|
| H A D | dispc_coefs.c | 286 } coefs[] = { in dispc_ovl_get_scale_coef() local 310 for (i = 0; i < ARRAY_SIZE(coefs); ++i) in dispc_ovl_get_scale_coef() 311 if (inc >= coefs[i].Mmin && inc <= coefs[i].Mmax) in dispc_ovl_get_scale_coef() 312 return five_taps ? coefs[i].coef_5 : coefs[i].coef_3; in dispc_ovl_get_scale_coef()
|
| H A D | dispc.c | 1057 const struct omap_dss_cpr_coefs *coefs) in dispc_mgr_set_cpr_coef() argument 1064 coef_r = FLD_VAL(coefs->rr, 31, 22) | FLD_VAL(coefs->rg, 20, 11) | in dispc_mgr_set_cpr_coef() 1065 FLD_VAL(coefs->rb, 9, 0); in dispc_mgr_set_cpr_coef() 1066 coef_g = FLD_VAL(coefs->gr, 31, 22) | FLD_VAL(coefs->gg, 20, 11) | in dispc_mgr_set_cpr_coef() 1067 FLD_VAL(coefs->gb, 9, 0); in dispc_mgr_set_cpr_coef() 1068 coef_b = FLD_VAL(coefs->br, 31, 22) | FLD_VAL(coefs->bg, 20, 11) | in dispc_mgr_set_cpr_coef() 1069 FLD_VAL(coefs->bb, 9, 0); in dispc_mgr_set_cpr_coef()
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | dft_filter.c | 32 f->coefs = lsx_calloc(f->dft_length, sizeof(*f->coefs)); in lsx_set_dft_filter() 34 … f->coefs[(i + f->dft_length - f->num_taps + 1) & (f->dft_length - 1)] = h[i] / f->dft_length * 2; in lsx_set_dft_filter() 35 lsx_safe_rdft(f->dft_length, 1, f->coefs); in lsx_set_dft_filter() 67 output[0] *= f->coefs[0]; in filter() 68 output[1] *= f->coefs[1]; in filter() 71 output[i ] = f->coefs[i ] * tmp - f->coefs[i+1] * output[i+1]; in filter() 72 output[i+1] = f->coefs[i+1] * tmp + f->coefs[i ] * output[i+1]; in filter() 126 free(p->filter_ptr->coefs); in stop()
|
| H A D | mcompand_xover.h | 26 double coefs[3 *(N+1)]; member 62 square_quadratic("lb", x , p->coefs); in crossover_setup() 63 square_quadratic("hb", x + 3, p->coefs + 5); in crossover_setup() 64 square_quadratic("a" , x + 6, p->coefs + 10); in crossover_setup() 80 #define _ out_low += p->coefs[j] * p->previous[c][p->pos + j].in \ in crossover_flow() 81 - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_low, ++j; in crossover_flow() 84 out_low = p->coefs[0] * *ibuf; in crossover_flow() 90 #define _ out_high += p->coefs[j+N+1] * p->previous[c][p->pos + j].in \ in crossover_flow() 91 - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_high, ++j; in crossover_flow() 94 out_high = p->coefs[N+1] * *ibuf; in crossover_flow()
|
| H A D | rate.c | 55 static sample_t * prepare_coefs(raw_coef_t const * coefs, int num_coefs, in prepare_coefs() argument 60 double fm1 = coefs[0], f1 = 0, f2 = 0; in prepare_coefs() 66 fm1 = coefs4_check(i) && pos > 0 ? coefs[pos - 1] * multiplier : 0; in prepare_coefs() 184 output[0] *= f->coefs[0]; in dft_stage_fn() 186 output[1] *= f->coefs[1]; in dft_stage_fn() 189 output[i ] = f->coefs[i ] * tmp - f->coefs[i+1] * output[i+1]; in dft_stage_fn() 190 output[i+1] = f->coefs[i+1] * tmp + f->coefs[i ] * output[i+1]; in dft_stage_fn() 206 output[i ] = f->coefs[i ] * tmp - f->coefs[i+1] * output[i+1]; in dft_stage_fn() 207 output[i+1] = f->coefs[i+1] * tmp + f->coefs[i ] * output[i+1]; in dft_stage_fn() 209 output[1] = f->coefs[i] * output[i] - f->coefs[i+1] * output[i+1]; in dft_stage_fn() [all …]
|
| H A D | dither.h | 2 #define _ output += p->coefs[j] * p->previous_errors[p->pos + j] \ 3 - p->coefs[N + j] * p->previous_outputs[p->pos + j], ++j; 5 #define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j;
|
| H A D | dither.c | 49 double const * coefs; member 263 double const * coefs; member 403 p->coefs = f->coefs; in start()
|
| H A D | dft_filter.h | 7 double * coefs; member
|
| H A D | effects_i_dsp.c | 311 static const double coefs[][4] = { in lsx_kaiser_beta() local 324 double const * c0 = coefs[range_limit( (int)realm, 0, (int)array_length(coefs)-1)]; in lsx_kaiser_beta() 325 double const * c1 = coefs[range_limit(1+(int)realm, 0, (int)array_length(coefs)-1)]; in lsx_kaiser_beta()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/ |
| H A D | dispc_coefs.c | 284 } coefs[] = { in dispc_ovl_get_scale_coef() local 308 for (i = 0; i < ARRAY_SIZE(coefs); ++i) in dispc_ovl_get_scale_coef() 309 if (inc >= coefs[i].Mmin && inc <= coefs[i].Mmax) in dispc_ovl_get_scale_coef() 310 return five_taps ? coefs[i].coef_5 : coefs[i].coef_3; in dispc_ovl_get_scale_coef()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tidss/ |
| H A D | tidss_scale_coefs.c | 160 } coefs[] = { in tidss_get_scale_coefs() local 189 for (i = 0; i < ARRAY_SIZE(coefs); ++i) { in tidss_get_scale_coefs() 190 if (inc >= coefs[i].mmin && inc <= coefs[i].mmax) { in tidss_get_scale_coefs() 192 return coefs[i].coef5; in tidss_get_scale_coefs() 194 return coefs[i].coef3; in tidss_get_scale_coefs()
|
| /OK3568_Linux_fs/kernel/drivers/iio/pressure/ |
| H A D | hp03.c | 97 u8 coefs[18]; in hp03_update_temp_pressure() local 104 coefs, sizeof(coefs)); in hp03_update_temp_pressure() 132 cx_val[i] = (coefs[2 * i] << 8) | (coefs[(2 * i) + 1] << 0); in hp03_update_temp_pressure() 138 ab_val = coefs[14]; /* A-value */ in hp03_update_temp_pressure() 140 ab_val = coefs[15]; /* B-value */ in hp03_update_temp_pressure() 143 dut = (ab_val * (diff_val >> 7) * (diff_val >> 7)) >> coefs[16]; in hp03_update_temp_pressure() 151 priv->temp = 250 + ((dut * cx_val[5]) >> 16) - (dut >> coefs[17]); in hp03_update_temp_pressure()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/meson/ |
| H A D | meson_vpp.c | 54 const unsigned int *coefs, in meson_vpp_write_scaling_filter_coefs() argument 62 writel_relaxed(coefs[i], in meson_vpp_write_scaling_filter_coefs() 79 const unsigned int *coefs, in meson_vpp_write_vd_scaling_filter_coefs() argument 87 writel_relaxed(coefs[i], in meson_vpp_write_vd_scaling_filter_coefs()
|
| /OK3568_Linux_fs/kernel/crypto/async_tx/ |
| H A D | async_pq.c | 199 unsigned char coefs[MAX_DISKS]; in async_gen_syndrome() local 215 coefs[j] = raid6_gfexp[i]; in async_gen_syndrome() 244 tx = do_async_gen_syndrome(chan, coefs, j, unmap, dma_flags, submit); in async_gen_syndrome() 305 unsigned char coefs[MAX_DISKS]; in async_syndrome_val() local 329 coefs[j] = raid6_gfexp[i]; in async_syndrome_val() 362 coefs, in async_syndrome_val()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
| H A D | gk20a.c | 148 const struct cvb_coef *coefs, int nb_coefs, in gk20a_volt_ctor() argument 165 gk20a_volt_calc_voltage(&coefs[i], tdev->gpu_speedo), in gk20a_volt_ctor()
|
| H A D | gk20a.h | 41 const struct cvb_coef *coefs, int nb_coefs,
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_compat_css20.c | 3302 struct ia_css_dvs2_coefficients *coefs) in atomisp_css_set_dvs2_coefs() argument 3304 asd->params.config.dvs2_coefs = coefs; in atomisp_css_set_dvs2_coefs() 3308 struct atomisp_dis_coefficients *coefs) in atomisp_css_set_dis_coefs() argument 3310 if (atomisp_compare_dvs_grid(asd, &coefs->grid_info) != 0) in atomisp_css_set_dis_coefs() 3316 if (!coefs->hor_coefs.odd_real || in atomisp_css_set_dis_coefs() 3317 !coefs->hor_coefs.odd_imag || in atomisp_css_set_dis_coefs() 3318 !coefs->hor_coefs.even_real || in atomisp_css_set_dis_coefs() 3319 !coefs->hor_coefs.even_imag || in atomisp_css_set_dis_coefs() 3320 !coefs->ver_coefs.odd_real || in atomisp_css_set_dis_coefs() 3321 !coefs->ver_coefs.odd_imag || in atomisp_css_set_dis_coefs() [all …]
|
| H A D | atomisp_cmd.h | 191 struct atomisp_dis_coefficients *coefs); 309 struct ia_css_dvs2_coefficients *coefs,
|
| H A D | atomisp_compat.h | 372 struct ia_css_dvs2_coefficients *coefs); 375 struct atomisp_dis_coefficients *coefs);
|
| H A D | atomisp_cmd.c | 2774 struct atomisp_dis_coefficients *coefs) in atomisp_set_dis_coefs() argument 2776 return atomisp_css_set_dis_coefs(asd, coefs); in atomisp_set_dis_coefs() 3717 struct ia_css_dvs2_coefficients *coefs, in atomisp_css_cp_dvs2_coefs() argument 3726 if (!coefs || !cur) in atomisp_css_cp_dvs2_coefs() 3733 if (sizeof(*cur) != sizeof(coefs->grid) || in atomisp_css_cp_dvs2_coefs() 3734 memcmp(&coefs->grid, cur, sizeof(coefs->grid))) { in atomisp_css_cp_dvs2_coefs() 3742 if (!coefs->hor_coefs.odd_real || in atomisp_css_cp_dvs2_coefs() 3743 !coefs->hor_coefs.odd_imag || in atomisp_css_cp_dvs2_coefs() 3744 !coefs->hor_coefs.even_real || in atomisp_css_cp_dvs2_coefs() 3745 !coefs->hor_coefs.even_imag || in atomisp_css_cp_dvs2_coefs() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | max98095.c | 252 unsigned int band, u16 *coefs) in m98095_eq_band() argument 269 snd_soc_component_write(component, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band() 270 snd_soc_component_write(component, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band() 278 unsigned int band, u16 *coefs) in m98095_biquad_band() argument 295 snd_soc_component_write(component, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band() 296 snd_soc_component_write(component, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band()
|
| H A D | max98088.c | 311 unsigned int band, u16 *coefs) in m98088_eq_band() argument 328 snd_soc_component_write(component, eq_reg++, M98088_BYTE1(coefs[i])); in m98088_eq_band() 329 snd_soc_component_write(component, eq_reg++, M98088_BYTE0(coefs[i])); in m98088_eq_band()
|