Lines Matching defs:buffer

24  *              buffer              - Where the return data is returned
32 acpi_status acpi_ex_read_gpio(union acpi_operand_object *obj_desc, void *buffer)
55 status = acpi_ex_access_region(obj_desc, 0, (u64 *)buffer, ACPI_READ);
83 void *buffer;
107 buffer = &source_desc->integer.value;
115 status = acpi_ex_access_region(obj_desc, 0, (u64 *)buffer, ACPI_WRITE);
147 * This is an SMBus, GSBus or IPMI read. We must create a buffer to
153 * Common buffer format:
154 * Status; (Byte 0 of the data buffer)
155 * Length; (Byte 1 of the data buffer)
156 * Data[x-1]: (Bytes 2-x of the arbitrary length data buffer)
192 /* Add header length to get the full size of the buffer */
202 /* Create the local transfer buffer that is returned to the caller */
217 buffer_desc->buffer.
248 void *buffer;
257 * field mechanism and handoff the buffer directly to the handler.
258 * For these address spaces, the buffer is bidirectional; on a
259 * write, return data is returned in the same buffer.
261 * Source must be a buffer of sufficient size, these are fixed size:
267 * Common buffer format:
268 * Status; (Byte 0 of the data buffer)
269 * Length; (Byte 1 of the data buffer)
270 * Data[x-1]: (Bytes 2-x of the arbitrary length data buffer)
308 /* Add header length to get the full size of the buffer */
318 /* Create the transfer/bidirectional/return buffer */
325 /* Copy the input buffer data to the transfer buffer */
327 buffer = buffer_desc->buffer.pointer;
328 data_length = (buffer_length < source_desc->buffer.length ?
329 buffer_length : source_desc->buffer.length);
330 memcpy(buffer, source_desc->buffer.pointer, data_length);
338 * same buffer)
340 status = acpi_ex_access_region(obj_desc, 0, (u64 *)buffer, function);