/titanic_44/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_prop.c | 62 cell_t ci[4]; in prom_asr_export_len() 65 ci[1] = (cell_t)0; /* #argument cells */ in prom_asr_export_len() 66 ci[2] = (cell_t)1; /* #return cells */ in prom_asr_export_len() 67 ci[3] = (cell_t)-1; /* Res1: Prime result */ in prom_asr_export_len() 79 cell_t ci[4]; in prom_asr_list_keys_len() 82 ci[1] = (cell_t)0; /* #argument cells */ in prom_asr_list_keys_len() 83 ci[2] = (cell_t)1; /* #return cells */ in prom_asr_list_keys_len() 84 ci[3] = (cell_t)-1; /* Res1: Prime result */ in prom_asr_list_keys_len() 97 cell_t ci[5]; in prom_asr_export() 100 ci[1] = (cell_t)1; /* #argument cells */ in prom_asr_export() [all …]
|
H A D | prom_io.c | 35 cell_t ci[5]; in prom_open() 54 ci[1] = (cell_t)1; /* #argument cells */ in prom_open() 55 ci[2] = (cell_t)1; /* #result cells */ in prom_open() 57 ci[4] = (cell_t)0; /* Res1: Prime result */ in prom_open() 76 cell_t ci[7]; in prom_seek() 79 ci[1] = (cell_t)3; /* #argument cells */ in prom_seek() 80 ci[2] = (cell_t)1; /* #result cells */ in prom_seek() 84 ci[6] = (cell_t)-1; /* Res1: Prime result */ in prom_seek() 97 cell_t ci[7]; in prom_read() 114 ci[1] = (cell_t)3; /* #argument cells */ in prom_read() [all …]
|
H A D | prom_test.c | 37 cell_t ci[5]; in prom_test() 40 ci[1] = (cell_t)1; /* #argument cells */ in prom_test() 41 ci[2] = (cell_t)1; /* #result cells */ in prom_test() 43 ci[4] = (cell_t)-1; /* Res1: Prime result */ in prom_test() 55 cell_t ci[6]; in prom_test_method() 61 ci[1] = (cell_t)2; /* #argument cells */ in prom_test_method() 62 ci[2] = (cell_t)1; /* #result cells */ in prom_test_method() 65 ci[5] = (cell_t)-1; in prom_test_method()
|
H A D | prom_handler.c | 35 cell_t ci[5]; in prom_set_callback() 38 ci[1] = (cell_t)1; /* #argument cells */ in prom_set_callback() 39 ci[2] = (cell_t)1; /* #return cells */ in prom_set_callback() 41 ci[4] = (cell_t)-1; /* Res1: Prime result */ in prom_set_callback() 53 cell_t ci[5]; in prom_set_symbol_lookup() 56 ci[1] = (cell_t)2; /* #argument cells */ in prom_set_symbol_lookup() 57 ci[2] = (cell_t)0; /* #return cells */ in prom_set_symbol_lookup()
|
H A D | prom_node.c | 38 cell_t ci[5]; in prom_nextnode() 41 ci[1] = (cell_t)1; /* #argument cells */ in prom_nextnode() 42 ci[2] = (cell_t)1; /* #result cells */ in prom_nextnode() 56 cell_t ci[5]; in prom_childnode() 59 ci[1] = (cell_t)1; /* #argument cells */ in prom_childnode() 60 ci[2] = (cell_t)1; /* #result cells */ in prom_childnode() 195 cell_t ci[5]; in prom_parentnode() 198 ci[1] = (cell_t)1; /* #argument cells */ in prom_parentnode() 199 ci[2] = (cell_t)1; /* #result cells */ in prom_parentnode() 213 cell_t ci[5]; in prom_finddevice() [all …]
|
/titanic_44/usr/src/psm/promif/ieee1275/sun4u/ |
H A D | prom_opl.c | 44 cell_t ci[5]; in prom_opl_get_tod() 47 ci[1] = (cell_t)0; /* #argument cells */ in prom_opl_get_tod() 48 ci[2] = (cell_t)2; /* #result cells */ in prom_opl_get_tod() 49 ci[3] = (cell_t)0; /* The result: STICK */ in prom_opl_get_tod() 50 ci[4] = (cell_t)0; /* The result: time */ in prom_opl_get_tod() 69 cell_t ci[4]; in prom_opl_set_diff() 72 ci[1] = (cell_t)1; /* #argument cells */ in prom_opl_set_diff() 73 ci[2] = (cell_t)0; /* #result cells */ in prom_opl_set_diff() 74 ci[3] = (cell_t)diff; /* Arg1: time diff */ in prom_opl_set_diff() 85 cell_t ci[5]; in prom_attach_notice() [all …]
|
H A D | prom_starfire.c | 46 cell_t ci[5]; in prom_starfire_add_brd() 50 ci[1] = (cell_t)1; /* #argument cells */ in prom_starfire_add_brd() 51 ci[2] = (cell_t)1; /* #result cells */ in prom_starfire_add_brd() 69 cell_t ci[5]; in prom_starfire_rm_brd() 73 ci[1] = (cell_t)1; /* #argument cells */ in prom_starfire_rm_brd() 74 ci[2] = (cell_t)1; /* #result cells */ in prom_starfire_rm_brd() 92 cell_t ci[4]; in prom_starfire_add_cpu() 95 ci[1] = (cell_t)1; /* #argument cells */ in prom_starfire_add_cpu() 96 ci[2] = (cell_t)0; /* #result cells */ in prom_starfire_add_cpu() 111 cell_t ci[4]; in prom_starfire_rm_cpu() [all …]
|
H A D | prom_serengeti.c | 37 cell_t ci[5]; in prom_serengeti_set_console_input() 41 ci[1] = (cell_t)1; /* #argument cells */ in prom_serengeti_set_console_input() 42 ci[2] = (cell_t)1; /* #return cells */ in prom_serengeti_set_console_input() 61 cell_t ci[6]; in prom_serengeti_attach_board() 65 ci[1] = (cell_t)2; /* #argument cells */ in prom_serengeti_attach_board() 66 ci[2] = (cell_t)1; /* #result cells */ in prom_serengeti_attach_board() 85 cell_t ci[6]; in prom_serengeti_detach_board() 89 ci[1] = (cell_t)2; /* #argument cells */ in prom_serengeti_detach_board() 90 ci[2] = (cell_t)1; /* #result cells */ in prom_serengeti_detach_board() 109 cell_t ci[6]; in prom_serengeti_tunnel_switch() [all …]
|
H A D | prom_sunfire.c | 36 cell_t ci[3]; in prom_sunfire_cpu_off() 40 ci[1] = (cell_t)0; /* #argument cells */ in prom_sunfire_cpu_off() 41 ci[2] = (cell_t)0; /* #result cells */ in prom_sunfire_cpu_off() 61 cell_t ci[5]; in prom_sunfire_attach_board() 65 ci[1] = (cell_t)1; /* #argument cells */ in prom_sunfire_attach_board() 66 ci[2] = (cell_t)1; /* #result cells */ in prom_sunfire_attach_board() 84 cell_t ci[5]; in prom_sunfire_detach_board() 88 ci[1] = (cell_t)1; /* #argument cells */ in prom_sunfire_detach_board() 89 ci[2] = (cell_t)1; /* #result cells */ in prom_sunfire_detach_board()
|
H A D | prom_tlb.c | 40 cell_t ci[9]; in prom_itlb_load() 48 ci[1] = (cell_t)5; /* #argument cells */ in prom_itlb_load() 49 ci[2] = (cell_t)1; /* #result cells */ in prom_itlb_load() 53 ci[6] = (cell_t)tte_data; /* Arg4: SA2: tte_data */ in prom_itlb_load() 70 cell_t ci[9]; in prom_dtlb_load() 78 ci[1] = (cell_t)5; /* #argument cells */ in prom_dtlb_load() 79 ci[2] = (cell_t)1; /* #result cells */ in prom_dtlb_load() 83 ci[6] = (cell_t)tte_data; /* Arg4: SA2: tte_data */ in prom_dtlb_load()
|
H A D | prom_starcat.c | 55 cell_t ci[6]; in prom_starcat_switch_tunnel() 75 ci[1] = (cell_t)2; /* #argument cells */ in prom_starcat_switch_tunnel() 76 ci[2] = (cell_t)1; /* #result cells */ in prom_starcat_switch_tunnel() 111 cell_t ci[8]; in prom_starcat_iosram_read() 134 ci[1] = (cell_t)4; /* #argument cells */ in prom_starcat_iosram_read() 135 ci[2] = (cell_t)1; /* #result cells */ in prom_starcat_iosram_read() 172 cell_t ci[8]; in prom_starcat_iosram_write() 195 ci[1] = (cell_t)4; /* #argument cells */ in prom_starcat_iosram_write() 196 ci[2] = (cell_t)1; /* #result cells */ in prom_starcat_iosram_write()
|
/titanic_44/usr/src/uts/sparc/v9/sys/ |
H A D | prom_isa.h | 52 typedef unsigned long long cell_t; typedef 54 #define p1275_ptr2cell(p) ((cell_t)((uintptr_t)((void *)(p)))) 55 #define p1275_int2cell(i) ((cell_t)((int)(i))) 56 #define p1275_uint2cell(u) ((cell_t)((unsigned int)(u))) 57 #define p1275_size2cell(u) ((cell_t)((size_t)(u))) 58 #define p1275_phandle2cell(ph) ((cell_t)((unsigned int)((phandle_t)(ph)))) 59 #define p1275_dnode2cell(d) ((cell_t)((unsigned int)((pnode_t)(d)))) 60 #define p1275_ihandle2cell(ih) ((cell_t)((unsigned int)((ihandle_t)(ih)))) 62 #define p1275_ull2cell_low(ll) ((cell_t)(ll)) 63 #define p1275_uintptr2cell(i) ((cell_t)((uintptr_t)(i))) [all …]
|
/titanic_44/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_cpuctl.c | 35 cell_t ci[5]; in prom_stopcpu_bycpuid() 38 ci[1] = (cell_t)1; /* #argument cells */ in prom_stopcpu_bycpuid() 39 ci[2] = (cell_t)1; /* #result cells */ in prom_stopcpu_bycpuid() 53 cell_t ci[6]; in prom_startcpu() 56 ci[1] = (cell_t)3; /* #argument cells */ in prom_startcpu() 57 ci[2] = (cell_t)0; /* #result cells */ in prom_startcpu() 72 cell_t ci[7]; in prom_startcpu_bycpuid() 75 ci[1] = (cell_t)3; /* #argument cells */ in prom_startcpu_bycpuid() 76 ci[2] = (cell_t)1; /* #result cells */ in prom_startcpu_bycpuid() 91 cell_t ci[5]; in prom_wakeupcpu() [all …]
|
H A D | prom_fio.c | 35 cell_t ci[10]; in prom_fopen() 54 ci[1] = (cell_t)4; /* #argument cells */ in prom_fopen() 55 ci[2] = (cell_t)3; /* #result cells */ in prom_fopen() 82 cell_t ci[10]; in prom_volopen() 101 ci[1] = (cell_t)4; /* #argument cells */ in prom_volopen() 102 ci[2] = (cell_t)3; /* #result cells */ in prom_volopen() 129 cell_t ci[10]; in prom_fseek() 132 ci[1] = (cell_t)4; /* #argument cells */ in prom_fseek() 133 ci[2] = (cell_t)3; /* #result cells */ in prom_fseek() 156 cell_t ci[10]; in prom_fread() [all …]
|
H A D | prom_mmu.c | 66 cell_t ci[11]; in prom_map_phys() 74 ci[1] = (cell_t)7; /* #argument cells */ in prom_map_phys() 75 ci[2] = (cell_t)1; /* #result cells */ in prom_map_phys() 107 cell_t ci[9]; in prom_allocate_virt() 118 ci[1] = (cell_t)4; /* #argument cells */ in prom_allocate_virt() 119 ci[2] = (cell_t)2; /* #result cells */ in prom_allocate_virt() 142 cell_t ci[10]; in prom_claim_virt() 150 ci[1] = (cell_t)5; /* #argument cells */ in prom_claim_virt() 151 ci[2] = (cell_t)2; /* #result cells */ in prom_claim_virt() 154 ci[5] = (cell_t)0; /* Arg3: align */ in prom_claim_virt() [all …]
|
H A D | prom_efcode.c | 42 cell_t ci[5]; in prom_get_fcode_size() 50 ci[1] = (cell_t)1; /* 1 input arg: str */ in prom_get_fcode_size() 51 ci[2] = (cell_t)1; /* 1 output result: len or zero */ in prom_get_fcode_size() 53 ci[4] = (cell_t)0; in prom_get_fcode_size() 70 cell_t ci[6]; in prom_get_fcode() 78 ci[1] = (cell_t)2; /* 2 input args: str + buf */ in prom_get_fcode() 79 ci[2] = (cell_t)1; /* 1 output result: true or false */ in prom_get_fcode() 82 ci[5] = (cell_t)0; in prom_get_fcode()
|
H A D | prom_mem.c | 66 cell_t ci[10]; in prom_allocate_phys() 77 ci[1] = (cell_t)4; /* #argument cells */ in prom_allocate_phys() 78 ci[2] = (cell_t)3; /* #result cells */ in prom_allocate_phys() 108 cell_t ci[10]; in prom_claim_phys() 116 ci[1] = (cell_t)6; /* #argument cells */ in prom_claim_phys() 117 ci[2] = (cell_t)1; /* #result cells */ in prom_claim_phys() 145 cell_t ci[8]; in prom_free_phys() 152 ci[1] = (cell_t)5; /* #argument cells */ in prom_free_phys() 153 ci[2] = (cell_t)0; /* #return cells */ in prom_free_phys()
|
H A D | prom_alloc.c | 111 cell_t ci[7]; in prom_malloc() 115 ci[1] = (cell_t)3; /* #argument cells */ in prom_malloc() 116 ci[2] = (cell_t)1; /* #result cells */ in prom_malloc() 134 cell_t ci[5]; in prom_free() 137 ci[1] = (cell_t)2; /* #argument cells */ in prom_free() 138 ci[2] = (cell_t)0; /* #result cells */ in prom_free()
|
H A D | prom_getunum.c | 42 cell_t ci[12]; in prom_get_unum() 51 ci[1] = (cell_t)7; /* #argument cells */ in prom_get_unum() 52 ci[2] = (cell_t)2; /* #result cells */ in prom_get_unum() 60 ci[10] = (cell_t)-1; /* ret1: catch result */ in prom_get_unum() 61 ci[11] = (cell_t)-1; /* ret2: length */ in prom_get_unum()
|
H A D | prom_heartbeat.c | 39 cell_t ci[5]; in prom_heartbeat() 42 ci[1] = (cell_t)1; /* #argument cells */ in prom_heartbeat() 43 ci[2] = (cell_t)1; /* #result cells */ in prom_heartbeat() 45 ci[4] = (cell_t)0; /* Prime the result */ in prom_heartbeat()
|
/titanic_44/usr/src/psm/promif/ieee1275/sun4v/ |
H A D | prom_sun4v_api_version.c | 40 cell_t ci[8]; in prom_set_sun4v_api_version() 46 ci[1] = (cell_t)3; /* #argument cells */ in prom_set_sun4v_api_version() 47 ci[2] = (cell_t)2; /* #result cells */ in prom_set_sun4v_api_version() 48 ci[3] = (cell_t)api_group; /* Arg1: api_group */ in prom_set_sun4v_api_version() 49 ci[4] = (cell_t)major; /* Arg2: major */ in prom_set_sun4v_api_version() 50 ci[5] = (cell_t)minor; /* Arg3: minor */ in prom_set_sun4v_api_version() 51 ci[6] = (cell_t)-1; /* Res1: status */ in prom_set_sun4v_api_version() 52 ci[7] = (cell_t)-1; /* Res2: Supported minor */ in prom_set_sun4v_api_version() 70 cell_t ci[7]; in prom_get_sun4v_api_version() 76 ci[1] = (cell_t)1; /* #argument cells */ in prom_get_sun4v_api_version() [all …]
|
/titanic_44/usr/src/uts/sun4v/promif/ |
H A D | promif_node.c | 55 cell_t *ci = (cell_t *)p; in promif_finddevice() 79 cell_t *ci = (cell_t *)p; in promif_finddevice() 105 cell_t *ci = (cell_t *)p; in promif_nextnode() 120 cell_t *ci = (cell_t *)p; in promif_childnode() 135 cell_t *ci = (cell_t *)p; in promif_parentnode()
|
H A D | promif_asr.c | 44 cell_t *ci = (cell_t *)p; in promif_asr_list_keys_len() 62 cell_t *ci = (cell_t *)p; in promif_asr_export_len()
|
H A D | promif_prop.c | 239 cell_t *ci = (cell_t *)p; in promif_setprop() 270 cell_t *ci = (cell_t *)p; in promif_getprop() 292 cell_t *ci = (cell_t *)p; in promif_getproplen() 312 cell_t *ci = (cell_t *)p; in promif_nextprop()
|
/titanic_44/usr/src/uts/sparc/os/ |
H A D | polled_io.c | 76 static void polled_give_input(cell_t *cif); 77 static void polled_read(cell_t *cif); 78 static void polled_take_input(cell_t *cif); 80 static void polled_write(cell_t *cif); 93 extern void add_vx_handler(char *name, int flag, void (*func)(cell_t *)); 339 polled_give_input(cell_t *cif) in polled_give_input() 380 polled_read(cell_t *cif) in polled_read() 537 polled_take_input(cell_t *cif) in polled_take_input() 576 polled_write(cell_t *cif) in polled_write()
|