Searched refs:ccdc_ctx (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/platform/davinci/
H A Ddm644x_ccdc.c101 static u32 ccdc_ctx[CCDC_REG_END / sizeof(u32)]; variable
848 ccdc_ctx[CCDC_PCR >> 2] = regr(CCDC_PCR); ccdc_save_context()
849 ccdc_ctx[CCDC_SYN_MODE >> 2] = regr(CCDC_SYN_MODE); ccdc_save_context()
850 ccdc_ctx[CCDC_HD_VD_WID >> 2] = regr(CCDC_HD_VD_WID); ccdc_save_context()
851 ccdc_ctx[CCDC_PIX_LINES >> 2] = regr(CCDC_PIX_LINES); ccdc_save_context()
852 ccdc_ctx[CCDC_HORZ_INFO >> 2] = regr(CCDC_HORZ_INFO); ccdc_save_context()
853 ccdc_ctx[CCDC_VERT_START >> 2] = regr(CCDC_VERT_START); ccdc_save_context()
854 ccdc_ctx[CCDC_VERT_LINES >> 2] = regr(CCDC_VERT_LINES); ccdc_save_context()
855 ccdc_ctx[CCDC_CULLING >> 2] = regr(CCDC_CULLING); ccdc_save_context()
856 ccdc_ctx[CCDC_HSIZE_OFF >> 2] = regr(CCDC_HSIZE_OFF); ccdc_save_context()
857 ccdc_ctx[CCDC_SDOFST >> 2] = regr(CCDC_SDOFST); ccdc_save_context()
858 ccdc_ctx[CCDC_SDR_ADDR >> 2] = regr(CCDC_SDR_ADDR); ccdc_save_context()
859 ccdc_ctx[CCDC_CLAMP >> 2] = regr(CCDC_CLAMP); ccdc_save_context()
860 ccdc_ctx[CCDC_DCSUB >> 2] = regr(CCDC_DCSUB); ccdc_save_context()
861 ccdc_ctx[CCDC_COLPTN >> 2] = regr(CCDC_COLPTN); ccdc_save_context()
862 ccdc_ctx[CCDC_BLKCMP >> 2] = regr(CCDC_BLKCMP); ccdc_save_context()
863 ccdc_ctx[CCDC_FPC >> 2] = regr(CCDC_FPC); ccdc_save_context()
864 ccdc_ctx[CCDC_FPC_ADDR >> 2] = regr(CCDC_FPC_ADDR); ccdc_save_context()
865 ccdc_ctx[CCDC_VDINT >> 2] = regr(CCDC_VDINT); ccdc_save_context()
866 ccdc_ctx[CCDC_ALAW >> 2] = regr(CCDC_ALAW); ccdc_save_context()
867 ccdc_ctx[CCDC_REC656IF >> 2] = regr(CCDC_REC656IF); ccdc_save_context()
868 ccdc_ctx[CCDC_CCDCFG >> 2] = regr(CCDC_CCDCFG); ccdc_save_context()
869 ccdc_ctx[CCDC_FMTCFG >> 2] = regr(CCDC_FMTCFG); ccdc_save_context()
870 ccdc_ctx[CCDC_FMT_HORZ >> 2] = regr(CCDC_FMT_HORZ); ccdc_save_context()
871 ccdc_ctx[CCDC_FMT_VERT >> 2] = regr(CCDC_FMT_VERT); ccdc_save_context()
872 ccdc_ctx[CCDC_FMT_ADDR0 >> 2] = regr(CCDC_FMT_ADDR0); ccdc_save_context()
873 ccdc_ctx[CCDC_FMT_ADDR1 >> 2] = regr(CCDC_FMT_ADDR1); ccdc_save_context()
874 ccdc_ctx[CCDC_FMT_ADDR2 >> 2] = regr(CCDC_FMT_ADDR2); ccdc_save_context()
875 ccdc_ctx[CCDC_FMT_ADDR3 >> 2] = regr(CCDC_FMT_ADDR3); ccdc_save_context()
876 ccdc_ctx[CCDC_FMT_ADDR4 >> 2] = regr(CCDC_FMT_ADDR4); ccdc_save_context()
877 ccdc_ctx[CCDC_FMT_ADDR5 >> 2] = regr(CCDC_FMT_ADDR5); ccdc_save_context()
878 ccdc_ctx[CCDC_FMT_ADDR6 >> 2] = regr(CCDC_FMT_ADDR6); ccdc_save_context()
879 ccdc_ctx[CCDC_FMT_ADDR7 >> 2] = regr(CCDC_FMT_ADDR7); ccdc_save_context()
880 ccdc_ctx[CCDC_PRGEVEN_0 >> 2] = regr(CCDC_PRGEVEN_0); ccdc_save_context()
881 ccdc_ctx[CCDC_PRGEVEN_1 >> 2] = regr(CCDC_PRGEVEN_1); ccdc_save_context()
882 ccdc_ctx[CCDC_PRGODD_0 >> 2] = regr(CCDC_PRGODD_0); ccdc_save_context()
883 ccdc_ctx[CCDC_PRGODD_1 >> 2] = regr(CCDC_PRGODD_1); ccdc_save_context()
884 ccdc_ctx[CCDC_VP_OUT >> 2] = regr(CCDC_VP_OUT); ccdc_save_context()
889 regw(ccdc_ctx[CCDC_SYN_MODE >> 2], CCDC_SYN_MODE); ccdc_restore_context()
890 regw(ccdc_ctx[CCDC_HD_VD_WID >> 2], CCDC_HD_VD_WID); ccdc_restore_context()
891 regw(ccdc_ctx[CCDC_PIX_LINES >> 2], CCDC_PIX_LINES); ccdc_restore_context()
892 regw(ccdc_ctx[CCDC_HORZ_INFO >> 2], CCDC_HORZ_INFO); ccdc_restore_context()
893 regw(ccdc_ctx[CCDC_VERT_START >> 2], CCDC_VERT_START); ccdc_restore_context()
894 regw(ccdc_ctx[CCDC_VERT_LINES >> 2], CCDC_VERT_LINES); ccdc_restore_context()
895 regw(ccdc_ctx[CCDC_CULLING >> 2], CCDC_CULLING); ccdc_restore_context()
896 regw(ccdc_ctx[CCDC_HSIZE_OFF >> 2], CCDC_HSIZE_OFF); ccdc_restore_context()
897 regw(ccdc_ctx[CCDC_SDOFST >> 2], CCDC_SDOFST); ccdc_restore_context()
898 regw(ccdc_ctx[CCDC_SDR_ADDR >> 2], CCDC_SDR_ADDR); ccdc_restore_context()
899 regw(ccdc_ctx[CCDC_CLAMP >> 2], CCDC_CLAMP); ccdc_restore_context()
900 regw(ccdc_ctx[CCDC_DCSUB >> 2], CCDC_DCSUB); ccdc_restore_context()
901 regw(ccdc_ctx[CCDC_COLPTN >> 2], CCDC_COLPTN); ccdc_restore_context()
902 regw(ccdc_ctx[CCDC_BLKCMP >> 2], CCDC_BLKCMP); ccdc_restore_context()
903 regw(ccdc_ctx[CCDC_FPC >> 2], CCDC_FPC); ccdc_restore_context()
904 regw(ccdc_ctx[CCDC_FPC_ADDR >> 2], CCDC_FPC_ADDR); ccdc_restore_context()
905 regw(ccdc_ctx[CCDC_VDINT >> 2], CCDC_VDINT); ccdc_restore_context()
906 regw(ccdc_ctx[CCDC_ALAW >> 2], CCDC_ALAW); ccdc_restore_context()
907 regw(ccdc_ctx[CCDC_REC656IF >> 2], CCDC_REC656IF); ccdc_restore_context()
908 regw(ccdc_ctx[CCDC_CCDCFG >> 2], CCDC_CCDCFG); ccdc_restore_context()
909 regw(ccdc_ctx[CCDC_FMTCFG >> 2], CCDC_FMTCFG); ccdc_restore_context()
910 regw(ccdc_ctx[CCDC_FMT_HORZ >> 2], CCDC_FMT_HORZ); ccdc_restore_context()
911 regw(ccdc_ctx[CCDC_FMT_VERT >> 2], CCDC_FMT_VERT); ccdc_restore_context()
912 regw(ccdc_ctx[CCDC_FMT_ADDR0 >> 2], CCDC_FMT_ADDR0); ccdc_restore_context()
913 regw(ccdc_ctx[CCDC_FMT_ADDR1 >> 2], CCDC_FMT_ADDR1); ccdc_restore_context()
914 regw(ccdc_ctx[CCDC_FMT_ADDR2 >> 2], CCDC_FMT_ADDR2); ccdc_restore_context()
915 regw(ccdc_ctx[CCDC_FMT_ADDR3 >> 2], CCDC_FMT_ADDR3); ccdc_restore_context()
916 regw(ccdc_ctx[CCDC_FMT_ADDR4 >> 2], CCDC_FMT_ADDR4); ccdc_restore_context()
917 regw(ccdc_ctx[CCDC_FMT_ADDR5 >> 2], CCDC_FMT_ADDR5); ccdc_restore_context()
918 regw(ccdc_ctx[CCDC_FMT_ADDR6 >> 2], CCDC_FMT_ADDR6); ccdc_restore_context()
919 regw(ccdc_ctx[CCDC_FMT_ADDR7 >> 2], CCDC_FMT_ADDR7); ccdc_restore_context()
920 regw(ccdc_ctx[CCDC_PRGEVEN_0 >> 2], CCDC_PRGEVEN_0); ccdc_restore_context()
921 regw(ccdc_ctx[CCDC_PRGEVEN_1 >> 2], CCDC_PRGEVEN_1); ccdc_restore_context()
922 regw(ccdc_ctx[CCDC_PRGODD_0 >> 2], CCDC_PRGODD_0); ccdc_restore_context()
923 regw(ccdc_ctx[CCDC_PRGODD_1 >> 2], CCDC_PRGODD_1); ccdc_restore_context()
924 regw(ccdc_ctx[CCDC_VP_OUT >> 2], CCDC_VP_OUT); ccdc_restore_context()
925 regw(ccdc_ctx[CCDC_PCR >> 2], CCDC_PCR); ccdc_restore_context()
/linux-4.4.14/drivers/media/platform/am437x/
H A Dam437x-vpfe.c2636 ccdc->ccdc_ctx[VPFE_PCR >> 2] = vpfe_reg_read(ccdc, VPFE_PCR); vpfe_save_context()
2637 ccdc->ccdc_ctx[VPFE_SYNMODE >> 2] = vpfe_reg_read(ccdc, VPFE_SYNMODE); vpfe_save_context()
2638 ccdc->ccdc_ctx[VPFE_SDOFST >> 2] = vpfe_reg_read(ccdc, VPFE_SDOFST); vpfe_save_context()
2639 ccdc->ccdc_ctx[VPFE_SDR_ADDR >> 2] = vpfe_reg_read(ccdc, VPFE_SDR_ADDR); vpfe_save_context()
2640 ccdc->ccdc_ctx[VPFE_CLAMP >> 2] = vpfe_reg_read(ccdc, VPFE_CLAMP); vpfe_save_context()
2641 ccdc->ccdc_ctx[VPFE_DCSUB >> 2] = vpfe_reg_read(ccdc, VPFE_DCSUB); vpfe_save_context()
2642 ccdc->ccdc_ctx[VPFE_COLPTN >> 2] = vpfe_reg_read(ccdc, VPFE_COLPTN); vpfe_save_context()
2643 ccdc->ccdc_ctx[VPFE_BLKCMP >> 2] = vpfe_reg_read(ccdc, VPFE_BLKCMP); vpfe_save_context()
2644 ccdc->ccdc_ctx[VPFE_VDINT >> 2] = vpfe_reg_read(ccdc, VPFE_VDINT); vpfe_save_context()
2645 ccdc->ccdc_ctx[VPFE_ALAW >> 2] = vpfe_reg_read(ccdc, VPFE_ALAW); vpfe_save_context()
2646 ccdc->ccdc_ctx[VPFE_REC656IF >> 2] = vpfe_reg_read(ccdc, VPFE_REC656IF); vpfe_save_context()
2647 ccdc->ccdc_ctx[VPFE_CCDCFG >> 2] = vpfe_reg_read(ccdc, VPFE_CCDCFG); vpfe_save_context()
2648 ccdc->ccdc_ctx[VPFE_CULLING >> 2] = vpfe_reg_read(ccdc, VPFE_CULLING); vpfe_save_context()
2649 ccdc->ccdc_ctx[VPFE_HD_VD_WID >> 2] = vpfe_reg_read(ccdc, vpfe_save_context()
2651 ccdc->ccdc_ctx[VPFE_PIX_LINES >> 2] = vpfe_reg_read(ccdc, vpfe_save_context()
2653 ccdc->ccdc_ctx[VPFE_HORZ_INFO >> 2] = vpfe_reg_read(ccdc, vpfe_save_context()
2655 ccdc->ccdc_ctx[VPFE_VERT_START >> 2] = vpfe_reg_read(ccdc, vpfe_save_context()
2657 ccdc->ccdc_ctx[VPFE_VERT_LINES >> 2] = vpfe_reg_read(ccdc, vpfe_save_context()
2659 ccdc->ccdc_ctx[VPFE_HSIZE_OFF >> 2] = vpfe_reg_read(ccdc, vpfe_save_context()
2694 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_SYNMODE >> 2], VPFE_SYNMODE); vpfe_restore_context()
2695 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_CULLING >> 2], VPFE_CULLING); vpfe_restore_context()
2696 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_SDOFST >> 2], VPFE_SDOFST); vpfe_restore_context()
2697 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_SDR_ADDR >> 2], VPFE_SDR_ADDR); vpfe_restore_context()
2698 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_CLAMP >> 2], VPFE_CLAMP); vpfe_restore_context()
2699 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_DCSUB >> 2], VPFE_DCSUB); vpfe_restore_context()
2700 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_COLPTN >> 2], VPFE_COLPTN); vpfe_restore_context()
2701 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_BLKCMP >> 2], VPFE_BLKCMP); vpfe_restore_context()
2702 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_VDINT >> 2], VPFE_VDINT); vpfe_restore_context()
2703 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_ALAW >> 2], VPFE_ALAW); vpfe_restore_context()
2704 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_REC656IF >> 2], VPFE_REC656IF); vpfe_restore_context()
2705 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_CCDCFG >> 2], VPFE_CCDCFG); vpfe_restore_context()
2706 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_PCR >> 2], VPFE_PCR); vpfe_restore_context()
2707 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_HD_VD_WID >> 2], vpfe_restore_context()
2709 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_PIX_LINES >> 2], vpfe_restore_context()
2711 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_HORZ_INFO >> 2], vpfe_restore_context()
2713 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_VERT_START >> 2], vpfe_restore_context()
2715 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_VERT_LINES >> 2], vpfe_restore_context()
2717 vpfe_reg_write(ccdc, ccdc->ccdc_ctx[VPFE_HSIZE_OFF >> 2], vpfe_restore_context()
H A Dam437x-vpfe.h220 u32 ccdc_ctx[VPFE_REG_END / sizeof(u32)]; member in struct:vpfe_ccdc

Completed in 220 milliseconds