Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-6.6/drivers/gpu/drm/imx/dcss/
H A Ddcss-scaler.c169 * @coef: output filter coefficients
173 int coef[][PSC_NUM_TAPS]) in dcss_scaler_gaussian_filter()
184 coef[phase][0] = 0; in dcss_scaler_gaussian_filter()
185 coef[phase][PSC_NUM_TAPS - 1] = 0; in dcss_scaler_gaussian_filter()
201 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = g0_q; in dcss_scaler_gaussian_filter()
213 coef[phase_cnt & PSC_PHASE_MASK][tap_idx] = g0_q; in dcss_scaler_gaussian_filter()
217 coef[(-phase_cnt) & PSC_PHASE_MASK][tap_idx] = g0_q; in dcss_scaler_gaussian_filter()
223 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = 0; in dcss_scaler_gaussian_filter()
228 coef[0][i] = i == (PSC_NUM_TAPS >> 1) ? in dcss_scaler_gaussian_filter()
231 /* normalize coef */ in dcss_scaler_gaussian_filter()
171 dcss_scaler_gaussian_filter(int fc_q, bool use_5_taps, bool phase0_identity, int coef[][PSC_NUM_TAPS]) dcss_scaler_gaussian_filter() argument
248 dcss_scaler_nearest_neighbor_filter(bool use_5_taps, int coef[][PSC_NUM_TAPS]) dcss_scaler_nearest_neighbor_filter() 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) dcss_scaler_filter_design() argument
585 dcss_scaler_program_5_coef_set(struct dcss_scaler_ch *ch, int base_addr, int coef[][PSC_NUM_TAPS]) dcss_scaler_program_5_coef_set() argument
620 dcss_scaler_program_7_coef_set(struct dcss_scaler_ch *ch, int base_addr, int coef[][PSC_NUM_TAPS]) dcss_scaler_program_7_coef_set() argument
666 int coef[PSC_STORED_PHASES][PSC_NUM_TAPS]; dcss_scaler_yuv_coef_set() local
718 int coef[PSC_STORED_PHASES][PSC_NUM_TAPS]; dcss_scaler_rgb_coef_set() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
H A Ddcss-scaler.c167 * @coef: output filter coefficients
171 int coef[][PSC_NUM_TAPS]) in dcss_scaler_gaussian_filter()
182 coef[phase][0] = 0; in dcss_scaler_gaussian_filter()
183 coef[phase][PSC_NUM_TAPS - 1] = 0; in dcss_scaler_gaussian_filter()
199 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = g0_q; in dcss_scaler_gaussian_filter()
211 coef[phase_cnt & PSC_PHASE_MASK][tap_idx] = g0_q; in dcss_scaler_gaussian_filter()
215 coef[(-phase_cnt) & PSC_PHASE_MASK][tap_idx] = g0_q; in dcss_scaler_gaussian_filter()
221 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = 0; in dcss_scaler_gaussian_filter()
226 coef[0][i] = i == (PSC_NUM_TAPS >> 1) ? in dcss_scaler_gaussian_filter()
229 /* normalize coef */ in dcss_scaler_gaussian_filter()
169 dcss_scaler_gaussian_filter(int fc_q, bool use_5_taps, bool phase0_identity, int coef[][PSC_NUM_TAPS]) dcss_scaler_gaussian_filter() argument
254 dcss_scaler_filter_design(int src_length, int dst_length, bool use_5_taps, bool phase0_identity, int coef[][PSC_NUM_TAPS]) dcss_scaler_filter_design() argument
568 dcss_scaler_program_5_coef_set(struct dcss_scaler_ch *ch, int base_addr, int coef[][PSC_NUM_TAPS]) dcss_scaler_program_5_coef_set() argument
603 dcss_scaler_program_7_coef_set(struct dcss_scaler_ch *ch, int base_addr, int coef[][PSC_NUM_TAPS]) dcss_scaler_program_7_coef_set() argument
649 int coef[PSC_STORED_PHASES][PSC_NUM_TAPS]; dcss_scaler_yuv_coef_set() local
699 int coef[PSC_STORED_PHASES][PSC_NUM_TAPS]; dcss_scaler_rgb_coef_set() local
[all...]
/kernel/linux/linux-5.10/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) in gk20a_volt_get_cvb_voltage() argument
56 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); in gk20a_volt_get_cvb_voltage()
57 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; in gk20a_volt_get_cvb_voltage()
68 const struct cvb_coef *coef) in gk20a_volt_get_cvb_t_voltage()
72 cvb_mv = gk20a_volt_get_cvb_voltage(speedo, s_scale, coef); in gk20a_volt_get_cvb_t_voltage()
74 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + in gk20a_volt_get_cvb_t_voltage()
75 DIV_ROUND_CLOSEST(coef->c5 * temp, t_scale); in gk20a_volt_get_cvb_t_voltage()
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) gk20a_volt_get_cvb_t_voltage() argument
[all...]
/kernel/linux/linux-6.6/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) in gk20a_volt_get_cvb_voltage() argument
56 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); in gk20a_volt_get_cvb_voltage()
57 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; in gk20a_volt_get_cvb_voltage()
68 const struct cvb_coef *coef) in gk20a_volt_get_cvb_t_voltage()
72 cvb_mv = gk20a_volt_get_cvb_voltage(speedo, s_scale, coef); in gk20a_volt_get_cvb_t_voltage()
74 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + in gk20a_volt_get_cvb_t_voltage()
75 DIV_ROUND_CLOSEST(coef->c5 * temp, t_scale); in gk20a_volt_get_cvb_t_voltage()
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) gk20a_volt_get_cvb_t_voltage() argument
[all...]
/kernel/linux/linux-5.10/drivers/iio/pressure/
H A Ddps310.c114 u8 coef[18]; in dps310_get_coefs() local
119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs()
120 sizeof(coef)); in dps310_get_coefs()
128 c0 = (coef[0] << 4) | (coef[1] >> 4); in dps310_get_coefs()
131 c1 = ((coef[1] & GENMASK(3, 0)) << 8) | coef[2]; in dps310_get_coefs()
139 c00 = (coef[3] << 12) | (coef[4] << 4) | (coef[ in dps310_get_coefs()
[all...]
/kernel/linux/linux-6.6/drivers/iio/pressure/
H A Ddps310.c114 u8 coef[18]; in dps310_get_coefs() local
119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs()
120 sizeof(coef)); in dps310_get_coefs()
128 c0 = (coef[0] << 4) | (coef[1] >> 4); in dps310_get_coefs()
131 c1 = ((coef[1] & GENMASK(3, 0)) << 8) | coef[2]; in dps310_get_coefs()
139 c00 = (coef[3] << 12) | (coef[4] << 4) | (coef[ in dps310_get_coefs()
[all...]
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dpatch_cirrus.c72 /* coef indices */
139 unsigned int coef) in cs_vendor_coef_set()
145 AC_VERB_SET_PROC_COEF, coef); in cs_vendor_coef_set()
185 unsigned int coef; in init_input_coef() local
189 coef = cs_vendor_coef_get(codec, IDX_BEEP_CFG); in init_input_coef()
191 coef |= 1 << 4; /* DMIC2 2 chan on, GPIO1 off */ in init_input_coef()
193 coef |= 1 << 3; /* DMIC1 2 chan on, GPIO0 off in init_input_coef()
198 cs_vendor_coef_set(codec, IDX_BEEP_CFG, coef); in init_input_coef()
283 unsigned int coef; in init_digital_coef() local
285 coef in init_digital_coef()
138 cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, unsigned int coef) cs_vendor_coef_set() argument
961 unsigned int coef = cs421x_boost_vol_put() local
990 unsigned int def_conf, coef; cs4210_pinmux_init() local
1135 unsigned int coef; cs421x_suspend() local
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dpatch_cirrus.c73 /* coef indices */
141 unsigned int coef) in cs_vendor_coef_set()
148 AC_VERB_SET_PROC_COEF, coef); in cs_vendor_coef_set()
189 unsigned int coef; in init_input_coef() local
193 coef = cs_vendor_coef_get(codec, IDX_BEEP_CFG); in init_input_coef()
195 coef |= 1 << 4; /* DMIC2 2 chan on, GPIO1 off */ in init_input_coef()
197 coef |= 1 << 3; /* DMIC1 2 chan on, GPIO0 off in init_input_coef()
202 cs_vendor_coef_set(codec, IDX_BEEP_CFG, coef); in init_input_coef()
280 unsigned int coef; in init_digital_coef() local
282 coef in init_digital_coef()
140 cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, unsigned int coef) cs_vendor_coef_set() argument
964 unsigned int coef = cs421x_boost_vol_put() local
993 unsigned int def_conf, coef; cs4210_pinmux_init() local
1139 unsigned int coef; cs421x_suspend() local
[all...]
/kernel/linux/linux-5.10/crypto/async_tx/
H A Dasync_raid6_recov.c19 struct page **srcs, unsigned int *src_offs, unsigned char *coef, in async_sum_product()
54 tx = dma->device_prep_dma_pq(chan, pq, unmap->addr, 2, coef, in async_sum_product()
71 amul = raid6_gfmul[coef[0]]; in async_sum_product()
72 bmul = raid6_gfmul[coef[1]]; in async_sum_product()
88 unsigned int s_off, u8 coef, size_t len, in async_mult()
123 1, &coef, len, dma_flags); in async_mult()
142 qmul = raid6_gfmul[coef]; in async_mult()
162 unsigned char coef[2]; in __2data_recov_4() local
184 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_4()
185 coef[ in __2data_recov_4()
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) async_sum_product() 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) async_mult() argument
212 unsigned char coef[2]; __2data_recov_5() local
303 unsigned char coef[2]; __2data_recov_n() local
478 u8 coef; async_raid6_datap_recov() local
[all...]
/kernel/linux/linux-6.6/crypto/async_tx/
H A Dasync_raid6_recov.c19 struct page **srcs, unsigned int *src_offs, unsigned char *coef, in async_sum_product()
54 tx = dma->device_prep_dma_pq(chan, pq, unmap->addr, 2, coef, in async_sum_product()
71 amul = raid6_gfmul[coef[0]]; in async_sum_product()
72 bmul = raid6_gfmul[coef[1]]; in async_sum_product()
88 unsigned int s_off, u8 coef, size_t len, in async_mult()
123 1, &coef, len, dma_flags); in async_mult()
142 qmul = raid6_gfmul[coef]; in async_mult()
162 unsigned char coef[2]; in __2data_recov_4() local
184 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_4()
185 coef[ in __2data_recov_4()
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) async_sum_product() 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) async_mult() argument
212 unsigned char coef[2]; __2data_recov_5() local
303 unsigned char coef[2]; __2data_recov_n() local
478 u8 coef; async_raid6_datap_recov() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dnv50.c56 u32 coef, ref = nvkm_clk_read(&clk->base, nv_clk_src_crystal); in read_pll_src() local
73 coef = nvkm_rd32(device, 0x00e81c + (id * 0x0c)); in read_pll_src()
74 ref *= (coef & 0x01000000) ? 2 : 4; in read_pll_src()
75 P = (coef & 0x00070000) >> 16; in read_pll_src()
76 N = ((coef & 0x0000ff00) >> 8) + 1; in read_pll_src()
77 M = ((coef & 0x000000ff) >> 0) + 1; in read_pll_src()
82 coef = nvkm_rd32(device, 0x00e81c); in read_pll_src()
83 P = (coef & 0x00070000) >> 16; in read_pll_src()
84 N = (coef & 0x0000ff00) >> 8; in read_pll_src()
85 M = (coef in read_pll_src()
163 u32 coef = nvkm_rd32(device, base + 4); read_pll() local
[all...]
H A Dgk104.c38 u32 coef; member
64 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll() local
65 u32 P = (coef & 0x003f0000) >> 16; in read_pll()
66 u32 N = (coef & 0x0000ff00) >> 8; in read_pll()
67 u32 M = (coef & 0x000000ff) >> 0; in read_pll()
82 P = (coef & 0x10000000) ? 2 : 1; in read_pll()
263 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() argument
282 *coef = (P << 16) | (N << 8) | M; in calc_pll()
306 clk1 = calc_pll(clk, idx, freq, &info->coef); in calc_clk()
393 if (info->coef) { in gk104_clk_prog_2()
[all...]
H A Dgf100.c38 u32 coef; member
63 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll() local
64 u32 P = (coef & 0x003f0000) >> 16; in read_pll()
65 u32 N = (coef & 0x0000ff00) >> 8; in read_pll()
66 u32 M = (coef & 0x000000ff) >> 0; in read_pll()
250 calc_pll(struct gf100_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() argument
269 *coef = (P << 16) | (N << 8) | M; in calc_pll()
292 clk1 = calc_pll(clk, idx, freq, &info->coef); in calc_clk()
310 info->ssel = info->coef = 0; in calc_clk()
374 if (info->coef) { in gf100_clk_prog_2()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dnv50.c56 u32 coef, ref = nvkm_clk_read(&clk->base, nv_clk_src_crystal); in read_pll_src() local
73 coef = nvkm_rd32(device, 0x00e81c + (id * 0x0c)); in read_pll_src()
74 ref *= (coef & 0x01000000) ? 2 : 4; in read_pll_src()
75 P = (coef & 0x00070000) >> 16; in read_pll_src()
76 N = ((coef & 0x0000ff00) >> 8) + 1; in read_pll_src()
77 M = ((coef & 0x000000ff) >> 0) + 1; in read_pll_src()
82 coef = nvkm_rd32(device, 0x00e81c); in read_pll_src()
83 P = (coef & 0x00070000) >> 16; in read_pll_src()
84 N = (coef & 0x0000ff00) >> 8; in read_pll_src()
85 M = (coef in read_pll_src()
163 u32 coef = nvkm_rd32(device, base + 4); read_pll() local
[all...]
H A Dgk104.c38 u32 coef; member
64 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll() local
65 u32 P = (coef & 0x003f0000) >> 16; in read_pll()
66 u32 N = (coef & 0x0000ff00) >> 8; in read_pll()
67 u32 M = (coef & 0x000000ff) >> 0; in read_pll()
82 P = (coef & 0x10000000) ? 2 : 1; in read_pll()
263 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() argument
282 *coef = (P << 16) | (N << 8) | M; in calc_pll()
306 clk1 = calc_pll(clk, idx, freq, &info->coef); in calc_clk()
393 if (info->coef) { in gk104_clk_prog_2()
[all...]
H A Dgf100.c38 u32 coef; member
63 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll() local
64 u32 P = (coef & 0x003f0000) >> 16; in read_pll()
65 u32 N = (coef & 0x0000ff00) >> 8; in read_pll()
66 u32 M = (coef & 0x000000ff) >> 0; in read_pll()
250 calc_pll(struct gf100_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() argument
269 *coef = (P << 16) | (N << 8) | M; in calc_pll()
292 clk1 = calc_pll(clk, idx, freq, &info->coef); in calc_clk()
310 info->ssel = info->coef = 0; in calc_clk()
374 if (info->coef) { in gf100_clk_prog_2()
[all...]
/kernel/linux/linux-5.10/drivers/thermal/
H A Drcar_gen3_thermal.c83 struct equation_coefs coef; member
147 tsc->coef.a1 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[2]), in rcar_gen3_thermal_calc_coefs()
149 tsc->coef.b1 = FIXPT_INT(thcode[2]) - tsc->coef.a1 * TJ_3; in rcar_gen3_thermal_calc_coefs()
151 tsc->coef.a2 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[0]), in rcar_gen3_thermal_calc_coefs()
153 tsc->coef.b2 = FIXPT_INT(thcode[0]) - tsc->coef.a2 * ths_tj_1; in rcar_gen3_thermal_calc_coefs()
176 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef.b1, in rcar_gen3_thermal_get_temp()
177 tsc->coef.a1); in rcar_gen3_thermal_get_temp()
179 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef in rcar_gen3_thermal_get_temp()
[all...]
/kernel/linux/linux-6.6/drivers/thermal/
H A Drcar_gen3_thermal.c86 struct equation_coefs coef; member
152 tsc->coef.a1 = FIXPT_DIV(FIXPT_INT(tsc->thcode[1] - tsc->thcode[2]), in rcar_gen3_thermal_calc_coefs()
154 tsc->coef.b1 = FIXPT_INT(tsc->thcode[2]) - tsc->coef.a1 * TJ_3; in rcar_gen3_thermal_calc_coefs()
156 tsc->coef.a2 = FIXPT_DIV(FIXPT_INT(tsc->thcode[1] - tsc->thcode[0]), in rcar_gen3_thermal_calc_coefs()
158 tsc->coef.b2 = FIXPT_INT(tsc->thcode[0]) - tsc->coef.a2 * ths_tj_1; in rcar_gen3_thermal_calc_coefs()
181 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef.b1, in rcar_gen3_thermal_get_temp()
182 tsc->coef.a1); in rcar_gen3_thermal_get_temp()
184 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef in rcar_gen3_thermal_get_temp()
[all...]
/kernel/linux/linux-5.10/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; in ia_css_get_isp_dis_coefficients()
138 ver_num_isp = dvs_binary->dis.coef.pad.height; in ia_css_get_isp_dis_coefficients()
139 hor_num_3a = dvs_binary->dis.coef.dim.width; in ia_css_get_isp_dis_coefficients()
140 ver_num_3a = dvs_binary->dis.coef.dim.height; in ia_css_get_isp_dis_coefficients()
161 return sizeof(short) * IA_CSS_DVS_NUM_COEF_TYPES * binary->dis.coef.pad.width; in ia_css_sdis_hor_coef_tbl_bytes()
163 return sizeof(short) * IA_CSS_DVS2_NUM_COEF_TYPES * binary->dis.coef.pad.width; in ia_css_sdis_hor_coef_tbl_bytes()
171 binary->dis.coef.pad.height; in ia_css_sdis_ver_coef_tbl_bytes()
199 dis->coef.dim.width = in ia_css_sdis_init_info()
202 dis->coef.dim.height = in ia_css_sdis_init_info()
205 dis->coef in ia_css_sdis_init_info()
[all...]
/kernel/linux/linux-6.6/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; in ia_css_get_isp_dis_coefficients()
138 ver_num_isp = dvs_binary->dis.coef.pad.height; in ia_css_get_isp_dis_coefficients()
139 hor_num_3a = dvs_binary->dis.coef.dim.width; in ia_css_get_isp_dis_coefficients()
140 ver_num_3a = dvs_binary->dis.coef.dim.height; in ia_css_get_isp_dis_coefficients()
161 return sizeof(short) * IA_CSS_DVS_NUM_COEF_TYPES * binary->dis.coef.pad.width; in ia_css_sdis_hor_coef_tbl_bytes()
163 return sizeof(short) * IA_CSS_DVS2_NUM_COEF_TYPES * binary->dis.coef.pad.width; in ia_css_sdis_hor_coef_tbl_bytes()
171 binary->dis.coef.pad.height; in ia_css_sdis_ver_coef_tbl_bytes()
199 dis->coef.dim.width = in ia_css_sdis_init_info()
202 dis->coef.dim.height = in ia_css_sdis_init_info()
205 dis->coef in ia_css_sdis_init_info()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramnv40.c57 ram->coef = (N1 << 8) | M1; in nv40_ram_calc()
60 ram->coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1; in nv40_ram_calc()
132 nvkm_wr32(device, 0x004048, ram->coef); in nv40_ram_prog()
133 nvkm_wr32(device, 0x004030, ram->coef); in nv40_ram_prog()
139 nvkm_wr32(device, 0x00403c, ram->coef); in nv40_ram_prog()
143 nvkm_wr32(device, 0x004024, ram->coef); in nv40_ram_prog()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramnv40.c57 ram->coef = (N1 << 8) | M1; in nv40_ram_calc()
60 ram->coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1; in nv40_ram_calc()
132 nvkm_wr32(device, 0x004048, ram->coef); in nv40_ram_prog()
133 nvkm_wr32(device, 0x004030, ram->coef); in nv40_ram_prog()
139 nvkm_wr32(device, 0x00403c, ram->coef); in nv40_ram_prog()
143 nvkm_wr32(device, 0x004024, ram->coef); in nv40_ram_prog()
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/
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...]
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/bdisp/
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...]
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
H A Disph3a_af.c33 u32 coef; in h3a_af_setup_regs() local
78 coef = 0; in h3a_af_setup_regs()
79 coef |= conf->iir.coeff_set0[index]; in h3a_af_setup_regs()
80 coef |= conf->iir.coeff_set0[index + 1] << in h3a_af_setup_regs()
82 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
87 coef = 0; in h3a_af_setup_regs()
88 coef |= conf->iir.coeff_set1[index]; in h3a_af_setup_regs()
89 coef |= conf->iir.coeff_set1[index + 1] << in h3a_af_setup_regs()
91 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()

Completed in 16 milliseconds

12345