Lines Matching refs:msm_offset
347 const struct sdhci_msm_offset *msm_offset = in msm_dll_poll_ck_out_en() local
352 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
363 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
379 const struct sdhci_msm_offset *msm_offset = in msm_config_cm_dll_phase() local
387 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
390 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
401 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
404 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
406 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
408 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
415 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
418 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
544 const struct sdhci_msm_offset *msm_offset = in msm_cm_dll_set_freq() local
565 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
568 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
580 const struct sdhci_msm_offset *msm_offset = in msm_init_cm_dll() local
593 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
595 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
599 msm_offset->core_dll_config); in msm_init_cm_dll()
602 msm_offset->core_dll_config); in msm_init_cm_dll()
605 msm_offset->core_dll_config_2); in msm_init_cm_dll()
608 msm_offset->core_dll_config_2); in msm_init_cm_dll()
612 msm_offset->core_dll_config); in msm_init_cm_dll()
615 msm_offset->core_dll_config); in msm_init_cm_dll()
618 msm_offset->core_dll_config); in msm_init_cm_dll()
621 msm_offset->core_dll_config); in msm_init_cm_dll()
629 msm_offset->core_dll_config_2); in msm_init_cm_dll()
639 msm_offset->core_dll_config_2); in msm_init_cm_dll()
644 msm_offset->core_dll_config_2); in msm_init_cm_dll()
650 msm_offset->core_dll_config); in msm_init_cm_dll()
653 msm_offset->core_dll_config); in msm_init_cm_dll()
656 msm_offset->core_dll_config); in msm_init_cm_dll()
659 msm_offset->core_dll_config); in msm_init_cm_dll()
664 msm_offset->core_dll_config_2); in msm_init_cm_dll()
667 msm_offset->core_dll_config_2); 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()
680 msm_offset->core_dll_config); in msm_init_cm_dll()
683 while (!(readl_relaxed(host->ioaddr + msm_offset->core_dll_status) & in msm_init_cm_dll()
704 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_default() local
709 msm_offset->core_vendor_spec3); in msm_hc_select_default()
712 msm_offset->core_vendor_spec3); in msm_hc_select_default()
715 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
718 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
727 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
730 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
746 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_hs400() local
750 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
754 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
762 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
766 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
775 msm_offset->core_dll_status, in msm_hc_select_hs400()
827 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cdclp533_calibration() local
845 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
847 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
849 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
851 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
861 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
863 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
915 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
917 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
929 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cm_dll_sdc4_calibration() local
942 msm_offset->core_ddr_config); in sdhci_msm_cm_dll_sdc4_calibration()
946 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
949 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
952 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
954 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
957 msm_offset->core_dll_status, in sdhci_msm_cm_dll_sdc4_calibration()
968 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
970 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
990 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_hs400_dll_calibration() local
1010 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1013 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1070 const struct sdhci_msm_offset *msm_offset = sdhci_priv_msm_offset(host); in sdhci_msm_set_cdr() local
1072 msm_offset->core_dll_config); in sdhci_msm_set_cdr()
1085 msm_offset->core_dll_config); in sdhci_msm_set_cdr()
1205 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_set_uhs_signaling() local
1248 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1251 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1254 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1257 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1300 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_check_power_status() local
1315 msm_offset->core_generics); in sdhci_msm_check_power_status()
1363 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_dump_pwr_ctrl_regs() local
1368 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_status), in sdhci_msm_dump_pwr_ctrl_regs()
1369 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_mask), in sdhci_msm_dump_pwr_ctrl_regs()
1370 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_ctl)); in sdhci_msm_dump_pwr_ctrl_regs()
1381 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_handle_pwr_irq() local
1384 msm_offset->core_pwrctl_status); in sdhci_msm_handle_pwr_irq()
1388 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1398 msm_offset->core_pwrctl_status)) { in sdhci_msm_handle_pwr_irq()
1407 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1439 msm_offset->core_pwrctl_ctl); in sdhci_msm_handle_pwr_irq()
1459 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
1471 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
1645 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_set_regulator_caps() local
1666 msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
1675 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
1748 const struct sdhci_msm_offset *msm_offset; in sdhci_msm_probe() local
1776 msm_offset = msm_host->offset; in sdhci_msm_probe()
1855 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_probe()
1860 msm_offset->core_hc_mode); in sdhci_msm_probe()
1862 msm_offset->core_hc_mode); in sdhci_msm_probe()
1865 msm_offset->core_hc_mode); in sdhci_msm_probe()
1874 msm_offset->core_mci_version); in sdhci_msm_probe()
1899 msm_offset->core_vendor_spec_capabilities0); in sdhci_msm_probe()
1927 msm_offset->core_pwrctl_mask); in sdhci_msm_probe()