Home
last modified time | relevance | path

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

/drivers/video/fbdev/omap2/omapfb/dss/
A Dmanager-sysfs.c379 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()
A Ddispc_coefs.c286 } 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()
A Ddispc.c1055 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()
/drivers/gpu/drm/omapdrm/dss/
A Ddispc_coefs.c284 } 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()
A Ddispc.c1283 const struct omap_dss_cpr_coefs *coefs) in dispc_mgr_set_cpr_coef() argument
1290 coef_r = FLD_VAL(coefs->rr, 31, 22) | FLD_VAL(coefs->rg, 20, 11) | in dispc_mgr_set_cpr_coef()
1291 FLD_VAL(coefs->rb, 9, 0); in dispc_mgr_set_cpr_coef()
1292 coef_g = FLD_VAL(coefs->gr, 31, 22) | FLD_VAL(coefs->gg, 20, 11) | in dispc_mgr_set_cpr_coef()
1293 FLD_VAL(coefs->gb, 9, 0); in dispc_mgr_set_cpr_coef()
1294 coef_b = FLD_VAL(coefs->br, 31, 22) | FLD_VAL(coefs->bg, 20, 11) | in dispc_mgr_set_cpr_coef()
1295 FLD_VAL(coefs->bb, 9, 0); in dispc_mgr_set_cpr_coef()
/drivers/iio/pressure/
A Dhp03.c97 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()
/drivers/gpu/drm/tidss/
A Dtidss_scale_coefs.c160 } 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()
A Dtidss_dispc.c1790 const struct tidss_scale_coefs *coefs) in dispc_vid_write_fir_coefs() argument
1810 if (!coefs) { in dispc_vid_write_fir_coefs()
1817 u16 c0 = coefs->c0[phase]; in dispc_vid_write_fir_coefs()
1827 c1 = coefs->c1[phase]; in dispc_vid_write_fir_coefs()
1828 c2 = coefs->c2[phase]; in dispc_vid_write_fir_coefs()
/drivers/gpu/drm/meson/
A Dmeson_vpp.c54 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()
/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
A Dgk20a.c148 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()
A Dgk20a.h41 const struct cvb_coef *coefs, int nb_coefs,
/drivers/staging/media/atomisp/pci/
A Datomisp_compat_css20.c2596 struct ia_css_dvs2_coefficients *coefs) in atomisp_css_set_dvs2_coefs() argument
2598 asd->params.config.dvs2_coefs = coefs; in atomisp_css_set_dvs2_coefs()
2602 struct atomisp_dis_coefficients *coefs) in atomisp_css_set_dis_coefs() argument
2610 if (!coefs->hor_coefs.odd_real || in atomisp_css_set_dis_coefs()
2611 !coefs->hor_coefs.odd_imag || in atomisp_css_set_dis_coefs()
2612 !coefs->hor_coefs.even_real || in atomisp_css_set_dis_coefs()
2613 !coefs->hor_coefs.even_imag || in atomisp_css_set_dis_coefs()
2614 !coefs->ver_coefs.odd_real || in atomisp_css_set_dis_coefs()
2615 !coefs->ver_coefs.odd_imag || in atomisp_css_set_dis_coefs()
2616 !coefs->ver_coefs.even_real || in atomisp_css_set_dis_coefs()
[all …]
A Datomisp_cmd.c1666 struct atomisp_dis_coefficients *coefs) in atomisp_set_dis_coefs() argument
2455 if (!coefs || !cur) in atomisp_css_cp_dvs2_coefs()
2463 memcmp(&coefs->grid, cur, sizeof(coefs->grid))) { in atomisp_css_cp_dvs2_coefs()
2471 if (!coefs->hor_coefs.odd_real || in atomisp_css_cp_dvs2_coefs()
2472 !coefs->hor_coefs.odd_imag || in atomisp_css_cp_dvs2_coefs()
2473 !coefs->hor_coefs.even_real || in atomisp_css_cp_dvs2_coefs()
2474 !coefs->hor_coefs.even_imag || in atomisp_css_cp_dvs2_coefs()
2475 !coefs->ver_coefs.odd_real || in atomisp_css_cp_dvs2_coefs()
2476 !coefs->ver_coefs.odd_imag || in atomisp_css_cp_dvs2_coefs()
2477 !coefs->ver_coefs.even_real || in atomisp_css_cp_dvs2_coefs()
[all …]
A Datomisp_cmd.h127 struct atomisp_dis_coefficients *coefs);
207 struct ia_css_dvs2_coefficients *coefs,
A Datomisp_compat.h301 struct ia_css_dvs2_coefficients *coefs);
304 struct atomisp_dis_coefficients *coefs);
/drivers/net/wireless/broadcom/b43/
A Dphy_lp.c360 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()

Completed in 64 milliseconds