Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc_ctrl.c39 err = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->fw_buf); in s5p_mfc_alloc_firmware()
180 mfc_write(dev, dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
183 &dev->dma_base[BANK_L_CTX]); in s5p_mfc_init_memctrl()
185 mfc_write(dev, dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
190 &dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
Ds5p_mfc.c1121 mfc_dev->mem_dev[BANK_L_CTX] = s5p_mfc_alloc_memdev(dev, "left", in s5p_mfc_configure_2port_memory()
1122 BANK_L_CTX); in s5p_mfc_configure_2port_memory()
1123 if (!mfc_dev->mem_dev[BANK_L_CTX]) in s5p_mfc_configure_2port_memory()
1128 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_configure_2port_memory()
1136 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_configure_2port_memory()
1140 mfc_dev->dma_base[BANK_L_CTX] = mfc_dev->fw_buf.dma; in s5p_mfc_configure_2port_memory()
1148 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_configure_2port_memory()
1161 vb2_dma_contig_set_max_seg_size(mfc_dev->mem_dev[BANK_L_CTX], in s5p_mfc_configure_2port_memory()
1171 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_unconfigure_2port_memory()
1173 vb2_dma_contig_clear_max_seg_size(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_unconfigure_2port_memory()
[all …]
Ds5p_mfc_opr_v5.c33 #define OFFSETA(x) (((x) - dev->dma_base[BANK_L_CTX]) >> MFC_OFFSET_SHIFT)
44 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->dsc); in s5p_mfc_alloc_dec_temp_buffers_v5()
175 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->bank1); in s5p_mfc_alloc_codec_buffers_v5()
215 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->ctx); in s5p_mfc_alloc_instance_buffer_v5()
228 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->shm); in s5p_mfc_alloc_instance_buffer_v5()
236 ctx->shm.ofs = ctx->shm.dma - dev->dma_base[BANK_L_CTX]; in s5p_mfc_alloc_instance_buffer_v5()
Ds5p_mfc_dec.c940 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
943 alloc_devs[1] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
947 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
Ds5p_mfc_common.h36 #define BANK_L_CTX 0 macro
Ds5p_mfc_enc.c2412 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
2428 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
2429 alloc_devs[1] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
Ds5p_mfc_opr_v6.c319 ret = s5p_mfc_alloc_generic_buf(dev, BANK_L_CTX, &ctx->bank1); in s5p_mfc_alloc_codec_buffers_v6()
376 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->ctx); in s5p_mfc_alloc_instance_buffer_v6()
405 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->ctx_buf); in s5p_mfc_alloc_dev_context_buffer_v6()