cvd 232 drivers/dma/mediatek/mtk-cqdma.c struct mtk_cqdma_vdesc *cvd) cvd 236 drivers/dma/mediatek/mtk-cqdma.c dev_err(cqdma2dev(to_cqdma_dev(cvd->ch)), "cqdma wait transaction timeout\n"); cvd 241 drivers/dma/mediatek/mtk-cqdma.c dev_err(cqdma2dev(to_cqdma_dev(cvd->ch)), "cqdma warm reset timeout\n"); cvd 244 drivers/dma/mediatek/mtk-cqdma.c mtk_dma_set(pc, MTK_CQDMA_SRC, cvd->src & MTK_CQDMA_ADDR_LIMIT); cvd 246 drivers/dma/mediatek/mtk-cqdma.c mtk_dma_set(pc, MTK_CQDMA_SRC2, cvd->src >> MTK_CQDMA_ADDR2_SHFIT); cvd 252 drivers/dma/mediatek/mtk-cqdma.c mtk_dma_set(pc, MTK_CQDMA_DST, cvd->dest & MTK_CQDMA_ADDR_LIMIT); cvd 254 drivers/dma/mediatek/mtk-cqdma.c mtk_dma_set(pc, MTK_CQDMA_DST2, cvd->dest >> MTK_CQDMA_ADDR2_SHFIT); cvd 260 drivers/dma/mediatek/mtk-cqdma.c mtk_dma_set(pc, MTK_CQDMA_LEN1, cvd->len); cvd 270 drivers/dma/mediatek/mtk-cqdma.c struct mtk_cqdma_vdesc *cvd; cvd 281 drivers/dma/mediatek/mtk-cqdma.c cvd = to_cqdma_vdesc(vd); cvd 284 drivers/dma/mediatek/mtk-cqdma.c list_add_tail(&cvd->node, &pc->queue); cvd 288 drivers/dma/mediatek/mtk-cqdma.c mtk_cqdma_start(pc, cvd); cvd 301 drivers/dma/mediatek/mtk-cqdma.c struct mtk_cqdma_vdesc *cvd; cvd 303 drivers/dma/mediatek/mtk-cqdma.c list_for_each_entry(cvd, &cvc->pc->queue, node) cvd 304 drivers/dma/mediatek/mtk-cqdma.c if (cvc == to_cqdma_vchan(cvd->ch)) cvd 317 drivers/dma/mediatek/mtk-cqdma.c struct mtk_cqdma_vdesc *cvd, *ret = NULL; cvd 320 drivers/dma/mediatek/mtk-cqdma.c cvd = list_first_entry_or_null(&pc->queue, cvd 322 drivers/dma/mediatek/mtk-cqdma.c if (unlikely(!cvd || !cvd->parent)) cvd 325 drivers/dma/mediatek/mtk-cqdma.c cvc = to_cqdma_vchan(cvd->ch); cvd 326 drivers/dma/mediatek/mtk-cqdma.c ret = cvd; cvd 329 drivers/dma/mediatek/mtk-cqdma.c cvd->parent->residue -= cvd->len; cvd 332 drivers/dma/mediatek/mtk-cqdma.c list_del(&cvd->node); cvd 337 drivers/dma/mediatek/mtk-cqdma.c if (!cvd->parent->residue) { cvd 339 drivers/dma/mediatek/mtk-cqdma.c vchan_cookie_complete(&cvd->parent->vd); cvd 351 drivers/dma/mediatek/mtk-cqdma.c cvd = list_first_entry_or_null(&pc->queue, cvd 353 drivers/dma/mediatek/mtk-cqdma.c if (cvd) cvd 354 drivers/dma/mediatek/mtk-cqdma.c mtk_cqdma_start(pc, cvd); cvd 362 drivers/dma/mediatek/mtk-cqdma.c struct mtk_cqdma_vdesc *cvd = NULL; cvd 367 drivers/dma/mediatek/mtk-cqdma.c cvd = mtk_cqdma_consume_work_queue(pc); cvd 371 drivers/dma/mediatek/mtk-cqdma.c if (cvd) { cvd 372 drivers/dma/mediatek/mtk-cqdma.c dma_run_dependencies(&cvd->vd.tx); cvd 378 drivers/dma/mediatek/mtk-cqdma.c if (cvd->parent != cvd) cvd 379 drivers/dma/mediatek/mtk-cqdma.c kfree(cvd); cvd 446 drivers/dma/mediatek/mtk-cqdma.c struct mtk_cqdma_vdesc *cvd; cvd 461 drivers/dma/mediatek/mtk-cqdma.c cvd = to_cqdma_vdesc(vd); cvd 462 drivers/dma/mediatek/mtk-cqdma.c bytes = cvd->residue; cvd 491 drivers/dma/mediatek/mtk-cqdma.c struct mtk_cqdma_vdesc **cvd; cvd 507 drivers/dma/mediatek/mtk-cqdma.c cvd = kcalloc(nr_vd, sizeof(*cvd), GFP_NOWAIT); cvd 508 drivers/dma/mediatek/mtk-cqdma.c if (!cvd) cvd 512 drivers/dma/mediatek/mtk-cqdma.c cvd[i] = kzalloc(sizeof(*cvd[i]), GFP_NOWAIT); cvd 513 drivers/dma/mediatek/mtk-cqdma.c if (!cvd[i]) { cvd 515 drivers/dma/mediatek/mtk-cqdma.c kfree(cvd[i - 1]); cvd 520 drivers/dma/mediatek/mtk-cqdma.c cvd[i]->ch = c; cvd 524 drivers/dma/mediatek/mtk-cqdma.c cvd[i]->len = tlen; cvd 525 drivers/dma/mediatek/mtk-cqdma.c cvd[i]->src = src; cvd 526 drivers/dma/mediatek/mtk-cqdma.c cvd[i]->dest = dest; cvd 529 drivers/dma/mediatek/mtk-cqdma.c tx = vchan_tx_prep(to_virt_chan(c), &cvd[i]->vd, flags); cvd 533 drivers/dma/mediatek/mtk-cqdma.c cvd[0]->residue = len; cvd 536 drivers/dma/mediatek/mtk-cqdma.c cvd[i]->residue = tlen; cvd 539 drivers/dma/mediatek/mtk-cqdma.c cvd[i]->parent = cvd[0]; cvd 548 drivers/dma/mediatek/mtk-cqdma.c return &cvd[0]->vd.tx; cvd 400 drivers/media/platform/coda/coda-common.c const struct coda_video_device *cvd = to_coda_video_device(vdev); cvd 405 drivers/media/platform/coda/coda-common.c formats = cvd->src_formats; cvd 407 drivers/media/platform/coda/coda-common.c formats = cvd->dst_formats; cvd 456 drivers/media/platform/coda/coda-common.c formats = ctx->cvd->src_formats; cvd 458 drivers/media/platform/coda/coda-common.c formats = ctx->cvd->dst_formats; cvd 1204 drivers/media/platform/coda/coda-common.c if (f->pixel_format == ctx->cvd->src_formats[i] || cvd 1205 drivers/media/platform/coda/coda-common.c f->pixel_format == ctx->cvd->dst_formats[i]) cvd 1525 drivers/media/platform/coda/coda-common.c ctx->codec = coda_find_codec(ctx->dev, ctx->cvd->src_formats[0], cvd 1526 drivers/media/platform/coda/coda-common.c ctx->cvd->dst_formats[0]); cvd 1533 drivers/media/platform/coda/coda-common.c if (ctx->cvd->src_formats[0] == V4L2_PIX_FMT_JPEG) cvd 1543 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_SRC].fourcc = ctx->cvd->src_formats[0]; cvd 1544 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_DST].fourcc = ctx->cvd->dst_formats[0]; cvd 2308 drivers/media/platform/coda/coda-common.c if (ctx->cvd->dst_formats[0] == V4L2_PIX_FMT_JPEG) cvd 2316 drivers/media/platform/coda/coda-common.c if (ctx->cvd->src_formats[0] == V4L2_PIX_FMT_H264) cvd 2430 drivers/media/platform/coda/coda-common.c ctx->cvd = to_coda_video_device(vdev); cvd 2431 drivers/media/platform/coda/coda-common.c ctx->inst_type = ctx->cvd->type; cvd 2432 drivers/media/platform/coda/coda-common.c ctx->ops = ctx->cvd->ops; cvd 2433 drivers/media/platform/coda/coda-common.c ctx->use_bit = !ctx->cvd->direct; cvd 214 drivers/media/platform/coda/coda.h const struct coda_video_device *cvd;