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()317 depth = drvdata->buffer_depth; in etb_dump_hw()444 capacity = drvdata->buffer_depth * ETB_FRAME_SIZE_WORDS; in etb_update_buffer()485 to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->buffer_depth); in etb_update_buffer()508 read_ptr = (write_ptr + drvdata->buffer_depth) - in etb_update_buffer()511 if (read_ptr > (drvdata->buffer_depth - 1)) in etb_update_buffer()512 read_ptr -= drvdata->buffer_depth; in etb_update_buffer()623 depth = drvdata->buffer_depth; in etb_read()764 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);
4679 int *buffer_depth) in ia_css_stream_get_max_buffer_depth() argument4681 if (!buffer_depth) in ia_css_stream_get_max_buffer_depth()4685 *buffer_depth = NUM_CONTINUOUS_FRAMES; in ia_css_stream_get_max_buffer_depth()4690 ia_css_stream_set_buffer_depth(struct ia_css_stream *stream, int buffer_depth) in ia_css_stream_set_buffer_depth() argument4692 …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()4694 if (buffer_depth > NUM_CONTINUOUS_FRAMES || buffer_depth < 1) in ia_css_stream_set_buffer_depth()4697 stream->config.target_num_cont_raw_buf = buffer_depth; in ia_css_stream_set_buffer_depth()4705 int *buffer_depth) in ia_css_stream_get_buffer_depth() argument4707 if (!buffer_depth) in ia_css_stream_get_buffer_depth()4711 *buffer_depth = stream->config.target_num_cont_raw_buf; in ia_css_stream_get_buffer_depth()
607 unsigned char buffer_depth, filled_slots; in mei_me_count_full_read_slots() local610 buffer_depth = (unsigned char)((me_csr & ME_CBD_HRA) >> 24); in mei_me_count_full_read_slots()616 if (filled_slots > buffer_depth) in mei_me_count_full_read_slots()