Searched refs:buffer_depth (Results 1 – 4 of 4) sorted by relevance
93 u32 buffer_depth; member112 depth = drvdata->buffer_depth; in __etb_enable_hw()318 depth = drvdata->buffer_depth; in etb_dump_hw()445 capacity = drvdata->buffer_depth * ETB_FRAME_SIZE_WORDS; in etb_update_buffer()486 to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->buffer_depth); in etb_update_buffer()509 read_ptr = (write_ptr + drvdata->buffer_depth) - in etb_update_buffer()512 if (read_ptr > (drvdata->buffer_depth - 1)) in etb_update_buffer()513 read_ptr -= drvdata->buffer_depth; in etb_update_buffer()624 depth = drvdata->buffer_depth; in etb_read()753 drvdata->buffer_depth = etb_get_buffer_depth(drvdata); in etb_probe()[all …]
285 int *buffer_depth);296 ia_css_stream_set_buffer_depth(struct ia_css_stream *stream, int buffer_depth);307 ia_css_stream_get_buffer_depth(struct ia_css_stream *stream, int *buffer_depth);
4440 int *buffer_depth) in ia_css_stream_get_max_buffer_depth() argument4442 if (!buffer_depth) in ia_css_stream_get_max_buffer_depth()4446 *buffer_depth = NUM_CONTINUOUS_FRAMES; in ia_css_stream_get_max_buffer_depth()4451 ia_css_stream_set_buffer_depth(struct ia_css_stream *stream, int buffer_depth) in ia_css_stream_set_buffer_depth() argument4453 …trace(IA_CSS_DEBUG_TRACE, "ia_css_stream_set_buffer_depth() enter: num_frames=%d\n", buffer_depth); in ia_css_stream_set_buffer_depth()4455 if (buffer_depth > NUM_CONTINUOUS_FRAMES || buffer_depth < 1) in ia_css_stream_set_buffer_depth()4458 stream->config.target_num_cont_raw_buf = buffer_depth; in ia_css_stream_set_buffer_depth()4466 int *buffer_depth) in ia_css_stream_get_buffer_depth() argument4468 if (!buffer_depth) in ia_css_stream_get_buffer_depth()4472 *buffer_depth = stream->config.target_num_cont_raw_buf; in ia_css_stream_get_buffer_depth()
647 unsigned char buffer_depth, filled_slots; in mei_me_count_full_read_slots() local650 buffer_depth = (unsigned char)((me_csr & ME_CBD_HRA) >> 24); in mei_me_count_full_read_slots()656 if (filled_slots > buffer_depth) in mei_me_count_full_read_slots()