SOF_IPC4_DEBUG_SLOT_SIZE
core_data->log_buffer = kmalloc(SOF_IPC4_DEBUG_SLOT_SIZE, GFP_KERNEL);
log_buffer_size = SOF_IPC4_DEBUG_SLOT_SIZE - (sizeof(u32) * 2);
core_data->slot_offset += SOF_IPC4_DEBUG_SLOT_SIZE * (i + 1);
if (pos >= SOF_IPC4_DEBUG_SLOT_SIZE - 4 || !count)
if (count > SOF_IPC4_DEBUG_SLOT_SIZE - 4 - pos)
count = SOF_IPC4_DEBUG_SLOT_SIZE - 4 - pos;
buf = kzalloc(SOF_IPC4_DEBUG_SLOT_SIZE - 4, GFP_KERNEL);
memcpy_fromio(buf, io_addr, SOF_IPC4_DEBUG_SLOT_SIZE - 4);
dfse->size = SOF_IPC4_DEBUG_SLOT_SIZE - 4;
return sdev->debug_box.offset + (i + 1) * SOF_IPC4_DEBUG_SLOT_SIZE;