• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/acpica/

Lines Matching refs:string

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.
253 /* Copy the string to the buffer */
256 ACPI_STRNCPY((char *)new_buf, (char *)obj_desc->string.pointer,
257 obj_desc->string.length);
277 * String - Where the string is returned
280 * RETURN: Actual string length
282 * DESCRIPTION: Convert an ACPI Integer to a hex or decimal string
287 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 data_width)
340 string[k] = (u8) (ACPI_ASCII_ZERO + remainder);
355 string[k] =
370 * Finally, null terminate the string and return the length
373 string[0] = ACPI_ASCII_ZERO;
377 string[k] = 0;
387 * result_desc - Where the string object is returned
392 * DESCRIPTION: Convert an ACPI Object to a string
430 /* Two hex string characters for each integer byte */
448 /* Convert integer to string */
457 return_desc->string.length = string_length;
463 /* Setup string length, base, and separator */
468 * From ACPI: "If Data is a buffer, it is converted to a string of
474 * Calculate the final string length. Individual string values
491 *"The entire contents of the buffer are converted to a string of
500 * From ACPI: "If Data is a buffer, it is converted to a string of
511 * Create a new string object and string buffer
539 * Null terminate the string