Lines Matching refs:save_para
470 struct msdc_save_para save_para; /* used when gate HCLK */ member
2918 host->save_para.msdc_cfg = readl(host->base + MSDC_CFG); in msdc_save_reg()
2919 host->save_para.iocon = readl(host->base + MSDC_IOCON); in msdc_save_reg()
2920 host->save_para.sdc_cfg = readl(host->base + SDC_CFG); in msdc_save_reg()
2921 host->save_para.patch_bit0 = readl(host->base + MSDC_PATCH_BIT); in msdc_save_reg()
2922 host->save_para.patch_bit1 = readl(host->base + MSDC_PATCH_BIT1); in msdc_save_reg()
2923 host->save_para.patch_bit2 = readl(host->base + MSDC_PATCH_BIT2); in msdc_save_reg()
2924 host->save_para.pad_ds_tune = readl(host->base + PAD_DS_TUNE); in msdc_save_reg()
2925 host->save_para.pad_cmd_tune = readl(host->base + PAD_CMD_TUNE); in msdc_save_reg()
2926 host->save_para.emmc50_cfg0 = readl(host->base + EMMC50_CFG0); in msdc_save_reg()
2927 host->save_para.emmc50_cfg3 = readl(host->base + EMMC50_CFG3); in msdc_save_reg()
2928 host->save_para.sdc_fifo_cfg = readl(host->base + SDC_FIFO_CFG); in msdc_save_reg()
2930 host->save_para.emmc_top_control = in msdc_save_reg()
2932 host->save_para.emmc_top_cmd = in msdc_save_reg()
2934 host->save_para.emmc50_pad_ds_tune = in msdc_save_reg()
2937 host->save_para.pad_tune = readl(host->base + tune_reg); in msdc_save_reg()
2946 writel(host->save_para.msdc_cfg, host->base + MSDC_CFG); in msdc_restore_reg()
2947 writel(host->save_para.iocon, host->base + MSDC_IOCON); in msdc_restore_reg()
2948 writel(host->save_para.sdc_cfg, host->base + SDC_CFG); in msdc_restore_reg()
2949 writel(host->save_para.patch_bit0, host->base + MSDC_PATCH_BIT); in msdc_restore_reg()
2950 writel(host->save_para.patch_bit1, host->base + MSDC_PATCH_BIT1); in msdc_restore_reg()
2951 writel(host->save_para.patch_bit2, host->base + MSDC_PATCH_BIT2); in msdc_restore_reg()
2952 writel(host->save_para.pad_ds_tune, host->base + PAD_DS_TUNE); in msdc_restore_reg()
2953 writel(host->save_para.pad_cmd_tune, host->base + PAD_CMD_TUNE); in msdc_restore_reg()
2954 writel(host->save_para.emmc50_cfg0, host->base + EMMC50_CFG0); in msdc_restore_reg()
2955 writel(host->save_para.emmc50_cfg3, host->base + EMMC50_CFG3); in msdc_restore_reg()
2956 writel(host->save_para.sdc_fifo_cfg, host->base + SDC_FIFO_CFG); in msdc_restore_reg()
2958 writel(host->save_para.emmc_top_control, in msdc_restore_reg()
2960 writel(host->save_para.emmc_top_cmd, in msdc_restore_reg()
2962 writel(host->save_para.emmc50_pad_ds_tune, in msdc_restore_reg()
2965 writel(host->save_para.pad_tune, host->base + tune_reg); in msdc_restore_reg()