Searched refs:n2 (Results 1 - 25 of 93) sorted by relevance

1234

/xsrc/external/mit/xf86-video-s3virge/dist/src/
H A Ds3v_dac.c59 unsigned char n1, n2; local in function:S3VCommonCalcClock
91 for (n2=min_n2; n2<=max_n2; n2++) {
93 m = (int)(ffreq * n1 * (1<<n2) + 0.5) ;
99 diff = ffreq - div / (1<<n2);
106 best_n2 = n2;
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
68 for (n2 = min_n2; n2 <= max_n2; n2++) {
70 m = (int)(ffreq * n1 * (1 << n2) + 0.5);
76 diff = ffreq - div / (1 << n2);
84 best_n2 = n2;
90 DEBUG("Clock parameters for %1.6f MHz: m=%d, n1=%d, n2=%d\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);
401 int n2_class = g->nodes[n2].class;
412 g->nodes[n1].adjacency_list[g->nodes[n1].adjacency_count] = n2;
464 unsigned int n1, unsigned int n2)
466 if (n1 != n2 && !BITSET_TEST(g->nodes[n1].adjacency, n2)) {
467 ra_add_node_adjacency(g, n1, n2);
468 ra_add_node_adjacency(g, n2, n
463 ra_add_node_interference(struct ra_graph * g,unsigned int n1,unsigned int n2) argument
487 unsigned int n2 = g->nodes[n].adjacency_list[i]; local in function:decrement_q
560 unsigned int n2 = g->nodes[n].adjacency_list[i]; local in function:ra_any_neighbors_conflict
589 unsigned int n2 = g->nodes[n].adjacency_list[i]; local in function:ra_compute_available_regs
725 unsigned int n2 = g->nodes[n].adjacency_list[j]; local in function:ra_get_spill_benefit
[all...]
H A Dregister_allocate.h84 unsigned int n1, unsigned int n2);
/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);
484 int n2_class = g->nodes[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);
498 int n2_class = g->nodes[n2].class;
502 n2);
611 ra_add_node_interference(struct ra_graph * g,unsigned int n1,unsigned int n2) argument
664 unsigned int n2 = *n2p; local in function:add_node_to_stack
813 unsigned int n2 = *n2p; local in function:ra_find_conflicting_neighbor
844 struct ra_node *n2 = &g->nodes[*n2p]; local in function:ra_compute_available_regs
1002 unsigned int n2 = *n2p; local in function:ra_get_spill_benefit
[all...]
H A Dregister_allocate.h119 unsigned int n1, unsigned int n2);
/xsrc/external/mit/xf86-video-s3/dist/src/
H A Ds3_GENDAC.c160 int m, n, n1, n2, mclk; local in function:S3GENDAC_PreInit
175 n2 = (n >> 5) & 0x03;
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
402 for (n2 = min_n2; n2 <= max_n2; n2++) {
404 m = (int)(ffreq * n1 * (1 << n2) + 0.5);
409 diff = ffreq - div / (1 << n2);
416 best_n2 = n2;
[all...]
H A Ds3_Trio64DAC.c173 unsigned char n1, n2, best_n1=18, best_n2=2, best_m=127; local in function:S3TrioCalcClock
193 for(n2=min_n2; n2<=max_n2; n2++) {
195 m = (int)(ffreq*n1*(1<<n2)+0.5);
201 diff = ffreq - div / (1<<n2);
208 best_n2 = n2;
284 int m, n, n1, n2, mclk; local in function:S3Trio64DAC_PreInit
297 n2 = (n >> 5) & 0x03;
298 mclk = ((1431818 * (m+2)) / (n1+2) / (1<<n2)
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprog_noise.c244 float n0, n1, n2; /* Noise contributions from the three corners */ local in function:_mesa_noise2
307 n2 = 0.0f;
310 n2 = t2 * t2 * grad2(perm[ii + 1 + perm[jj + 1]], x2, y2);
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
451 n2 = 0.0f;
454 n2 =
472 return 32.0f * (n0 + n1 + n2 + n3); /* TODO: The scale factor is preliminary! */
484 float n0, n1, n2, n3, n4; /* Noise contributions from the five corners */ local in function:_mesa_noise4
605 n2
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprog_noise.c244 float n0, n1, n2; /* Noise contributions from the three corners */ local in function:_mesa_noise2
307 n2 = 0.0f;
310 n2 = t2 * t2 * grad2(perm[ii + 1 + perm[jj + 1]], x2, y2);
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
451 n2 = 0.0f;
454 n2 =
472 return 32.0f * (n0 + n1 + n2 + n3); /* TODO: The scale factor is preliminary! */
484 float n0, n1, n2, n3, n4; /* Noise contributions from the five corners */ local in function:_mesa_noise4
605 n2
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/loader/
H A Dloadext.c194 NODE *n2; local in function:add_arc
202 n2 = get_node(s2);
208 if (n1->n_arcs[i] == n2)
220 n1->n_arcs[n1->n_narcs++] = n2;
221 ++n2->n_refcnt;
/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
57 const struct buffer *buf2 = (const struct buffer *)n2;
/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
499 w2 = snprintf(NULL, 0, "%d", n2);
503 snprintf(p2, *ep2 - p2, "%*d%c", w, n2, suffix);
/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);
373 DIFF3(n2, n3, q1);
380 glVertex3fv(n2);
/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);
373 DIFF3(n2, n3, q1);
380 glVertex3fv(n2);
/xsrc/external/mit/freetype/dist/src/tools/
H A Dapinames.c119 Name n2 = (Name)name2; 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
89 n2[0] = cos(theta2) * (cos(phi2));
90 n2[1] = -sin(theta2) * (cos(phi2));
91 n2[2] = sin(phi2);
117 glNormal3fv(n2);
/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
447 sprintf(p2, "%d", n2);
450 sprintf(p2, "%*d", w, n2);
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_fs_reg_allocate.cpp510 for (unsigned n2 = first_vgrf_node; local in function:fs_reg_alloc::setup_live_interference
511 n2 <= (unsigned)last_vgrf_node && n2 < node; n2++) {
512 unsigned vgrf = n2 - first_vgrf_node;
515 ra_add_node_interference(g, node, n2);
/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
196 n2=-n1;
199 n2--;
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);
204 if(n2<=-n_max)break;
/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
196 n2=-n1;
199 n2--;
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);
204 if(n2<=-n_max)break;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/ir/pp/
H A Dregalloc.c675 int n2 = n1 + 1; local in function:ppir_regalloc_prog_try
691 ra_add_node_interference(g, n1, n2);
693 n2++;
/xsrc/external/mit/xorg-server.old/dist/hw/xnest/
H A DWindow.c433 unsigned int n1, n2; local in function:xnestRegionEqual
443 n2 = RegionNumRects(pReg2);
445 if (n1 != n2) return False;
/xsrc/external/mit/xorg-server/dist/hw/xnest/
H A DWindow.c427 unsigned int n1, n2; local in function:xnestRegionEqual
439 n2 = RegionNumRects(pReg2);
441 if (n1 != n2)
/xsrc/external/mit/pixman/dist/test/utils/
H A Dutils.c860 int i, n1 = 1, n2 = 0; local in function:fuzzer_test_main
867 n2 = atoi (argv[2]);
868 if (n2 < n1)
876 n2 = atoi (argv[1]);
878 checksum = call_test_function (test_function, n2, 1);
880 printf ("%d: checksum=%08X\n", n2, checksum);
886 n2 = default_number_of_iterations;
891 shared(n1, n2, test_function, verbose)
893 for (i = n1; i <= n2; i++)
901 if (n1 == 1 && n2
[all...]

Completed in 27 milliseconds

1234