Searched refs:wmi_log (Results 1 – 3 of 3) sorted by relevance
44 struct wmi_log_buf_t *wmi_log; in wmi_log_history() local57 wmi_log = &wmi_handle->log_info.wmi_event_log_buf_info; in wmi_log_history()59 wmi_log = &wmi_handle->log_info.wmi_command_log_buf_info; in wmi_log_history()63 if (wmi_log->length <= wmi_ring_size) in wmi_log_history()64 nread = wmi_log->length; in wmi_log_history()68 if (*wmi_log->p_buf_tail_idx == 0) in wmi_log_history()72 pos = *wmi_log->p_buf_tail_idx - 1; in wmi_log_history()86 wmi_evt = &(((struct wmi_event_debug *)wmi_log->buf)[pos]); in wmi_log_history()99 wmi_cmd = &(((struct wmi_command_debug *)wmi_log->buf)[pos]); in wmi_log_history()
310 struct wmi_log_buf_t *wmi_log = (struct wmi_log_buf_t *)buf; in wmi_log_show() local317 if (!wmi_log->length) { in wmi_log_show()322 if (wmi_log->length <= wmi_ring_size) in wmi_log_show()323 nread = wmi_log->length; in wmi_log_show()327 if (*wmi_log->p_buf_tail_idx == 0) in wmi_log_show()331 pos = *wmi_log->p_buf_tail_idx - 1; in wmi_log_show()333 outlen = wmi_filtered_seq_printf(m, "Length = %d\n", wmi_log->length); in wmi_log_show()338 wmi_record = &(((struct wmi_event_debug *)wmi_log->buf)[pos]); in wmi_log_show()364 struct wmi_log_buf_t *wmi_log = in debug_wmi_filtered_command_log_show() local367 if (!wmi_log) in debug_wmi_filtered_command_log_show()[all …]
997 struct wmi_log_buf_t *wmi_log = \1004 if (!wmi_log->length) { \1010 if (wmi_log->length <= wmi_ring_size) \1011 nread = wmi_log->length; \1015 if (*(wmi_log->p_buf_tail_idx) == 0) \1019 pos = *(wmi_log->p_buf_tail_idx) - 1; \1021 outlen = wmi_bp_seq_printf(m, "Length = %d\n", wmi_log->length);\1027 &(((struct wmi_record_type *)wmi_log->buf)[pos]);\1055 struct wmi_log_buf_t *wmi_log = \1062 if (!wmi_log->length) { \[all …]