Home
last modified time | relevance | path

Searched refs:rst_a (Results 1 - 24 of 24) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_jpgdec.c98 struct reset_control *rst_a; member
402 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in jpgdec_init()
403 if (!dec->rst_a) { in jpgdec_init()
491 if (dec->rst_a && dec->rst_h) { in jpgdec_reset()
495 mpp_safe_reset(dec->rst_a); in jpgdec_reset()
498 mpp_safe_unreset(dec->rst_a); in jpgdec_reset()
H A Dmpp_vepu1.c103 struct reset_control *rst_a; member
577 enc->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in vepu_init()
578 if (!enc->rst_a) { in vepu_init()
632 if (enc->rst_a && enc->rst_h) { in vepu_reset()
635 mpp_safe_reset(enc->rst_a); in vepu_reset()
638 mpp_safe_unreset(enc->rst_a); in vepu_reset()
H A Dmpp_vdpu2.c107 struct reset_control *rst_a; member
478 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in vdpu_init()
479 if (!dec->rst_a) { in vdpu_init()
580 if (dec->rst_a && dec->rst_h) { in vdpu_reset()
583 mpp_safe_reset(dec->rst_a); in vdpu_reset()
586 mpp_safe_unreset(dec->rst_a); in vdpu_reset()
H A Dmpp_vdpu1.c122 struct reset_control *rst_a; member
526 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in vdpu_init()
527 if (!dec->rst_a) { in vdpu_init()
646 if (dec->rst_a && dec->rst_h) { in vdpu_reset()
651 mpp_safe_reset(dec->rst_a); in vdpu_reset()
654 mpp_safe_unreset(dec->rst_a); in vdpu_reset()
H A Dmpp_rkvdec2.c670 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in rkvdec2_init()
671 if (!dec->rst_a) { in rkvdec2_init()
810 if (dec->rst_a && dec->rst_h) { in rkvdec2_reset()
814 mpp_safe_reset(dec->rst_a); in rkvdec2_reset()
822 mpp_safe_unreset(dec->rst_a); in rkvdec2_reset()
958 ccu->rst_a = devm_reset_control_get(dev, "video_ccu"); in rkvdec2_ccu_probe()
959 if (ccu->rst_a) { in rkvdec2_ccu_probe()
960 mpp_safe_unreset(ccu->rst_a); in rkvdec2_ccu_probe()
H A Dmpp_iep2.c212 struct reset_control *rst_a; member
762 iep->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "rst_a"); in iep2_init()
763 if (!iep->rst_a) { in iep2_init()
820 if (iep->rst_a && iep->rst_h && iep->rst_s) { in iep2_reset()
823 mpp_safe_reset(iep->rst_a); in iep2_reset()
827 mpp_safe_unreset(iep->rst_a); in iep2_reset()
H A Dmpp_rkvenc.c186 struct reset_control *rst_a; member
1139 enc->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in rkvenc_init()
1140 if (!enc->rst_a) { in rkvenc_init()
1225 if (enc->rst_a && enc->rst_h && enc->rst_core) { in rkvenc_reset()
1227 mpp_safe_reset(enc->rst_a); in rkvenc_reset()
1231 mpp_safe_unreset(enc->rst_a); in rkvenc_reset()
H A Dmpp_vepu2.c120 struct reset_control *rst_a; member
691 enc->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in vepu_init()
692 if (!enc->rst_a) { in vepu_init()
787 if (enc->rst_a && enc->rst_h) { in vepu_reset()
790 mpp_safe_reset(enc->rst_a); in vepu_reset()
793 mpp_safe_unreset(enc->rst_a); in vepu_reset()
H A Dmpp_rkvdec2_link.h145 struct reset_control *rst_a; member
H A Dmpp_rkvdec2.h175 struct reset_control *rst_a; member
H A Dmpp_rkvdec.c163 struct reset_control *rst_a; member
1173 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in rkvdec_init()
1174 if (!dec->rst_a) { in rkvdec_init()
1557 if (dec->rst_a && dec->rst_h) { in rkvdec_reset()
1561 mpp_safe_reset(dec->rst_a); in rkvdec_reset()
1569 mpp_safe_unreset(dec->rst_a); in rkvdec_reset()
H A Dmpp_rkvenc2.c176 struct reset_control *rst_a; member
1188 enc->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in rkvenc_init()
1189 if (!enc->rst_a) { in rkvenc_init()
1220 if (enc->rst_a && enc->rst_h && enc->rst_core) { in rkvenc_reset()
1222 mpp_safe_reset(enc->rst_a); in rkvenc_reset()
1226 mpp_safe_unreset(enc->rst_a); in rkvenc_reset()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_vdpu1.c124 struct reset_control *rst_a; member
543 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in vdpu_init()
544 if (!dec->rst_a) in vdpu_init()
670 if (dec->rst_a && dec->rst_h) { in vdpu_reset()
675 mpp_safe_reset(dec->rst_a); in vdpu_reset()
678 mpp_safe_unreset(dec->rst_a); in vdpu_reset()
H A Dmpp_vepu1.c105 struct reset_control *rst_a; member
603 enc->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in vepu_init()
604 if (!enc->rst_a) in vepu_init()
657 if (enc->rst_a && enc->rst_h) { in vepu_reset()
660 mpp_safe_reset(enc->rst_a); in vepu_reset()
663 mpp_safe_unreset(enc->rst_a); in vepu_reset()
H A Dmpp_vdpu2.c109 struct reset_control *rst_a; member
496 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in vdpu_init()
497 if (!dec->rst_a) in vdpu_init()
605 if (dec->rst_a && dec->rst_h) { in vdpu_reset()
608 mpp_safe_reset(dec->rst_a); in vdpu_reset()
611 mpp_safe_unreset(dec->rst_a); in vdpu_reset()
H A Dmpp_jpgdec.c100 struct reset_control *rst_a; member
414 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in jpgdec_init()
415 if (!dec->rst_a) in jpgdec_init()
509 if (dec->rst_a && dec->rst_h) { in jpgdec_reset()
514 mpp_safe_reset(dec->rst_a); in jpgdec_reset()
517 mpp_safe_unreset(dec->rst_a); in jpgdec_reset()
H A Dmpp_rkvdec2.c679 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in rkvdec2_init()
680 if (!dec->rst_a) in rkvdec2_init()
812 if (dec->rst_a && dec->rst_h) { in rkvdec2_reset()
816 mpp_safe_reset(dec->rst_a); in rkvdec2_reset()
824 mpp_safe_unreset(dec->rst_a); in rkvdec2_reset()
958 ccu->rst_a = devm_reset_control_get(dev, "video_ccu"); in rkvdec2_ccu_probe()
959 if (ccu->rst_a) in rkvdec2_ccu_probe()
960 mpp_safe_unreset(ccu->rst_a); in rkvdec2_ccu_probe()
H A Dmpp_rkvenc.c190 struct reset_control *rst_a; member
1190 enc->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in rkvenc_init()
1191 if (!enc->rst_a) in rkvenc_init()
1270 if (enc->rst_a && enc->rst_h && enc->rst_core) { in rkvenc_reset()
1272 mpp_safe_reset(enc->rst_a); in rkvenc_reset()
1276 mpp_safe_unreset(enc->rst_a); in rkvenc_reset()
H A Dmpp_vepu2.c122 struct reset_control *rst_a; member
713 enc->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in vepu_init()
714 if (!enc->rst_a) in vepu_init()
809 if (enc->rst_a && enc->rst_h) { in vepu_reset()
812 mpp_safe_reset(enc->rst_a); in vepu_reset()
815 mpp_safe_unreset(enc->rst_a); in vepu_reset()
H A Dmpp_iep2.c222 struct reset_control *rst_a; member
812 iep->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "rst_a"); in iep2_init()
813 if (!iep->rst_a) in iep2_init()
871 if (iep->rst_a && iep->rst_h && iep->rst_s) { in iep2_reset()
874 mpp_safe_reset(iep->rst_a); in iep2_reset()
878 mpp_safe_unreset(iep->rst_a); in iep2_reset()
H A Dmpp_rkvdec2_link.h145 struct reset_control *rst_a; member
H A Dmpp_rkvdec2.h180 struct reset_control *rst_a; member
H A Dmpp_rkvenc2.c178 struct reset_control *rst_a; member
1181 enc->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in rkvenc_init()
1182 if (!enc->rst_a) in rkvenc_init()
1210 if (enc->rst_a && enc->rst_h && enc->rst_core) { in rkvenc_reset()
1212 mpp_safe_reset(enc->rst_a); in rkvenc_reset()
1216 mpp_safe_unreset(enc->rst_a); in rkvenc_reset()
H A Dmpp_rkvdec.c169 struct reset_control *rst_a; member
1233 dec->rst_a = mpp_reset_control_get(mpp, RST_TYPE_A, "video_a"); in rkvdec_init()
1234 if (!dec->rst_a) in rkvdec_init()
1631 if (dec->rst_a && dec->rst_h) { in rkvdec_reset()
1635 mpp_safe_reset(dec->rst_a); in rkvdec_reset()
1643 mpp_safe_unreset(dec->rst_a); in rkvdec_reset()

Completed in 46 milliseconds