Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_ctrl.c35 err = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->fw_buf); in s5p_mfc_alloc_firmware()
176 mfc_write(dev, dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
179 &dev->dma_base[BANK_L_CTX]); in s5p_mfc_init_memctrl()
181 mfc_write(dev, dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
186 &dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
H A Ds5p_mfc.c1143 mfc_dev->mem_dev[BANK_L_CTX] = s5p_mfc_alloc_memdev(dev, "left", in s5p_mfc_configure_2port_memory()
1144 BANK_L_CTX); in s5p_mfc_configure_2port_memory()
1145 if (!mfc_dev->mem_dev[BANK_L_CTX]) in s5p_mfc_configure_2port_memory()
1150 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_configure_2port_memory()
1158 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_configure_2port_memory()
1162 mfc_dev->dma_base[BANK_L_CTX] = mfc_dev->fw_buf.dma; in s5p_mfc_configure_2port_memory()
1169 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_configure_2port_memory()
1182 vb2_dma_contig_set_max_seg_size(mfc_dev->mem_dev[BANK_L_CTX], in s5p_mfc_configure_2port_memory()
1192 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_unconfigure_2port_memory()
1222 mfc_dev->dma_base[BANK_L_CTX] = mfc_dev->mem_base; in s5p_mfc_configure_common_memory()
[all …]
H A Ds5p_mfc_opr_v5.c30 #define OFFSETA(x) (((x) - dev->dma_base[BANK_L_CTX]) >> MFC_OFFSET_SHIFT)
41 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->dsc); in s5p_mfc_alloc_dec_temp_buffers_v5()
172 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->bank1); in s5p_mfc_alloc_codec_buffers_v5()
212 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->ctx); in s5p_mfc_alloc_instance_buffer_v5()
225 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->shm); in s5p_mfc_alloc_instance_buffer_v5()
233 ctx->shm.ofs = ctx->shm.dma - dev->dma_base[BANK_L_CTX]; in s5p_mfc_alloc_instance_buffer_v5()
H A Ds5p_mfc_dec.c960 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
963 alloc_devs[1] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
967 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
H A Ds5p_mfc_common.h32 #define BANK_L_CTX 0 macro
H A Ds5p_mfc_opr_v6.c316 ret = s5p_mfc_alloc_generic_buf(dev, BANK_L_CTX, &ctx->bank1); in s5p_mfc_alloc_codec_buffers_v6()
373 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->ctx); in s5p_mfc_alloc_instance_buffer_v6()
402 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->ctx_buf); in s5p_mfc_alloc_dev_context_buffer_v6()
H A Ds5p_mfc_enc.c2402 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
2418 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
2419 alloc_devs[1] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()