/drivers/char/ |
H A D | lp.c | 839 static int __init lp_setup (char *str) argument 844 if (get_option(&str, &x)) { 852 } else if (!strncmp(str, "parport", 7)) { 853 int n = simple_strtoul(str+7, NULL, 10); 858 str); 859 } else if (!strcmp(str, "auto")) { 861 } else if (!strcmp(str, "none")) { 863 } else if (!strcmp(str, "reset")) {
|
H A D | dtlk.c | 69 #define TRACE_TEXT(str) printk(str); 72 #define TRACE_TEXT(str) ((void) 0)
|
/drivers/firmware/efi/libstub/ |
H A D | arm-stub.c | 139 efi_char16_t *str) 144 out->output_string(out, str); 138 efi_char16_printk(efi_system_table_t *sys_table_arg, efi_char16_t *str) argument
|
/drivers/gpu/drm/nouveau/core/include/core/ |
H A D | object.h | 193 nv_memcmp(void *obj, u32 addr, const char *str, u32 len) argument 199 c2 = *(str++);
|
/drivers/input/misc/ |
H A D | ideapad_slidebar.c | 139 static bool slidebar_i8042_filter(unsigned char data, unsigned char str, argument 145 if (str & I8042_STR_AUXDATA)
|
/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/net/wireless/ath/ath9k/ |
H A D | debug.h | 196 #define PR(str, elem) \ 199 "%s%13u%11u%10u%10u\n", str, \
|
/drivers/scsi/ |
H A D | mac_scsi.c | 138 * Function : mac_scsi_setup(char *str) 142 * Inputs : str - comma delimited list of options 146 static int __init mac_scsi_setup(char *str) { argument 150 (void)get_options( str, ARRAY_SIZE(ints), ints);
|
H A D | xen-scsifront.c | 862 char str[64]; local 879 snprintf(str, sizeof(str), "vscsi-devs/%s/state", dir[i]); 880 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", 886 snprintf(str, sizeof(str), "vscsi-devs/%s/v-dev", dir[i]); 887 err = xenbus_scanf(XBT_NIL, dev->otherend, str,
|
/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_debug.h | 60 int libcfs_debug_mask2str(char *str, int size, int mask, int is_subsys); 61 int libcfs_debug_str2mask(int *mask, const char *str, int is_subsys);
|
/drivers/watchdog/ |
H A D | machzwd.c | 390 static const char * const str[] = { "RESET", "SMI", "NMI", "SCI" }; local 392 pr_info("Watchdog using action = %s\n", str[act]);
|
H A D | octeon-wdt-main.c | 278 * @str: String to write 280 static void octeon_wdt_write_string(const char *str) argument 283 while (*str) 284 prom_putchar(*str++);
|
/drivers/s390/char/ |
H A D | con3270.c | 92 char *str; local 94 str = (cp->nr_up != 0) ? "History" : "Running"; 95 memcpy(cp->status->string + 24, str, 7); 481 con3270_write(struct console *co, const char *str, unsigned int count) argument 490 c = *str++;
|
H A D | tape_core.c | 188 const char *str; local 197 str = tape_state_verbose[device->tape_state]; 199 str = "UNKNOWN TS"; 200 DBF_EVENT(4, "%s\n", str); 203 str = tape_state_verbose[newstate]; 205 str = "UNKNOWN TS"; 206 DBF_EVENT(4, "%s\n", str);
|
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | sec_config.c | 95 int sptlrpc_parse_flavor(const char *str, struct sptlrpc_flavor *flvr) argument 102 if (str == NULL || str[0] == '\0') { 107 strncpy(buf, str, sizeof(buf)); 153 CERROR("invalid flavor string: %s\n", str);
|
/drivers/scsi/qla2xxx/ |
H A D | qla_os.c | 473 qla2x00_pci_info_str(struct scsi_qla_host *vha, char *str) argument 481 strcpy(str, "PCI"); 484 strcat(str, "-X ("); 485 strcat(str, pci_bus_modes[pci_bus]); 488 strcat(str, " ("); 489 strcat(str, pci_bus_modes[pci_bus]); 491 strcat(str, " MHz)"); 493 return (str); 497 qla24xx_pci_info_str(struct scsi_qla_host *vha, char *str) argument 511 strcpy(str, "PCI 552 qla2x00_fw_version_str(struct scsi_qla_host *vha, char *str, size_t size) argument 590 qla24xx_fw_version_str(struct scsi_qla_host *vha, char *str, size_t size) argument [all...] |
/drivers/parport/ |
H A D | parport_pc.c | 3130 static int __init parport_init_mode_setup(char *str) argument 3133 "parport_pc.c: Specified parameter parport_init_mode=%s\n", str); 3135 if (!strcmp(str, "spp")) 3137 if (!strcmp(str, "ps2")) 3139 if (!strcmp(str, "epp")) 3141 if (!strcmp(str, "ecp")) 3143 if (!strcmp(str, "ecpepp")) 3235 static int __init parport_setup(char *str) argument 3241 if (!str || !*str || (*st [all...] |
/drivers/net/dsa/ |
H A D | bcm_sf2.c | 608 const char *str = NULL; local 613 str = "RGMII (no delay)"; 616 if (!str) 617 str = "RGMII (TX delay)"; 621 str = "MII"; 625 str = "Reverse MII"; 661 pr_info("Port %d configured for %s\n", port, str);
|
/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")) {
|
/drivers/md/ |
H A D | dm-ioctl.c | 94 * We're not really concerned with the str hash function being 97 static unsigned int hash_str(const char *str) argument 102 while (*str) 103 h = (h + (unsigned int) *str++) * hash_mult; 111 static struct hash_cell *__get_name_cell(const char *str) argument 114 unsigned int h = hash_str(str); 117 if (!strcmp(hc->name, str)) { 125 static struct hash_cell *__get_uuid_cell(const char *str) argument 128 unsigned int h = hash_str(str); 131 if (!strcmp(hc->uuid, str)) { 879 invalid_str(char *str, void *end) argument [all...] |
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_param.c | 157 const struct pch_gbe_opt_list { int i; char *str; } *p; member in struct:pch_gbe_option::__anon3673::__anon3675::pch_gbe_opt_list 260 if (ent->str[0] != '\0') 262 ent->str);
|
/drivers/staging/lustre/lustre/obdclass/ |
H A D | class_obd.c | 339 char *status, *str; local 366 str = (char *)data->ioc_bulk; 367 snprintf(str, len - sizeof(*data), "%3d %s %s %s %s %d",
|
/drivers/target/ |
H A D | target_core_stat.c | 316 char str[sizeof(dev->t10_wwn.vendor)+1]; local 320 str[i] = ISPRINT(dev->t10_wwn.vendor[i]) ? 322 str[i] = '\0'; 323 return snprintf(page, PAGE_SIZE, "%s\n", str); 333 char str[sizeof(dev->t10_wwn.model)+1]; local 337 str[i] = ISPRINT(dev->t10_wwn.model[i]) ? 339 str[i] = '\0'; 340 return snprintf(page, PAGE_SIZE, "%s\n", str); 350 char str[sizeof(dev->t10_wwn.revision)+1]; local 354 str[ [all...] |
/drivers/video/console/ |
H A D | mdacon.c | 177 static int __init mdacon_setup(char *str) argument 183 str = get_options(str, ARRAY_SIZE(ints), ints);
|
/drivers/char/ipmi/ |
H A D | ipmi_si_intf.c | 1747 char *str = kstrdup(val, GFP_KERNEL); local 1763 if (!str) 1767 len = strlen(str); 1769 while ((ival >= 0) && isspace(str[ival])) { 1770 str[ival] = '\0'; 1774 for (curr = str; curr; curr = next) { 1915 kfree(str); 3518 char *str; local 3537 str = si_type_str; 3538 if (*str ! [all...] |