Searched refs:n1 (Results 1 - 25 of 41) sorted by relevance

12

/xsrc/external/mit/xf86-video-s3virge/dist/src/
H A Ds3v_dac.c59 unsigned char n1, n2; local in function:S3VCommonCalcClock
92 for (n1 = min_n1+2; n1 <= max_n1+2; n1++) {
93 m = (int)(ffreq * n1 * (1<<n2) + 0.5) ;
96 div = (double)(m) / (double)(n1);
105 best_n1 = n1;
113 ErrorF("Clock parameters for %1.6f MHz: m=%d, n1=%d, n2=%d\n",
/xsrc/external/mit/xf86-video-siliconmotion/dist/src/
H A Dsmi_dac.c47 unsigned char n1, n2; local in function:SMI_CommonCalcClock
69 for (n1 = min_n1; n1 <= max_n1; n1++) {
70 m = (int)(ffreq * n1 * (1 << n2) + 0.5);
74 div = (double)(m) / (double)(n1);
83 best_n1 = n1;
90 DEBUG("Clock parameters for %1.6f MHz: m=%d, n1=%d, n2=%d\n",
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/loader/
H A Dloadext.c193 NODE *n1; local in function:add_arc
197 n1 = get_node(s1);
207 for (i = 0; i < n1->n_narcs; i++)
208 if (n1->n_arcs[i] == n2)
213 if (n1->n_narcs == n1->n_arcsize) {
214 if (!n1->n_arcsize)
215 n1->n_arcsize = 10;
216 bsize = n1->n_arcsize * sizeof(*n1
[all...]
/xsrc/external/mit/MesaLib.old/dist/bin/
H A Dget-extra-pick-list.sh25 git log -n1 --pretty=oneline --grep=$sha $latest_branchpoint..origin/master |\
40 "`git log -n1 --pretty=oneline $candidate`" \
/xsrc/external/mit/xf86-video-tga/dist/src/
H A DICS1562.c60 int n,r, a,m, p, r0,r1,n0,n1; local in function:ICS1562_CalcClockBits
88 n1 = (int)(ffp * (r+1));
89 if (n1 > 448) n1 = 448;
90 for (n=n0; n<n1; n++) {
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dregister_allocate.c394 ra_add_node_adjacency(struct ra_graph *g, unsigned int n1, unsigned int n2) argument
396 BITSET_SET(g->nodes[n1].adjacency, n2);
398 assert(n1 != n2);
400 int n1_class = g->nodes[n1].class;
402 g->nodes[n1].q_total += g->regs->classes[n1_class]->q[n2_class];
404 if (g->nodes[n1].adjacency_count >=
405 g->nodes[n1].adjacency_list_size) {
406 g->nodes[n1].adjacency_list_size *= 2;
407 g->nodes[n1].adjacency_list = reralloc(g, g->nodes[n1]
463 ra_add_node_interference(struct ra_graph * g,unsigned int n1,unsigned int n2) argument
[all...]
H A Dregister_allocate.h84 unsigned int n1, unsigned int n2);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprog_noise.c220 float n0, n1; local in function:_mesa_noise1
229 n1 = t1 * t1 * grad1(perm[i1 & 0xff], x1);
233 return 0.25f * (n0 + n1);
244 float n0, n1, n2; /* Noise contributions from the three corners */ local in function:_mesa_noise2
299 n1 = 0.0f;
302 n1 = t1 * t1 * grad2(perm[ii + i1 + perm[jj + j1]], x1, y1);
315 return 40.0f * (n0 + n1 + n2); /* TODO: The scale factor is preliminary! */
327 float n0, n1, n2, n3; /* Noise contributions from the four corners */ local in function:_mesa_noise3
441 n1 = 0.0f;
444 n1
484 float n0, n1, n2, n3, n4; /* Noise contributions from the five corners */ local in function:_mesa_noise4
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprog_noise.c220 float n0, n1; local in function:_mesa_noise1
229 n1 = t1 * t1 * grad1(perm[i1 & 0xff], x1);
233 return 0.25f * (n0 + n1);
244 float n0, n1, n2; /* Noise contributions from the three corners */ local in function:_mesa_noise2
299 n1 = 0.0f;
302 n1 = t1 * t1 * grad2(perm[ii + i1 + perm[jj + j1]], x1, y1);
315 return 40.0f * (n0 + n1 + n2); /* TODO: The scale factor is preliminary! */
327 float n0, n1, n2, n3; /* Noise contributions from the four corners */ local in function:_mesa_noise3
441 n1 = 0.0f;
444 n1
484 float n0, n1, n2, n3, n4; /* Noise contributions from the five corners */ local in function:_mesa_noise4
[all...]
/xsrc/external/mit/xf86-video-s3/dist/src/
H A Ds3_GENDAC.c160 int m, n, n1, n2, mclk; local in function:S3GENDAC_PreInit
174 n1 = n & 0x1f;
176 mclk = ((1431818 * (m + 2)) / (n1 + 2) / (1 << n2) + 50) / 100;
380 unsigned char n1, n2, best_n1=18, best_n2=2, best_m=127; local in function:S3GENDACCalcClock
403 for (n1 = min_n1 + 2; n1 <= max_n1 + 2; n1++) {
404 m = (int)(ffreq * n1 * (1 << n2) + 0.5);
407 div = (double)(m) / (double)(n1);
415 best_n1 = n1;
[all...]
H A Ds3_Trio64DAC.c173 unsigned char n1, n2, best_n1=18, best_n2=2, best_m=127; local in function:S3TrioCalcClock
194 for(n1=min_n1+2; n1<=max_n1+2; n1++) {
195 m = (int)(ffreq*n1*(1<<n2)+0.5);
198 div = (double)(m)/(double)(n1);
207 best_n1 = n1;
284 int m, n, n1, n2, mclk; local in function:S3Trio64DAC_PreInit
296 n1 = n & 0x1f;
298 mclk = ((1431818 * (m+2)) / (n1
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dregister_allocate.c477 ra_add_node_adjacency(struct ra_graph *g, unsigned int n1, unsigned int n2) argument
479 BITSET_SET(g->nodes[n1].adjacency, n2);
481 assert(n1 != n2);
483 int n1_class = g->nodes[n1].class;
485 g->nodes[n1].q_total += g->regs->classes[n1_class]->q[n2_class];
487 util_dynarray_append(&g->nodes[n1].adjacency_list, unsigned int, n2);
491 ra_node_remove_adjacency(struct ra_graph *g, unsigned int n1, unsigned int n2) argument
493 BITSET_CLEAR(g->nodes[n1].adjacency, n2);
495 assert(n1 != n2);
497 int n1_class = g->nodes[n1]
611 ra_add_node_interference(struct ra_graph * g,unsigned int n1,unsigned int n2) argument
[all...]
H A Dregister_allocate.h119 unsigned int n1, unsigned int n2);
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/common/
H A Dinit-stage2.sh11 [ -z "$HWCI_KERNEL_MODULES" ] || (echo -n $HWCI_KERNEL_MODULES | xargs -d, -n1 /usr/sbin/modprobe)
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/
H A Dbuffers.c54 buffer_insert_cmp(const struct rb_node *n1, const struct rb_node *n2) argument
56 const struct buffer *buf1 = (const struct buffer *)n1;
/xsrc/external/mit/fslsfonts/dist/
H A Dfslsfonts.c102 int n1, int n2, char suffix );
485 * Append string representations of n1 to pp1 and n2 to pp2,
491 copy_number(char **pp1, char **pp2, char **ep1, char **ep2, int n1, int n2, argument
498 w1 = snprintf(NULL, 0, "%d", n1);
502 snprintf(p1, *ep1 - p1, "%*d%c", w, n1, suffix);
/xsrc/external/mit/freetype/dist/src/tools/
H A Dapinames.c118 Name n1 = (Name)name1; local in function:name_compare
121 return strcmp( n1->name, n2->name );
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dstex3d.c49 float n0[3], n1[3], n2[3], n3[3]; local in function:BuildTorus
85 n1[0] = cos(theta2) * (cos(phi1));
86 n1[1] = -sin(theta2) * (cos(phi1));
87 n1[2] = sin(phi1);
120 glNormal3fv(n1);
/xsrc/external/mit/xf86-video-ati/xorg-server-copy/
H A Dfi1236.c191 int n_max, n1, n2; local in function:MT2032_no_spur_in_band
194 n1=1;
196 n2=-n1;
197 f_test=n1*(m->f_lo1-m->f_lo2);
201 xf86DrvMsg(0, X_INFO, "testing f_test=%g n1=%d n2=%d f_lo1=%g f_lo2=%g f_if2=%g\n", f_test, n1, n2, m->f_lo1, m->f_lo2, m->f_if2);
211 n1++;
212 if(n1>=n_max)return 1;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/i2c/
H A Dfi1236.c191 int n_max, n1, n2; local in function:MT2032_no_spur_in_band
194 n1=1;
196 n2=-n1;
197 f_test=n1*(m->f_lo1-m->f_lo2);
201 xf86DrvMsg(0, X_INFO, "testing f_test=%g n1=%d n2=%d f_lo1=%g f_lo2=%g f_if2=%g\n", f_test, n1, n2, m->f_lo1, m->f_lo2, m->f_if2);
211 n1++;
212 if(n1>=n_max)return 1;
/xsrc/external/mit/xditview/dist/
H A Dparse.c400 int n, m, n1, m1; local in function:ParseDrawFunction
417 sscanf(buf + 1, "%d %d %d %d", &n, &m, &n1, &m1);
418 DrawArc(dw, n, m, n1, m1);
/xsrc/external/mit/MesaGLUT/dist/src/glut/beos/
H A Dglut_shapes.c367 recorditem(GLfloat * n1, GLfloat * n2, GLfloat * n3, argument
372 DIFF3(n1, n2, q0);
379 glVertex3fv(n1);
/xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
H A Dglut_shapes.c367 recorditem(GLfloat * n1, GLfloat * n2, GLfloat * n3, argument
372 DIFF3(n1, n2, q0);
379 glVertex3fv(n1);
/xsrc/external/mit/xlsfonts/dist/
H A Dxlsfonts.c79 static void copy_number(char **pp1, char **pp2, int n1, int n2);
440 copy_number(char **pp1, char **pp2, int n1, int n2) argument
446 sprintf(p1, "%d", n1);
449 sprintf(p1, "%*d", w, n1);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/ir/pp/
H A Dregalloc.c673 int n1 = 0; local in function:ppir_regalloc_prog_try
675 int n2 = n1 + 1;
691 ra_add_node_interference(g, n1, n2);
695 n1++;

Completed in 27 milliseconds

12