Searched refs:buffer_depth (Results 1 – 4 of 4) sorted by relevance
89 u32 buffer_depth; member108 depth = drvdata->buffer_depth; in __etb_enable_hw()314 depth = drvdata->buffer_depth; in etb_dump_hw()442 capacity = drvdata->buffer_depth * ETB_FRAME_SIZE_WORDS; in etb_update_buffer()483 to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->buffer_depth); in etb_update_buffer()506 read_ptr = (write_ptr + drvdata->buffer_depth) - in etb_update_buffer()509 if (read_ptr > (drvdata->buffer_depth - 1)) in etb_update_buffer()510 read_ptr -= drvdata->buffer_depth; in etb_update_buffer()621 depth = drvdata->buffer_depth; in etb_read()747 drvdata->buffer_depth = etb_get_buffer_depth(drvdata); in etb_probe()[all …]
277 int *buffer_depth);288 ia_css_stream_set_buffer_depth(struct ia_css_stream *stream, int buffer_depth);299 ia_css_stream_get_buffer_depth(struct ia_css_stream *stream, int *buffer_depth);
4239 int *buffer_depth) in ia_css_stream_get_max_buffer_depth() argument4241 if (!buffer_depth) in ia_css_stream_get_max_buffer_depth()4245 *buffer_depth = NUM_CONTINUOUS_FRAMES; in ia_css_stream_get_max_buffer_depth()4250 ia_css_stream_set_buffer_depth(struct ia_css_stream *stream, int buffer_depth) in ia_css_stream_set_buffer_depth() argument4252 …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()4254 if (buffer_depth > NUM_CONTINUOUS_FRAMES || buffer_depth < 1) in ia_css_stream_set_buffer_depth()4257 stream->config.target_num_cont_raw_buf = buffer_depth; in ia_css_stream_set_buffer_depth()4265 int *buffer_depth) in ia_css_stream_get_buffer_depth() argument4267 if (!buffer_depth) in ia_css_stream_get_buffer_depth()4271 *buffer_depth = stream->config.target_num_cont_raw_buf; in ia_css_stream_get_buffer_depth()
665 unsigned char buffer_depth, filled_slots; in mei_me_count_full_read_slots() local668 buffer_depth = (unsigned char)((me_csr & ME_CBD_HRA) >> 24); in mei_me_count_full_read_slots()674 if (filled_slots > buffer_depth) in mei_me_count_full_read_slots()