Home
last modified time | relevance | path

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

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v6.c139 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
144 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
148 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6()
151 ctx->scratch_buf_size + in s5p_mfc_alloc_codec_buffers_v6()
158 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
163 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
169 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6()
171 ctx->bank1.size = ctx->scratch_buf_size; in s5p_mfc_alloc_codec_buffers_v6()
178 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
183 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6()
[all …]
Ds5p_mfc_common.h713 size_t scratch_buf_size; member
Ds5p_mfc_enc.c1174 ctx->scratch_buf_size = s5p_mfc_hw_call(dev->mfc_ops, in enc_post_seq_start()
1176 ctx->bank1.size += ctx->scratch_buf_size; in enc_post_seq_start()
Ds5p_mfc.c527 ctx->scratch_buf_size = s5p_mfc_hw_call(dev->mfc_ops, in s5p_mfc_handle_seq_done()
/drivers/media/usb/usbvision/
Dusbvision-core.c84 static const int scratch_buf_size = DEFAULT_SCRATCH_BUF_SIZE; variable
168 len += scratch_buf_size; in scratch_len()
180 free += scratch_buf_size; in scratch_free()
197 if (usbvision->scratch_write_ptr + len < scratch_buf_size) { in scratch_put()
201 len_part = scratch_buf_size - usbvision->scratch_write_ptr; in scratch_put()
233 if (*ptr + len < scratch_buf_size) { in scratch_get_extra()
237 len_part = scratch_buf_size - *ptr; in scratch_get_extra()
257 *ptr = (usbvision->scratch_read_ptr + len) % scratch_buf_size; in scratch_set_extra_ptr()
266 *ptr = (*ptr + len) % scratch_buf_size; in scratch_inc_extra_ptr()
278 if (usbvision->scratch_read_ptr + len < scratch_buf_size) { in scratch_get()
[all …]