Searched refs:propb (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/arch/sparc64/prom/ |
D | console.c | 82 char propb[64]; in prom_query_input_device() local 87 prom_getproperty(st_p, "device_type", propb, sizeof(propb)); in prom_query_input_device() 88 if(strncmp(propb, "serial", 6)) in prom_query_input_device() 91 memset(propb, 0, sizeof(propb)); in prom_query_input_device() 93 prom_getproperty(st_p, "input-device", propb, sizeof(propb)); in prom_query_input_device() 99 if (!strncmp(propb, "keyboard", 8)) in prom_query_input_device() 102 if (strncmp (propb, "tty", 3) || !propb[3]) in prom_query_input_device() 104 switch (propb[3]) { in prom_query_input_device() 117 char propb[64]; in prom_query_output_device() local 121 propl = prom_getproperty(st_p, "device_type", propb, sizeof(propb)); in prom_query_output_device() [all …]
|
/linux-2.4.37.9/arch/sparc/prom/ |
D | console.c | 112 char propb[64]; in prom_query_input_device() local 134 if (prom_getproperty(st_p, "name", propb, sizeof(propb)) != -1) { in prom_query_input_device() 135 if(strncmp(propb, "keyboard", sizeof("serial")) == 0) in prom_query_input_device() 138 if (prom_getproperty(st_p, "device_type", propb, sizeof(propb)) != -1) { in prom_query_input_device() 139 if(strncmp(propb, "serial", sizeof("serial"))) in prom_query_input_device() 142 prom_getproperty(prom_root_node, "stdin-path", propb, sizeof(propb)); in prom_query_input_device() 143 p = propb; in prom_query_input_device() 162 char propb[64]; in prom_query_output_device() local 181 propl = prom_getproperty(st_p, "device_type", propb, sizeof(propb)); in prom_query_output_device() 183 strncmp("display", propb, sizeof("display")) == 0) in prom_query_output_device() [all …]
|
/linux-2.4.37.9/arch/m68k/sun3/prom/ |
D | console.c | 70 char propb[64]; 94 prom_getproperty(st_p, "device_type", propb, sizeof(propb)); 95 if(strncmp(propb, "serial", sizeof("serial"))) 97 prom_getproperty(prom_root_node, "stdin-path", propb, sizeof(propb)); 98 p = propb; 121 char propb[64]; 142 propl = prom_getproperty(st_p, "device_type", propb, sizeof(propb)); 144 strncmp("display", propb, sizeof("display")) == 0) 149 if(strncmp("serial", propb, sizeof("serial"))) 151 prom_getproperty(prom_root_node, "stdout-path", propb, sizeof(propb)); [all …]
|