Searched refs:log_buffer (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/sound/soc/sof/ |
D | ipc4-mtrace.c | 110 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-v6.6/drivers/platform/chrome/ |
D | cros_ec_debugfs.c | 48 struct circ_buf log_buffer; member 68 struct circ_buf *cb = &debug_info->log_buffer; in cros_ec_console_log_work() 135 struct circ_buf *cb = &debug_info->log_buffer; in cros_ec_console_log_read() 183 if (CIRC_CNT(debug_info->log_buffer.head, in cros_ec_console_log_poll() 184 debug_info->log_buffer.tail, in cros_ec_console_log_poll() 379 debug_info->log_buffer.buf = buf; in cros_ec_create_console_log() 380 debug_info->log_buffer.head = 0; in cros_ec_create_console_log() 381 debug_info->log_buffer.tail = 0; in cros_ec_create_console_log() 397 if (debug_info->log_buffer.buf) { in cros_ec_cleanup_console_log() 473 if (debug_info->log_buffer.buf) { in cros_ec_debugfs_panic_event() [all …]
|
/Linux-v6.6/arch/ia64/kernel/ |
D | salinfo.c | 144 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()
|
D | mca.c | 427 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()
|
/Linux-v6.6/drivers/accel/ivpu/ |
D | ivpu_fw_log.c | 96 char *log_buffer = (void *)log + log->header_size; in fw_log_print_buffer() local 109 buffer_print(log_buffer + log_start, log_end - log_start, p); in fw_log_print_buffer() 111 buffer_print(log_buffer + log_end, log_size - log_end, p); in fw_log_print_buffer() 112 buffer_print(log_buffer, log_end, p); in fw_log_print_buffer()
|