/drivers/acpi/acpica/ |
H A D | tbprint.c | 52 static void acpi_tb_fix_string(char *string, acpi_size length); 62 * PARAMETERS: string - String to be repaired 67 * DESCRIPTION: Replace every non-printable or non-ascii byte in the string 72 static void acpi_tb_fix_string(char *string, acpi_size length) argument 75 while (length && *string) { 76 if (!ACPI_IS_PRINT(*string)) { 77 *string = '?'; 79 string++; 93 * DESCRIPTION: Copy the table header and ensure that all "string" fields in
|
H A D | utdebug.c | 109 * PARAMETERS: function_name - Ascii string containing a procedure name 338 * string - Additional string to display 350 const char *module_name, u32 component_id, char *string) 362 string); 348 acpi_ut_trace_str(u32 line_number, const char *function_name, const char *module_name, u32 component_id, char *string) argument
|
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 */ 107 * Convert the buffer/string to an integer. Note that both buffers and 113 * 2) The end of the buffer or string has been reached 122 * Convert string to an integer - for most cases, the string must be 238 * Size will be the string length 240 * NOTE: Add one to the string length to include the null terminator. 246 obj_desc->string 287 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 data_width) argument [all...] |
H A D | utobject.c | 277 * PARAMETERS: string_size - Size of string to be created. Does not 283 * DESCRIPTION: Create a fully initialized string object 290 char *string; local 302 * Allocate the actual string buffer -- (Size + 1) for NULL terminator. 305 string = ACPI_ALLOCATE_ZEROED(string_size + 1); 306 if (!string) { 313 /* Complete string object initialization */ 315 string_desc->string.pointer = string; 316 string_desc->string [all...] |
H A D | utprint.c | 59 acpi_ut_bound_string_length(const char *string, acpi_size count); 61 static char *acpi_ut_bound_string_output(char *string, const char *end, char c); 63 static char *acpi_ut_format_number(char *string, 68 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper); 79 * PARAMETERS: string - String with boundary 80 * count - Boundary of the string 82 * RETURN: Length of the string. Less than or equal to Count. 84 * DESCRIPTION: Calculate the length of a string with boundary. 89 acpi_ut_bound_string_length(const char *string, acpi_size count) argument 93 while (*string 116 acpi_ut_bound_string_output(char *string, const char *end, char c) argument 143 acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper) argument 179 acpi_ut_scan_number(const char *string, u64 *number_ptr) argument 205 acpi_ut_print_number(char *string, u64 number) argument 240 acpi_ut_format_number(char *string, char *end, u64 number, u8 base, s32 width, s32 precision, u8 type) argument 357 acpi_ut_vsnprintf(char *string, acpi_size size, const char *format, va_list args) argument 598 acpi_ut_snprintf(char *string, acpi_size size, const char *format, ...) argument [all...] |
H A D | utstring.c | 60 * PARAMETERS: src_string - The source string to convert 64 * DESCRIPTION: Convert string to lowercase 71 char *string; local 79 /* Walk entire string, lowercasing the letters */ 81 for (string = src_string; *string; string++) { 82 *string = (char)ACPI_TOLOWER(*string); 92 * PARAMETERS: string1 - first string t 137 char *string; local 172 acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer) argument 346 acpi_ut_print_string(char *string, u16 max_length) argument [all...] |
/drivers/net/dsa/ |
H A D | mv88e6xxx.h | 44 char string[ETH_GSTRING_LEN]; member in struct:mv88e6xxx_hw_stat
|
H A D | bcm_sf2.h | 82 const char *string; member in struct:bcm_sf2_hw_stats
|
/drivers/media/pci/mantis/ |
H A D | mantis_uart.c | 45 char string[7]; member in struct:__anon2235 55 char string[5]; member in struct:__anon2236 152 rates[params.baud_rate].string, 153 parity[params.parity].string);
|
/drivers/pci/hotplug/ |
H A D | acpi_pcihp.c | 56 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; local 58 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); 65 __func__, (char *)string.pointer, status); 68 __func__, (char *)string.pointer); 71 (char *)string.pointer); 73 kfree(string.pointer); 88 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; local 107 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); 109 (char *)string.pointer); 115 kfree(string [all...] |
/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,
|
H A D | NCR_D700.c | 127 param_setup(char *string) argument 129 char *pos = string, *next;
|
H A D | t128.c | 143 const char *string; member in struct:signature 224 signatures[sig].string, 225 strlen(signatures[sig].string))) {
|
/drivers/media/pci/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/arm/ |
H A D | arxescsi.c | 24 #include <linux/string.h> 207 * Purpose : returns a descriptive string about this interface, 209 * Returns : pointer to a static buffer containing null terminated string. 214 static char string[150]; local 216 sprintf(string, "%s (%s) in slot %d v%s", 220 return string;
|
H A D | powertec.c | 13 #include <linux/string.h> 181 * Purpose : returns a descriptive string about this interface, 183 * Returns : pointer to a static buffer containing null terminated string. 188 static char string[150]; local 190 sprintf(string, "%s (%s) in slot %d v%s terminators o%s", 194 return string; 200 * : buffer - buffer containing string describing operation 201 * : length - length of string
|
/drivers/usb/gadget/ |
H A D | u_os_desc.h | 106 static inline int usb_ext_prop_put_unicode(u8 *buf, int pnl, const char *string, argument 111 result = utf8s_to_utf16s(string, data_len >> 1, UTF16_LITTLE_ENDIAN,
|
/drivers/usb/serial/ |
H A D | visor.c | 320 char *string; local 350 string = "Generic"; 353 string = "Debugger"; 356 string = "HotSync"; 359 string = "Console"; 362 string = "Remote File System"; 365 string = "unknown"; 370 connection_info->connections[i].port, string);
|
/drivers/usb/storage/ |
H A D | scsiglue.c | 466 const char *string; local 473 string = us->pusb_dev->manufacturer; 475 string = us->unusual_dev->vendorName; 477 string = "Unknown"; 478 SPRINTF(" Vendor: %s\n", string); 480 string = us->pusb_dev->product; 482 string = us->unusual_dev->productName; 484 string = "Unknown"; 485 SPRINTF(" Product: %s\n", string); 487 string [all...] |
/drivers/leds/ |
H A D | leds-ns2.c | 276 const char *string; local 287 ret = of_property_read_string(child, "label", &string); 288 leds[i].name = (ret == 0) ? string : child->name; 290 &string); 292 leds[i].default_trigger = string;
|
/drivers/misc/mic/host/ |
H A D | mic_sysfs.c | 28 * A state-to-string lookup table, for exposing a human readable state 41 * A shutdown-status-to-string lookup table, for exposing a human 96 char *string = "??"; local 103 string = "A0"; 106 string = "B0"; 109 string = "B1"; 112 string = "C0"; 117 return scnprintf(buf, PAGE_SIZE, "%s\n", string);
|
/drivers/mmc/core/ |
H A D | sdio_cis.c | 31 char **buffer, *string; local 54 string = (char*)(buffer + nr_strings); 57 buffer[i] = string; 58 strcpy(string, buf); 59 string += strlen(string) + 1;
|
/drivers/net/bonding/ |
H A D | bond_options.h | 71 * - if string != NULL -> parse it, if the opt is RAW type then return it, else 73 * - if string == NULL -> parse value 76 char *string; member in struct:bond_opt_value 112 * passing. There should be either a valid string or value, but not both. 113 * When value is ULLONG_MAX then string will be used. 116 char *string, u64 value) 121 optval->string = string; 115 __bond_opt_init(struct bond_opt_value *optval, char *string, u64 value) argument
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 26 char string[ETH_GSTRING_LEN]; member in struct:pch_gbe_stats 33 .string = #m, \ 439 * @data: Pointer of read string data. 450 memcpy(p, pch_gbe_gstrings_stats[i].string,
|
/drivers/phy/ |
H A D | phy-core.c | 444 * @string: the phy name as given in the dt data or the name of the controller 451 struct phy *phy_get(struct device *dev, const char *string) argument 456 if (string == NULL) { 457 dev_WARN(dev, "missing string\n"); 463 string); 466 phy = phy_lookup(dev, string); 483 * @string: the phy name as given in the dt data or the name of the controller 490 struct phy *phy_optional_get(struct device *dev, const char *string) argument 492 struct phy *phy = phy_get(dev, string); 504 * @string 511 devm_phy_get(struct device *dev, const char *string) argument 544 devm_phy_optional_get(struct device *dev, const char *string) argument [all...] |