Home
last modified time | relevance | path

Searched refs:st_p (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/arch/sparc64/prom/
Dconsole.c81 int st_p; in prom_query_input_device() local
84 st_p = prom_inst2pkg(prom_stdin); in prom_query_input_device()
85 if(prom_node_has_property(st_p, "keyboard")) in prom_query_input_device()
87 prom_getproperty(st_p, "device_type", propb, sizeof(propb)); in prom_query_input_device()
92 st_p = prom_finddevice ("/options"); in prom_query_input_device()
93 prom_getproperty(st_p, "input-device", propb, sizeof(propb)); in prom_query_input_device()
116 int st_p; in prom_query_output_device() local
120 st_p = prom_inst2pkg(prom_stdout); in prom_query_output_device()
121 propl = prom_getproperty(st_p, "device_type", propb, sizeof(propb)); in prom_query_output_device()
129 st_p = prom_finddevice ("/options"); in prom_query_output_device()
[all …]
/linux-2.4.37.9/arch/sparc/prom/
Dconsole.c111 int st_p; in prom_query_input_device() local
129 st_p = (*romvec->pv_v2devops.v2_inst2pkg)(*romvec->pv_v2bootargs.fd_stdin); in prom_query_input_device()
132 if(prom_node_has_property(st_p, "keyboard")) in prom_query_input_device()
134 if (prom_getproperty(st_p, "name", propb, sizeof(propb)) != -1) { in prom_query_input_device()
138 if (prom_getproperty(st_p, "device_type", propb, sizeof(propb)) != -1) { in prom_query_input_device()
161 int st_p; in prom_query_output_device() local
178 st_p = (*romvec->pv_v2devops.v2_inst2pkg)(*romvec->pv_v2bootargs.fd_stdout); in prom_query_output_device()
181 propl = prom_getproperty(st_p, "device_type", propb, sizeof(propb)); in prom_query_output_device()
/linux-2.4.37.9/arch/m68k/sun3/prom/
Dconsole.c69 int st_p;
87 st_p = (*romvec->pv_v2devops.v2_inst2pkg)(*romvec->pv_v2bootargs.fd_stdin);
92 if(prom_node_has_property(st_p, "keyboard"))
94 prom_getproperty(st_p, "device_type", propb, sizeof(propb));
120 int st_p;
137 st_p = (*romvec->pv_v2devops.v2_inst2pkg)(*romvec->pv_v2bootargs.fd_stdout);
142 propl = prom_getproperty(st_p, "device_type", propb, sizeof(propb));