Searched refs:scratch_buf_size (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_opr_v6.c114 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
119 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
123 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
126 ctx->scratch_buf_size + s5p_mfc_alloc_codec_buffers_v6()
131 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
136 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
142 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
144 ctx->bank1.size = ctx->scratch_buf_size; s5p_mfc_alloc_codec_buffers_v6()
148 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
152 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
154 ctx->bank1.size = ctx->scratch_buf_size; s5p_mfc_alloc_codec_buffers_v6()
161 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
165 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
167 ctx->bank1.size = ctx->scratch_buf_size; s5p_mfc_alloc_codec_buffers_v6()
171 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
176 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
180 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
182 ctx->bank1.size = ctx->scratch_buf_size; s5p_mfc_alloc_codec_buffers_v6()
186 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
191 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
195 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
198 ctx->scratch_buf_size + ctx->tmv_buffer_size + s5p_mfc_alloc_codec_buffers_v6()
205 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
209 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
212 ctx->scratch_buf_size + ctx->tmv_buffer_size + s5p_mfc_alloc_codec_buffers_v6()
219 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
224 ctx->scratch_buf_size = s5p_mfc_alloc_codec_buffers_v6()
228 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
231 ctx->scratch_buf_size + ctx->tmv_buffer_size + s5p_mfc_alloc_codec_buffers_v6()
446 writel(ctx->scratch_buf_size, mfc_regs->d_scratch_buffer_size); s5p_mfc_set_dec_frame_buffer_v6()
455 buf_addr1 += ctx->scratch_buf_size; s5p_mfc_set_dec_frame_buffer_v6()
456 buf_size1 -= ctx->scratch_buf_size; s5p_mfc_set_dec_frame_buffer_v6()
586 writel(ctx->scratch_buf_size, mfc_regs->e_scratch_buffer_size); s5p_mfc_set_enc_ref_buffer_v6()
587 buf_addr1 += ctx->scratch_buf_size; s5p_mfc_set_enc_ref_buffer_v6()
588 buf_size1 -= ctx->scratch_buf_size; s5p_mfc_set_enc_ref_buffer_v6()
H A Ds5p_mfc_common.h661 size_t scratch_buf_size; member in struct:s5p_mfc_ctx
/linux-4.1.27/drivers/media/usb/usbvision/
H A Dusbvision-core.c96 /* The value of 'scratch_buf_size' affects quality of the picture
103 static const int scratch_buf_size = DEFAULT_SCRATCH_BUF_SIZE; variable
187 len += scratch_buf_size; scratch_len()
199 free += scratch_buf_size; scratch_free()
216 if (usbvision->scratch_write_ptr + len < scratch_buf_size) { scratch_put()
220 len_part = scratch_buf_size - usbvision->scratch_write_ptr; scratch_put()
252 if (*ptr + len < scratch_buf_size) { scratch_get_extra()
256 len_part = scratch_buf_size - *ptr; scratch_get_extra()
276 *ptr = (usbvision->scratch_read_ptr + len) % scratch_buf_size; scratch_set_extra_ptr()
285 *ptr = (*ptr + len) % scratch_buf_size; scratch_inc_extra_ptr()
297 if (usbvision->scratch_read_ptr + len < scratch_buf_size) { scratch_get()
301 len_part = scratch_buf_size - usbvision->scratch_read_ptr; scratch_get()
350 usbvision->scratch_read_ptr %= scratch_buf_size; scratch_rm_old()
369 usbvision->scratch = vmalloc_32(scratch_buf_size); usbvision_scratch_alloc()
374 __func__, scratch_buf_size); usbvision_scratch_alloc()
/linux-4.1.27/arch/ia64/include/asm/
H A Dsal.h807 ia64_sal_update_pal (u64 param_buf, u64 scratch_buf, u64 scratch_buf_size, ia64_sal_update_pal() argument
811 SAL_CALL(isrv, SAL_UPDATE_PAL, param_buf, scratch_buf, scratch_buf_size, ia64_sal_update_pal()

Completed in 725 milliseconds