Home
last modified time | relevance | path

Searched refs:buffer_depth (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-etb10.c80 * @buffer_depth: size of @buf.
93 u32 buffer_depth; member
112 depth = drvdata->buffer_depth; in __etb_enable_hw()
316 depth = drvdata->buffer_depth; in etb_dump_hw()
443 capacity = drvdata->buffer_depth * ETB_FRAME_SIZE_WORDS; in etb_update_buffer()
484 to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->buffer_depth); in etb_update_buffer()
507 read_ptr = (write_ptr + drvdata->buffer_depth) - in etb_update_buffer()
510 if (read_ptr > (drvdata->buffer_depth - 1)) in etb_update_buffer()
511 read_ptr -= drvdata->buffer_depth; in etb_update_buffer()
623 depth = drvdata->buffer_depth; in etb_read()
[all...]
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-etb10.c80 * @buffer_depth: size of @buf.
93 u32 buffer_depth; member
112 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()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Dia_css_stream_public.h288 * @param[out] buffer_depth The maximum number of continuous RAW frames.
296 int *buffer_depth);
301 * @param[in] buffer_depth Number of frames to set.
307 ia_css_stream_set_buffer_depth(struct ia_css_stream *stream, int buffer_depth);
311 * @param[out] buffer_depth The number of frames to use
318 ia_css_stream_get_buffer_depth(struct ia_css_stream *stream, int *buffer_depth);
H A Dsh_css.c4989 int *buffer_depth) { in ia_css_stream_get_max_buffer_depth()
4990 if (!buffer_depth) in ia_css_stream_get_max_buffer_depth()
4994 *buffer_depth = NUM_CONTINUOUS_FRAMES; in ia_css_stream_get_max_buffer_depth()
4999 ia_css_stream_set_buffer_depth(struct ia_css_stream *stream, int buffer_depth) { in ia_css_stream_set_buffer_depth() argument
5000 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_stream_set_buffer_depth() enter: num_frames=%d\n", buffer_depth); in ia_css_stream_set_buffer_depth()
5002 if (buffer_depth > NUM_CONTINUOUS_FRAMES || buffer_depth < 1) in ia_css_stream_set_buffer_depth()
5005 stream->config.target_num_cont_raw_buf = buffer_depth; in ia_css_stream_set_buffer_depth()
5013 int *buffer_depth) { in ia_css_stream_get_buffer_depth()
5014 if (!buffer_depth) in ia_css_stream_get_buffer_depth()
4988 ia_css_stream_get_max_buffer_depth(struct ia_css_stream *stream, int *buffer_depth) ia_css_stream_get_max_buffer_depth() argument
5012 ia_css_stream_get_buffer_depth(struct ia_css_stream *stream, int *buffer_depth) ia_css_stream_get_buffer_depth() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Dia_css_stream_public.h277 * @param[out] buffer_depth The maximum number of continuous RAW frames.
285 int *buffer_depth);
290 * @param[in] buffer_depth Number of frames to set.
296 ia_css_stream_set_buffer_depth(struct ia_css_stream *stream, int buffer_depth);
300 * @param[out] buffer_depth The number of frames to use
307 ia_css_stream_get_buffer_depth(struct ia_css_stream *stream, int *buffer_depth);
H A Dsh_css.c4440 int *buffer_depth) in ia_css_stream_get_max_buffer_depth()
4442 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() argument
4453 ia_css_debug_dtrace(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()
4468 if (!buffer_depth) in ia_css_stream_get_buffer_depth()
4439 ia_css_stream_get_max_buffer_depth(struct ia_css_stream *stream, int *buffer_depth) ia_css_stream_get_max_buffer_depth() argument
4465 ia_css_stream_get_buffer_depth(struct ia_css_stream *stream, int *buffer_depth) ia_css_stream_get_buffer_depth() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/mei/
H A Dhw-me.c607 unsigned char buffer_depth, filled_slots; in mei_me_count_full_read_slots() local
610 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()
/kernel/linux/linux-6.6/drivers/misc/mei/
H A Dhw-me.c647 unsigned char buffer_depth, filled_slots; in mei_me_count_full_read_slots() local
650 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()

Completed in 21 milliseconds