/kernel/linux/linux-5.10/sound/pci/au88x0/ |
H A D | au88x0_xtalk.c | 243 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftEQ() 248 hwwrite(vortex->mmio, 0x24200 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetLeftEQ() 249 hwwrite(vortex->mmio, 0x24204 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetLeftEQ() 250 hwwrite(vortex->mmio, 0x24208 + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetLeftEQ() 251 hwwrite(vortex->mmio, 0x2420c + i * 0x24, coefs[i][3]); in vortex_XtalkHw_SetLeftEQ() 252 hwwrite(vortex->mmio, 0x24210 + i * 0x24, coefs[i][4]); in vortex_XtalkHw_SetLeftEQ() 260 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetRightEQ() 265 hwwrite(vortex->mmio, 0x242b4 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetRightEQ() 266 hwwrite(vortex->mmio, 0x242b8 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetRightEQ() 267 hwwrite(vortex->mmio, 0x242bc + i * 0x24, coefs[ in vortex_XtalkHw_SetRightEQ() 242 vortex_XtalkHw_SetLeftEQ(vortex_t * vortex, short arg_0, short arg_4, xtalk_coefs_t const coefs) vortex_XtalkHw_SetLeftEQ() argument 259 vortex_XtalkHw_SetRightEQ(vortex_t * vortex, short arg_0, short arg_4, xtalk_coefs_t const coefs) vortex_XtalkHw_SetRightEQ() argument 276 vortex_XtalkHw_SetLeftXT(vortex_t * vortex, short arg_0, short arg_4, xtalk_coefs_t const coefs) vortex_XtalkHw_SetLeftXT() argument 293 vortex_XtalkHw_SetRightXT(vortex_t * vortex, short arg_0, short arg_4, xtalk_coefs_t const coefs) vortex_XtalkHw_SetRightXT() argument 310 vortex_XtalkHw_SetLeftEQStates(vortex_t * vortex, xtalk_instate_t const arg_0, xtalk_state_t const coefs) vortex_XtalkHw_SetLeftEQStates() argument 329 vortex_XtalkHw_SetRightEQStates(vortex_t * vortex, xtalk_instate_t const arg_0, xtalk_state_t const coefs) vortex_XtalkHw_SetRightEQStates() argument 348 vortex_XtalkHw_SetLeftXTStates(vortex_t * vortex, xtalk_instate_t const arg_0, xtalk_state_t const coefs) vortex_XtalkHw_SetLeftXTStates() argument 367 vortex_XtalkHw_SetRightXTStates(vortex_t * vortex, xtalk_instate_t const arg_0, xtalk_state_t const coefs) vortex_XtalkHw_SetRightXTStates() argument [all...] |
H A D | au88x0_eq.c | 54 static void vortex_EqHw_SetLeftCoefs(vortex_t *vortex, const u16 coefs[]) in vortex_EqHw_SetLeftCoefs() argument 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() 69 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, sign_invert(coefs[3 + i])); in vortex_EqHw_SetLeftCoefs() 70 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, sign_invert(coefs[4 + i])); in vortex_EqHw_SetLeftCoefs() 76 static void vortex_EqHw_SetRightCoefs(vortex_t *vortex, const u16 coefs[]) in vortex_EqHw_SetRightCoefs() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/au88x0/ |
H A D | au88x0_xtalk.c | 243 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetLeftEQ() 248 hwwrite(vortex->mmio, 0x24200 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetLeftEQ() 249 hwwrite(vortex->mmio, 0x24204 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetLeftEQ() 250 hwwrite(vortex->mmio, 0x24208 + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetLeftEQ() 251 hwwrite(vortex->mmio, 0x2420c + i * 0x24, coefs[i][3]); in vortex_XtalkHw_SetLeftEQ() 252 hwwrite(vortex->mmio, 0x24210 + i * 0x24, coefs[i][4]); in vortex_XtalkHw_SetLeftEQ() 260 xtalk_coefs_t const coefs) in vortex_XtalkHw_SetRightEQ() 265 hwwrite(vortex->mmio, 0x242b4 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetRightEQ() 266 hwwrite(vortex->mmio, 0x242b8 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetRightEQ() 267 hwwrite(vortex->mmio, 0x242bc + i * 0x24, coefs[ in vortex_XtalkHw_SetRightEQ() 242 vortex_XtalkHw_SetLeftEQ(vortex_t * vortex, short arg_0, short arg_4, xtalk_coefs_t const coefs) vortex_XtalkHw_SetLeftEQ() argument 259 vortex_XtalkHw_SetRightEQ(vortex_t * vortex, short arg_0, short arg_4, xtalk_coefs_t const coefs) vortex_XtalkHw_SetRightEQ() argument 276 vortex_XtalkHw_SetLeftXT(vortex_t * vortex, short arg_0, short arg_4, xtalk_coefs_t const coefs) vortex_XtalkHw_SetLeftXT() argument 293 vortex_XtalkHw_SetRightXT(vortex_t * vortex, short arg_0, short arg_4, xtalk_coefs_t const coefs) vortex_XtalkHw_SetRightXT() argument 310 vortex_XtalkHw_SetLeftEQStates(vortex_t * vortex, xtalk_instate_t const arg_0, xtalk_state_t const coefs) vortex_XtalkHw_SetLeftEQStates() argument 329 vortex_XtalkHw_SetRightEQStates(vortex_t * vortex, xtalk_instate_t const arg_0, xtalk_state_t const coefs) vortex_XtalkHw_SetRightEQStates() argument 348 vortex_XtalkHw_SetLeftXTStates(vortex_t * vortex, xtalk_instate_t const arg_0, xtalk_state_t const coefs) vortex_XtalkHw_SetLeftXTStates() argument 367 vortex_XtalkHw_SetRightXTStates(vortex_t * vortex, xtalk_instate_t const arg_0, xtalk_state_t const coefs) vortex_XtalkHw_SetRightXTStates() argument [all...] |
H A D | au88x0_eq.c | 54 static void vortex_EqHw_SetLeftCoefs(vortex_t *vortex, const u16 coefs[]) in vortex_EqHw_SetLeftCoefs() argument 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() 69 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, sign_invert(coefs[3 + i])); in vortex_EqHw_SetLeftCoefs() 70 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, sign_invert(coefs[4 + i])); in vortex_EqHw_SetLeftCoefs() 76 static void vortex_EqHw_SetRightCoefs(vortex_t *vortex, const u16 coefs[]) in vortex_EqHw_SetRightCoefs() argument [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | manager-sysfs.c | 378 struct omap_dss_cpr_coefs coefs; in manager_cpr_coef_store() local 386 &coefs.rr, &coefs.rg, &coefs.rb, in manager_cpr_coef_store() 387 &coefs.gr, &coefs.gg, &coefs.gb, in manager_cpr_coef_store() 388 &coefs.br, &coefs.bg, &coefs in manager_cpr_coef_store() [all...] |
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()
|
/kernel/linux/linux-6.6/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 in manager_cpr_coef_store() [all...] |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/ |
H A D | meson_vpp.c | 54 const unsigned int *coefs, in meson_vpp_write_scaling_filter_coefs() 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() 87 writel_relaxed(coefs[i], in meson_vpp_write_vd_scaling_filter_coefs() 53 meson_vpp_write_scaling_filter_coefs(struct meson_drm *priv, const unsigned int *coefs, bool is_horizontal) meson_vpp_write_scaling_filter_coefs() argument 78 meson_vpp_write_vd_scaling_filter_coefs(struct meson_drm *priv, const unsigned int *coefs, bool is_horizontal) meson_vpp_write_vd_scaling_filter_coefs() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/meson/ |
H A D | meson_vpp.c | 54 const unsigned int *coefs, in meson_vpp_write_scaling_filter_coefs() 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() 87 writel_relaxed(coefs[i], in meson_vpp_write_vd_scaling_filter_coefs() 53 meson_vpp_write_scaling_filter_coefs(struct meson_drm *priv, const unsigned int *coefs, bool is_horizontal) meson_vpp_write_scaling_filter_coefs() argument 78 meson_vpp_write_vd_scaling_filter_coefs(struct meson_drm *priv, const unsigned int *coefs, bool is_horizontal) meson_vpp_write_vd_scaling_filter_coefs() argument
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/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() 165 gk20a_volt_calc_voltage(&coefs[i], tdev->gpu_speedo), in gk20a_volt_ctor() 147 gk20a_volt_ctor(struct nvkm_device *device, int index, const struct cvb_coef *coefs, int nb_coefs, int vmin, struct gk20a_volt *volt) gk20a_volt_ctor() argument
|
/kernel/linux/linux-6.6/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() 165 gk20a_volt_calc_voltage(&coefs[i], tdev->gpu_speedo), in gk20a_volt_ctor() 147 gk20a_volt_ctor(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, const struct cvb_coef *coefs, int nb_coefs, int vmin, struct gk20a_volt *volt) gk20a_volt_ctor() argument
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_cmd.h | 152 struct atomisp_dis_coefficients *coefs); 232 struct ia_css_dvs2_coefficients *coefs,
|
H A D | atomisp_compat_css20.c | 2639 struct ia_css_dvs2_coefficients *coefs) in atomisp_css_set_dvs2_coefs() 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() 2647 if (atomisp_compare_dvs_grid(asd, &coefs->grid_info) != 0) in atomisp_css_set_dis_coefs() 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 in atomisp_css_set_dis_coefs() 2638 atomisp_css_set_dvs2_coefs(struct atomisp_sub_device *asd, struct ia_css_dvs2_coefficients *coefs) atomisp_css_set_dvs2_coefs() argument 2644 atomisp_css_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) atomisp_css_set_dis_coefs() argument [all...] |
H A D | atomisp_cmd.c | 1791 struct atomisp_dis_coefficients *coefs) in atomisp_set_dis_coefs() 1793 return atomisp_css_set_dis_coefs(asd, coefs); in atomisp_set_dis_coefs() 2571 struct ia_css_dvs2_coefficients *coefs, in atomisp_css_cp_dvs2_coefs() 2580 if (!coefs || !cur) in atomisp_css_cp_dvs2_coefs() 2587 if (sizeof(*cur) != sizeof(coefs->grid) || 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 in atomisp_css_cp_dvs2_coefs() 1790 atomisp_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) atomisp_set_dis_coefs() argument 2570 atomisp_css_cp_dvs2_coefs(struct atomisp_sub_device *asd, struct ia_css_dvs2_coefficients *coefs, struct atomisp_css_params *css_param, bool from_user) atomisp_css_cp_dvs2_coefs() argument [all...] |