/openbmc/linux/sound/pci/au88x0/ |
H A D | au88x0_xtalk.c | 243 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftEQ() argument 277 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftXT() argument 331 xtalk_state_t const coefs) in vortex_XtalkHw_SetRightEQStates() argument 369 xtalk_state_t const coefs) in vortex_XtalkHw_SetRightXTStates() argument 388 xtalk_coefs_t coefs) 405 xtalk_coefs_t coefs) 422 xtalk_coefs_t coefs) 439 xtalk_coefs_t coefs) 456 xtalk_state_t coefs) 474 xtalk_state_t coefs) [all …]
|
H A D | au88x0_eq.c | 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() 82 hwwrite(vortex->mmio, 0x2b1e0 + n * 0x30, coefs[0 + i]); in vortex_EqHw_SetRightCoefs() 83 hwwrite(vortex->mmio, 0x2b1e4 + n * 0x30, coefs[1 + i]); in vortex_EqHw_SetRightCoefs() 86 hwwrite(vortex->mmio, 0x2b1e8 + n * 0x30, coefs[2 + i]); in vortex_EqHw_SetRightCoefs() 87 hwwrite(vortex->mmio, 0x2b1ec + n * 0x30, coefs[3 + i]); in vortex_EqHw_SetRightCoefs() [all …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | manager-sysfs.c | 379 struct omap_dss_cpr_coefs coefs; in manager_cpr_coef_store() local 387 &coefs.rr, &coefs.rg, &coefs.rb, in manager_cpr_coef_store() 388 &coefs.gr, &coefs.gg, &coefs.gb, in manager_cpr_coef_store() 389 &coefs.br, &coefs.bg, &coefs.bb) != 9) in manager_cpr_coef_store() 392 arr = (s16[]){ coefs.rr, coefs.rg, coefs.rb, in manager_cpr_coef_store() 393 coefs.gr, coefs.gg, coefs.gb, in manager_cpr_coef_store() 394 coefs.br, coefs.bg, coefs.bb }; in manager_cpr_coef_store() 403 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 | 1055 const struct omap_dss_cpr_coefs *coefs) in dispc_mgr_set_cpr_coef() argument 1062 coef_r = FLD_VAL(coefs->rr, 31, 22) | FLD_VAL(coefs->rg, 20, 11) | in dispc_mgr_set_cpr_coef() 1063 FLD_VAL(coefs->rb, 9, 0); in dispc_mgr_set_cpr_coef() 1064 coef_g = FLD_VAL(coefs->gr, 31, 22) | FLD_VAL(coefs->gg, 20, 11) | in dispc_mgr_set_cpr_coef() 1065 FLD_VAL(coefs->gb, 9, 0); in dispc_mgr_set_cpr_coef() 1066 coef_b = FLD_VAL(coefs->br, 31, 22) | FLD_VAL(coefs->bg, 20, 11) | in dispc_mgr_set_cpr_coef() 1067 FLD_VAL(coefs->bb, 9, 0); in dispc_mgr_set_cpr_coef()
|
/openbmc/linux/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()
|
H A D | dispc.c | 1312 const struct omap_dss_cpr_coefs *coefs) in dispc_mgr_set_cpr_coef() argument 1319 coef_r = FLD_VAL(coefs->rr, 31, 22) | FLD_VAL(coefs->rg, 20, 11) | in dispc_mgr_set_cpr_coef() 1320 FLD_VAL(coefs->rb, 9, 0); in dispc_mgr_set_cpr_coef() 1321 coef_g = FLD_VAL(coefs->gr, 31, 22) | FLD_VAL(coefs->gg, 20, 11) | in dispc_mgr_set_cpr_coef() 1322 FLD_VAL(coefs->gb, 9, 0); in dispc_mgr_set_cpr_coef() 1323 coef_b = FLD_VAL(coefs->br, 31, 22) | FLD_VAL(coefs->bg, 20, 11) | in dispc_mgr_set_cpr_coef() 1324 FLD_VAL(coefs->bb, 9, 0); in dispc_mgr_set_cpr_coef()
|
/openbmc/linux/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()
|
H A D | tidss_dispc.c | 1598 const struct tidss_scale_coefs *coefs) in dispc_vid_write_fir_coefs() argument 1618 if (!coefs) { in dispc_vid_write_fir_coefs() 1625 u16 c0 = coefs->c0[phase]; in dispc_vid_write_fir_coefs() 1635 c1 = coefs->c1[phase]; in dispc_vid_write_fir_coefs() 1636 c2 = coefs->c2[phase]; in dispc_vid_write_fir_coefs()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/u-boot/drivers/video/meson/ |
H A D | meson_vpu_init.c | 40 const unsigned int *coefs, in meson_vpp_write_scaling_filter_coefs() argument 48 writel(coefs[i], in meson_vpp_write_scaling_filter_coefs() 65 const unsigned int *coefs, in meson_vpp_write_vd_scaling_filter_coefs() argument 73 writel(coefs[i], in meson_vpp_write_vd_scaling_filter_coefs()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk20a.h | 41 const struct cvb_coef *coefs, int nb_coefs,
|
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()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_compat_css20.c | 2639 struct ia_css_dvs2_coefficients *coefs) in atomisp_css_set_dvs2_coefs() argument 2641 asd->params.config.dvs2_coefs = coefs; in atomisp_css_set_dvs2_coefs() 2645 struct atomisp_dis_coefficients *coefs) in atomisp_css_set_dis_coefs() argument 2653 if (!coefs->hor_coefs.odd_real || in atomisp_css_set_dis_coefs() 2654 !coefs->hor_coefs.odd_imag || in atomisp_css_set_dis_coefs() 2655 !coefs->hor_coefs.even_real || in atomisp_css_set_dis_coefs() 2656 !coefs->hor_coefs.even_imag || in atomisp_css_set_dis_coefs() 2657 !coefs->ver_coefs.odd_real || in atomisp_css_set_dis_coefs() 2658 !coefs->ver_coefs.odd_imag || in atomisp_css_set_dis_coefs() 2659 !coefs->ver_coefs.even_real || in atomisp_css_set_dis_coefs() [all …]
|
H A D | atomisp_cmd.h | 152 struct atomisp_dis_coefficients *coefs); 232 struct ia_css_dvs2_coefficients *coefs,
|
H A D | atomisp_cmd.c | 1791 struct atomisp_dis_coefficients *coefs) in atomisp_set_dis_coefs() argument 2580 if (!coefs || !cur) in atomisp_css_cp_dvs2_coefs() 2588 memcmp(&coefs->grid, cur, sizeof(coefs->grid))) { in atomisp_css_cp_dvs2_coefs() 2596 if (!coefs->hor_coefs.odd_real || in atomisp_css_cp_dvs2_coefs() 2597 !coefs->hor_coefs.odd_imag || in atomisp_css_cp_dvs2_coefs() 2598 !coefs->hor_coefs.even_real || in atomisp_css_cp_dvs2_coefs() 2599 !coefs->hor_coefs.even_imag || in atomisp_css_cp_dvs2_coefs() 2600 !coefs->ver_coefs.odd_real || in atomisp_css_cp_dvs2_coefs() 2601 !coefs->ver_coefs.odd_imag || in atomisp_css_cp_dvs2_coefs() 2602 !coefs->ver_coefs.even_real || in atomisp_css_cp_dvs2_coefs() [all …]
|
H A D | atomisp_compat.h | 312 struct ia_css_dvs2_coefficients *coefs); 315 struct atomisp_dis_coefficients *coefs);
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | phy_lp.c | 360 static const u16 coefs[] = { in lpphy_save_dig_flt_state() local 371 b43_phy_write(dev, addr[i], coefs[i]); in lpphy_save_dig_flt_state()
|
/openbmc/linux/sound/pci/hda/ |
H A D | patch_realtek.c | 4764 const unsigned short coefs[2]) in alc298_samsung_write_coef_pack() 4766 alc_write_coef_idx(codec, 0x23, coefs[0]); in alc298_samsung_write_coef_pack() 4767 alc_write_coef_idx(codec, 0x25, coefs[1]); in alc298_samsung_write_coef_pack() 6729 static const struct coef_fw coefs[] = { in alc285_fixup_hp_envy_x360() local 6766 alc_process_coef_fw(codec, coefs); in alc285_fixup_hp_envy_x360()
|