Lines Matching refs:buffer
65 acpi_data buffer;
66 buffer.pointer = NULL;
67 buffer.length = ACPI_ALLOCATE_BUFFER;
75 array[0].buffer.buffer = (void*)guid;
76 array[0].buffer.length = 16;
88 if (gACPI->evaluate_method(handle, "_DSM", &acpi_objects, &buffer) == B_OK)
89 return (acpi_object_type*)buffer.pointer;
190 i2c_hid_read(void *_cookie, off_t position, void *buffer, size_t *numBytes)
194 TRACE("read(%p, %" B_PRIu64 ", %p, %p (%" B_PRIuSIZE ")\n", cookie, position, buffer, numBytes,
196 return cookie->handler->Read(&cookie->cookie, position, buffer, numBytes);
201 i2c_hid_write(void *_cookie, off_t position, const void *buffer,
206 TRACE("write(%p, %" B_PRIu64 ", %p, %p (%" B_PRIuSIZE ")\n", cookie, position, buffer, numBytes,
208 return cookie->handler->Write(&cookie->cookie, position, buffer, numBytes);
213 i2c_hid_control(void *_cookie, uint32 op, void *buffer, size_t length)
217 TRACE("control(%p, %" B_PRIu32 ", %p, %" B_PRIuSIZE ")\n", cookie, op, buffer, length);
218 return cookie->handler->Control(&cookie->cookie, op, buffer, length);