Home
last modified time | relevance | path

Searched refs:coefs (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/sound/pci/au88x0/
Dau88x0_xtalk.c255 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftEQ() argument
260 hwwrite(vortex->mmio, 0x24200 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetLeftEQ()
261 hwwrite(vortex->mmio, 0x24204 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetLeftEQ()
262 hwwrite(vortex->mmio, 0x24208 + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetLeftEQ()
263 hwwrite(vortex->mmio, 0x2420c + i * 0x24, coefs[i][3]); in vortex_XtalkHw_SetLeftEQ()
264 hwwrite(vortex->mmio, 0x24210 + i * 0x24, coefs[i][4]); in vortex_XtalkHw_SetLeftEQ()
272 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetRightEQ() argument
277 hwwrite(vortex->mmio, 0x242b4 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetRightEQ()
278 hwwrite(vortex->mmio, 0x242b8 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetRightEQ()
279 hwwrite(vortex->mmio, 0x242bc + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetRightEQ()
[all …]
Dau88x0_eq.c66 static void vortex_EqHw_SetLeftCoefs(vortex_t * vortex, u16 coefs[]) in vortex_EqHw_SetLeftCoefs() argument
72 hwwrite(vortex->mmio, 0x2b000 + n * 0x30, coefs[i + 0]); in vortex_EqHw_SetLeftCoefs()
73 hwwrite(vortex->mmio, 0x2b004 + n * 0x30, coefs[i + 1]); in vortex_EqHw_SetLeftCoefs()
76 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, coefs[i + 2]); in vortex_EqHw_SetLeftCoefs()
77 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, coefs[i + 3]); in vortex_EqHw_SetLeftCoefs()
78 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, coefs[i + 4]); in vortex_EqHw_SetLeftCoefs()
80 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, sign_invert(coefs[2 + i])); in vortex_EqHw_SetLeftCoefs()
81 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, sign_invert(coefs[3 + i])); in vortex_EqHw_SetLeftCoefs()
82 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, sign_invert(coefs[4 + i])); in vortex_EqHw_SetLeftCoefs()
88 static void vortex_EqHw_SetRightCoefs(vortex_t * vortex, u16 coefs[]) in vortex_EqHw_SetRightCoefs() argument
[all …]
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Dmanager-sysfs.c395 struct omap_dss_cpr_coefs coefs; in manager_cpr_coef_store() local
403 &coefs.rr, &coefs.rg, &coefs.rb, in manager_cpr_coef_store()
404 &coefs.gr, &coefs.gg, &coefs.gb, in manager_cpr_coef_store()
405 &coefs.br, &coefs.bg, &coefs.bb) != 9) in manager_cpr_coef_store()
408 arr = (s16[]){ coefs.rr, coefs.rg, coefs.rb, in manager_cpr_coef_store()
409 coefs.gr, coefs.gg, coefs.gb, in manager_cpr_coef_store()
410 coefs.br, coefs.bg, coefs.bb }; in manager_cpr_coef_store()
419 info.cpr_coefs = coefs; in manager_cpr_coef_store()
Ddispc_coefs.c297 } coefs[] = { in dispc_ovl_get_scale_coef() local
321 for (i = 0; i < ARRAY_SIZE(coefs); ++i) in dispc_ovl_get_scale_coef()
322 if (inc >= coefs[i].Mmin && inc <= coefs[i].Mmax) in dispc_ovl_get_scale_coef()
323 return five_taps ? coefs[i].coef_5 : coefs[i].coef_3; in dispc_ovl_get_scale_coef()
Ddispc.c1085 const struct omap_dss_cpr_coefs *coefs) in dispc_mgr_set_cpr_coef() argument
1092 coef_r = FLD_VAL(coefs->rr, 31, 22) | FLD_VAL(coefs->rg, 20, 11) | in dispc_mgr_set_cpr_coef()
1093 FLD_VAL(coefs->rb, 9, 0); in dispc_mgr_set_cpr_coef()
1094 coef_g = FLD_VAL(coefs->gr, 31, 22) | FLD_VAL(coefs->gg, 20, 11) | in dispc_mgr_set_cpr_coef()
1095 FLD_VAL(coefs->gb, 9, 0); in dispc_mgr_set_cpr_coef()
1096 coef_b = FLD_VAL(coefs->br, 31, 22) | FLD_VAL(coefs->bg, 20, 11) | in dispc_mgr_set_cpr_coef()
1097 FLD_VAL(coefs->bb, 9, 0); in dispc_mgr_set_cpr_coef()
/linux-4.4.14/crypto/async_tx/
Dasync_pq.c200 unsigned char coefs[src_cnt]; in async_gen_syndrome() local
216 coefs[j] = raid6_gfexp[i]; in async_gen_syndrome()
243 tx = do_async_gen_syndrome(chan, coefs, j, unmap, dma_flags, submit); in async_gen_syndrome()
303 unsigned char coefs[disks-2]; in async_syndrome_val() local
327 coefs[j] = raid6_gfexp[i]; in async_syndrome_val()
360 coefs, in async_syndrome_val()
/linux-4.4.14/sound/soc/codecs/
Dmax98095.c255 unsigned int band, u16 *coefs) in m98095_eq_band() argument
272 snd_soc_write(codec, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band()
273 snd_soc_write(codec, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band()
281 unsigned int band, u16 *coefs) in m98095_biquad_band() argument
298 snd_soc_write(codec, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band()
299 snd_soc_write(codec, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band()
Dmax98088.c311 unsigned int band, u16 *coefs) in m98088_eq_band() argument
328 snd_soc_write(codec, eq_reg++, M98088_BYTE1(coefs[i])); in m98088_eq_band()
329 snd_soc_write(codec, eq_reg++, M98088_BYTE0(coefs[i])); in m98088_eq_band()
/linux-4.4.14/drivers/net/wireless/b43/
Dphy_lp.c372 static const u16 coefs[] = { in lpphy_save_dig_flt_state() local
383 b43_phy_write(dev, addr[i], coefs[i]); in lpphy_save_dig_flt_state()