src_buf 72 crypto/async_tx/async_memcpy.c void *dest_buf, *src_buf; src_buf 79 crypto/async_tx/async_memcpy.c src_buf = kmap_atomic(src) + src_offset; src_buf 81 crypto/async_tx/async_memcpy.c memcpy(dest_buf, src_buf, len); src_buf 83 crypto/async_tx/async_memcpy.c kunmap_atomic(src_buf); src_buf 975 drivers/char/random.c const char * src_buf = cp; src_buf 993 drivers/char/random.c dest_buf[i % CHACHA_KEY_SIZE] ^= src_buf[i % len] ^ lfsr; src_buf 121 drivers/crypto/ixp4xx_crypto.c dma_addr_t src_buf; src_buf 372 drivers/crypto/ixp4xx_crypto.c free_buf_chain(dev, req_ctx->src, crypt->src_buf); src_buf 387 drivers/crypto/ixp4xx_crypto.c free_buf_chain(dev, req_ctx->src, crypt->src_buf); src_buf 395 drivers/crypto/ixp4xx_crypto.c dma_pool_free(buffer_pool, crypt->regist_buf, crypt->src_buf); src_buf 637 drivers/crypto/ixp4xx_crypto.c crypt->src_buf = buf_phys; src_buf 716 drivers/crypto/ixp4xx_crypto.c crypt->src_buf = 0; src_buf 928 drivers/crypto/ixp4xx_crypto.c crypt->src_buf = src_hook.phys_next; src_buf 935 drivers/crypto/ixp4xx_crypto.c free_buf_chain(dev, req_ctx->src, crypt->src_buf); src_buf 1028 drivers/crypto/ixp4xx_crypto.c crypt->src_buf = src_hook.phys_next; src_buf 1085 drivers/crypto/ixp4xx_crypto.c free_buf_chain(dev, req_ctx->src, crypt->src_buf); src_buf 290 drivers/crypto/mxs-dcp.c uint8_t *out_tmp, *src_buf, *dst_buf = NULL; src_buf 317 drivers/crypto/mxs-dcp.c src_buf = sg_virt(src); src_buf 331 drivers/crypto/mxs-dcp.c memcpy(in_buf + actx->fill, src_buf, clen); src_buf 333 drivers/crypto/mxs-dcp.c src_buf += clen; src_buf 152 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct exynos_drm_ipp_buffer *src_buf) src_buf 161 drivers/gpu/drm/exynos/exynos_drm_scaler.c for (i = 0; i < src_buf->format->num_planes; ++i) src_buf 162 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_write(src_buf->dma_addr[i], bases[i]); src_buf 166 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct exynos_drm_ipp_buffer *src_buf) src_buf 170 drivers/gpu/drm/exynos/exynos_drm_scaler.c val = SCALER_SRC_SPAN_SET_Y_SPAN(src_buf->buf.pitch[0] / src_buf 171 drivers/gpu/drm/exynos/exynos_drm_scaler.c src_buf->format->cpp[0]); src_buf 173 drivers/gpu/drm/exynos/exynos_drm_scaler.c if (src_buf->format->num_planes > 1) src_buf 174 drivers/gpu/drm/exynos/exynos_drm_scaler.c val |= SCALER_SRC_SPAN_SET_C_SPAN(src_buf->buf.pitch[1]); src_buf 1427 drivers/hwtracing/coresight/coresight-tmc-etr.c char **dst_pages, *src_buf; src_buf 1447 drivers/hwtracing/coresight/coresight-tmc-etr.c &src_buf); src_buf 1452 drivers/hwtracing/coresight/coresight-tmc-etr.c memcpy(dst_pages[pg_idx] + pg_offset, src_buf, bytes); src_buf 230 drivers/media/platform/coda/coda-bit.c struct vb2_v4l2_buffer *src_buf, src_buf 233 drivers/media/platform/coda/coda-bit.c u8 *vaddr = vb2_plane_vaddr(&src_buf->vb2_buf, 0); src_buf 251 drivers/media/platform/coda/coda-bit.c struct vb2_v4l2_buffer *src_buf) src_buf 253 drivers/media/platform/coda/coda-bit.c unsigned long payload = vb2_get_plane_payload(&src_buf->vb2_buf, 0); src_buf 254 drivers/media/platform/coda/coda-bit.c u8 *vaddr = vb2_plane_vaddr(&src_buf->vb2_buf, 0); src_buf 275 drivers/media/platform/coda/coda-bit.c u32 header_size = coda_buffer_parse_headers(ctx, src_buf, src_buf 309 drivers/media/platform/coda/coda-bit.c src_buf->sequence = ctx->qsequence++; src_buf 316 drivers/media/platform/coda/coda-bit.c if (src_buf->flags & V4L2_BUF_FLAG_LAST) src_buf 325 drivers/media/platform/coda/coda-bit.c struct vb2_v4l2_buffer *src_buf; src_buf 359 drivers/media/platform/coda/coda-bit.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 363 drivers/media/platform/coda/coda-bit.c !coda_jpeg_check_buffer(ctx, &src_buf->vb2_buf)) { src_buf 367 drivers/media/platform/coda/coda-bit.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 371 drivers/media/platform/coda/coda-bit.c m2m_buf = container_of(src_buf, src_buf 376 drivers/media/platform/coda/coda-bit.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); src_buf 382 drivers/media/platform/coda/coda-bit.c if (!vb2_get_plane_payload(&src_buf->vb2_buf, 0)) { src_buf 383 drivers/media/platform/coda/coda-bit.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 384 drivers/media/platform/coda/coda-bit.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_DONE); src_buf 391 drivers/media/platform/coda/coda-bit.c if (coda_bitstream_try_queue(ctx, src_buf)) { src_buf 396 drivers/media/platform/coda/coda-bit.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 400 drivers/media/platform/coda/coda-bit.c meta->sequence = src_buf->sequence; src_buf 401 drivers/media/platform/coda/coda-bit.c meta->timecode = src_buf->timecode; src_buf 402 drivers/media/platform/coda/coda-bit.c meta->timestamp = src_buf->vb2_buf.timestamp; src_buf 405 drivers/media/platform/coda/coda-bit.c meta->last = src_buf->flags & V4L2_BUF_FLAG_LAST; src_buf 414 drivers/media/platform/coda/coda-bit.c trace_coda_bit_queue(ctx, src_buf, meta); src_buf 420 drivers/media/platform/coda/coda-bit.c m2m_buf = container_of(src_buf, src_buf 425 drivers/media/platform/coda/coda-bit.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_DONE); src_buf 1468 drivers/media/platform/coda/coda-bit.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 1484 drivers/media/platform/coda/coda-bit.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 1490 drivers/media/platform/coda/coda-bit.c src_buf->sequence = ctx->osequence; src_buf 1498 drivers/media/platform/coda/coda-bit.c (src_buf->sequence % ctx->params.gop_size) == 0) src_buf 1507 drivers/media/platform/coda/coda-bit.c src_buf->flags |= V4L2_BUF_FLAG_PFRAME; src_buf 1508 drivers/media/platform/coda/coda-bit.c src_buf->flags &= ~V4L2_BUF_FLAG_KEYFRAME; src_buf 1510 drivers/media/platform/coda/coda-bit.c src_buf->flags |= V4L2_BUF_FLAG_KEYFRAME; src_buf 1511 drivers/media/platform/coda/coda-bit.c src_buf->flags &= ~V4L2_BUF_FLAG_PFRAME; src_buf 1521 drivers/media/platform/coda/coda-bit.c if (src_buf->sequence == 0 || force_ipicture) { src_buf 1592 drivers/media/platform/coda/coda-bit.c coda_write_base(ctx, q_data_src, src_buf, reg); src_buf 1612 drivers/media/platform/coda/coda-bit.c trace_coda_enc_pic_run(ctx, src_buf); src_buf 1628 drivers/media/platform/coda/coda-bit.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 1638 drivers/media/platform/coda/coda-bit.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 1649 drivers/media/platform/coda/coda-bit.c src_buf->flags & V4L2_BUF_FLAG_KEYFRAME) { src_buf 1670 drivers/media/platform/coda/coda-bit.c dst_buf->flags |= src_buf->flags & V4L2_BUF_FLAG_LAST; src_buf 1672 drivers/media/platform/coda/coda-bit.c v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, false); src_buf 1674 drivers/media/platform/coda/coda-bit.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_DONE); src_buf 963 drivers/media/platform/imx-pxp.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 965 drivers/media/platform/imx-pxp.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 968 drivers/media/platform/imx-pxp.c pxp_start(ctx, src_buf, dst_buf); src_buf 206 drivers/media/platform/m2m-deinterlace.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 216 drivers/media/platform/m2m-deinterlace.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 224 drivers/media/platform/m2m-deinterlace.c p_in = (dma_addr_t)vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 735 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct mtk_jpeg_src_buf *src_buf; src_buf 738 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c src_buf = mtk_jpeg_vb2_to_srcbuf(&vb->vb2_buf); src_buf 739 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c mtk_jpeg_set_queue_data(ctx, &src_buf->dec_param); src_buf 762 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct vb2_buffer *src_buf, src_buf 765 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c bs->str_addr = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 767 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c mtk_jpeg_align(vb2_get_plane_payload(src_buf, 0), 16); src_buf 768 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c bs->size = mtk_jpeg_align(vb2_plane_size(src_buf, 0), 128); src_buf 802 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 810 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 812 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg_src_buf = mtk_jpeg_vb2_to_srcbuf(&src_buf->vb2_buf); src_buf 828 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c mtk_jpeg_set_dec_src(ctx, &src_buf->vb2_buf, &bs); src_buf 844 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_m2m_buf_done(src_buf, buf_state); src_buf 916 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 931 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 933 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg_src_buf = mtk_jpeg_vb2_to_srcbuf(&src_buf->vb2_buf); src_buf 950 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_m2m_buf_done(src_buf, buf_state); src_buf 51 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c struct mdp_buffer *src_buf = &ctx->vpu.vsi->src_buffer; src_buf 55 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c src_buf->addr_mva[i] = (uint64_t)addr->addr[i]; src_buf 93 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c struct mdp_buffer *src_buf = &ctx->vpu.vsi->src_buffer; src_buf 95 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c src_buf->plane_num = frame->fmt->num_comp; src_buf 100 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c for (i = 0; i < src_buf->plane_num; i++) src_buf 101 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c src_buf->plane_size[i] = frame->payload[i]; src_buf 347 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 354 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); src_buf 355 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c if (src_buf == NULL) { src_buf 368 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf_info = container_of(src_buf, struct mtk_video_dec_buf, vb); src_buf 390 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); src_buf 409 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c buf.va = vb2_plane_vaddr(&src_buf->vb2_buf, 0); src_buf 410 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c buf.dma_addr = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 411 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c buf.size = (size_t)src_buf->vb2_buf.planes[0].bytesused; src_buf 415 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c ctx->id, src_buf->vb2_buf.index); src_buf 419 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c ctx->id, buf.va, &buf.dma_addr, buf.size, src_buf); src_buf 435 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf->vb2_buf.index, src_buf 440 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); src_buf 452 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); src_buf 1123 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c struct vb2_v4l2_buffer *src_buf; src_buf 1163 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); src_buf 1164 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c if (!src_buf) { src_buf 1168 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c buf = container_of(src_buf, struct mtk_video_dec_buf, vb); src_buf 1176 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_mem.va = vb2_plane_vaddr(&src_buf->vb2_buf, 0); src_buf 1177 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_mem.dma_addr = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 1178 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_mem.size = (size_t)src_buf->vb2_buf.planes[0].bytesused; src_buf 1181 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c ctx->id, src_buf->vb2_buf.index, src_buf 1194 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); src_buf 1199 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); src_buf 1201 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_DONE); src_buf 1205 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c ctx->id, src_buf->vb2_buf.index, src_buf 1293 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c struct vb2_v4l2_buffer *src_buf = NULL, *dst_buf = NULL; src_buf 1300 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c while ((src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx))) { src_buf 1302 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf, struct mtk_video_dec_buf, vb); src_buf 1304 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c v4l2_m2m_buf_done(src_buf, src_buf 889 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 900 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c while ((src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx))) src_buf 901 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); src_buf 937 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 969 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c src_buf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); src_buf 970 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (src_buf) { src_buf 971 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c dst_buf->vb2_buf.timestamp = src_buf->vb2_buf.timestamp; src_buf 972 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c dst_buf->timecode = src_buf->timecode; src_buf 1061 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 1077 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); src_buf 1079 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c for (i = 0; i < src_buf->vb2_buf.num_planes ; i++) { src_buf 1081 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, i); src_buf 1083 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c (size_t)src_buf->vb2_buf.planes[i].length; src_buf 1101 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c dst_buf->vb2_buf.timestamp = src_buf->vb2_buf.timestamp; src_buf 1102 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c dst_buf->timecode = src_buf->timecode; src_buf 1108 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); src_buf 1113 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_DONE); src_buf 1123 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c src_buf->vb2_buf.index, dst_buf->vb2_buf.index, ret, src_buf 270 drivers/media/platform/mx2_emmaprp.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 278 drivers/media/platform/mx2_emmaprp.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 290 drivers/media/platform/mx2_emmaprp.c p_in = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 1331 drivers/media/platform/rcar_jpu.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 1336 drivers/media/platform/rcar_jpu.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 1339 drivers/media/platform/rcar_jpu.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); src_buf 1357 drivers/media/platform/rcar_jpu.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 1372 drivers/media/platform/rcar_jpu.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 1379 drivers/media/platform/rcar_jpu.c jpu_buf = vb2_to_jpu_buffer(src_buf); src_buf 1395 drivers/media/platform/rcar_jpu.c vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 1398 drivers/media/platform/rcar_jpu.c &src_buf->vb2_buf, 1); src_buf 1459 drivers/media/platform/rcar_jpu.c src_addr = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 1503 drivers/media/platform/rcar_jpu.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 1531 drivers/media/platform/rcar_jpu.c src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); src_buf 1543 drivers/media/platform/rcar_jpu.c dst_buf->field = src_buf->field; src_buf 1544 drivers/media/platform/rcar_jpu.c dst_buf->vb2_buf.timestamp = src_buf->vb2_buf.timestamp; src_buf 1545 drivers/media/platform/rcar_jpu.c if (src_buf->flags & V4L2_BUF_FLAG_TIMECODE) src_buf 1546 drivers/media/platform/rcar_jpu.c dst_buf->timecode = src_buf->timecode; src_buf 1547 drivers/media/platform/rcar_jpu.c dst_buf->flags = src_buf->flags & src_buf 1552 drivers/media/platform/rcar_jpu.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_DONE); src_buf 1560 drivers/media/platform/rcar_jpu.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); src_buf 2046 drivers/media/platform/s5p-jpeg/jpeg-core.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 2051 drivers/media/platform/s5p-jpeg/jpeg-core.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 2053 drivers/media/platform/s5p-jpeg/jpeg-core.c src_addr = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 2660 drivers/media/platform/s5p-jpeg/jpeg-core.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 2671 drivers/media/platform/s5p-jpeg/jpeg-core.c src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); src_buf 2694 drivers/media/platform/s5p-jpeg/jpeg-core.c dst_buf->timecode = src_buf->timecode; src_buf 2695 drivers/media/platform/s5p-jpeg/jpeg-core.c dst_buf->vb2_buf.timestamp = src_buf->vb2_buf.timestamp; src_buf 2698 drivers/media/platform/s5p-jpeg/jpeg-core.c src_buf->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK; src_buf 2700 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_m2m_buf_done(src_buf, state); src_buf 2786 drivers/media/platform/s5p-jpeg/jpeg-core.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 2834 drivers/media/platform/s5p-jpeg/jpeg-core.c src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); src_buf 2837 drivers/media/platform/s5p-jpeg/jpeg-core.c dst_buf->timecode = src_buf->timecode; src_buf 2838 drivers/media/platform/s5p-jpeg/jpeg-core.c dst_buf->vb2_buf.timestamp = src_buf->vb2_buf.timestamp; src_buf 2840 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_m2m_buf_done(src_buf, state); src_buf 253 drivers/media/platform/s5p-mfc/s5p_mfc.c struct s5p_mfc_buf *dst_buf, *src_buf; src_buf 265 drivers/media/platform/s5p-mfc/s5p_mfc.c src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); src_buf 270 drivers/media/platform/s5p-mfc/s5p_mfc.c dst_buf->b->timecode = src_buf->b->timecode; src_buf 272 drivers/media/platform/s5p-mfc/s5p_mfc.c src_buf->b->vb2_buf.timestamp; src_buf 276 drivers/media/platform/s5p-mfc/s5p_mfc.c src_buf->b->flags src_buf 365 drivers/media/platform/s5p-mfc/s5p_mfc.c struct s5p_mfc_buf *src_buf; src_buf 423 drivers/media/platform/s5p-mfc/s5p_mfc.c src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, src_buf 430 drivers/media/platform/s5p-mfc/s5p_mfc.c src_buf->b->vb2_buf.planes[0].bytesused) { src_buf 437 drivers/media/platform/s5p-mfc/s5p_mfc.c if (src_buf->flags & MFC_BUF_FLAG_EOS) src_buf 439 drivers/media/platform/s5p-mfc/s5p_mfc.c list_del(&src_buf->list); src_buf 442 drivers/media/platform/s5p-mfc/s5p_mfc.c vb2_buffer_done(&src_buf->b->vb2_buf, src_buf 445 drivers/media/platform/s5p-mfc/s5p_mfc.c vb2_buffer_done(&src_buf->b->vb2_buf, src_buf 537 drivers/media/platform/s5p-mfc/s5p_mfc.c struct s5p_mfc_buf *src_buf; src_buf 538 drivers/media/platform/s5p-mfc/s5p_mfc.c src_buf = list_entry(ctx->src_queue.next, src_buf 542 drivers/media/platform/s5p-mfc/s5p_mfc.c src_buf->b->vb2_buf.planes[0].bytesused) src_buf 562 drivers/media/platform/s5p-mfc/s5p_mfc.c struct s5p_mfc_buf *src_buf; src_buf 577 drivers/media/platform/s5p-mfc/s5p_mfc.c src_buf = list_entry(ctx->src_queue.next, src_buf 579 drivers/media/platform/s5p-mfc/s5p_mfc.c list_del(&src_buf->list); src_buf 581 drivers/media/platform/s5p-mfc/s5p_mfc.c vb2_buffer_done(&src_buf->b->vb2_buf, src_buf 242 drivers/media/platform/sh_veu.c struct vb2_buffer *src_buf, src_buf 254 drivers/media/platform/sh_veu.c addr = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 276 drivers/media/platform/sh_veu.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 278 drivers/media/platform/sh_veu.c src_buf = v4l2_m2m_next_src_buf(veu->m2m_ctx); src_buf 281 drivers/media/platform/sh_veu.c if (src_buf && dst_buf) src_buf 282 drivers/media/platform/sh_veu.c sh_veu_process(veu, &src_buf->vb2_buf, &dst_buf->vb2_buf); src_buf 808 drivers/media/platform/sti/hva/hva-v4l2.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 821 drivers/media/platform/sti/hva/hva-v4l2.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 824 drivers/media/platform/sti/hva/hva-v4l2.c frame = to_hva_frame(src_buf); src_buf 832 drivers/media/platform/sti/hva/hva-v4l2.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); src_buf 836 drivers/media/platform/sti/hva/hva-v4l2.c dst_buf->vb2_buf.timestamp = src_buf->vb2_buf.timestamp; src_buf 846 drivers/media/platform/sti/hva/hva-v4l2.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_DONE); src_buf 413 drivers/media/platform/vicodec/vicodec-core.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 418 drivers/media/platform/vicodec/vicodec-core.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 420 drivers/media/platform/vicodec/vicodec-core.c src_req = src_buf->vb2_buf.req_obj.req; src_buf 426 drivers/media/platform/vicodec/vicodec-core.c if (device_process(ctx, src_buf, dst_buf)) src_buf 431 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, false); src_buf 434 drivers/media/platform/vicodec/vicodec-core.c if (!ctx->comp_has_next_frame && src_buf == ctx->last_src_buf) { src_buf 441 drivers/media/platform/vicodec/vicodec-core.c src_buf->sequence = q_src->sequence++; src_buf 442 drivers/media/platform/vicodec/vicodec-core.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 443 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_done(src_buf, state); src_buf 444 drivers/media/platform/vicodec/vicodec-core.c } else if (vb2_get_plane_payload(&src_buf->vb2_buf, 0) == ctx->cur_buf_offset) { src_buf 445 drivers/media/platform/vicodec/vicodec-core.c src_buf->sequence = q_src->sequence++; src_buf 446 drivers/media/platform/vicodec/vicodec-core.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 447 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_done(src_buf, state); src_buf 472 drivers/media/platform/vicodec/vicodec-core.c struct vb2_v4l2_buffer *src_buf; src_buf 477 drivers/media/platform/vicodec/vicodec-core.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 478 drivers/media/platform/vicodec/vicodec-core.c src_buf->sequence = q_src->sequence++; src_buf 479 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_done(src_buf, state); src_buf 556 drivers/media/platform/vicodec/vicodec-core.c const struct vb2_v4l2_buffer *src_buf, src_buf 565 drivers/media/platform/vicodec/vicodec-core.c v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, !ctx->is_enc); src_buf 576 drivers/media/platform/vicodec/vicodec-core.c struct vb2_v4l2_buffer *src_buf; src_buf 598 drivers/media/platform/vicodec/vicodec-core.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 599 drivers/media/platform/vicodec/vicodec-core.c if (!src_buf) src_buf 601 drivers/media/platform/vicodec/vicodec-core.c p_src = vb2_plane_vaddr(&src_buf->vb2_buf, 0); src_buf 602 drivers/media/platform/vicodec/vicodec-core.c sz = vb2_get_plane_payload(&src_buf->vb2_buf, 0); src_buf 610 drivers/media/platform/vicodec/vicodec-core.c if (ctx->is_draining && src_buf == ctx->last_src_buf) src_buf 639 drivers/media/platform/vicodec/vicodec-core.c if (ctx->is_draining && src_buf == ctx->last_src_buf) src_buf 683 drivers/media/platform/vicodec/vicodec-core.c set_last_buffer(dst_buf, src_buf, ctx); src_buf 601 drivers/media/platform/vim2m.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 603 drivers/media/platform/vim2m.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 607 drivers/media/platform/vim2m.c v4l2_ctrl_request_setup(src_buf->vb2_buf.req_obj.req, src_buf 610 drivers/media/platform/vim2m.c device_process(ctx, src_buf, dst_buf); src_buf 613 drivers/media/platform/vim2m.c v4l2_ctrl_request_complete(src_buf->vb2_buf.req_obj.req, src_buf 211 drivers/mmc/host/tifm_sd.c unsigned char *src_buf = kmap_atomic(src) + src_off; src_buf 214 drivers/mmc/host/tifm_sd.c memcpy(dst_buf, src_buf, count); src_buf 217 drivers/mmc/host/tifm_sd.c kunmap_atomic(src_buf - src_off); src_buf 324 drivers/net/ethernet/freescale/fec_main.c static void swap_buffer2(void *dst_buf, void *src_buf, int len) src_buf 327 drivers/net/ethernet/freescale/fec_main.c unsigned int *src = src_buf; src_buf 1082 drivers/scsi/aic94xx/aic94xx_sds.c const u8 *src_buf; src_buf 1088 drivers/scsi/aic94xx/aic94xx_sds.c src_buf = NULL; src_buf 1092 drivers/scsi/aic94xx/aic94xx_sds.c src_buf = (const u8 *)src; src_buf 1095 drivers/scsi/aic94xx/aic94xx_sds.c if (flash_char != src_buf[i]) { src_buf 1113 drivers/scsi/aic94xx/aic94xx_sds.c const u8 *src_buf; src_buf 1118 drivers/scsi/aic94xx/aic94xx_sds.c src_buf = NULL; src_buf 1140 drivers/scsi/aic94xx/aic94xx_sds.c src_buf = (const u8 *)src; src_buf 1154 drivers/scsi/aic94xx/aic94xx_sds.c (*(src_buf + i))); src_buf 1167 drivers/scsi/aic94xx/aic94xx_sds.c (*(src_buf + i))); src_buf 1476 drivers/staging/media/allegro-dvt/allegro-core.c struct vb2_v4l2_buffer *src_buf; src_buf 1487 drivers/staging/media/allegro-dvt/allegro-core.c src_buf = v4l2_m2m_src_buf_remove(channel->fh.m2m_ctx); src_buf 1589 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, false); src_buf 1605 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_DONE); src_buf 2714 drivers/staging/media/allegro-dvt/allegro-core.c struct vb2_v4l2_buffer *src_buf; src_buf 2726 drivers/staging/media/allegro-dvt/allegro-core.c src_buf = v4l2_m2m_next_src_buf(channel->fh.m2m_ctx); src_buf 2727 drivers/staging/media/allegro-dvt/allegro-core.c src_buf->sequence = channel->osequence++; src_buf 2729 drivers/staging/media/allegro-dvt/allegro-core.c src_y = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 156 drivers/staging/media/hantro/hantro_drv.c struct vb2_v4l2_buffer *src_buf; src_buf 158 drivers/staging/media/hantro/hantro_drv.c src_buf = hantro_get_src_buf(ctx); src_buf 159 drivers/staging/media/hantro/hantro_drv.c v4l2_ctrl_request_setup(src_buf->vb2_buf.req_obj.req, src_buf 165 drivers/staging/media/hantro/hantro_drv.c struct vb2_v4l2_buffer *src_buf; src_buf 167 drivers/staging/media/hantro/hantro_drv.c src_buf = hantro_get_src_buf(ctx); src_buf 168 drivers/staging/media/hantro/hantro_drv.c v4l2_ctrl_request_complete(src_buf->vb2_buf.req_obj.req, src_buf 29 drivers/staging/media/hantro/hantro_g1_h264_dec.c struct vb2_v4l2_buffer *src_buf = hantro_get_src_buf(ctx); src_buf 73 drivers/staging/media/hantro/hantro_g1_h264_dec.c G1_REG_DEC_CTRL3_STREAM_LEN(vb2_get_plane_payload(&src_buf->vb2_buf, 0)); src_buf 235 drivers/staging/media/hantro/hantro_g1_h264_dec.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 239 drivers/staging/media/hantro/hantro_g1_h264_dec.c src_buf = hantro_get_src_buf(ctx); src_buf 243 drivers/staging/media/hantro/hantro_g1_h264_dec.c src_dma = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 100 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c struct vb2_buffer *src_buf, src_buf 123 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c addr = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 164 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 170 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c src_buf = hantro_get_src_buf(ctx); src_buf 246 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c hantro_g1_mpeg2_dec_set_buffers(vpu, ctx, &src_buf->vb2_buf, src_buf 33 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c struct vb2_buffer *src_buf) src_buf 46 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c src[0] = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 50 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c src[0] = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 51 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c src[1] = vb2_dma_contig_plane_dma_addr(src_buf, 1); src_buf 55 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c src[0] = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 56 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c src[1] = vb2_dma_contig_plane_dma_addr(src_buf, 1); src_buf 57 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c src[2] = vb2_dma_contig_plane_dma_addr(src_buf, 2); src_buf 88 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 92 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c src_buf = hantro_get_src_buf(ctx); src_buf 109 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c hantro_h1_jpeg_enc_set_buffers(vpu, ctx, &src_buf->vb2_buf); src_buf 65 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c struct vb2_buffer *src_buf) src_buf 78 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c src[0] = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 81 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c src[0] = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 82 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c src[1] = vb2_dma_contig_plane_dma_addr(src_buf, 1); src_buf 86 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c src[0] = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 87 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c src[1] = vb2_dma_contig_plane_dma_addr(src_buf, 1); src_buf 88 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c src[2] = vb2_dma_contig_plane_dma_addr(src_buf, 2); src_buf 119 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 123 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c src_buf = hantro_get_src_buf(ctx); src_buf 140 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c rk3399_vpu_jpeg_enc_set_buffers(vpu, ctx, &src_buf->vb2_buf); src_buf 102 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c struct vb2_buffer *src_buf, src_buf 125 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c addr = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 166 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 172 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c src_buf = hantro_get_src_buf(ctx); src_buf 251 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c rk3399_vpu_mpeg2_dec_set_buffers(vpu, ctx, &src_buf->vb2_buf, src_buf 92 drivers/staging/media/imx/imx-media-csc-scaler.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 94 drivers/staging/media/imx/imx-media-csc-scaler.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 97 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, true); src_buf 99 drivers/staging/media/imx/imx-media-csc-scaler.c src_buf->sequence = ctx->sequence++; src_buf 100 drivers/staging/media/imx/imx-media-csc-scaler.c dst_buf->sequence = src_buf->sequence; src_buf 102 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_m2m_buf_done(src_buf, run->status ? VB2_BUF_STATE_ERROR : src_buf 115 drivers/staging/media/imx/imx-media-csc-scaler.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 119 drivers/staging/media/imx/imx-media-csc-scaler.c src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); src_buf 127 drivers/staging/media/imx/imx-media-csc-scaler.c run->in_phys = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); src_buf 142 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_m2m_buf_done(src_buf, VB2_BUF_STATE_ERROR); src_buf 303 drivers/staging/media/sunxi/cedrus/cedrus_h264.c struct vb2_buffer *src_buf = &run->src->vb2_buf; src_buf 313 drivers/staging/media/sunxi/cedrus/cedrus_h264.c src_buf_addr = vb2_dma_contig_plane_dma_addr(src_buf, 0); src_buf 315 drivers/staging/media/sunxi/cedrus/cedrus_h264.c src_buf_addr + vb2_get_plane_payload(src_buf, 0)); src_buf 106 drivers/staging/media/sunxi/cedrus/cedrus_hw.c struct vb2_v4l2_buffer *src_buf, *dst_buf; src_buf 124 drivers/staging/media/sunxi/cedrus/cedrus_hw.c src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); src_buf 127 drivers/staging/media/sunxi/cedrus/cedrus_hw.c if (!src_buf || !dst_buf) { src_buf 138 drivers/staging/media/sunxi/cedrus/cedrus_hw.c v4l2_m2m_buf_done(src_buf, state); src_buf 28 fs/btrfs/ctree.c struct extent_buffer *src_buf);