Home
last modified time | relevance | path

Searched refs:cjpeg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_enc_hw.c234 struct mtk_jpegenc_comp_dev *cjpeg = in mtk_jpegenc_timeout_work() local
238 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()
H A Dmtk_jpeg_dec_hw.c490 struct mtk_jpegdec_comp_dev *cjpeg = in mtk_jpegdec_timeout_work() local
493 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()