Lines Matching refs:msm_offset

399 	const struct sdhci_msm_offset *msm_offset =  in msm_dll_poll_ck_out_en()  local
404 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
415 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
431 const struct sdhci_msm_offset *msm_offset = in msm_config_cm_dll_phase() local
439 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
442 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
453 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
456 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
458 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
460 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
467 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
470 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
596 const struct sdhci_msm_offset *msm_offset = in msm_cm_dll_set_freq() local
617 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
620 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
632 const struct sdhci_msm_offset *msm_offset = in msm_init_cm_dll() local
645 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
647 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
651 host->ioaddr + msm_offset->core_dll_config); in msm_init_cm_dll()
655 msm_offset->core_dll_config); in msm_init_cm_dll()
658 msm_offset->core_dll_config); in msm_init_cm_dll()
661 msm_offset->core_dll_config_2); in msm_init_cm_dll()
664 msm_offset->core_dll_config_2); in msm_init_cm_dll()
668 msm_offset->core_dll_config); in msm_init_cm_dll()
671 msm_offset->core_dll_config); in msm_init_cm_dll()
674 msm_offset->core_dll_config); in msm_init_cm_dll()
677 msm_offset->core_dll_config); in msm_init_cm_dll()
687 msm_offset->core_dll_config_2); in msm_init_cm_dll()
697 msm_offset->core_dll_config_2); in msm_init_cm_dll()
702 msm_offset->core_dll_config_2); in msm_init_cm_dll()
708 msm_offset->core_dll_config); in msm_init_cm_dll()
711 msm_offset->core_dll_config); in msm_init_cm_dll()
714 msm_offset->core_dll_config); in msm_init_cm_dll()
717 msm_offset->core_dll_config); in msm_init_cm_dll()
723 msm_offset->core_dll_config_2); in msm_init_cm_dll()
726 msm_offset->core_dll_config_2); in msm_init_cm_dll()
737 msm_offset->core_dll_usr_ctl); in msm_init_cm_dll()
740 msm_offset->core_dll_config_3); in msm_init_cm_dll()
747 msm_offset->core_dll_config_3); in msm_init_cm_dll()
751 msm_offset->core_dll_config); in msm_init_cm_dll()
754 msm_offset->core_dll_config); in msm_init_cm_dll()
757 msm_offset->core_dll_config); in msm_init_cm_dll()
760 msm_offset->core_dll_config); in msm_init_cm_dll()
763 while (!(readl_relaxed(host->ioaddr + msm_offset->core_dll_status) & in msm_init_cm_dll()
784 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_default() local
789 msm_offset->core_vendor_spec3); in msm_hc_select_default()
792 msm_offset->core_vendor_spec3); in msm_hc_select_default()
795 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
798 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
807 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
810 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
826 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_hs400() local
830 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
834 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
842 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
846 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
855 msm_offset->core_dll_status, in msm_hc_select_hs400()
907 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cdclp533_calibration() local
925 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
927 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
929 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
931 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
941 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
943 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
995 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
997 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
1011 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cm_dll_sdc4_calibration() local
1024 ddr_cfg_offset = msm_offset->core_ddr_config; in sdhci_msm_cm_dll_sdc4_calibration()
1026 ddr_cfg_offset = msm_offset->core_ddr_config_old; in sdhci_msm_cm_dll_sdc4_calibration()
1031 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
1034 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
1037 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
1039 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
1042 msm_offset->core_dll_status, in sdhci_msm_cm_dll_sdc4_calibration()
1063 msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
1066 msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
1087 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_hs400_dll_calibration() local
1107 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1110 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1167 const struct sdhci_msm_offset *msm_offset = sdhci_priv_msm_offset(host); in sdhci_msm_set_cdr() local
1169 msm_offset->core_dll_config); in sdhci_msm_set_cdr()
1182 msm_offset->core_dll_config); in sdhci_msm_set_cdr()
1324 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_set_uhs_signaling() local
1367 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1370 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1373 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1376 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1521 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_check_power_status() local
1536 msm_offset->core_generics); in sdhci_msm_check_power_status()
1584 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_dump_pwr_ctrl_regs() local
1589 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_status), in sdhci_msm_dump_pwr_ctrl_regs()
1590 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_mask), in sdhci_msm_dump_pwr_ctrl_regs()
1591 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_ctl)); in sdhci_msm_dump_pwr_ctrl_regs()
1603 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_handle_pwr_irq() local
1606 msm_offset->core_pwrctl_status); in sdhci_msm_handle_pwr_irq()
1610 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1620 msm_offset->core_pwrctl_status)) { in sdhci_msm_handle_pwr_irq()
1629 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1685 msm_offset->core_pwrctl_ctl); in sdhci_msm_handle_pwr_irq()
1705 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
1717 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
2147 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_set_regulator_caps() local
2168 msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
2177 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
2256 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_dump_vendor_regs() local
2262 readl_relaxed(host->ioaddr + msm_offset->core_dll_status), in sdhci_msm_dump_vendor_regs()
2263 readl_relaxed(host->ioaddr + msm_offset->core_dll_config), in sdhci_msm_dump_vendor_regs()
2264 readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2)); in sdhci_msm_dump_vendor_regs()
2267 readl_relaxed(host->ioaddr + msm_offset->core_dll_config_3), in sdhci_msm_dump_vendor_regs()
2268 readl_relaxed(host->ioaddr + msm_offset->core_dll_usr_ctl), in sdhci_msm_dump_vendor_regs()
2269 readl_relaxed(host->ioaddr + msm_offset->core_ddr_config)); in sdhci_msm_dump_vendor_regs()
2272 readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec), in sdhci_msm_dump_vendor_regs()
2274 msm_offset->core_vendor_spec_func2), in sdhci_msm_dump_vendor_regs()
2275 readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec3)); in sdhci_msm_dump_vendor_regs()
2411 const struct sdhci_msm_offset *msm_offset; in sdhci_msm_probe() local
2440 msm_offset = msm_host->offset; in sdhci_msm_probe()
2537 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_probe()
2542 msm_offset->core_hc_mode); in sdhci_msm_probe()
2544 msm_offset->core_hc_mode); in sdhci_msm_probe()
2547 msm_offset->core_hc_mode); in sdhci_msm_probe()
2556 msm_offset->core_mci_version); in sdhci_msm_probe()
2581 msm_offset->core_vendor_spec_capabilities0); in sdhci_msm_probe()
2619 msm_offset->core_pwrctl_mask); in sdhci_msm_probe()