Lines Matching refs:dev
47 ret = mpp_dev_init(&p->dev, VPU_CLIENT_VDPU2); in hal_m2vd_vdpu2_init()
86 cfg->dev = p->dev; in hal_m2vd_vdpu2_init()
112 if (p->dev) { in hal_m2vd_vdpu2_deinit()
113 mpp_dev_deinit(p->dev); in hal_m2vd_vdpu2_deinit()
114 p->dev = NULL; in hal_m2vd_vdpu2_deinit()
268 mpp_dev_set_reg_offset(ctx->dev, 64, dx->bitstream_offset); in hal_m2vd_vdpu2_gen_regs()
279 mpp_dev_set_reg_offset(ctx->dev, 63, MPP_ALIGN(dx->seq.decode_width, 16)); in hal_m2vd_vdpu2_gen_regs()
347 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_REG_WR, &wr_cfg); in hal_m2vd_vdpu2_start()
357 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_REG_RD, &rd_cfg); in hal_m2vd_vdpu2_start()
363 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_CMD_SEND, NULL); in hal_m2vd_vdpu2_start()
383 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_CMD_POLL, NULL); in hal_m2vd_vdpu2_wait()