/arch/x86/boot/ |
D | printf.c | 43 static char *number(char *str, long num, int base, int size, int precision, in number() argument 92 *str++ = ' '; in number() 94 *str++ = sign; in number() 97 *str++ = '0'; in number() 99 *str++ = '0'; in number() 100 *str++ = ('X' | locase); in number() 105 *str++ = c; in number() 107 *str++ = '0'; in number() 109 *str++ = tmp[i]; in number() 111 *str++ = ' '; in number() [all …]
|
D | mkcpustr.c | 23 const char *str; in main() local 29 str = x86_cap_flags[i*32+j]; in main() 35 if (!str) in main() 36 str = ""; in main() 38 i, j, str); in main() 39 } else if (str) { in main() 43 i, j, i, j, str); in main()
|
/arch/powerpc/boot/ |
D | stdio.c | 59 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument 103 *str++ = ' '; in number() 105 *str++ = sign; in number() 108 *str++ = '0'; in number() 110 *str++ = '0'; in number() 111 *str++ = digits[33]; in number() 116 *str++ = c; in number() 118 *str++ = '0'; in number() 120 *str++ = tmp[i]; in number() 122 *str++ = ' '; in number() [all …]
|
/arch/x86/kernel/acpi/ |
D | sleep.c | 113 static int __init acpi_sleep_setup(char *str) in acpi_sleep_setup() argument 115 while ((str != NULL) && (*str != '\0')) { in acpi_sleep_setup() 116 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup() 118 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup() 120 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup() 123 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup() 126 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup() 128 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup() 130 str = strchr(str, ','); in acpi_sleep_setup() 131 if (str != NULL) in acpi_sleep_setup() [all …]
|
/arch/mips/emma/markeins/ |
D | led.c | 33 void markeins_led(const char *str) in markeins_led() argument 36 int len = strlen(str); in markeins_led() 44 emma2rh_out8(LED_BASE + i, str[i]); in markeins_led() 48 str[i]); in markeins_led() 53 char str[10]; in markeins_led_hex() local 55 sprintf(str, "%08x", val); in markeins_led_hex() 56 markeins_led(str); in markeins_led_hex()
|
/arch/c6x/kernel/ |
D | soc.c | 34 static int __init get_mac_addr_from_cmdline(char *str) in get_mac_addr_from_cmdline() argument 38 for (count = 0; count < 6 && *str; count++, str += 3) { in get_mac_addr_from_cmdline() 39 if (!isxdigit(str[0]) || !isxdigit(str[1])) in get_mac_addr_from_cmdline() 41 if (str[2] != ((count < 5) ? ':' : '\0')) in get_mac_addr_from_cmdline() 46 val |= isdigit(str[i]) ? in get_mac_addr_from_cmdline() 47 str[i] - '0' : toupper(str[i]) - 'A' + 10; in get_mac_addr_from_cmdline()
|
/arch/ia64/kernel/ |
D | sal.c | 47 const char *str; in ia64_sal_strerror() local 49 case 0: str = "Call completed without error"; break; in ia64_sal_strerror() 50 case 1: str = "Effect a warm boot of the system to complete " in ia64_sal_strerror() 52 case -1: str = "Not implemented"; break; in ia64_sal_strerror() 53 case -2: str = "Invalid argument"; break; in ia64_sal_strerror() 54 case -3: str = "Call completed with error"; break; in ia64_sal_strerror() 55 case -4: str = "Virtual address not registered"; break; in ia64_sal_strerror() 56 case -5: str = "No information available"; break; in ia64_sal_strerror() 57 case -6: str = "Insufficient space to add the entry"; break; in ia64_sal_strerror() 58 case -7: str = "Invalid entry_addr value"; break; in ia64_sal_strerror() [all …]
|
/arch/um/drivers/ |
D | slirp_kern.c | 71 static int slirp_setup(char *str, char **mac_out, void *data) in slirp_setup() argument 78 str = split_if_spec(str, mac_out, NULL); in slirp_setup() 80 if (str == NULL) /* no command line given after MAC addr */ in slirp_setup() 89 init->argw.argv[i++] = str; in slirp_setup() 90 while(*str && *str!=',') { in slirp_setup() 91 if (*str == '_') in slirp_setup() 92 *str=' '; in slirp_setup() 93 str++; in slirp_setup() 95 if (*str != ',') in slirp_setup() 97 *str++ = '\0'; in slirp_setup()
|
D | fd.c | 19 char str[sizeof("1234567890\0")]; member 22 static void *fd_init(char *str, int device, const struct chan_opts *opts) in fd_init() argument 28 if (*str != ':') { in fd_init() 33 str++; in fd_init() 34 n = strtoul(str, &end, 0); in fd_init() 35 if ((*end != '\0') || (end == str)) { in fd_init() 37 "'%s'\n", str); in fd_init() 64 sprintf(data->str, "%d", data->fd); in fd_open() 65 *dev_out = data->str; in fd_open()
|
D | mconsole_kern.h | 27 #define CONFIG_CHUNK(str, size, current, chunk, end) \ argument 31 str = NULL; \ 32 if(str != NULL){ \ 33 strcpy(str, chunk); \ 34 str += strlen(chunk); \
|
/arch/powerpc/xmon/ |
D | nonstdio.c | 26 int xmon_expect(const char *str, unsigned long timeout) in xmon_expect() argument 49 } while (strstr(line, str) == NULL); in xmon_expect() 104 char *xmon_gets(char *str, int nb) in xmon_gets() argument 109 for (p = str; p < str + nb - 1; ) { in xmon_gets() 112 if (p == str) in xmon_gets() 121 return str; in xmon_gets() 136 void xmon_puts(const char *str) in xmon_puts() argument 138 xmon_write(str, strlen(str)); in xmon_puts()
|
/arch/unicore32/kernel/ |
D | traps.c | 64 static void dump_mem(const char *lvl, const char *str, unsigned long bottom, in dump_mem() argument 80 lvl, str, bottom, top); in dump_mem() 84 char str[sizeof(" 12345678") * 8 + 1]; in dump_mem() local 86 memset(str, ' ', sizeof(str)); in dump_mem() 87 str[sizeof(str) - 1] = '\0'; in dump_mem() 93 sprintf(str + i * 9, " %08lx", val); in dump_mem() 95 sprintf(str + i * 9, " ????????"); in dump_mem() 98 printk(KERN_DEFAULT "%s%04lx:%s\n", lvl, first & 0xffff, str); in dump_mem() 109 char str[sizeof("00000000 ") * 5 + 2 + 1], *p = str; in dump_instr() local 133 printk(KERN_DEFAULT "%sCode: %s\n", lvl, str); in dump_instr() [all …]
|
/arch/sh/boards/mach-sdk7786/ |
D | nmi.c | 28 static int __init nmi_mode_setup(char *str) in nmi_mode_setup() argument 30 if (!str) in nmi_mode_setup() 33 if (strcmp(str, "manual") == 0) in nmi_mode_setup() 35 else if (strcmp(str, "aux") == 0) in nmi_mode_setup() 37 else if (strcmp(str, "masked") == 0) in nmi_mode_setup() 39 else if (strcmp(str, "any") == 0) in nmi_mode_setup() 43 pr_warning("Unknown NMI mode %s\n", str); in nmi_mode_setup()
|
/arch/x86/pci/ |
D | common.c | 501 char * __devinit pcibios_setup(char *str) in pcibios_setup() argument 503 if (!strcmp(str, "off")) { in pcibios_setup() 506 } else if (!strcmp(str, "bfsort")) { in pcibios_setup() 509 } else if (!strcmp(str, "nobfsort")) { in pcibios_setup() 514 else if (!strcmp(str, "bios")) { in pcibios_setup() 517 } else if (!strcmp(str, "nobios")) { in pcibios_setup() 520 } else if (!strcmp(str, "biosirq")) { in pcibios_setup() 523 } else if (!strncmp(str, "pirqaddr=", 9)) { in pcibios_setup() 524 pirq_table_addr = simple_strtoul(str+9, NULL, 0); in pcibios_setup() 529 else if (!strcmp(str, "conf1")) { in pcibios_setup() [all …]
|
/arch/arm/lib/ |
D | io-writesw-armv3.S | 29 str r3, [r0] 48 str ip, [r0] 52 str ip, [r0] 56 str ip, [r0] 60 str ip, [r0] 64 str ip, [r0] 68 str ip, [r0] 72 str ip, [r0] 76 str ip, [r0] 91 str ip, [r0] [all …]
|
/arch/arm/mach-at91/ |
D | pm_slowclock.S | 136 str tmp1, [sdramc, #AT91RM9200_SDRAMC_SRR] 148 str tmp1, .saved_sam9_lpr 160 str tmp1, [sdramc, #AT91_DDRSDRC_LPR] 171 str tmp1, .saved_sam9_lpr 175 str tmp1, [sdramc, #AT91_SDRAMC_LPR] 180 str tmp1, .saved_mckr 186 str tmp1, [pmc, #AT91_PMC_MCKR] 197 str tmp1, [pmc, #AT91_PMC_MCKR] 204 str tmp1, .saved_pllar 208 str tmp1, [pmc, #AT91_CKGR_PLLAR] [all …]
|
/arch/arm/mach-davinci/ |
D | sleep.S | 68 str ip, [r0, #DDR2_SDRCR_OFFSET] 72 str ip, [r0, #DDR2_SDRCR_OFFSET] 87 str ip, [r3, #PLLDIV1] 93 str ip, [r3, #PLLCTL] 103 str ip, [r3, #PLLCTL] 109 str ip, [r4] 116 str ip, [r4] 123 str ip, [r3, #PLLCTL] 128 str ip, [r3, #PLLCTL] 137 str ip, [r3, #PLLCTL] [all …]
|
/arch/arm/plat-s5p/ |
D | sleep.S | 62 str r2, [r1, #L2X0_AUX_CTRL] 64 str r2, [r1, #L2X0_TAG_LATENCY_CTRL] 66 str r2, [r1, #L2X0_DATA_LATENCY_CTRL] 68 str r2, [r1, #L2X0_PREFETCH_CTRL] 70 str r2, [r1, #L2X0_POWER_CTRL] 72 str r2, [r1, #L2X0_CTRL]
|
/arch/mips/sibyte/common/ |
D | cfe_console.c | 12 static void cfe_console_write(struct console *cons, const char *str, in cfe_console_write() argument 18 if (!str[i]) in cfe_console_write() 21 if (str[i] == '\n') { in cfe_console_write() 23 written = cfe_write(cfe_cons_handle, &str[last], i-last); in cfe_console_write() 34 written = cfe_write(cfe_cons_handle, &str[last], count-last); in cfe_console_write() 43 static int cfe_console_setup(struct console *cons, char *str) in cfe_console_setup() argument
|
/arch/mips/loongson/common/ |
D | machtype.c | 44 char *p, str[MACHTYPE_LEN + 1]; in prom_init_machtype() local 55 strncpy(str, p, MACHTYPE_LEN); in prom_init_machtype() 56 str[MACHTYPE_LEN] = '\0'; in prom_init_machtype() 57 p = strstr(str, " "); in prom_init_machtype() 62 if (strstr(system_types[machtype], str)) { in prom_init_machtype()
|
/arch/mips/kernel/ |
D | mips-mt.c | 24 static int __init maxvpes(char *str) in maxvpes() argument 26 get_option(&str, &vpelimit); in maxvpes() 35 static int __init maxtcs(char *str) in maxtcs() argument 37 get_option(&str, &tclimit); in maxtcs() 140 static int __init rpsctl_set(char *str) in rpsctl_set() argument 142 get_option(&str, &mt_opt_rpsctl); in rpsctl_set() 147 static int __init nblsu_set(char *str) in nblsu_set() argument 149 get_option(&str, &mt_opt_nblsu); in nblsu_set() 154 static int __init config7_set(char *str) in config7_set() argument 156 get_option(&str, &mt_opt_config7); in config7_set() [all …]
|
/arch/cris/arch-v32/mach-fs/ |
D | vcs_hook.c | 40 char *str; in hook_call() local 45 str = (char *)va_arg(ap, unsigned); in hook_call() 48 HOOK_DATA_BYTE(8 + i) = str[i]; in hook_call() 83 void print_str(const char *str) in print_str() argument 87 for (i = 1; str[i]; i++) ; in print_str() 88 hook_call(hook_print_str, i, str); in print_str()
|
/arch/mips/alchemy/common/ |
D | prom.c | 92 static inline void str2eaddr(unsigned char *ea, unsigned char *str) in str2eaddr() argument 99 if ((*str == '.') || (*str == ':')) in str2eaddr() 100 str++; in str2eaddr() 101 num = str2hexnum(*str++) << 4; in str2eaddr() 102 num |= str2hexnum(*str++); in str2eaddr()
|
/arch/mips/pnx8550/common/ |
D | prom.c | 81 inline void str2eaddr(unsigned char *ea, unsigned char *str) in str2eaddr() argument 88 if((*str == '.') || (*str == ':')) in str2eaddr() 89 str++; in str2eaddr() 90 num = str2hexnum(*str++) << 4; in str2eaddr() 91 num |= (str2hexnum(*str++)); in str2eaddr()
|
/arch/x86/mm/ |
D | setup_nx.c | 18 static int __init noexec_setup(char *str) in noexec_setup() argument 20 if (!str) in noexec_setup() 22 if (!strncmp(str, "on", 2)) { in noexec_setup() 24 } else if (!strncmp(str, "off", 3)) { in noexec_setup()
|