Searched refs:ci (Results 1 - 25 of 136) sorted by relevance

123456

/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_cpuctl.c35 cell_t ci[5]; local
37 ci[0] = p1275_ptr2cell("SUNW,stop-cpu-by-cpuid"); /* Service name */
38 ci[1] = (cell_t)1; /* #argument cells */
39 ci[2] = (cell_t)1; /* #result cells */
40 ci[3] = p1275_int2cell(cpuid); /* Arg1: cpuid to stop */
43 (void) p1275_cif_handler(&ci);
46 return (p1275_cell2int(ci[4]));
53 cell_t ci[6]; local
55 ci[0] = p1275_ptr2cell("SUNW,start-cpu"); /* Service name */
56 ci[
72 cell_t ci[7]; local
91 cell_t ci[5]; local
112 cell_t ci[5]; local
133 cell_t ci[5]; local
150 cell_t ci[5]; local
[all...]
H A Dprom_heartbeat.c39 cell_t ci[5]; local
41 ci[0] = p1275_ptr2cell("SUNW,heartbeat"); /* Service name */
42 ci[1] = (cell_t)1; /* #argument cells */
43 ci[2] = (cell_t)1; /* #result cells */
44 ci[3] = p1275_int2cell(msecs); /* Arg1: msecs */
45 ci[4] = (cell_t)0; /* Prime the result */
48 (void) p1275_cif_handler(&ci);
51 return (p1275_cell2int(ci[4])); /* Res1: abort-flag */
H A Dprom_power_off.c39 cell_t ci[3]; local
41 ci[0] = p1275_ptr2cell("SUNW,power-off"); /* Service name */
42 ci[1] = (cell_t) 0; /* #argument cells */
43 ci[2] = (cell_t) 0; /* #result cells */
46 (void) p1275_cif_handler(&ci);
H A Dprom_fio.c35 cell_t ci[10]; local
53 ci[0] = p1275_ptr2cell("call-method"); /* Service name */
54 ci[1] = (cell_t)4; /* #argument cells */
55 ci[2] = (cell_t)3; /* #result cells */
56 ci[3] = p1275_ptr2cell("open-file"); /* Arg1: Method name */
57 ci[4] = p1275_ihandle2cell(fsih); /* Arg2: fs ihandle */
58 ci[5] = p1275_uint2cell(len); /* Arg3: Len */
59 ci[6] = p1275_ptr2cell(path); /* Arg4: Pathname */
61 (void) p1275_cif_handler(&ci);
70 if (ci[
82 cell_t ci[10]; local
129 cell_t ci[10]; local
156 cell_t ci[10]; local
199 cell_t ci[8]; local
225 cell_t ci[10]; local
252 cell_t ci[7]; local
[all...]
H A Dprom_retain.c40 cell_t ci[11]; local
47 ci[0] = p1275_ptr2cell("call-method"); /* Service name */
48 ci[1] = (cell_t)5; /* #argument cells */
49 ci[2] = (cell_t)3; /* #result cells */
50 ci[3] = p1275_ptr2cell("SUNW,retain"); /* Arg1: Method name */
51 ci[4] = p1275_ihandle2cell(imemory); /* Arg2: memory ihandle */
52 ci[5] = p1275_uint2cell(align); /* Arg2: SA1: align */
53 ci[6] = p1275_size2cell(size); /* Arg3: SA2: size */
54 ci[7] = p1275_ptr2cell(id); /* Arg4: SA3: id name */
57 rv = p1275_cif_handler(&ci);
[all...]
H A Dprom_mmu.c66 cell_t ci[11]; local
73 ci[0] = p1275_ptr2cell("call-method"); /* Service name */
74 ci[1] = (cell_t)7; /* #argument cells */
75 ci[2] = (cell_t)1; /* #result cells */
76 ci[3] = p1275_ptr2cell("map"); /* Arg1: method name */
77 ci[4] = p1275_ihandle2cell(immu); /* Arg2: mmu ihandle */
78 ci[5] = p1275_int2cell(mode); /* Arg3: SA1: mode */
79 ci[6] = p1275_size2cell(size); /* Arg4: SA2: size */
80 ci[7] = p1275_ptr2cell(virt); /* Arg5: SA3: virt */
81 ci[
107 cell_t ci[9]; local
142 cell_t ci[10]; local
175 cell_t ci[7]; local
200 cell_t ci[7]; local
256 cell_t ci[11]; local
[all...]
H A Dprom_efcode.c42 cell_t ci[5]; local
49 ci[0] = p1275_ptr2cell("SUNW,get-fcode-size");
50 ci[1] = (cell_t)1; /* 1 input arg: str */
51 ci[2] = (cell_t)1; /* 1 output result: len or zero */
52 ci[3] = p1275_ptr2cell(str);
53 ci[4] = (cell_t)0;
56 rv = p1275_cif_handler(&ci);
60 return (p1275_cell2int(ci[4]));
70 cell_t ci[6]; local
77 ci[
[all...]
H A Dprom_getunum.c42 cell_t ci[12]; local
50 ci[0] = p1275_ptr2cell("call-method"); /* Service name */
51 ci[1] = (cell_t)7; /* #argument cells */
52 ci[2] = (cell_t)2; /* #result cells */
53 ci[3] = p1275_ptr2cell("SUNW,get-unumber"); /* Arg1: Method name */
54 ci[4] = p1275_ihandle2cell(imemory); /* Arg2: mem. ihandle */
55 ci[5] = p1275_uint2cell(buflen); /* Arg3: buflen */
56 ci[6] = p1275_ptr2cell(buf); /* Arg4: buf */
57 ci[7] = p1275_ull2cell_high(physaddr); /* Arg5: physhi */
58 ci[
[all...]
H A Dprom_set_traptable.c40 cell_t ci[4]; local
42 ci[0] = p1275_ptr2cell("SUNW,set-trap-table"); /* Service name */
43 ci[1] = (cell_t) 1; /* #argument cells */
44 ci[2] = (cell_t) 0; /* #result cells */
45 ci[3] = p1275_ptr2cell(tba_addr); /* Arg1: tba address */
48 (void) p1275_cif_handler(&ci);
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_opl.c44 cell_t ci[5]; local
46 ci[0] = p1275_ptr2cell("FJSV,get-tod"); /* Service name */
47 ci[1] = (cell_t)0; /* #argument cells */
48 ci[2] = (cell_t)2; /* #result cells */
49 ci[3] = (cell_t)0; /* The result: STICK */
50 ci[4] = (cell_t)0; /* The result: time */
53 (void) p1275_cif_handler(&ci);
56 *stickval = ci[3];
57 *time = ci[4];
69 cell_t ci[ local
85 cell_t ci[5]; local
103 cell_t ci[5]; local
120 cell_t ci[5]; local
[all...]
H A Dprom_serengeti.c37 cell_t ci[5]; local
40 ci[0] = p1275_ptr2cell("SUNW,set-console-input");
41 ci[1] = (cell_t)1; /* #argument cells */
42 ci[2] = (cell_t)1; /* #return cells */
43 ci[3] = p1275_ptr2cell(new_value);
46 rv = p1275_cif_handler(&ci);
52 return (p1275_cell2ptr(ci[4]));
61 cell_t ci[6]; local
64 ci[0] = p1275_ptr2cell("SUNW,Serengeti,add-board"); /* name */
65 ci[
85 cell_t ci[6]; local
109 cell_t ci[6]; local
133 cell_t ci[5]; local
161 cell_t ci[12]; local
202 cell_t ci[5]; local
[all...]
H A Dprom_sunfire.c36 cell_t ci[3]; local
39 ci[0] = p1275_ptr2cell("SUNW,Ultra-Enterprise,cpu-off");
40 ci[1] = (cell_t)0; /* #argument cells */
41 ci[2] = (cell_t)0; /* #result cells */
50 (void) p1275_cif_handler(&ci);
61 cell_t ci[5]; local
64 ci[0] = p1275_ptr2cell("SUNW,Ultra-Enterprise,add-brd"); /* name */
65 ci[1] = (cell_t)1; /* #argument cells */
66 ci[2] = (cell_t)1; /* #result cells */
67 ci[
84 cell_t ci[5]; local
[all...]
H A Dprom_tlb.c40 cell_t ci[9]; local
47 ci[0] = p1275_ptr2cell("call-method"); /* Service name */
48 ci[1] = (cell_t)5; /* #argument cells */
49 ci[2] = (cell_t)1; /* #result cells */
50 ci[3] = p1275_ptr2cell("SUNW,itlb-load"); /* Arg1: method name */
51 ci[4] = p1275_ihandle2cell(immu); /* Arg2: mmu ihandle */
52 ci[5] = p1275_ptr2cell(virt); /* Arg3: SA1: virt */
53 ci[6] = (cell_t)tte_data; /* Arg4: SA2: tte_data */
54 ci[7] = p1275_int2cell(index); /* Arg5: SA3: index */
57 rv = p1275_cif_handler(&ci);
70 cell_t ci[9]; local
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_handler.c35 cell_t ci[5]; local
37 ci[0] = p1275_ptr2cell("set-callback"); /* Service name */
38 ci[1] = (cell_t)1; /* #argument cells */
39 ci[2] = (cell_t)1; /* #return cells */
40 ci[3] = p1275_ptr2cell(handler); /* Arg1: New handler */
41 ci[4] = (cell_t)-1; /* Res1: Prime result */
44 (void) p1275_cif_handler(&ci);
47 return (p1275_cell2ptr(ci[4])); /* Res1: Old handler */
53 cell_t ci[5]; local
55 ci[
[all...]
H A Dprom_phandle.c35 cell_t ci[5]; local
37 ci[0] = p1275_ptr2cell("instance-to-package"); /* Service name */
38 ci[1] = (cell_t)1; /* #argument cells */
39 ci[2] = (cell_t)1; /* #result cells */
40 ci[3] = p1275_ihandle2cell(i); /* Arg1: instance */
41 ci[4] = p1275_dnode2cell(OBP_BADNODE); /* Res1: Prime result */
44 (void) p1275_cif_handler(&ci);
47 return (p1275_cell2phandle(ci[4])); /* Res1: package */
H A Dprom_exit.c38 cell_t ci[3]; local
40 ci[0] = p1275_ptr2cell("exit"); /* Service name */
41 ci[1] = (cell_t)0; /* #argument cells */
42 ci[2] = (cell_t)0; /* #return cells */
45 (void) p1275_cif_handler(&ci);
H A Dprom_test.c37 cell_t ci[5]; local
39 ci[0] = p1275_ptr2cell("test"); /* Service name */
40 ci[1] = (cell_t)1; /* #argument cells */
41 ci[2] = (cell_t)1; /* #result cells */
42 ci[3] = p1275_ptr2cell(service); /* Arg1: requested svc name */
43 ci[4] = (cell_t)-1; /* Res1: Prime result */
46 (void) p1275_cif_handler(&ci);
49 return (p1275_cell2int(ci[4])); /* Res1: missing flag */
55 cell_t ci[6]; local
60 ci[
[all...]
H A Dprom_interp.c36 cell_t ci[9]; local
58 ci[0] = p1275_ptr2cell("interpret"); /* Service name */
59 ci[1] = (cell_t)6; /* #argument cells */
60 ci[2] = (cell_t)0; /* #return cells */
61 ci[3] = p1275_ptr2cell(string); /* Arg1: Interpreted string */
62 ci[4] = p1275_uintptr2cell(arg1); /* Arg2: stack arg 1 */
63 ci[5] = p1275_uintptr2cell(arg2); /* Arg3: stack arg 2 */
64 ci[6] = p1275_uintptr2cell(arg3); /* Arg4: stack arg 3 */
65 ci[7] = p1275_uintptr2cell(arg4); /* Arg5: stack arg 4 */
66 ci[
[all...]
H A Dprom_gettime.c42 cell_t ci[4]; local
44 ci[0] = p1275_ptr2cell("milliseconds"); /* Service name */
45 ci[1] = (cell_t)0; /* #argument cells */
46 ci[2] = (cell_t)1; /* #return cells */
49 (void) p1275_cif_handler(&ci);
52 return (p1275_cell2uint(ci[3])); /* Res0: time in ms. */
H A Dprom_reboot.c38 cell_t ci[4]; local
40 ci[0] = p1275_ptr2cell("boot"); /* Service name */
41 ci[1] = (cell_t)1; /* #argument cells */
42 ci[2] = (cell_t)0; /* #result cells */
43 ci[3] = p1275_ptr2cell(bootstr); /* Arg1: bootspec */
44 (void) p1275_cif_handler(&ci);
H A Dprom_prop.c62 cell_t ci[4]; local
64 ci[0] = p1275_ptr2cell("SUNW,asr-export-len"); /* Service name */
65 ci[1] = (cell_t)0; /* #argument cells */
66 ci[2] = (cell_t)1; /* #return cells */
67 ci[3] = (cell_t)-1; /* Res1: Prime result */
70 (void) p1275_cif_handler(&ci);
73 return (p1275_cell2int(ci[3])); /* Res1: buf length */
79 cell_t ci[4]; local
81 ci[0] = p1275_ptr2cell("SUNW,asr-list-keys-len");
82 ci[
97 cell_t ci[5]; local
118 cell_t ci[5]; local
140 cell_t ci[5]; local
161 cell_t ci[5]; local
184 cell_t ci[6]; local
205 cell_t ci[8]; local
240 cell_t ci[8]; local
261 cell_t ci[7]; local
282 cell_t ci[8]; local
[all...]
H A Dprom_enter.c35 cell_t ci[3]; local
38 ci[0] = p1275_ptr2cell("enter"); /* Service name */
39 ci[1] = (cell_t)0; /* #argument cells */
40 ci[2] = (cell_t)0; /* #return cells */
44 (void) p1275_cif_handler(&ci);
/illumos-gate/usr/src/psm/promif/ieee1275/sun4v/
H A Dprom_sun4v_soft_state_supported.c38 cell_t ci[3]; local
43 ci[0] = p1275_ptr2cell("SUNW,soft-state-supported"); /* Service */
44 ci[1] = (cell_t)0; /* No Arguments */
45 ci[2] = (cell_t)0; /* No return values */
48 (void) p1275_cif_handler(&ci);
H A Dprom_set_mmfsa_traptable.c41 cell_t ci[5]; local
43 ci[0] = p1275_ptr2cell("SUNW,set-trap-table"); /* Service name */
44 ci[1] = (cell_t)2; /* #argument cells */
45 ci[2] = (cell_t)0; /* #result cells */
46 ci[3] = p1275_ptr2cell(tba_addr); /* Arg1: tba address */
47 ci[4] = p1275_ptr2cell(mmfsa_ra); /* Arg2: mmfsa RA */
50 (void) p1275_cif_handler(&ci);
H A Dprom_sun4v_api_version.c40 cell_t ci[8]; local
45 ci[0] = p1275_ptr2cell("SUNW,set-sun4v-api-version"); /* Service */
46 ci[1] = (cell_t)3; /* #argument cells */
47 ci[2] = (cell_t)2; /* #result cells */
48 ci[3] = (cell_t)api_group; /* Arg1: api_group */
49 ci[4] = (cell_t)major; /* Arg2: major */
50 ci[5] = (cell_t)minor; /* Arg3: minor */
51 ci[6] = (cell_t)-1; /* Res1: status */
52 ci[7] = (cell_t)-1; /* Res2: Supported minor */
55 (void) p1275_cif_handler(&ci);
70 cell_t ci[7]; local
[all...]

Completed in 73 milliseconds

123456