Lines Matching refs:Buffer
256 * Object - Where the buffer object is returned
260 * DESCRIPTION: Convert a string to a buffer object. String is treated a list
261 * of buffer elements, each separated by a space or comma.
273 UINT8 *Buffer;
281 /* Generate the final buffer length */
295 Buffer = ACPI_ALLOCATE (Length);
296 if (!Buffer)
301 /* Convert the command line bytes to the buffer */
305 Status = AcpiDbHexByteToBinary (&String[i], &Buffer[j]);
308 ACPI_FREE (Buffer);
322 Object->Buffer.Pointer = Buffer;
323 Object->Buffer.Length = Length;
401 * 2) Buffer objects were surrounded by parentheses.
450 * PARAMETERS: PldInfo - _PLD buffer struct (Using local struct)
452 * RETURN: Encode _PLD buffer suitable for return value from _PLD
454 * DESCRIPTION: Bit-packs a _PLD buffer struct. Used to test the _PLD macros
462 UINT32 *Buffer;
466 Buffer = ACPI_ALLOCATE_ZEROED (ACPI_PLD_BUFFER_SIZE);
467 if (!Buffer)
480 ACPI_MOVE_32_TO_32 (&Buffer[0], &Dword);
487 ACPI_MOVE_32_TO_32 (&Buffer[1], &Dword);
503 ACPI_MOVE_32_TO_32 (&Buffer[2], &Dword);
515 ACPI_MOVE_32_TO_32 (&Buffer[3], &Dword);
524 ACPI_MOVE_32_TO_32 (&Buffer[4], &Dword);
527 return (ACPI_CAST_PTR (UINT8, Buffer));
539 * DESCRIPTION: Dumps formatted contents of a _PLD return buffer.
555 /* Object must be of type Package with at least one Buffer element */
568 /* Convert _PLD buffer to local _PLD struct */
570 Status = AcpiDecodePldBuffer (BufferDesc->Buffer.Pointer,
571 BufferDesc->Buffer.Length, &PldInfo);
577 /* Encode local _PLD struct back to a _PLD buffer */
587 if (memcmp (NewBuffer, BufferDesc->Buffer.Pointer,
588 BufferDesc->Buffer.Length))
590 AcpiOsPrintf ("Converted _PLD buffer does not compare. New:\n");
593 BufferDesc->Buffer.Length, DB_BYTE_DISPLAY, 0);
635 if (BufferDesc->Buffer.Length > 16)