Searched refs:p1275_cell2int (Results 1 – 20 of 20) sorted by relevance
46 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()
76 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()
60 return (p1275_cell2int(ci[4])); in prom_get_fcode_size()89 return (p1275_cell2int(ci[5])); in prom_get_fcode()
90 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()
283 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()
51 return (p1275_cell2int(ci[4])); /* Res1: abort-flag */ in prom_heartbeat()
69 if (p1275_cell2int(ci[10]) != 0) /* Res1: catch result */ in prom_get_unum()
76 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()
96 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()
75 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()
49 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()
97 cpuid = p1275_cell2int(ci[3]); in promif_start_cpu()99 arg = p1275_cell2int(ci[5]); in promif_start_cpu()
251 len = p1275_cell2int(ci[6]); in promif_setprop()
73 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()
49 return (p1275_cell2int(ci[4])); /* Res1: missing flag */ in prom_test()70 rv = p1275_cell2int(ci[5]); in prom_test_method()
111 result = p1275_cell2int(ci[6]); in prom_set_security_key()189 result = p1275_cell2int(ci[6]); in prom_get_security_key()
69 return (p1275_cell2int(ci[4])); /* Res1: ihandle */ in prom_open()90 return (p1275_cell2int(ci[6])); /* Res1: actual */ in prom_seek()
84 return (p1275_cell2int(ci[6])); /* Res1: Actual length */ in token2path()
961 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()
66 #define p1275_cell2int(i) ((int)((cell_t)(i))) macro