Searched refs:str (Results 1 - 25 of 474) sorted by relevance

1234567891011>>

/arch/x86/boot/
H A Dmkcpustr.c26 const char *str; local
32 str = x86_cap_flags[i*32+j];
38 if (!str)
39 str = "";
41 i, j, str);
42 } else if (str) {
46 i, j, i, j, str);
H A Dprintf.c43 static char *number(char *str, long num, int base, int size, int precision, argument
92 *str++ = ' ';
94 *str++ = sign;
97 *str++ = '0';
99 *str++ = '0';
100 *str++ = ('X' | locase);
105 *str++ = c;
107 *str++ = '0';
109 *str++ = tmp[i];
111 *str
120 char *str; local
[all...]
/arch/mips/kernel/
H A Dsegment.c15 static void build_segment_config(char *str, unsigned int cfg) argument
24 str += sprintf(str, "%-5s", am_str[am]);
31 str += sprintf(str, " %03lx",
33 str += sprintf(str, " %01ld",
36 str += sprintf(str, " UND");
37 str
48 char str[42]; local
[all...]
/arch/hexagon/include/asm/
H A Dtraps.h26 extern int die(const char *str, struct pt_regs *regs, long err);
27 extern int die_if_kernel(char *str, struct pt_regs *regs, long err);
/arch/xtensa/platforms/xtfpga/include/platform/
H A Dlcd.h15 void lcd_disp_at_pos(char *str, unsigned char pos);
/arch/arm/lib/
H A Dtestchangebit.S15 testop _test_and_change_bit, eor, str
/arch/alpha/lib/
H A Dsrm_puts.c9 srm_puts(const char *str, long len) argument
18 written = callback_puts(0, str, remaining);
20 str += written;
/arch/um/drivers/
H A Dmconsole_kern.h27 #define CONFIG_CHUNK(str, size, current, chunk, end) \
31 str = NULL; \
32 if(str != NULL){ \
33 strcpy(str, chunk); \
34 str += strlen(chunk); \
H A Dstderr_console.c38 static int stderr_setup(char *str) argument
40 if (!str)
42 use_stderr_console = simple_strtoul(str,&str,0);
H A Dfd.c19 char str[sizeof("1234567890\0")]; member in struct:fd_chan
22 static void *fd_init(char *str, int device, const struct chan_opts *opts) argument
28 if (*str != ':') {
33 str++;
34 n = strtoul(str, &end, 0);
35 if ((*end != '\0') || (end == str)) {
37 "'%s'\n", str);
64 sprintf(data->str, "%d", data->fd);
65 *dev_out = data->str;
H A Dslirp_kern.c71 static int slirp_setup(char *str, char **mac_out, void *data) argument
78 str = split_if_spec(str, mac_out, NULL);
80 if (str == NULL) /* no command line given after MAC addr */
89 init->argw.argv[i++] = str;
90 while(*str && *str!=',') {
91 if (*str == '_')
92 *str=' ';
93 str
[all...]
/arch/mips/emma/markeins/
H A Dled.c33 void markeins_led(const char *str) argument
36 int len = strlen(str);
44 emma2rh_out8(LED_BASE + i, str[i]);
48 str[i]);
53 char str[10]; local
55 sprintf(str, "%08x", val);
56 markeins_led(str);
/arch/blackfin/include/asm/
H A Dearly_printk.h23 #define early_shadow_puts(str) early_shadow_write(NULL, str, strlen(str))
/arch/c6x/kernel/
H A Dsoc.c34 static int __init get_mac_addr_from_cmdline(char *str) argument
38 for (count = 0; count < 6 && *str; count++, str += 3) {
39 if (!isxdigit(str[0]) || !isxdigit(str[1]))
41 if (str[2] != ((count < 5) ? ':' : '\0'))
46 val |= isdigit(str[i]) ?
47 str[i] - '0' : toupper(str[i]) - 'A' + 10;
/arch/x86/mm/
H A Dsetup_nx.c18 static int __init noexec_setup(char *str) argument
20 if (!str)
22 if (!strncmp(str, "on", 2)) {
24 } else if (!strncmp(str, "off", 3)) {
/arch/x86/kernel/acpi/
H A Dsleep.c114 static int __init acpi_sleep_setup(char *str) argument
116 while ((str != NULL) && (*str != '\0')) {
117 if (strncmp(str, "s3_bios", 7) == 0)
119 if (strncmp(str, "s3_mode", 7) == 0)
121 if (strncmp(str, "s3_beep", 7) == 0)
124 if (strncmp(str, "s4_nohwsig", 10) == 0)
127 if (strncmp(str, "nonvs", 5) == 0)
129 if (strncmp(str, "nonvs_s3", 8) == 0)
131 if (strncmp(str, "old_orderin
[all...]
/arch/powerpc/boot/
H A Dstdio.c73 static char * number(char * str, unsigned long long num, int base, int size, int precision, int type) argument
117 *str++ = ' ';
119 *str++ = sign;
122 *str++ = '0';
124 *str++ = '0';
125 *str++ = digits[33];
130 *str++ = c;
132 *str++ = '0';
134 *str++ = tmp[i];
136 *str
145 char * str; local
[all...]
/arch/powerpc/xmon/
H A Dnonstdio.c91 char *xmon_gets(char *str, int nb) argument
96 for (p = str; p < str + nb - 1; ) {
99 if (p == str)
108 return str;
129 void xmon_puts(const char *str) argument
131 xmon_write(str, strlen(str));
/arch/mips/loongson/common/
H A Dmachtype.c48 char *p, str[MACHTYPE_LEN + 1]; local
59 strncpy(str, p, MACHTYPE_LEN);
60 str[MACHTYPE_LEN] = '\0';
61 p = strstr(str, " ");
66 if (strstr(system_types[machtype], str)) {
/arch/arm64/kvm/
H A Dvgic-v2-switch.S67 str w4, [x3, #VGIC_V2_CPU_HCR]
68 str w5, [x3, #VGIC_V2_CPU_VMCR]
69 str w6, [x3, #VGIC_V2_CPU_MISR]
70 CPU_LE( str w7, [x3, #VGIC_V2_CPU_EISR] )
71 CPU_LE( str w8, [x3, #(VGIC_V2_CPU_EISR + 4)] )
72 CPU_LE( str w9, [x3, #VGIC_V2_CPU_ELRSR] )
73 CPU_LE( str w10, [x3, #(VGIC_V2_CPU_ELRSR + 4)] )
74 CPU_BE( str w7, [x3, #(VGIC_V2_CPU_EISR + 4)] )
75 CPU_BE( str w8, [x3, #VGIC_V2_CPU_EISR] )
76 CPU_BE( str w
[all...]
/arch/sh/boards/mach-sdk7786/
H A Dnmi.c28 static int __init nmi_mode_setup(char *str) argument
30 if (!str)
33 if (strcmp(str, "manual") == 0)
35 else if (strcmp(str, "aux") == 0)
37 else if (strcmp(str, "masked") == 0)
39 else if (strcmp(str, "any") == 0)
43 pr_warning("Unknown NMI mode %s\n", str);
/arch/mips/lasat/
H A Dpicvue.h23 void pvc_write_string(const unsigned char *str, u8 addr, int line);
24 void pvc_write_string_centered(const unsigned char *str, int line);
25 void pvc_dump_string(const unsigned char *str);
/arch/sh/drivers/pci/
H A Dfixups-sdk7786.c28 char *__init pcibios_setup(char *str) argument
30 if (strcmp(str, "slot4en") == 0) {
35 return str;
/arch/ia64/kernel/
H A Dsal.c47 const char *str; local
49 case 0: str = "Call completed without error"; break;
50 case 1: str = "Effect a warm boot of the system to complete "
52 case -1: str = "Not implemented"; break;
53 case -2: str = "Invalid argument"; break;
54 case -3: str = "Call completed with error"; break;
55 case -4: str = "Virtual address not registered"; break;
56 case -5: str = "No information available"; break;
57 case -6: str = "Insufficient space to add the entry"; break;
58 case -7: str
233 force_pal_cache_flush(char *str) argument
[all...]
/arch/c6x/include/asm/
H A Dbug.h19 extern void die(char *str, struct pt_regs *fp, int nr);

Completed in 513 milliseconds

1234567891011>>