/drivers/md/ |
H A D | dm-ioctl.c | 86 * We're not really concerned with the str hash function being 89 static unsigned int hash_str(const char *str) argument 94 while (*str) 95 h = (h + (unsigned int) *str++) * hash_mult; 103 static struct hash_cell *__get_name_cell(const char *str) argument 106 unsigned int h = hash_str(str); 109 if (!strcmp(hc->name, str)) { 117 static struct hash_cell *__get_uuid_cell(const char *str) argument 120 unsigned int h = hash_str(str); 123 if (!strcmp(hc->uuid, str)) { 837 invalid_str(char *str, void *end) argument [all...] |
/drivers/misc/ |
H A D | arm-charlcd.c | 206 static void charlcd_4bit_print(struct charlcd *lcd, int line, const char *str) argument 227 for (i = 0; i < strlen(str) && i < 0x28; i++) 228 charlcd_4bit_char(lcd, str[i]);
|
/drivers/misc/iwmc3200top/ |
H A D | log.c | 72 static int log_msg_format_hex(char *str, int slen, u8 *ibuf, argument 80 str[pos] = pref[i]; 83 len = snprintf(&str[pos], slen - pos - 1, " %2.2X", ibuf[i]);
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | param.c | 184 struct e1000_opt_list { int i; char *str; } *p; member in struct:e1000_option::__anon2328::__anon2330::e1000_opt_list 222 if (ent->str[0] != '\0') 223 e_info("%s\n", ent->str);
|
/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_param.c | 196 const char *str; member in struct:ixgb_option::__anon2369::__anon2371::ixgb_opt_list 234 if (ent->str[0] != '\0') 235 pr_info("%s\n", ent->str);
|
/drivers/pnp/pnpacpi/ |
H A D | core.c | 378 static int __init pnpacpi_setup(char *str) argument 380 if (str == NULL) 382 if (!strncmp(str, "off", 3))
|
/drivers/iommu/ |
H A D | omap-iommu-debug.c | 134 const char *str = "%d: %08x %08x\n"; \ 135 bytes = snprintf(p, maxcol, str, lv, da, val); \ 239 const char *str = "%3d %08x-%08x %6x %8x\n"; local 243 p += snprintf(p, maxcol, str,
|
/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac_ethtool.c | 30 const char str[ETH_GSTRING_LEN]; member in struct:__anon2735
|
/drivers/net/hamradio/ |
H A D | baycom_par.c | 556 static int __init baycom_par_setup(char *str) argument 563 str = get_options(str, 2, ints); 566 mode[nr_dev] = str;
|
/drivers/pnp/ |
H A D | interface.c | 410 char *str = buf; local 415 str += sprintf(str, "%s\n", pos->id); 418 return (str - buf);
|
/drivers/staging/tidspbridge/dynload/ |
H A D | tramp.c | 131 u32 str_len, char *str) 167 new_string->str[i] = str[i]; 179 char *str) 184 u32 str_len = strlen(str); 190 if (str_len != strlen(cur_str->str)) 198 if (str[i] != cur_str->str[i]) 241 for (tmp = cur_string->str; 130 priv_tramp_string_create(struct dload_state *dlthis, u32 str_len, char *str) argument 178 priv_tramp_string_find(struct dload_state *dlthis, char *str) argument
|
/drivers/atm/ |
H A D | solos-pci.c | 342 char *str, *end, *state_str, *snr, *attn; local 348 str = next_string(skb); 349 if (!str) 352 ver = simple_strtol(str, NULL, 10); 359 str = next_string(skb); 360 if (!str) 362 if (!strcmp(str, "ERROR")) { 368 rate_down = simple_strtol(str, &end, 10); 372 str = next_string(skb); 373 if (!str) [all...] |
/drivers/usb/gadget/ |
H A D | composite.c | 881 const char *str; local 925 str = iManufacturer ?: composite->iManufacturer ?: 928 str = iProduct ?: composite->iProduct; 930 str = iSerialNumber; 932 str = NULL; 933 if (str) { 936 .strings = &(struct usb_string) { 0xff, str } 996 * @str: an array of usb_string objects to assign numbers to 1009 int usb_string_ids_tab(struct usb_composite_dev *cdev, struct usb_string *str) argument 1013 for (; str [all...] |
/drivers/scsi/aacraid/ |
H A D | aachba.c | 761 struct scsi_inq *str; local 763 str = (struct scsi_inq *)(data); /* cast data to scsi inq block */ 764 memset(str, ' ', sizeof(*str)); 770 inqstrcpy("SMC", str->vid); 772 c = sizeof(str->vid); 778 str->vid); 787 if (strlen(cp) > sizeof(str->pid)) { 788 c = cp[sizeof(str->pid)]; 789 cp[sizeof(str 2961 char *str; member in struct:aac_srb_status_info [all...] |
/drivers/char/ |
H A D | lp.c | 834 static int __init lp_setup (char *str) argument 839 if (get_option(&str, &x)) { 847 } else if (!strncmp(str, "parport", 7)) { 848 int n = simple_strtoul(str+7, NULL, 10); 853 str); 854 } else if (!strcmp(str, "auto")) { 856 } else if (!strcmp(str, "none")) { 858 } else if (!strcmp(str, "reset")) {
|
/drivers/message/i2o/ |
H A D | debug.c | 16 void i2o_report_status(const char *severity, const char *str, argument 27 printk("%s%s: ", severity, str);
|
/drivers/scsi/ |
H A D | mac_scsi.c | 148 * Function : mac_scsi_setup(char *str) 152 * Inputs : str - comma delimited list of options 156 static int __init mac_scsi_setup(char *str) { argument 160 (void)get_options( str, ARRAY_SIZE(ints), ints);
|
H A D | scsi_sysfs.c | 99 static int scsi_scan(struct Scsi_Host *shost, const char *str) argument 105 res = sscanf(str, "%10s %10s %10s %c", s1, s2, s3, &junk); 249 static int check_reset_type(char *str) argument 251 if (strncmp(str, "adapter", 10) == 0) 253 else if (strncmp(str, "firmware", 10) == 0) 266 char str[10]; local 269 sscanf(buf, "%s", str); 270 type = check_reset_type(str);
|
H A D | sim710.c | 65 param_setup(char *str) argument 67 char *pos = str, *next;
|
/drivers/watchdog/ |
H A D | machzwd.c | 391 static const char * const str[] = { "RESET", "SMI", "NMI", "SCI" }; local 393 pr_info("Watchdog using action = %s\n", str[act]);
|
/drivers/s390/char/ |
H A D | con3270.c | 89 char *str; local 91 str = (cp->nr_up != 0) ? "History" : "Running"; 92 memcpy(cp->status->string + 24, str, 7); 476 con3270_write(struct console *co, const char *str, unsigned int count) argument 485 c = *str++;
|
H A D | tape_core.c | 189 const char *str; local 198 str = tape_state_verbose[device->tape_state]; 200 str = "UNKNOWN TS"; 201 DBF_EVENT(4, "%s\n", str); 204 str = tape_state_verbose[newstate]; 206 str = "UNKNOWN TS"; 207 DBF_EVENT(4, "%s\n", str);
|
/drivers/tty/hvc/ |
H A D | hvc_xen.c | 180 static int dom0_write_console(uint32_t vtermno, const char *str, int len) argument 182 int rc = HYPERVISOR_console_io(CONSOLEIO_write, len, (char *)str); 640 void xen_raw_console_write(const char *str) argument 642 dom0_write_console(0, str, strlen(str));
|
/drivers/parport/ |
H A D | parport_pc.c | 3387 static int __init parport_init_mode_setup(char *str) argument 3390 "parport_pc.c: Specified parameter parport_init_mode=%s\n", str); 3392 if (!strcmp(str, "spp")) 3394 if (!strcmp(str, "ps2")) 3396 if (!strcmp(str, "epp")) 3398 if (!strcmp(str, "ecp")) 3400 if (!strcmp(str, "ecpepp")) 3492 static int __init parport_setup(char *str) argument 3498 if (!str || !*str || (*st [all...] |
/drivers/net/plip/ |
H A D | plip.c | 1348 static int __init plip_setup(char *str) argument 1352 str = get_options(str, ARRAY_SIZE(ints), ints); 1355 if (!strncmp(str, "parport", 7)) { 1356 int n = simple_strtoul(str+7, NULL, 10); 1361 str); 1362 } else if (!strcmp(str, "timid")) {
|