Searched refs:write_ptr (Results 1 – 5 of 5) sorted by relevance
/sound/soc/intel/avs/ |
D | apl.c | 69 if (layout.read_ptr > layout.write_ptr) { in apl_log_buffer_status() 76 layout.write_ptr - layout.read_ptr, &adev->dbg.fifo_lock); in apl_log_buffer_status() 82 writel(layout.write_ptr, addr); in apl_log_buffer_status() 99 if (layout->read_ptr != layout->write_ptr) in apl_wait_log_entry() 152 if (layout.read_ptr > layout.write_ptr) { in apl_coredump() 158 count = layout.write_ptr - layout.read_ptr; in apl_coredump() 163 writel(layout.write_ptr, addr); in apl_coredump()
|
D | avs.h | 339 u32 write_ptr; member
|
/sound/soc/sof/ |
D | ipc4-mtrace.c | 191 u32 log_buffer_offset, log_buffer_size, read_ptr, write_ptr; in sof_ipc4_mtrace_dfs_read() local 224 write_ptr = core_data->dsp_write_ptr; in sof_ipc4_mtrace_dfs_read() 226 if (read_ptr < write_ptr) in sof_ipc4_mtrace_dfs_read() 227 avail = write_ptr - read_ptr; in sof_ipc4_mtrace_dfs_read() 229 avail = log_buffer_size - read_ptr + write_ptr; in sof_ipc4_mtrace_dfs_read() 244 core_data->id, read_ptr, write_ptr, avail); in sof_ipc4_mtrace_dfs_read() 246 if (read_ptr < write_ptr) { in sof_ipc4_mtrace_dfs_read() 252 avail - write_ptr); in sof_ipc4_mtrace_dfs_read() 254 if (write_ptr) in sof_ipc4_mtrace_dfs_read() 256 (u8 *)(log_buffer) + avail - write_ptr, in sof_ipc4_mtrace_dfs_read() [all …]
|
/sound/usb/misc/ |
D | ua101.c | 351 unsigned int frames, write_ptr; in capture_urb_complete() local 384 write_ptr = ua->rate_feedback_start; in capture_urb_complete() 385 add_with_wraparound(ua, &write_ptr, ua->rate_feedback_count); in capture_urb_complete() 386 ua->rate_feedback[write_ptr] = frames; in capture_urb_complete()
|
/sound/mips/ |
D | sgio2audio.c | 407 dst_pos = readq(&mace->perif.audio.chan[ch].write_ptr); in snd_sgio2audio_dma_push_frag() 432 writeq(dst_pos, &mace->perif.audio.chan[ch].write_ptr); /* in bytes */ in snd_sgio2audio_dma_push_frag()
|