Home
last modified time | relevance | path

Searched refs:p1275_cell2int (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_cpuctl.c46 return (p1275_cell2int(ci[4])); in prom_stopcpu_bycpuid()
85 return (p1275_cell2int(ci[6])); in prom_startcpu_bycpuid()
106 return (p1275_cell2int(ci[4])); /* Res1: Catch result */ in prom_wakeupcpu()
127 return (p1275_cell2int(ci[4])); in prom_cpuoff()
144 return (p1275_cell2int(ci[4])); in prom_hotaddcpu()
161 return (p1275_cell2int(ci[4])); in prom_hotremovecpu()
H A Dprom_fio.c76 return (p1275_cell2int(ci[9])); /* Res2: fd */ in prom_fopen()
123 return (p1275_cell2int(ci[9])); /* Res2: fd */ in prom_volopen()
149 return (p1275_cell2int(ci[9])); /* Res2: off */ in prom_fseek()
193 return (p1275_cell2int(ci[9])); /* Res2: actual length */ in prom_fread()
243 *iscmp = p1275_cell2int(ci[7]); /* Res2: iscmp */ in prom_compinfo()
H A Dprom_efcode.c60 return (p1275_cell2int(ci[4])); in prom_get_fcode_size()
89 return (p1275_cell2int(ci[5])); in prom_get_fcode()
H A Dprom_mem.c90 if (p1275_cell2int(ci[7]) != 0) /* Res1: Catch result */ in prom_allocate_phys()
131 if (p1275_cell2int(ci[9]) != 0) /* Res1: Catch result */ in prom_claim_phys()
H A Dprom_mmu.c283 if (p1275_cell2int(ci[7]) != -1) /* Valid results ? */ in prom_translate_virt()
286 *mode = p1275_cell2int(ci[8]); /* Res3: sr2: mode, if valid */ in prom_translate_virt()
H A Dprom_heartbeat.c51 return (p1275_cell2int(ci[4])); /* Res1: abort-flag */ in prom_heartbeat()
H A Dprom_getunum.c69 if (p1275_cell2int(ci[10]) != 0) /* Res1: catch result */ in prom_get_unum()
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_serengeti.c76 if (p1275_cell2int(ci[5]) != 0) /* Res1: Catch result */ in prom_serengeti_attach_board()
100 if (p1275_cell2int(ci[5]) != 0) /* Res1: Catch result */ in prom_serengeti_detach_board()
124 if (p1275_cell2int(ci[5]) != 0) /* Res1: Catch result */ in prom_serengeti_tunnel_switch()
148 return (p1275_cell2int(ci[4])); in prom_serengeti_cpu_off()
193 if (p1275_cell2int(ci[10]) != 0) /* Res1: catch result */ in prom_serengeti_get_ecacheunum()
217 return (p1275_cell2int(ci[4])); /* Res1: Catch result */ in prom_serengeti_wakeupcpu()
H A Dprom_opl.c96 return ((rv) ? -1 : p1275_cell2int(ci[4])); in prom_attach_notice()
114 return ((rv) ? -1 : p1275_cell2int(ci[4])); in prom_detach_notice()
136 return (p1275_cell2int(ci[4])); /* Res1: Catch result */ in prom_opl_switch_console()
H A Dprom_sunfire.c75 if (p1275_cell2int(ci[4]) != 0) /* Res1: Catch result */ in prom_sunfire_attach_board()
98 if (p1275_cell2int(ci[4]) != 0) /* Res1: Catch result */ in prom_sunfire_detach_board()
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_version.c49 api_group = (uint64_t)p1275_cell2int(ci[3]); in promif_set_sun4v_api_version()
50 major = (uint64_t)p1275_cell2int(ci[4]); in promif_set_sun4v_api_version()
51 minor = (uint64_t)p1275_cell2int(ci[5]); in promif_set_sun4v_api_version()
73 api_group = (uint64_t)p1275_cell2int(ci[3]); in promif_get_sun4v_api_version()
H A Dpromif_cpu.c97 cpuid = p1275_cell2int(ci[3]); in promif_start_cpu()
99 arg = p1275_cell2int(ci[5]); in promif_start_cpu()
H A Dpromif_prop.c251 len = p1275_cell2int(ci[6]); in promif_setprop()
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_prop.c73 return (p1275_cell2int(ci[3])); /* Res1: buf length */ in prom_asr_export_len()
90 return (p1275_cell2int(ci[3])); /* Res1: buf length */ in prom_asr_list_keys_len()
111 return (p1275_cell2int(ci[4])); /* Res1: buf length */ in prom_asr_export()
132 return (p1275_cell2int(ci[4])); /* Res1: buf length */ in prom_asr_list_keys()
197 return (p1275_cell2int(ci[5])); /* Res1: Property length */ in prom_getproplen()
255 return (p1275_cell2int(ci[7])); /* Res1: Returned length */ in prom_bounded_getprop()
320 return (p1275_cell2int(ci[7])); /* Res1: Actual new size */ in prom_setprop()
H A Dprom_test.c49 return (p1275_cell2int(ci[4])); /* Res1: missing flag */ in prom_test()
70 rv = p1275_cell2int(ci[5]); in prom_test_method()
H A Dprom_key.c111 result = p1275_cell2int(ci[6]); in prom_set_security_key()
189 result = p1275_cell2int(ci[6]); in prom_get_security_key()
H A Dprom_io.c69 return (p1275_cell2int(ci[4])); /* Res1: ihandle */ in prom_open()
90 return (p1275_cell2int(ci[6])); /* Res1: actual */ in prom_seek()
H A Dprom_2path.c84 return (p1275_cell2int(ci[6])); /* Res1: Actual length */ in token2path()
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodds1337.c961 year = p1275_cell2int(ci[6]); in todds1337_prom_getdate()
962 rtc->rtc_mon = p1275_cell2int(ci[7]); in todds1337_prom_getdate()
963 rtc->rtc_dom = p1275_cell2int(ci[8]); in todds1337_prom_getdate()
965 rtc->rtc_hrs = p1275_cell2int(ci[9]); in todds1337_prom_getdate()
966 rtc->rtc_min = p1275_cell2int(ci[10]); in todds1337_prom_getdate()
967 rtc->rtc_sec = p1275_cell2int(ci[11]); in todds1337_prom_getdate()
/illumos-gate/usr/src/uts/sparc/v9/sys/
H A Dprom_isa.h66 #define p1275_cell2int(i) ((int)((cell_t)(i))) macro