Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/platform/ti-vpe/
Dvpe.c391 void *mv_buf[2]; /* virtual addrs of motion vector bufs */ member
533 if (ctx->mv_buf[0]) in realloc_mv_buffers()
534 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[0], in realloc_mv_buffers()
537 if (ctx->mv_buf[1]) in realloc_mv_buffers()
538 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[1], in realloc_mv_buffers()
544 ctx->mv_buf[0] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[0], in realloc_mv_buffers()
546 if (!ctx->mv_buf[0]) { in realloc_mv_buffers()
551 ctx->mv_buf[1] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[1], in realloc_mv_buffers()
553 if (!ctx->mv_buf[1]) { in realloc_mv_buffers()
555 dma_free_coherent(dev, size, ctx->mv_buf[0], in realloc_mv_buffers()