Lines Matching defs:buffer
394 obj->buffer.length, obj->buffer.pointer);
396 buffer_entry = (u16 *)obj->buffer.pointer;
397 buffer_size = obj->buffer.length/2;
402 * buffer before filling it. So next time when BIOS/ACPI send WMI event
403 * which is smaller as previous then it contains garbage in buffer from
406 * BIOS/ACPI on devices with WMI interface version 1 clears buffer and
407 * sometimes send more events in buffer at one call.
409 * So to prevent reading garbage from buffer we will process only first
429 pr_debug("Process buffer (%*ph)\n", len*2, buffer_entry);
680 struct calling_interface_buffer *buffer;
683 buffer = kzalloc(sizeof(struct calling_interface_buffer), GFP_KERNEL);
684 if (!buffer)
686 buffer->cmd_class = CLASS_INFO;
687 buffer->cmd_select = SELECT_APP_REGISTRATION;
688 buffer->input[0] = 0x10000;
689 buffer->input[1] = 0x51534554;
690 buffer->input[3] = enable;
691 ret = dell_smbios_call(buffer);
693 ret = buffer->output[0];
694 kfree(buffer);