Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v6.c142 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
147 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
151 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6()
154 ctx->scratch_buf_size + in s5p_mfc_alloc_codec_buffers_v6()
161 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
166 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
172 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6()
174 ctx->bank1.size = ctx->scratch_buf_size; in s5p_mfc_alloc_codec_buffers_v6()
181 ctx->scratch_buf_size = in s5p_mfc_alloc_codec_buffers_v6()
186 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6()
[all …]
Ds5p_mfc_common.h717 size_t scratch_buf_size; member
Ds5p_mfc_enc.c1186 ctx->scratch_buf_size = s5p_mfc_hw_call(dev->mfc_ops, in enc_post_seq_start()
1188 ctx->bank1.size += ctx->scratch_buf_size; in enc_post_seq_start()
Ds5p_mfc.c530 ctx->scratch_buf_size = s5p_mfc_hw_call(dev->mfc_ops, in s5p_mfc_handle_seq_done()
/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-core.c94 static const int scratch_buf_size = DEFAULT_SCRATCH_BUF_SIZE; variable
178 len += scratch_buf_size; in scratch_len()
190 free += scratch_buf_size; in scratch_free()
207 if (usbvision->scratch_write_ptr + len < scratch_buf_size) { in scratch_put()
211 len_part = scratch_buf_size - usbvision->scratch_write_ptr; in scratch_put()
243 if (*ptr + len < scratch_buf_size) { in scratch_get_extra()
247 len_part = scratch_buf_size - *ptr; in scratch_get_extra()
267 *ptr = (usbvision->scratch_read_ptr + len) % scratch_buf_size; in scratch_set_extra_ptr()
276 *ptr = (*ptr + len) % scratch_buf_size; in scratch_inc_extra_ptr()
288 if (usbvision->scratch_read_ptr + len < scratch_buf_size) { in scratch_get()
[all …]
/Linux-v4.19/arch/ia64/include/asm/
Dsal.h808 ia64_sal_update_pal (u64 param_buf, u64 scratch_buf, u64 scratch_buf_size, in ia64_sal_update_pal() argument
812 SAL_CALL(isrv, SAL_UPDATE_PAL, param_buf, scratch_buf, scratch_buf_size, in ia64_sal_update_pal()