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 */
208 /* Create the local transfer buffer that is returned to the caller */
223 buffer_desc->buffer.
254 void *buffer;
263 * field mechanism and handoff the buffer directly to the handler.
264 * For these address spaces, the buffer is bidirectional; on a
265 * write, return data is returned in the same buffer.
267 * Source must be a buffer of sufficient size, these are fixed size:
273 * Common buffer format:
274 * Status; (Byte 0 of the data buffer)
275 * Length; (Byte 1 of the data buffer)
276 * Data[x-1]: (Bytes 2-x of the arbitrary length data buffer)
314 /* Add header length to get the full size of the buffer */
336 /* Create the transfer/bidirectional/return buffer */
343 /* Copy the input buffer data to the transfer buffer */
345 buffer = buffer_desc->buffer.pointer;
346 data_length = ACPI_MIN(buffer_length, source_desc->buffer.length);
347 memcpy(buffer, source_desc->buffer.pointer, data_length);
355 * same buffer)
357 status = acpi_ex_access_region(obj_desc, 0, (u64 *)buffer, function);