Searched refs:cjpeg (Results 1 – 2 of 2) sorted by relevance
234 struct mtk_jpegenc_comp_dev *cjpeg = in mtk_jpegenc_timeout_work() local238 struct mtk_jpeg_dev *master_jpeg = cjpeg->master_dev; in mtk_jpegenc_timeout_work()242 src_buf = cjpeg->hw_param.src_buffer; in mtk_jpegenc_timeout_work()243 dst_buf = cjpeg->hw_param.dst_buffer; in mtk_jpegenc_timeout_work()246 mtk_jpeg_enc_reset(cjpeg->reg_base); in mtk_jpegenc_timeout_work()247 clk_disable_unprepare(cjpeg->venc_clk.clks->clk); in mtk_jpegenc_timeout_work()248 pm_runtime_put(cjpeg->dev); in mtk_jpegenc_timeout_work()249 cjpeg->hw_state = MTK_JPEG_HW_IDLE; in mtk_jpegenc_timeout_work()253 mtk_jpegenc_put_buf(cjpeg); in mtk_jpegenc_timeout_work()
490 struct mtk_jpegdec_comp_dev *cjpeg = in mtk_jpegdec_timeout_work() local493 struct mtk_jpeg_dev *master_jpeg = cjpeg->master_dev; in mtk_jpegdec_timeout_work()496 src_buf = cjpeg->hw_param.src_buffer; in mtk_jpegdec_timeout_work()497 dst_buf = cjpeg->hw_param.dst_buffer; in mtk_jpegdec_timeout_work()500 mtk_jpeg_dec_reset(cjpeg->reg_base); in mtk_jpegdec_timeout_work()501 clk_disable_unprepare(cjpeg->jdec_clk.clks->clk); in mtk_jpegdec_timeout_work()502 pm_runtime_put(cjpeg->dev); in mtk_jpegdec_timeout_work()503 cjpeg->hw_state = MTK_JPEG_HW_IDLE; in mtk_jpegdec_timeout_work()507 mtk_jpegdec_put_buf(cjpeg); in mtk_jpegdec_timeout_work()