Home
last modified time | relevance | path

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

/linux-3.4.99/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-3.4.99/drivers/video/omap2/dss/
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()
Dmanager.c370 struct omap_dss_cpr_coefs coefs; in manager_cpr_coef_store() local
378 &coefs.rr, &coefs.rg, &coefs.rb, in manager_cpr_coef_store()
379 &coefs.gr, &coefs.gg, &coefs.gb, in manager_cpr_coef_store()
380 &coefs.br, &coefs.bg, &coefs.bb) != 9) in manager_cpr_coef_store()
383 arr = (s16[]){ coefs.rr, coefs.rg, coefs.rb, in manager_cpr_coef_store()
384 coefs.gr, coefs.gg, coefs.gb, in manager_cpr_coef_store()
385 coefs.br, coefs.bg, coefs.bb }; in manager_cpr_coef_store()
394 info.cpr_coefs = coefs; in manager_cpr_coef_store()
Ddispc.c947 struct omap_dss_cpr_coefs *coefs) in dispc_mgr_set_cpr_coef() argument
954 coef_r = FLD_VAL(coefs->rr, 31, 22) | FLD_VAL(coefs->rg, 20, 11) | in dispc_mgr_set_cpr_coef()
955 FLD_VAL(coefs->rb, 9, 0); in dispc_mgr_set_cpr_coef()
956 coef_g = FLD_VAL(coefs->gr, 31, 22) | FLD_VAL(coefs->gg, 20, 11) | in dispc_mgr_set_cpr_coef()
957 FLD_VAL(coefs->gb, 9, 0); in dispc_mgr_set_cpr_coef()
958 coef_b = FLD_VAL(coefs->br, 31, 22) | FLD_VAL(coefs->bg, 20, 11) | in dispc_mgr_set_cpr_coef()
959 FLD_VAL(coefs->bb, 9, 0); in dispc_mgr_set_cpr_coef()
/linux-3.4.99/crypto/async_tx/
Dasync_pq.c61 unsigned char coefs[src_cnt]; in do_async_gen_syndrome() local
88 coefs[idx] = scfs[i]; in do_async_gen_syndrome()
124 &coefs[src_off], len, in do_async_gen_syndrome()
278 unsigned char coefs[disks-2]; in async_syndrome_val() local
318 coefs[src_cnt] = raid6_gfexp[i]; in async_syndrome_val()
325 coefs, in async_syndrome_val()
/linux-3.4.99/sound/soc/codecs/
Dmax98095.c632 unsigned int band, u16 *coefs) in m98095_eq_band() argument
648 max98095_hw_write(codec, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band()
649 max98095_hw_write(codec, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band()
657 unsigned int band, u16 *coefs) in m98095_biquad_band() argument
673 max98095_hw_write(codec, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band()
674 max98095_hw_write(codec, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band()
Dmax98088.c619 unsigned int band, u16 *coefs) in m98088_eq_band() argument
635 snd_soc_write(codec, eq_reg++, M98088_BYTE1(coefs[i])); in m98088_eq_band()
636 snd_soc_write(codec, eq_reg++, M98088_BYTE0(coefs[i])); in m98088_eq_band()
/linux-3.4.99/drivers/net/wireless/b43/
Dphy_lp.c378 static const u16 coefs[] = { in lpphy_save_dig_flt_state() local
389 b43_phy_write(dev, addr[i], coefs[i]); in lpphy_save_dig_flt_state()