/drivers/hwmon/ |
H A D | acpi_power_meter.c | 733 acpi_string *str; local 736 str = &resource->model_number; 737 for (i = 0; i < 3; i++, str++) 738 kfree(*str); 749 acpi_string *str; local 789 str = &resource->model_number; 799 *str = kzalloc(sizeof(u8) * (element->string.length + 1), 801 if (!*str) { 806 strncpy(*str, element->string.pointer, element->string.length); 807 str [all...] |
/drivers/acpi/ |
H A D | pci_link.c | 781 static int __init acpi_irq_penalty_update(char *str, int used) argument 789 retval = get_option(&str, &irq); 833 static int __init acpi_irq_isa(char *str) argument 835 return acpi_irq_penalty_update(str, 1); 845 static int __init acpi_irq_pci(char *str) argument 847 return acpi_irq_penalty_update(str, 0); 852 static int __init acpi_irq_nobalance_set(char *str) argument 860 static int __init acpi_irq_balance_set(char *str) argument
|
H A D | tables.c | 358 static int __init acpi_parse_apic_instance(char *str) argument 360 if (!str) 363 if (kstrtoint(str, 0, &acpi_apic_instance))
|
/drivers/block/aoe/ |
H A D | aoe.h | 232 int aoedev_flush(const char __user *str, size_t size); 240 int set_aoe_iflist(const char __user *str, size_t size);
|
H A D | aoenet.c | 40 static int __init aoe_iflist_setup(char *str) argument 42 strncpy(aoe_iflist, str, IFLISTSZ);
|
/drivers/pnp/ |
H A D | resource.c | 702 static int __init pnp_setup_reserve_irq(char *str) argument 707 if (get_option(&str, &pnp_reserve_irq[i]) != 2) 715 static int __init pnp_setup_reserve_dma(char *str) argument 720 if (get_option(&str, &pnp_reserve_dma[i]) != 2) 728 static int __init pnp_setup_reserve_io(char *str) argument 733 if (get_option(&str, &pnp_reserve_io[i]) != 2) 741 static int __init pnp_setup_reserve_mem(char *str) argument 746 if (get_option(&str, &pnp_reserve_mem[i]) != 2)
|
/drivers/s390/cio/ |
H A D | ccwgroup.c | 38 char str[8]; local 41 sprintf(str, "cdev%d", i); 42 sysfs_remove_link(&gdev->dev.kobj, str); 241 char str[8]; local 255 sprintf(str, "cdev%d", i); 257 &gdev->cdev[i]->dev.kobj, str); 260 sprintf(str, "cdev%d", i); 261 sysfs_remove_link(&gdev->dev.kobj, str);
|
/drivers/scsi/ |
H A D | sim710.c | 64 param_setup(char *str) argument 66 char *pos = str, *next;
|
/drivers/usb/musb/ |
H A D | musb_cppi41.c | 616 const char *str; local 620 ret = of_property_read_string_index(np, "dma-names", i, &str); 623 if (!strncmp(str, "tx", 2)) 625 else if (!strncmp(str, "rx", 2)) 628 dev_err(dev, "Wrong dmatype %s\n", str); 631 ret = kstrtouint(str + 2, 0, &port); 653 dc = dma_request_slave_channel(dev, str); 655 dev_err(dev, "Failed to request %s.\n", str);
|
/drivers/char/tpm/ |
H A D | tpm_ppi.c | 255 char *str = buf; local 283 str += scnprintf(str, PAGE_SIZE, "%d %d: %s\n", 287 return str - buf;
|
/drivers/power/ |
H A D | power_supply_sysfs.c | 265 static char *kstruprdup(const char *str, gfp_t gfp) argument 269 ustr = ret = kmalloc(strlen(str) + 1, gfp); 274 while (*str) 275 *ustr++ = toupper(*str++);
|
/drivers/scsi/csiostor/ |
H A D | csio_rnode.h | 126 void csio_rnode_state_to_str(struct csio_rnode *rn, int8_t *str);
|
/drivers/staging/lustre/include/linux/lnet/ |
H A D | api.h | 83 void LNetSnprintHandle(char *str, int str_len, lnet_handle_any_t handle);
|
/drivers/usb/atm/ |
H A D | cxacru.c | 272 static char *str[] = { "no", "yes" }; local 273 if (unlikely(value >= ARRAY_SIZE(str))) 275 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); 280 static char *str[] = { NULL, "not connected", "connected", "lost" }; local 281 if (unlikely(value >= ARRAY_SIZE(str) || str[value] == NULL)) 283 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); 288 static char *str[] = { "down", "attempting to activate", local 292 if (unlikely(value >= ARRAY_SIZE(str))) 294 return snprintf(buf, PAGE_SIZE, "%s\n", str[valu 299 static char *str[] = { local 334 static char *str[] = { "running", "stopped" }; local [all...] |
/drivers/crypto/ux500/hash/ |
H A D | hash_alg.h | 123 &device_data->base->str, \ 128 &device_data->base->str, \ 154 * @str: HASH start register (0x008). 181 u32 str; member in struct:hash_register
|
/drivers/mfd/ |
H A D | stmpe.h | 20 static inline void stmpe_dump_bytes(const char *str, const void *buf, argument 23 print_hex_dump_bytes(str, DUMP_PREFIX_OFFSET, buf, len); 26 static inline void stmpe_dump_bytes(const char *str, const void *buf, argument
|
/drivers/oprofile/ |
H A D | oprofilefs.c | 45 ssize_t oprofilefs_str_to_user(char const *str, char __user *buf, size_t count, loff_t *offset) argument 47 return simple_read_from_buffer(buf, count, offset, str, strlen(str));
|
/drivers/parport/ |
H A D | probe.c | 52 static void parse_data(struct parport *port, int device, char *str) argument 54 char *txt = kmalloc(strlen(str)+1, GFP_KERNEL); 63 strcpy(txt, str);
|
/drivers/pnp/pnpacpi/ |
H A D | core.c | 330 static int __init pnpacpi_setup(char *str) argument 332 if (str == NULL) 334 if (!strncmp(str, "off", 3))
|
/drivers/s390/char/ |
H A D | tape.h | 31 #define DBF_LH(level, str, ...) \ 33 debug_sprintf_event(TAPE_DBF_AREA, level, str, ## __VA_ARGS__); \ 36 #define DBF_LH(level, str, ...) do {} while(0)
|
/drivers/s390/net/ |
H A D | smsgiucv.c | 37 void (*callback)(const char *from, char *str); 106 void (*callback)(const char *from, char *str)) 124 char *str)) 105 smsg_register_callback(const char *prefix, void (*callback)(const char *from, char *str)) argument 122 smsg_unregister_callback(const char *prefix, void (*callback)(const char *from, char *str)) argument
|
/drivers/parisc/ |
H A D | led.c | 639 int lcd_print( const char *str ) 651 strlcpy(lcd_text, str, sizeof(lcd_text)); 659 if (str && *str) 660 gsc_writeb(*str++, LCD_DATA_REG);
|
/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_private.h | 417 int libcfs_str2lnd(const char *str); 420 __u32 libcfs_str2net(const char *str); 421 lnet_nid_t libcfs_str2nid(const char *str); 422 int libcfs_str2anynid(lnet_nid_t *nid, const char *str); 425 int cfs_parse_nidlist(char *str, int len, struct list_head *list);
|
/drivers/usb/phy/ |
H A D | class-dual-role.c | 56 static char *kstrdupcase(const char *str, gfp_t gfp, bool to_upper) argument 60 ustr = ret = kmalloc(strlen(str) + 1, gfp); 65 while (*str) 66 *ustr++ = to_upper ? toupper(*str++) : tolower(*str++);
|
/drivers/usb/early/ |
H A D | ehci-dbgp.c | 76 static void dbgp_ehci_status(char *str) argument 80 dbgp_printk("dbgp: %s\n", str); 90 static inline void dbgp_ehci_status(char *str) { } argument 914 static void early_dbgp_write(struct console *con, const char *str, u32 n) argument 942 str++, chunk++, n--) { 943 if (!use_cr && *str == '\n') { 946 str--; 952 buf[chunk] = *str; 1048 static int __init kgdbdbgp_parse_config(char *str) argument 1053 if (early_dbgp_init(str)) [all...] |