Home
last modified time | relevance | path

Searched refs:log_buffer (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/sound/soc/sof/
Dipc4-mtrace.c110 void *log_buffer; member
134 if (core_data->log_buffer) { in sof_ipc4_mtrace_dfs_open()
143 core_data->log_buffer = kmalloc(SOF_MTRACE_SLOT_SIZE, GFP_KERNEL); in sof_ipc4_mtrace_dfs_open()
144 if (!core_data->log_buffer) { in sof_ipc4_mtrace_dfs_open()
152 kfree(core_data->log_buffer); in sof_ipc4_mtrace_dfs_open()
194 void *log_buffer = core_data->log_buffer; in sof_ipc4_mtrace_dfs_read() local
248 sof_mailbox_read(sdev, log_buffer_offset + read_ptr, log_buffer, avail); in sof_ipc4_mtrace_dfs_read()
251 sof_mailbox_read(sdev, log_buffer_offset + read_ptr, log_buffer, in sof_ipc4_mtrace_dfs_read()
256 (u8 *)(log_buffer) + avail - write_ptr, in sof_ipc4_mtrace_dfs_read()
266 ret = copy_to_user(buffer + sizeof(avail), log_buffer, avail); in sof_ipc4_mtrace_dfs_read()
[all …]
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_debugfs.c46 struct circ_buf log_buffer; member
65 struct circ_buf *cb = &debug_info->log_buffer; in cros_ec_console_log_work()
132 struct circ_buf *cb = &debug_info->log_buffer; in cros_ec_console_log_read()
180 if (CIRC_CNT(debug_info->log_buffer.head, in cros_ec_console_log_poll()
181 debug_info->log_buffer.tail, in cros_ec_console_log_poll()
376 debug_info->log_buffer.buf = buf; in cros_ec_create_console_log()
377 debug_info->log_buffer.head = 0; in cros_ec_create_console_log()
378 debug_info->log_buffer.tail = 0; in cros_ec_create_console_log()
394 if (debug_info->log_buffer.buf) { in cros_ec_cleanup_console_log()
501 if (ec->debug_info->log_buffer.buf) in cros_ec_debugfs_suspend()
[all …]
/linux-6.1.9/arch/ia64/kernel/
Dsalinfo.c144 u8 *log_buffer; member
357 !(data->log_buffer = vmalloc(ia64_sal_get_state_info_size(data->type)))) { in salinfo_log_open()
371 vfree(data->log_buffer); in salinfo_log_release()
373 data->log_buffer = NULL; in salinfo_log_release()
387 data->log_size = ia64_sal_get_state_info(data->type, (u64 *) data->log_buffer); in salinfo_log_read_cpu()
388 rh = (sal_log_record_header_t *)(data->log_buffer); in salinfo_log_read_cpu()
410 memcpy(data->log_buffer, rh, data->log_size); in salinfo_log_new_read()
441 buf = data->log_buffer; in salinfo_log_read()
479 rh = (sal_log_record_header_t *)(data->log_buffer); in salinfo_log_clear()
523 .efi_guid = data->log_buffer + offset, in salinfo_log_write()
Dmca.c427 sal_log_record_header_t *log_buffer; in ia64_log_get() local
434 log_buffer = IA64_LOG_NEXT_BUFFER(sal_info_type); in ia64_log_get()
436 total_len = ia64_sal_get_state_info(sal_info_type, (u64 *)log_buffer); in ia64_log_get()
445 *buffer = (u8 *) log_buffer; in ia64_log_get()