Lines Matching refs:msm_offset

352 	const struct sdhci_msm_offset *msm_offset =  in msm_dll_poll_ck_out_en()  local
357 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
368 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
384 const struct sdhci_msm_offset *msm_offset = in msm_config_cm_dll_phase() local
392 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
395 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()
409 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
411 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
413 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
420 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
423 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
549 const struct sdhci_msm_offset *msm_offset = in msm_cm_dll_set_freq() local
570 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
573 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
585 const struct sdhci_msm_offset *msm_offset = in msm_init_cm_dll() local
595 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
597 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
601 msm_offset->core_dll_config); in msm_init_cm_dll()
604 msm_offset->core_dll_config); in msm_init_cm_dll()
607 msm_offset->core_dll_config_2); in msm_init_cm_dll()
610 msm_offset->core_dll_config_2); in msm_init_cm_dll()
614 msm_offset->core_dll_config); in msm_init_cm_dll()
617 msm_offset->core_dll_config); in msm_init_cm_dll()
620 msm_offset->core_dll_config); in msm_init_cm_dll()
623 msm_offset->core_dll_config); in msm_init_cm_dll()
631 msm_offset->core_dll_config_2); in msm_init_cm_dll()
641 msm_offset->core_dll_config_2); in msm_init_cm_dll()
646 msm_offset->core_dll_config_2); in msm_init_cm_dll()
652 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); in msm_init_cm_dll()
666 msm_offset->core_dll_config_2); in msm_init_cm_dll()
669 msm_offset->core_dll_config_2); in msm_init_cm_dll()
673 msm_offset->core_dll_config); in msm_init_cm_dll()
676 msm_offset->core_dll_config); in msm_init_cm_dll()
679 msm_offset->core_dll_config); in msm_init_cm_dll()
682 msm_offset->core_dll_config); in msm_init_cm_dll()
685 while (!(readl_relaxed(host->ioaddr + msm_offset->core_dll_status) & in msm_init_cm_dll()
706 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_default() local
711 msm_offset->core_vendor_spec3); in msm_hc_select_default()
714 msm_offset->core_vendor_spec3); in msm_hc_select_default()
717 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
720 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
729 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
732 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
748 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_hs400() local
752 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
756 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
764 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
768 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
777 msm_offset->core_dll_status, in msm_hc_select_hs400()
829 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cdclp533_calibration() local
847 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
849 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
851 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
853 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
863 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
865 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
917 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
919 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
931 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cm_dll_sdc4_calibration() local
944 msm_offset->core_ddr_config); in sdhci_msm_cm_dll_sdc4_calibration()
948 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
951 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
954 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
956 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
959 msm_offset->core_dll_status, in sdhci_msm_cm_dll_sdc4_calibration()
970 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
972 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
992 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_hs400_dll_calibration() local
1012 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1015 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1145 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_set_uhs_signaling() local
1188 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1191 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1194 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1197 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1240 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_check_power_status() local
1255 msm_offset->core_generics); in sdhci_msm_check_power_status()
1303 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_dump_pwr_ctrl_regs() local
1308 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_status), in sdhci_msm_dump_pwr_ctrl_regs()
1309 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_mask), in sdhci_msm_dump_pwr_ctrl_regs()
1310 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_ctl)); in sdhci_msm_dump_pwr_ctrl_regs()
1321 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_handle_pwr_irq() local
1324 msm_offset->core_pwrctl_status); in sdhci_msm_handle_pwr_irq()
1328 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1338 msm_offset->core_pwrctl_status)) { in sdhci_msm_handle_pwr_irq()
1347 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1379 msm_offset->core_pwrctl_ctl); in sdhci_msm_handle_pwr_irq()
1399 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
1411 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
1572 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_set_regulator_caps() local
1593 msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
1602 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
1668 const struct sdhci_msm_offset *msm_offset; in sdhci_msm_probe() local
1695 msm_offset = msm_host->offset; in sdhci_msm_probe()
1774 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_probe()
1779 msm_offset->core_hc_mode); in sdhci_msm_probe()
1781 msm_offset->core_hc_mode); in sdhci_msm_probe()
1784 msm_offset->core_hc_mode); in sdhci_msm_probe()
1793 msm_offset->core_mci_version); in sdhci_msm_probe()
1818 msm_offset->core_vendor_spec_capabilities0); in sdhci_msm_probe()
1848 msm_offset->core_pwrctl_mask); in sdhci_msm_probe()