/Linux-v4.19/sound/pci/au88x0/ |
D | au88x0_xtalk.c | 255 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 …]
|
D | au88x0_eq.c | 66 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-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | manager-sysfs.c | 389 struct omap_dss_cpr_coefs coefs; in manager_cpr_coef_store() local 397 &coefs.rr, &coefs.rg, &coefs.rb, in manager_cpr_coef_store() 398 &coefs.gr, &coefs.gg, &coefs.gb, in manager_cpr_coef_store() 399 &coefs.br, &coefs.bg, &coefs.bb) != 9) in manager_cpr_coef_store() 402 arr = (s16[]){ coefs.rr, coefs.rg, coefs.rb, in manager_cpr_coef_store() 403 coefs.gr, coefs.gg, coefs.gb, in manager_cpr_coef_store() 404 coefs.br, coefs.bg, coefs.bb }; in manager_cpr_coef_store() 413 info.cpr_coefs = coefs; in manager_cpr_coef_store()
|
D | dispc_coefs.c | 297 } 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()
|
D | dispc.c | 1101 const struct omap_dss_cpr_coefs *coefs) in dispc_mgr_set_cpr_coef() argument 1108 coef_r = FLD_VAL(coefs->rr, 31, 22) | FLD_VAL(coefs->rg, 20, 11) | in dispc_mgr_set_cpr_coef() 1109 FLD_VAL(coefs->rb, 9, 0); in dispc_mgr_set_cpr_coef() 1110 coef_g = FLD_VAL(coefs->gr, 31, 22) | FLD_VAL(coefs->gg, 20, 11) | in dispc_mgr_set_cpr_coef() 1111 FLD_VAL(coefs->gb, 9, 0); in dispc_mgr_set_cpr_coef() 1112 coef_b = FLD_VAL(coefs->br, 31, 22) | FLD_VAL(coefs->bg, 20, 11) | in dispc_mgr_set_cpr_coef() 1113 FLD_VAL(coefs->bb, 9, 0); in dispc_mgr_set_cpr_coef()
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dispc_coefs.c | 295 } coefs[] = { in dispc_ovl_get_scale_coef() local 319 for (i = 0; i < ARRAY_SIZE(coefs); ++i) in dispc_ovl_get_scale_coef() 320 if (inc >= coefs[i].Mmin && inc <= coefs[i].Mmax) in dispc_ovl_get_scale_coef() 321 return five_taps ? coefs[i].coef_5 : coefs[i].coef_3; in dispc_ovl_get_scale_coef()
|
D | dispc.c | 1336 const struct omap_dss_cpr_coefs *coefs) in dispc_mgr_set_cpr_coef() argument 1343 coef_r = FLD_VAL(coefs->rr, 31, 22) | FLD_VAL(coefs->rg, 20, 11) | in dispc_mgr_set_cpr_coef() 1344 FLD_VAL(coefs->rb, 9, 0); in dispc_mgr_set_cpr_coef() 1345 coef_g = FLD_VAL(coefs->gr, 31, 22) | FLD_VAL(coefs->gg, 20, 11) | in dispc_mgr_set_cpr_coef() 1346 FLD_VAL(coefs->gb, 9, 0); in dispc_mgr_set_cpr_coef() 1347 coef_b = FLD_VAL(coefs->br, 31, 22) | FLD_VAL(coefs->bg, 20, 11) | in dispc_mgr_set_cpr_coef() 1348 FLD_VAL(coefs->bb, 9, 0); in dispc_mgr_set_cpr_coef()
|
/Linux-v4.19/drivers/iio/pressure/ |
D | hp03.c | 100 u8 coefs[18]; in hp03_update_temp_pressure() local 107 coefs, sizeof(coefs)); in hp03_update_temp_pressure() 135 cx_val[i] = (coefs[2 * i] << 8) | (coefs[(2 * i) + 1] << 0); in hp03_update_temp_pressure() 141 ab_val = coefs[14]; /* A-value */ in hp03_update_temp_pressure() 143 ab_val = coefs[15]; /* B-value */ in hp03_update_temp_pressure() 146 dut = (ab_val * (diff_val >> 7) * (diff_val >> 7)) >> coefs[16]; in hp03_update_temp_pressure() 154 priv->temp = 250 + ((dut * cx_val[5]) >> 16) - (dut >> coefs[17]); in hp03_update_temp_pressure()
|
/Linux-v4.19/crypto/async_tx/ |
D | async_pq.c | 201 unsigned char coefs[MAX_DISKS]; in async_gen_syndrome() local 217 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() 304 unsigned char coefs[MAX_DISKS]; in async_syndrome_val() local 328 coefs[j] = raid6_gfexp[i]; in async_syndrome_val() 361 coefs, in async_syndrome_val()
|
/Linux-v4.19/drivers/gpu/drm/meson/ |
D | meson_vpp.c | 113 const unsigned int *coefs, in meson_vpp_write_scaling_filter_coefs() argument 121 writel_relaxed(coefs[i], in meson_vpp_write_scaling_filter_coefs()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | gk20a.h | 41 const struct cvb_coef *coefs, int nb_coefs,
|
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()
|
/Linux-v4.19/sound/soc/codecs/ |
D | max98095.c | 255 unsigned int band, u16 *coefs) in m98095_eq_band() argument 272 snd_soc_component_write(component, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band() 273 snd_soc_component_write(component, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band() 281 unsigned int band, u16 *coefs) in m98095_biquad_band() argument 298 snd_soc_component_write(component, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band() 299 snd_soc_component_write(component, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band()
|
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()
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | phy_lp.c | 372 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()
|