Searched refs:coef (Results 1 - 25 of 60) sorted by relevance

123

/linux-master/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-filter.h15 * @coef: filter coefficients
20 const u8 coef[BDISP_HF_NB]; member in struct:bdisp_filter_h_spec
27 * @coef: filter coefficients
32 const u8 coef[BDISP_VF_NB]; member in struct:bdisp_filter_v_spec
H A Dbdisp-hw.c54 .coef = {
68 .coef = {
82 .coef = {
96 .coef = {
110 .coef = {
124 .coef = {
138 .coef = {
152 .coef = {
166 .coef = {
180 .coef
[all...]
/linux-master/include/linux/
H A Dpolynomial.h12 * @coef: multiplication factor of the term.
18 long coef; member in struct:polynomial_term
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgk20a.c52 gk20a_volt_get_cvb_voltage(int speedo, int s_scale, const struct cvb_coef *coef) argument
56 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale);
57 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0;
68 const struct cvb_coef *coef)
72 cvb_mv = gk20a_volt_get_cvb_voltage(speedo, s_scale, coef);
74 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 +
75 DIV_ROUND_CLOSEST(coef->c5 * temp, t_scale);
81 gk20a_volt_calc_voltage(const struct cvb_coef *coef, in argument
67 gk20a_volt_get_cvb_t_voltage(int speedo, int temp, int s_scale, int t_scale, const struct cvb_coef *coef) argument
[all...]
/linux-master/drivers/gpu/drm/imx/dcss/
H A Ddcss-scaler.c169 * @coef: output filter coefficients
173 int coef[][PSC_NUM_TAPS])
184 coef[phase][0] = 0;
185 coef[phase][PSC_NUM_TAPS - 1] = 0;
201 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = g0_q;
213 coef[phase_cnt & PSC_PHASE_MASK][tap_idx] = g0_q;
217 coef[(-phase_cnt) & PSC_PHASE_MASK][tap_idx] = g0_q;
223 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = 0;
228 coef[0][i] = i == (PSC_NUM_TAPS >> 1) ?
231 /* normalize coef */
171 dcss_scaler_gaussian_filter(int fc_q, bool use_5_taps, bool phase0_identity, int coef[][PSC_NUM_TAPS]) argument
248 dcss_scaler_nearest_neighbor_filter(bool use_5_taps, int coef[][PSC_NUM_TAPS]) argument
267 dcss_scaler_filter_design(int src_length, int dst_length, bool use_5_taps, bool phase0_identity, int coef[][PSC_NUM_TAPS], bool nn_interpolation) argument
570 dcss_scaler_program_5_coef_set(struct dcss_scaler_ch *ch, int base_addr, int coef[][PSC_NUM_TAPS]) argument
605 dcss_scaler_program_7_coef_set(struct dcss_scaler_ch *ch, int base_addr, int coef[][PSC_NUM_TAPS]) argument
651 int coef[PSC_STORED_PHASES][PSC_NUM_TAPS]; local
703 int coef[PSC_STORED_PHASES][PSC_NUM_TAPS]; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramnv40.h10 u32 coef; member in struct:nv40_ram
H A Dramnv40.c57 ram->coef = (N1 << 8) | M1;
60 ram->coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1;
132 nvkm_wr32(device, 0x004048, ram->coef);
133 nvkm_wr32(device, 0x004030, ram->coef);
139 nvkm_wr32(device, 0x00403c, ram->coef);
143 nvkm_wr32(device, 0x004024, ram->coef);
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/
H A Dia_css_tnr_param.h25 s32 coef; member in struct:sh_css_isp_tnr_params
H A Dia_css_tnr.host.c40 to->coef =
56 "tnr_coef", tnr->coef);
/linux-master/lib/
H A Dpolynomial.c97 tmp = term->coef;
/linux-master/drivers/iio/pressure/
H A Ddps310.c114 u8 coef[18]; local
119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef,
120 sizeof(coef));
128 c0 = (coef[0] << 4) | (coef[1] >> 4);
131 c1 = ((coef[1] & GENMASK(3, 0)) << 8) | coef[2];
139 c00 = (coef[3] << 12) | (coef[4] << 4) | (coef[
[all...]
/linux-master/crypto/async_tx/
H A Dasync_raid6_recov.c19 struct page **srcs, unsigned int *src_offs, unsigned char *coef,
54 tx = dma->device_prep_dma_pq(chan, pq, unmap->addr, 2, coef,
71 amul = raid6_gfmul[coef[0]];
72 bmul = raid6_gfmul[coef[1]];
88 unsigned int s_off, u8 coef, size_t len,
123 1, &coef, len, dma_flags);
142 qmul = raid6_gfmul[coef];
162 unsigned char coef[2]; local
184 coef[0] = raid6_gfexi[failb-faila];
185 coef[
18 async_sum_product(struct page *dest, unsigned int d_off, struct page **srcs, unsigned int *src_offs, unsigned char *coef, size_t len, struct async_submit_ctl *submit) argument
87 async_mult(struct page *dest, unsigned int d_off, struct page *src, unsigned int s_off, u8 coef, size_t len, struct async_submit_ctl *submit) argument
212 unsigned char coef[2]; local
303 unsigned char coef[2]; local
478 u8 coef; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dnv50.c56 u32 coef, ref = nvkm_clk_read(&clk->base, nv_clk_src_crystal); local
73 coef = nvkm_rd32(device, 0x00e81c + (id * 0x0c));
74 ref *= (coef & 0x01000000) ? 2 : 4;
75 P = (coef & 0x00070000) >> 16;
76 N = ((coef & 0x0000ff00) >> 8) + 1;
77 M = ((coef & 0x000000ff) >> 0) + 1;
82 coef = nvkm_rd32(device, 0x00e81c);
83 P = (coef & 0x00070000) >> 16;
84 N = (coef & 0x0000ff00) >> 8;
85 M = (coef
163 u32 coef = nvkm_rd32(device, base + 4); local
[all...]
H A Dnv40.c60 u32 coef = nvkm_rd32(device, reg + 0x04); local
61 int N2 = (coef & 0xff000000) >> 24;
62 int M2 = (coef & 0x00ff0000) >> 16;
63 int N1 = (coef & 0x0000ff00) >> 8;
64 int M1 = (coef & 0x000000ff) >> 0;
H A Dgk104.c38 u32 coef; member in struct:gk104_clk_info
64 u32 coef = nvkm_rd32(device, pll + 0x04); local
65 u32 P = (coef & 0x003f0000) >> 16;
66 u32 N = (coef & 0x0000ff00) >> 8;
67 u32 M = (coef & 0x000000ff) >> 0;
82 P = (coef & 0x10000000) ? 2 : 1;
263 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) argument
282 *coef = (P << 16) | (N << 8) | M;
306 clk1 = calc_pll(clk, idx, freq, &info->coef);
393 if (info->coef) {
[all...]
H A Dgf100.c38 u32 coef; member in struct:gf100_clk_info
63 u32 coef = nvkm_rd32(device, pll + 0x04); local
64 u32 P = (coef & 0x003f0000) >> 16;
65 u32 N = (coef & 0x0000ff00) >> 8;
66 u32 M = (coef & 0x000000ff) >> 0;
250 calc_pll(struct gf100_clk *clk, int idx, u32 freq, u32 *coef) argument
269 *coef = (P << 16) | (N << 8) | M;
292 clk1 = calc_pll(clk, idx, freq, &info->coef);
310 info->ssel = info->coef = 0;
374 if (info->coef) {
[all...]
/linux-master/drivers/thermal/
H A Drcar_gen3_thermal.c90 } coef; member in struct:rcar_gen3_thermal_tsc
148 tsc->coef.below.a = priv->info->scale * (priv->ptat[2] - priv->ptat[1]);
149 tsc->coef.above.a = priv->info->scale * (priv->ptat[0] - priv->ptat[1]);
151 tsc->coef.below.b = (priv->ptat[2] - priv->ptat[0]) * (tsc->thcode[2] - tsc->thcode[1]);
152 tsc->coef.above.b = (priv->ptat[0] - priv->ptat[2]) * (tsc->thcode[1] - tsc->thcode[0]);
159 const struct equation_set_coef *coef; local
167 coef = &tsc->coef.below;
171 coef = &tsc->coef
195 const struct equation_set_coef *coef; local
[all...]
H A Dthermal_of.c251 int coef[2]; local
252 int ncoef = ARRAY_SIZE(coef);
265 ret = of_property_read_u32_array(np, "coefficients", coef, ncoef);
267 coef[0] = 1;
268 coef[1] = 0;
271 tzp->slope = coef[0];
272 tzp->offset = coef[1];
/linux-master/sound/pci/hda/
H A Dpatch_cirrus.c73 /* coef indices */
141 unsigned int coef)
148 AC_VERB_SET_PROC_COEF, coef);
189 unsigned int coef; local
193 coef = cs_vendor_coef_get(codec, IDX_BEEP_CFG);
195 coef |= 1 << 4; /* DMIC2 2 chan on, GPIO1 off */
197 coef |= 1 << 3; /* DMIC1 2 chan on, GPIO0 off
202 cs_vendor_coef_set(codec, IDX_BEEP_CFG, coef);
280 unsigned int coef; local
282 coef
140 cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, unsigned int coef) argument
964 unsigned int coef = local
993 unsigned int def_conf, coef; local
1138 unsigned int coef; local
[all...]
/linux-master/drivers/media/platform/ti/omap3isp/
H A Disph3a_af.c33 u32 coef; local
78 coef = 0;
79 coef |= conf->iir.coeff_set0[index];
80 coef |= conf->iir.coeff_set0[index + 1] <<
82 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A,
87 coef = 0;
88 coef |= conf->iir.coeff_set1[index];
89 coef |= conf->iir.coeff_set1[index + 1] <<
91 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A,
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
H A Dia_css_sdis.host.c137 hor_num_isp = dvs_binary->dis.coef.pad.width;
138 ver_num_isp = dvs_binary->dis.coef.pad.height;
139 hor_num_3a = dvs_binary->dis.coef.dim.width;
140 ver_num_3a = dvs_binary->dis.coef.dim.height;
161 return sizeof(short) * IA_CSS_DVS_NUM_COEF_TYPES * binary->dis.coef.pad.width;
163 return sizeof(short) * IA_CSS_DVS2_NUM_COEF_TYPES * binary->dis.coef.pad.width;
171 binary->dis.coef.pad.height;
199 dis->coef.dim.width =
202 dis->coef.dim.height =
205 dis->coef
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
H A Dia_css_sdis_common_types.h41 } grid, coef, proj; member in struct:ia_css_sdis_info
/linux-master/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-hw-s5p.h50 unsigned int j, unsigned int coef);
/linux-master/include/uapi/linux/
H A Djoystick.h77 __s32 coef[8]; member in struct:js_corr
/linux-master/include/media/
H A Dv4l2-vp9.h48 * @coef: coefficient probabilities.
71 u8 coef[4][2][2][6][6][3]; member in struct:v4l2_vp9_frame_context

Completed in 263 milliseconds

123