Lines Matching refs:buffer_entry
446 u16 *buffer_entry, *buffer_end; in dell_wmi_notify() local
458 buffer_entry = (u16 *)obj->buffer.pointer; in dell_wmi_notify()
460 buffer_end = buffer_entry + buffer_size; in dell_wmi_notify()
474 if (priv->interface_version == 0 && buffer_entry < buffer_end) in dell_wmi_notify()
475 if (buffer_end > buffer_entry + buffer_entry[0] + 1) in dell_wmi_notify()
476 buffer_end = buffer_entry + buffer_entry[0] + 1; in dell_wmi_notify()
478 while (buffer_entry < buffer_end) { in dell_wmi_notify()
480 len = buffer_entry[0]; in dell_wmi_notify()
486 if (buffer_entry + len > buffer_end) { in dell_wmi_notify()
491 pr_debug("Process buffer (%*ph)\n", len*2, buffer_entry); in dell_wmi_notify()
493 switch (buffer_entry[1]) { in dell_wmi_notify()
496 dell_wmi_process_key(wdev, buffer_entry[1], in dell_wmi_notify()
497 buffer_entry[2], in dell_wmi_notify()
498 buffer_entry + 3, in dell_wmi_notify()
505 i += dell_wmi_process_key(wdev, buffer_entry[1], in dell_wmi_notify()
506 buffer_entry[i], in dell_wmi_notify()
507 buffer_entry + i, in dell_wmi_notify()
511 if ((len > 4) && dell_privacy_process_event(buffer_entry[1], buffer_entry[3], in dell_wmi_notify()
512 buffer_entry[4])) in dell_wmi_notify()
515 dell_wmi_process_key(wdev, buffer_entry[1], buffer_entry[2], in dell_wmi_notify()
516 buffer_entry + 3, len - 3); in dell_wmi_notify()
520 (int)buffer_entry[1]); in dell_wmi_notify()
524 buffer_entry += len; in dell_wmi_notify()