Home
last modified time | relevance | path

Searched refs:scratch_buf_size (Results 1 – 3 of 3) sorted by relevance

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v6.c114 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
119 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
123 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6()
126 ctx->scratch_buf_size + in s5p_mfc_alloc_codec_buffers_v6()
131 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
136 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
142 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6()
144 ctx->bank1.size = ctx->scratch_buf_size; in s5p_mfc_alloc_codec_buffers_v6()
148 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
152 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6()
[all …]
Ds5p_mfc_common.h663 size_t scratch_buf_size; member
/drivers/media/usb/usbvision/
Dusbvision-core.c98 static const int scratch_buf_size = DEFAULT_SCRATCH_BUF_SIZE; variable
182 len += scratch_buf_size; in scratch_len()
194 free += scratch_buf_size; in scratch_free()
211 if (usbvision->scratch_write_ptr + len < scratch_buf_size) { in scratch_put()
215 len_part = scratch_buf_size - usbvision->scratch_write_ptr; in scratch_put()
247 if (*ptr + len < scratch_buf_size) { in scratch_get_extra()
251 len_part = scratch_buf_size - *ptr; in scratch_get_extra()
271 *ptr = (usbvision->scratch_read_ptr + len) % scratch_buf_size; in scratch_set_extra_ptr()
280 *ptr = (*ptr + len) % scratch_buf_size; in scratch_inc_extra_ptr()
292 if (usbvision->scratch_read_ptr + len < scratch_buf_size) { in scratch_get()
[all …]