Home
last modified time | relevance | path

Searched refs:coef (Results 1 – 25 of 32) sorted by relevance

12

/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/volt/
H A Dnouveau_nvkm_subdev_volt_gk20a.c57 gk20a_volt_get_cvb_voltage(int speedo, int s_scale, const struct cvb_coef *coef) in gk20a_volt_get_cvb_voltage() argument
61 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); in gk20a_volt_get_cvb_voltage()
62 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; in gk20a_volt_get_cvb_voltage()
73 const struct cvb_coef *coef) in gk20a_volt_get_cvb_t_voltage() argument
77 cvb_mv = gk20a_volt_get_cvb_voltage(speedo, s_scale, coef); in gk20a_volt_get_cvb_t_voltage()
79 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + in gk20a_volt_get_cvb_t_voltage()
80 DIV_ROUND_CLOSEST(coef->c5 * temp, t_scale); in gk20a_volt_get_cvb_t_voltage()
86 gk20a_volt_calc_voltage(const struct cvb_coef *coef, int speedo) in gk20a_volt_calc_voltage() argument
91 mv = gk20a_volt_get_cvb_t_voltage(speedo, -10, 100, 10, coef); in gk20a_volt_calc_voltage()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/
H A Dnouveau_nvkm_subdev_clk_nv50.c80 P = (coef & 0x00070000) >> 16; in read_pll_src()
88 P = (coef & 0x00070000) >> 16; in read_pll_src()
89 N = (coef & 0x0000ff00) >> 8; in read_pll_src()
90 M = (coef & 0x000000ff) >> 0; in read_pll_src()
115 P += (coef & 0x00070000) >> 16; in read_pll_src()
116 N = (coef & 0x0000ff00) >> 8; in read_pll_src()
117 M = (coef & 0x000000ff) >> 0; in read_pll_src()
179 N2 = (coef & 0xff000000) >> 24; in read_pll()
180 M2 = (coef & 0x00ff0000) >> 16; in read_pll()
181 N1 = (coef & 0x0000ff00) >> 8; in read_pll()
[all …]
H A Dnouveau_nvkm_subdev_clk_gf100.c43 u32 coef; member
68 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll() local
69 u32 P = (coef & 0x003f0000) >> 16; in read_pll()
70 u32 N = (coef & 0x0000ff00) >> 8; in read_pll()
71 u32 M = (coef & 0x000000ff) >> 0; in read_pll()
255 calc_pll(struct gf100_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() argument
274 *coef = (P << 16) | (N << 8) | M; in calc_pll()
297 clk1 = calc_pll(clk, idx, freq, &info->coef); in calc_clk()
315 info->ssel = info->coef = 0; in calc_clk()
379 if (info->coef) { in gf100_clk_prog_2()
[all …]
H A Dnouveau_nvkm_subdev_clk_gk104.c43 u32 coef; member
69 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll() local
70 u32 P = (coef & 0x003f0000) >> 16; in read_pll()
71 u32 N = (coef & 0x0000ff00) >> 8; in read_pll()
72 u32 M = (coef & 0x000000ff) >> 0; in read_pll()
87 P = (coef & 0x10000000) ? 2 : 1; in read_pll()
268 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() argument
287 *coef = (P << 16) | (N << 8) | M; in calc_pll()
311 clk1 = calc_pll(clk, idx, freq, &info->coef); in calc_clk()
398 if (info->coef) { in gk104_clk_prog_2()
[all …]
H A Dnouveau_nvkm_subdev_clk_nv40.c65 u32 coef = nvkm_rd32(device, reg + 0x04); in read_pll_2() local
66 int N2 = (coef & 0xff000000) >> 24; in read_pll_2()
67 int M2 = (coef & 0x00ff0000) >> 16; in read_pll_2()
68 int N1 = (coef & 0x0000ff00) >> 8; in read_pll_2()
69 int M1 = (coef & 0x000000ff) >> 0; in read_pll_2()
H A Dnouveau_nvkm_subdev_clk_gt215.c122 u32 coef = nvkm_rd32(device, pll + 4); in read_pll() local
123 M = (coef & 0x000000ff) >> 0; in read_pll()
124 N = (coef & 0x0000ff00) >> 8; in read_pll()
125 P = (coef & 0x003f0000) >> 16; in read_pll()
375 const u32 coef = pll + 4; in prog_pll() local
388 nvkm_wr32(device, coef, info->pll); in prog_pll()
H A Dnouveau_nvkm_subdev_clk_mcp77.c58 u32 coef = nvkm_rd32(device, base + 4); in read_pll() local
75 N1 = (coef & 0x0000ff00) >> 8; in read_pll()
76 M1 = (coef & 0x000000ff); in read_pll()
/netbsd/external/gpl3/gcc/dist/gcc/
H A Dtree-affine.c61 comb->elts[i].coef = 0; in aff_combination_zero()
83 comb->elts[0].coef = 1; in aff_combination_elt()
112 comb->elts[j].coef = new_coef; in aff_combination_scale()
125 comb->elts[comb->n].coef = scale; in aff_combination_scale()
155 comb->elts[i].coef = new_coef; in aff_combination_add_elt()
165 comb->elts[comb->n].coef = 1; in aff_combination_add_elt()
245 if (comb->elts[i].coef == 0) in aff_combination_convert()
247 comb->elts[j].coef = comb->elts[i].coef; in aff_combination_convert()
255 comb->elts[comb->n].coef = 1; in aff_combination_convert()
615 aff_combination_add_elt (r, aval, coef * c->elts[i].coef); in aff_combination_add_product()
[all …]
H A Dtree-affine.cc62 comb->elts[i].coef = 0; in aff_combination_zero()
84 comb->elts[0].coef = 1; in aff_combination_elt()
113 comb->elts[j].coef = new_coef; in aff_combination_scale()
126 comb->elts[comb->n].coef = scale; in aff_combination_scale()
156 comb->elts[i].coef = new_coef; in aff_combination_add_elt()
166 comb->elts[comb->n].coef = 1; in aff_combination_add_elt()
246 if (comb->elts[i].coef == 0) in aff_combination_convert()
248 comb->elts[j].coef = comb->elts[i].coef; in aff_combination_convert()
256 comb->elts[comb->n].coef = 1; in aff_combination_convert()
624 aff_combination_add_elt (r, aval, coef * c->elts[i].coef); in aff_combination_add_product()
[all …]
H A Dtree-ssa-address.c431 if (addr->elts[i].coef != 1) in move_fixed_address_to_symbol()
460 if (addr->elts[i].coef != 1) in move_hint_to_base()
493 if (addr->elts[i].coef != 1) in move_pointer_to_base()
626 HOST_WIDE_INT coef; in most_expensive_mult_to_index() local
635 if (!wi::fits_shwi_p (addr->elts[i].coef)) in most_expensive_mult_to_index()
638 coef = addr->elts[i].coef.to_shwi (); in most_expensive_mult_to_index()
639 if (coef == 1 in most_expensive_mult_to_index()
643 acost = mult_by_coeff_cost (coef, address_mode, speed); in most_expensive_mult_to_index()
648 best_mult = offset_int::from (addr->elts[i].coef, SIGNED); in most_expensive_mult_to_index()
740 if (addr->elts[i].coef != 1) in addr_to_parts()
[all …]
H A Dtree-ssa-address.cc431 if (addr->elts[i].coef != 1) in move_fixed_address_to_symbol()
460 if (addr->elts[i].coef != 1) in move_hint_to_base()
493 if (addr->elts[i].coef != 1) in move_pointer_to_base()
626 HOST_WIDE_INT coef; in most_expensive_mult_to_index() local
635 if (!wi::fits_shwi_p (addr->elts[i].coef)) in most_expensive_mult_to_index()
638 coef = addr->elts[i].coef.to_shwi (); in most_expensive_mult_to_index()
639 if (coef == 1 in most_expensive_mult_to_index()
643 acost = mult_by_coeff_cost (coef, address_mode, speed); in most_expensive_mult_to_index()
648 best_mult = offset_int::from (addr->elts[i].coef, SIGNED); in most_expensive_mult_to_index()
740 if (addr->elts[i].coef != 1) in addr_to_parts()
[all …]
H A Dtree-affine.h38 widest_int coef; variable
127 && (aff->elts[0].coef == 1 || aff->elts[0].coef == -1)); in aff_combination_singleton_var_p()
/netbsd/external/gpl3/gcc.old/dist/gcc/
H A Dtree-affine.c61 comb->elts[i].coef = 0; in aff_combination_zero()
83 comb->elts[0].coef = 1; in aff_combination_elt()
112 comb->elts[j].coef = new_coef; in aff_combination_scale()
125 comb->elts[comb->n].coef = scale; in aff_combination_scale()
155 comb->elts[i].coef = new_coef; in aff_combination_add_elt()
165 comb->elts[comb->n].coef = 1; in aff_combination_add_elt()
245 if (comb->elts[i].coef == 0) in aff_combination_convert()
247 comb->elts[j].coef = comb->elts[i].coef; in aff_combination_convert()
255 comb->elts[comb->n].coef = 1; in aff_combination_convert()
615 aff_combination_add_elt (r, aval, coef * c->elts[i].coef); in aff_combination_add_product()
[all …]
H A Dtree-ssa-address.c431 if (addr->elts[i].coef != 1) in move_fixed_address_to_symbol()
460 if (addr->elts[i].coef != 1) in move_hint_to_base()
493 if (addr->elts[i].coef != 1) in move_pointer_to_base()
626 HOST_WIDE_INT coef; in most_expensive_mult_to_index() local
635 if (!wi::fits_shwi_p (addr->elts[i].coef)) in most_expensive_mult_to_index()
638 coef = addr->elts[i].coef.to_shwi (); in most_expensive_mult_to_index()
639 if (coef == 1 in most_expensive_mult_to_index()
643 acost = mult_by_coeff_cost (coef, address_mode, speed); in most_expensive_mult_to_index()
648 best_mult = offset_int::from (addr->elts[i].coef, SIGNED); in most_expensive_mult_to_index()
740 if (addr->elts[i].coef != 1) in addr_to_parts()
[all …]
H A Dtree-affine.h38 widest_int coef; variable
127 && (aff->elts[0].coef == 1 || aff->elts[0].coef == -1)); in aff_combination_singleton_var_p()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/
H A Dnouveau_nvkm_subdev_fb_ramnv40.c62 ram->coef = (N1 << 8) | M1; in nv40_ram_calc()
65 ram->coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1; in nv40_ram_calc()
137 nvkm_wr32(device, 0x004048, ram->coef); in nv40_ram_prog()
138 nvkm_wr32(device, 0x004030, ram->coef); in nv40_ram_prog()
144 nvkm_wr32(device, 0x00403c, ram->coef); in nv40_ram_prog()
148 nvkm_wr32(device, 0x004024, ram->coef); in nv40_ram_prog()
H A Dramnv40.h12 u32 coef; member
/netbsd/external/gpl3/gdb/dist/sim/testsuite/sim/bfin/
H A Dfir.s124 loadsym I1, coef;
135 loadsym I1, coef;
190 coef: label
/netbsd/external/gpl3/gdb.old/dist/sim/testsuite/sim/bfin/
H A Dfir.s124 loadsym I1, coef;
135 loadsym I1, coef;
190 coef: label
/netbsd/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dcomplexity.cc100 result.coef = sigma_time_gn / sigma_gn_squared; in MinimalLeastSq()
105 double fit = result.coef * fitting_curve(n[i]); in MinimalLeastSq()
195 big_o.real_accumulated_time = result_real.coef; in ComputeBigO()
196 big_o.cpu_accumulated_time = result_cpu.coef; in ComputeBigO()
H A Dcomplexity.h43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {} in LeastSq()
45 double coef; member
/netbsd/external/apache2/llvm/dist/llvm/utils/benchmark/src/
H A Dcomplexity.cc97 result.coef = sigma_time_gn / sigma_gn_squared; in MinimalLeastSq()
102 double fit = result.coef * fitting_curve(n[i]); in MinimalLeastSq()
189 big_o.real_accumulated_time = result_real.coef; in ComputeBigO()
190 big_o.cpu_accumulated_time = result_cpu.coef; in ComputeBigO()
H A Dcomplexity.h43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {} in LeastSq()
45 double coef; member
/netbsd/external/bsd/ntp/dist/scripts/stats/
H A Detf.S6 mean<-r$coef[[1]]
8 slope<-r$coef[[2]] * 1000
/netbsd/sys/external/bsd/drm2/dist/include/uapi/drm/
H A Dv3d_drm.h226 __u32 coef[4]; member
246 __u32 coef[4]; member

12