Lines Matching defs:out
203 static int wmi_gtoa(const char *in, char *out)
208 out += sprintf(out, "%02X", in[i] & 0xFF);
210 out += sprintf(out, "-");
211 out += sprintf(out, "%02X", in[5] & 0xFF);
212 out += sprintf(out, "%02X", in[4] & 0xFF);
213 out += sprintf(out, "-");
214 out += sprintf(out, "%02X", in[7] & 0xFF);
215 out += sprintf(out, "%02X", in[6] & 0xFF);
216 out += sprintf(out, "-");
217 out += sprintf(out, "%02X", in[8] & 0xFF);
218 out += sprintf(out, "%02X", in[9] & 0xFF);
219 out += sprintf(out, "-");
222 out += sprintf(out, "%02X", in[i] & 0xFF);
224 *out = '\0';
228 static bool find_guid(const char *guid_string, struct wmi_block **out)
243 if (out)
244 *out = wblock;
289 * &out: Empty buffer to return the method results
294 u32 method_id, const struct acpi_buffer *in, struct acpi_buffer *out)
337 status = acpi_evaluate_object(handle, method, &input, out);
347 * &out: Empty buffer to return the contents of the data block to
352 struct acpi_buffer *out)
363 if (!guid_string || !out)
410 status = acpi_evaluate_object(handle, method, &input, out);
636 * @out: Buffer to hold event data. out->pointer should be freed with kfree()
640 acpi_status wmi_get_event_data(u32 event, struct acpi_buffer *out)
660 &input, out);
783 struct acpi_buffer out = {ACPI_ALLOCATE_BUFFER, NULL};
791 status = acpi_evaluate_object(handle, "_WDG", NULL, &out);
795 obj = (union acpi_object *) out.pointer;
843 kfree(out.pointer);