Searched refs:log_buffer (Results 1 – 3 of 3) sorted by relevance
191 struct wmi_log_buf_t *log_buffer) in wmi_specific_cmd_evt_record() argument195 (struct wmi_command_debug *)log_buffer->buf; in wmi_specific_cmd_evt_record()197 if (*log_buffer->p_buf_tail_idx >= WMI_FILTERED_CMD_EVT_MAX_NUM_ENTRY) in wmi_specific_cmd_evt_record()198 *log_buffer->p_buf_tail_idx = 0; in wmi_specific_cmd_evt_record()200 idx = *log_buffer->p_buf_tail_idx; in wmi_specific_cmd_evt_record()205 (*log_buffer->p_buf_tail_idx)++; in wmi_specific_cmd_evt_record()206 log_buffer->length++; in wmi_specific_cmd_evt_record()213 struct wmi_log_buf_t *log_buffer; in wmi_specific_cmd_record() local219 log_buffer = wmi_handle->log_info.wmi_filtered_command_log; in wmi_specific_cmd_record()220 if (!log_buffer) in wmi_specific_cmd_record()[all …]
717 wmi_print_cmd_log_buffer(struct wmi_log_buf_t *log_buffer, uint32_t count, in wmi_print_cmd_log_buffer() argument725 if (count > log_buffer->size) in wmi_print_cmd_log_buffer()726 count = log_buffer->size; in wmi_print_cmd_log_buffer()727 if (count > log_buffer->length) in wmi_print_cmd_log_buffer()728 count = log_buffer->length; in wmi_print_cmd_log_buffer()731 idx = log_buffer->size + *log_buffer->p_buf_tail_idx - count; in wmi_print_cmd_log_buffer()732 idx %= log_buffer->size; in wmi_print_cmd_log_buffer()737 &((struct wmi_command_debug *)log_buffer->buf)[idx]; in wmi_print_cmd_log_buffer()756 if (idx >= log_buffer->size) in wmi_print_cmd_log_buffer()818 wmi_print_cmd_cmp_log_buffer(struct wmi_log_buf_t *log_buffer, uint32_t count, in wmi_print_cmd_cmp_log_buffer() argument[all …]
37 __ATTR(log_buffer, 0440, hdd_sysfs_log_buffer_show,