/drivers/acpi/acpica/ |
H A D | exstorob.c | 111 * truncated if the string is smaller than the buffer. However, "other" 119 * If the original source was a string, we must truncate the buffer, 176 /* We know that source_desc is a string by now */ 178 buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); 179 length = source_desc->string.length; 182 * Replace existing string value if it will fit and the string 185 if ((length < target_desc->string.length) && 189 * Clear old string and copy in the new one 191 ACPI_MEMSET(target_desc->string [all...] |
H A D | utmisc.c | 59 * RETURN: A string containing the exception text. NULL if exception is 63 * an ASCII string. 125 * PARAMETERS: Id - The HID/CID in string format 351 * PARAMETERS: src_string - The source string to convert 355 * DESCRIPTION: Convert string to uppercase 363 char *string; local 371 /* Walk entire string, uppercasing the letters */ 373 for (string = src_string; *string; string 394 acpi_ut_print_string(char *string, u8 max_length) argument 722 acpi_ut_strtoul64(char *string, u32 base, u64 * ret_integer) argument [all...] |
H A D | utids.c | 56 * return_id - Where the string HID is returned 62 * Integer or a String. A string is always returned. An EISAID 63 * is converted to a string. 91 length = obj_desc->string.length + 1; 104 /* Area for the string starts after DEVICE_ID struct */ 106 hid->string = ACPI_ADD_PTR(char, hid, sizeof(struct acpica_device_id)); 108 /* Convert EISAID to a string or simply copy existing string */ 111 acpi_ex_eisa_id_to_string(hid->string, obj_desc->integer.value); 113 ACPI_STRCPY(hid->string, obj_des [all...] |
H A D | exoparg3.c | 180 if (index >= operand[0]->string.length) { 186 else if ((index + length) > operand[0]->string.length) { 187 length = (acpi_size) operand[0]->string.length - 231 ACPI_MEMCPY(buffer, operand[0]->string.pointer + index, 237 return_desc->string.pointer = buffer; 238 return_desc->string.length = (u32) length;
|
H A D | exconvrt.c | 54 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 max_length); 63 * Flags - Used for string conversion 95 /* Note: Takes advantage of common buffer/string fields */ 106 * Convert the buffer/string to an integer. Note that both buffers and 112 * 2) The end of the buffer or string has been reached 122 * Convert string to an integer - for most cases, the string must be 239 * Size will be the string length 241 * NOTE: Add one to the string length to include the null terminator. 247 obj_desc->string 287 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 data_width) argument [all...] |
H A D | exconfig.c | 163 if ((operand[0]->string.length > ACPI_NAME_SIZE) || 164 (operand[1]->string.length > ACPI_OEM_ID_SIZE) || 165 (operand[2]->string.length > ACPI_OEM_TABLE_ID_SIZE)) { 171 status = acpi_tb_find_table(operand[0]->string.pointer, 172 operand[1]->string.pointer, 173 operand[2]->string.pointer, &table_index); 197 if (operand[3]->string.length > 0) { 203 acpi_ns_get_node(start_node, operand[3]->string.pointer, 212 if (operand[4]->string.length > 0) { 213 if ((operand[4]->string [all...] |
H A D | utcopy.c | 98 * buffer and string data) 145 external_object->string.pointer = (char *)data_space; 146 external_object->string.length = internal_object->string.length; 149 string. 153 (void *)internal_object->string.pointer, 154 (acpi_size) internal_object->string.length + 1); 162 ACPI_ROUND_UP_TO_NATIVE_WORD(internal_object->string. 493 /* Must COPY string and buffer contents */ 498 internal_object->string [all...] |
H A D | utobject.c | 276 * PARAMETERS: string_size - Size of string to be created. Does not 282 * DESCRIPTION: Create a fully initialized string object 289 char *string; local 301 * Allocate the actual string buffer -- (Size + 1) for NULL terminator. 304 string = ACPI_ALLOCATE_ZEROED(string_size + 1); 305 if (!string) { 312 /* Complete string object initialization */ 314 string_desc->string.pointer = string; 315 string_desc->string [all...] |
/drivers/staging/tidspbridge/dynload/ |
H A D | header.h | 17 #include <linux/string.h> 40 /* maximum number of bytes in string table */
|
/drivers/net/ethernet/brocade/bna/ |
H A D | bnad_ethtool.c | 542 bnad_get_strings(struct net_device *netdev, u32 stringset, u8 * string) argument 555 memcpy(string, bnad_net_stats_strings[i], 557 string += ETH_GSTRING_LEN; 562 sprintf(string, "txf%d_ucast_octets", i); 563 string += ETH_GSTRING_LEN; 564 sprintf(string, "txf%d_ucast", i); 565 string += ETH_GSTRING_LEN; 566 sprintf(string, "txf%d_ucast_vlan", i); 567 string += ETH_GSTRING_LEN; 568 sprintf(string, "tx [all...] |
/drivers/s390/char/ |
H A D | raw3270.h | 200 * Little memory allocator for string objects. 202 struct string struct 208 char string[0]; member in struct:string 211 static inline struct string * 214 struct string *cs, *tmp; 221 if (cs->size > size + sizeof(struct string)) { 223 tmp = (struct string *) (endaddr - size) - 1; 225 cs->size -= size + sizeof(struct string); 238 free_string(struct list_head *free_list, struct string *cs) 240 struct string *tm [all...] |
H A D | con3270.c | 48 struct string *cline; /* current output line. */ 49 struct string *status; /* last line of display. */ 54 struct string *input; /* input string for read request. */ 82 * The status line is the last line of the screen. It shows the string 92 memcpy(cp->status->string + 24, str, 7); 93 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7); 107 memcpy(cp->status->string, blueprint, sizeof(blueprint)); 109 raw3270_buffer_address(cp->view.dev, cp->status->string + 1, 111 raw3270_buffer_address(cp->view.dev, cp->status->string [all...] |
/drivers/ide/ |
H A D | ide-pio-blacklist.c | 9 #include <linux/string.h> 76 * @model: Drive model string
|
/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_macro_gram.y | 52 #include <string.h> 68 void mmerror(const char *string); 162 mmerror(const char *string) 164 stop(string, EX_DATAERR);
|
/drivers/staging/rtl8192u/ieee80211/ |
H A D | autoload.c | 19 #include <linux/string.h>
|
/drivers/staging/iio/ |
H A D | sysfs.h | 40 * @string: attribute string 44 const char *string; member in struct:iio_const_attr 67 = { .string = _string, \ 72 = { .string = _string, \ 101 * @_string: frequency string for the attribute
|
/drivers/staging/keucr/ |
H A D | scsiglue.c | 243 const char *string; local 254 string = us->pusb_dev->manufacturer; 256 string = us->unusual_dev->vendorName; 258 string = "Unknown"; 259 SPRINTF(" Vendor: %s\n", string); 261 string = us->pusb_dev->product; 263 string = us->unusual_dev->productName; 265 string = "Unknown"; 266 SPRINTF(" Product: %s\n", string); 268 string [all...] |
/drivers/usb/storage/ |
H A D | scsiglue.c | 440 const char *string; local 451 string = us->pusb_dev->manufacturer; 453 string = us->unusual_dev->vendorName; 455 string = "Unknown"; 456 SPRINTF(" Vendor: %s\n", string); 458 string = us->pusb_dev->product; 460 string = us->unusual_dev->productName; 462 string = "Unknown"; 463 SPRINTF(" Product: %s\n", string); 465 string [all...] |
/drivers/media/dvb/mantis/ |
H A D | mantis_uart.c | 45 char string[7]; member in struct:__anon1535 55 char string[5]; member in struct:__anon1536 152 rates[params.baud_rate].string, 153 parity[params.parity].string);
|
/drivers/mtd/maps/ |
H A D | fortunet.c | 9 #include <linux/string.h> 101 char string[MAX_NAME_SIZE]; local 103 get_options (get_string_option(string,sizeof(string),line),6,params); 124 strcpy(map_regions[params[1]].map_info.name,string); 146 char string[MAX_NAME_SIZE]; local 148 get_options (get_string_option(string,sizeof(string),line),4,params); 168 strcpy(map_regions[params[1]].parts[map_regions_parts[params[1]]].name,string);
|
/drivers/pci/hotplug/ |
H A D | acpi_pcihp.c | 265 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; local 267 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); 274 __func__, (char *)string.pointer, status); 277 __func__, (char *)string.pointer); 280 (char *)string.pointer); 282 kfree(string.pointer); 339 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; local 358 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); 360 (char *)string.pointer); 366 kfree(string [all...] |
/drivers/staging/octeon/ |
H A D | ethernet-mdio.h | 33 #include <linux/string.h>
|
/drivers/staging/bcm/ |
H A D | Debug.h | 9 #include <linux/string.h> 218 #define BCM_DEBUG_PRINT(Adapter, Type, SubType, dbg_level, string, args...) \ 221 pr_info("%s:" string, __func__, ##args); \ 227 printk(KERN_DEBUG string, ##args); \ 229 printk(KERN_DEBUG "%s:" string, __func__, ##args); \
|
/drivers/media/video/zoran/ |
H A D | zoran_procfs.c | 141 char *string, *sp; local 147 string = sp = vmalloc(count + 1); 148 if (!string) { 155 if (copy_from_user(string, buffer, count)) { 156 vfree (string); 159 string[count] = 0; 177 vfree(string);
|
/drivers/scsi/ |
H A D | scsi_ioctl.c | 14 #include <linux/string.h> 38 * Return an identifying string at @buffer, if @buffer is non-NULL, filling 44 const char *string; local 51 string = host->hostt->info(host); 53 string = host->hostt->name; 54 if (string) { 55 slen = strlen(string); 58 if (copy_to_user(buffer, string, len)) 71 * input data, if any, not including the command string & counts,
|