Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu.h34 struct vpu_dev;
38 int (*setup)(struct vpu_dev *vpu);
41 int (*reset)(struct vpu_dev *vpu);
59 struct vpu_dev { struct
73 void (*get_vpu)(struct vpu_dev *vpu); argument
74 void (*put_vpu)(struct vpu_dev *vpu); argument
75 void (*get_enc)(struct vpu_dev *vpu); argument
76 void (*put_enc)(struct vpu_dev *vpu); argument
77 void (*get_dec)(struct vpu_dev *vpu); argument
167 struct vpu_dev *vpu;
[all …]
H A Dvpu_drv.c32 void vpu_writel(struct vpu_dev *vpu, u32 reg, u32 val) in vpu_writel()
37 u32 vpu_readl(struct vpu_dev *vpu, u32 reg) in vpu_readl()
42 static void vpu_dev_get(struct vpu_dev *vpu) in vpu_dev_get()
48 static void vpu_dev_put(struct vpu_dev *vpu) in vpu_dev_put()
53 static void vpu_enc_get(struct vpu_dev *vpu) in vpu_enc_get()
59 static void vpu_enc_put(struct vpu_dev *vpu) in vpu_enc_put()
64 static void vpu_dec_get(struct vpu_dev *vpu) in vpu_dec_get()
70 static void vpu_dec_put(struct vpu_dev *vpu) in vpu_dec_put()
75 static int vpu_init_media_device(struct vpu_dev *vpu) in vpu_init_media_device()
89 struct vpu_dev *vpu; in vpu_probe()
[all …]
H A Dvpu_imx8q.c42 int vpu_imx8q_setup_dec(struct vpu_dev *vpu) in vpu_imx8q_setup_dec()
52 int vpu_imx8q_setup_enc(struct vpu_dev *vpu) in vpu_imx8q_setup_enc()
57 int vpu_imx8q_setup(struct vpu_dev *vpu) in vpu_imx8q_setup()
75 static int vpu_imx8q_reset_enc(struct vpu_dev *vpu) in vpu_imx8q_reset_enc()
80 static int vpu_imx8q_reset_dec(struct vpu_dev *vpu) in vpu_imx8q_reset_dec()
89 int vpu_imx8q_reset(struct vpu_dev *vpu) in vpu_imx8q_reset()
H A Dvpu_imx8q.h103 int vpu_imx8q_setup_dec(struct vpu_dev *vpu);
104 int vpu_imx8q_setup_enc(struct vpu_dev *vpu);
105 int vpu_imx8q_setup(struct vpu_dev *vpu);
106 int vpu_imx8q_reset(struct vpu_dev *vpu);
H A Dvpu_mbox.h14 void vpu_mbox_enable_rx(struct vpu_dev *dev);
H A Dvpu_core.c199 static struct vpu_core *vpu_core_find_proper_by_type(struct vpu_dev *vpu, u32 type) in vpu_core_find_proper_by_type()
229 static bool vpu_core_is_exist(struct vpu_dev *vpu, struct vpu_core *core) in vpu_core_is_exist()
252 struct vpu_dev *vpu = dev_get_drvdata(dev); in vpu_core_register()
364 struct vpu_core *vpu_request_core(struct vpu_dev *vpu, enum vpu_core_type type) in vpu_request_core()
414 struct vpu_dev *vpu; in vpu_inst_register()
519 struct vpu_dev *vpu; in vpu_get_resource()
617 struct vpu_dev *vpu = dev_get_drvdata(dev->parent); in vpu_core_probe()
H A Dvpu_mbox.c113 void vpu_mbox_enable_rx(struct vpu_dev *dev) in vpu_mbox_enable_rx()
H A Dvpu_dbg.c409 struct vpu_dev *vpu; in vpu_inst_create_dbgfs_file()
445 struct vpu_dev *vpu; in vpu_core_create_dbgfs_file()
H A Dvpu_v4l2.c706 struct vpu_dev *vpu = video_drvdata(file); in vpu_v4l2_open()
772 struct vpu_dev *vpu = video_drvdata(file); in vpu_v4l2_close()
791 int vpu_add_func(struct vpu_dev *vpu, struct vpu_func *func) in vpu_add_func()
H A Dvpu_rpc.c225 static struct vpu_iface_ops *vpu_get_iface(struct vpu_dev *vpu, enum vpu_core_type type) in vpu_get_iface()
/openbmc/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_vpu.c66 err = vpu_ipi_register(mdp->vpu_dev, IPI_MDP, in mtk_mdp_vpu_register()
118 vpu->pdev = ctx->mdp_dev->vpu_dev; in mtk_mdp_vpu_init()
H A Dmtk_mdp_core.c196 mdp->vpu_dev = vpu_get_plat_device(pdev); in mtk_mdp_probe()
197 ret = vpu_wdt_reg_handler(mdp->vpu_dev, mtk_mdp_reset_handler, mdp, in mtk_mdp_probe()
H A Dmtk_mdp_core.h163 struct platform_device *vpu_dev; member
H A Dmtk_mdp_m2m.c1093 ret = vpu_load_firmware(mdp->vpu_dev); in mtk_mdp_m2m_open()