Lines Matching refs:write_frames
260 unsigned int write_frames; in capture_with_fmt_conv() local
274 &write_frames); in capture_with_fmt_conv()
275 write_frames /= dst_frame_bytes; in capture_with_fmt_conv()
276 if (write_frames == 0) in capture_with_fmt_conv()
280 write_frames = cras_fmt_conv_convert_frames( in capture_with_fmt_conv()
285 write_frames); in capture_with_fmt_conv()
289 write_frames * dst_frame_bytes); in capture_with_fmt_conv()
307 unsigned int write_frames; in capture_copy_converted_to_stream() local
335 &write_frames); in capture_copy_converted_to_stream()
336 write_frames /= frame_bytes; in capture_copy_converted_to_stream()
337 write_frames = MIN(write_frames, num_frames - total_written); in capture_copy_converted_to_stream()
343 dev_stream->conv_area->frames = write_frames; in capture_copy_converted_to_stream()
355 write_frames * frame_bytes); in capture_copy_converted_to_stream()
356 total_written += write_frames; in capture_copy_converted_to_stream()
357 cras_rstream_dev_offset_update(rstream, write_frames, in capture_copy_converted_to_stream()