Lines Matching refs:msm_offset

382 	const struct sdhci_msm_offset *msm_offset =  in msm_dll_poll_ck_out_en()  local
387 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
398 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
414 const struct sdhci_msm_offset *msm_offset = in msm_config_cm_dll_phase() local
422 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
425 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
436 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
439 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
441 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
443 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
450 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
453 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
579 const struct sdhci_msm_offset *msm_offset = in msm_cm_dll_set_freq() local
600 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
603 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
615 const struct sdhci_msm_offset *msm_offset = in msm_init_cm_dll() local
628 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
630 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
634 host->ioaddr + msm_offset->core_dll_config); in msm_init_cm_dll()
638 msm_offset->core_dll_config); in msm_init_cm_dll()
641 msm_offset->core_dll_config); in msm_init_cm_dll()
644 msm_offset->core_dll_config_2); in msm_init_cm_dll()
647 msm_offset->core_dll_config_2); in msm_init_cm_dll()
651 msm_offset->core_dll_config); in msm_init_cm_dll()
654 msm_offset->core_dll_config); in msm_init_cm_dll()
657 msm_offset->core_dll_config); in msm_init_cm_dll()
660 msm_offset->core_dll_config); in msm_init_cm_dll()
670 msm_offset->core_dll_config_2); in msm_init_cm_dll()
680 msm_offset->core_dll_config_2); in msm_init_cm_dll()
685 msm_offset->core_dll_config_2); in msm_init_cm_dll()
691 msm_offset->core_dll_config); in msm_init_cm_dll()
694 msm_offset->core_dll_config); in msm_init_cm_dll()
697 msm_offset->core_dll_config); in msm_init_cm_dll()
700 msm_offset->core_dll_config); in msm_init_cm_dll()
706 msm_offset->core_dll_config_2); in msm_init_cm_dll()
709 msm_offset->core_dll_config_2); in msm_init_cm_dll()
720 msm_offset->core_dll_usr_ctl); in msm_init_cm_dll()
723 msm_offset->core_dll_config_3); in msm_init_cm_dll()
730 msm_offset->core_dll_config_3); in msm_init_cm_dll()
734 msm_offset->core_dll_config); in msm_init_cm_dll()
737 msm_offset->core_dll_config); in msm_init_cm_dll()
740 msm_offset->core_dll_config); in msm_init_cm_dll()
743 msm_offset->core_dll_config); in msm_init_cm_dll()
746 while (!(readl_relaxed(host->ioaddr + msm_offset->core_dll_status) & in msm_init_cm_dll()
767 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_default() local
772 msm_offset->core_vendor_spec3); in msm_hc_select_default()
775 msm_offset->core_vendor_spec3); in msm_hc_select_default()
778 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
781 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
790 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
793 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
809 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_hs400() local
813 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
817 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
825 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
829 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
838 msm_offset->core_dll_status, in msm_hc_select_hs400()
890 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cdclp533_calibration() local
908 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
910 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
912 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
914 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
924 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
926 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
978 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
980 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
994 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cm_dll_sdc4_calibration() local
1007 ddr_cfg_offset = msm_offset->core_ddr_config; in sdhci_msm_cm_dll_sdc4_calibration()
1009 ddr_cfg_offset = msm_offset->core_ddr_config_old; in sdhci_msm_cm_dll_sdc4_calibration()
1014 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
1017 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
1020 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
1022 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
1025 msm_offset->core_dll_status, in sdhci_msm_cm_dll_sdc4_calibration()
1046 msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
1049 msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
1070 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_hs400_dll_calibration() local
1090 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1093 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1150 const struct sdhci_msm_offset *msm_offset = sdhci_priv_msm_offset(host); in sdhci_msm_set_cdr() local
1152 msm_offset->core_dll_config); in sdhci_msm_set_cdr()
1165 msm_offset->core_dll_config); in sdhci_msm_set_cdr()
1307 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_set_uhs_signaling() local
1350 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1353 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1356 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1359 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1504 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_check_power_status() local
1519 msm_offset->core_generics); in sdhci_msm_check_power_status()
1567 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_dump_pwr_ctrl_regs() local
1572 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_status), in sdhci_msm_dump_pwr_ctrl_regs()
1573 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_mask), in sdhci_msm_dump_pwr_ctrl_regs()
1574 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_ctl)); in sdhci_msm_dump_pwr_ctrl_regs()
1586 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_handle_pwr_irq() local
1589 msm_offset->core_pwrctl_status); in sdhci_msm_handle_pwr_irq()
1593 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1603 msm_offset->core_pwrctl_status)) { in sdhci_msm_handle_pwr_irq()
1612 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1668 msm_offset->core_pwrctl_ctl); in sdhci_msm_handle_pwr_irq()
1688 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
1700 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
2269 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_set_regulator_caps() local
2290 msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
2299 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
2385 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_dump_vendor_regs() local
2391 readl_relaxed(host->ioaddr + msm_offset->core_dll_status), in sdhci_msm_dump_vendor_regs()
2392 readl_relaxed(host->ioaddr + msm_offset->core_dll_config), in sdhci_msm_dump_vendor_regs()
2393 readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2)); in sdhci_msm_dump_vendor_regs()
2396 readl_relaxed(host->ioaddr + msm_offset->core_dll_config_3), in sdhci_msm_dump_vendor_regs()
2397 readl_relaxed(host->ioaddr + msm_offset->core_dll_usr_ctl), in sdhci_msm_dump_vendor_regs()
2398 readl_relaxed(host->ioaddr + msm_offset->core_ddr_config)); in sdhci_msm_dump_vendor_regs()
2401 readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec), in sdhci_msm_dump_vendor_regs()
2403 msm_offset->core_vendor_spec_func2), in sdhci_msm_dump_vendor_regs()
2404 readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec3)); in sdhci_msm_dump_vendor_regs()
2541 const struct sdhci_msm_offset *msm_offset; in sdhci_msm_probe() local
2571 msm_offset = msm_host->offset; in sdhci_msm_probe()
2675 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_probe()
2680 msm_offset->core_hc_mode); in sdhci_msm_probe()
2682 msm_offset->core_hc_mode); in sdhci_msm_probe()
2685 msm_offset->core_hc_mode); in sdhci_msm_probe()
2694 msm_offset->core_mci_version); in sdhci_msm_probe()
2719 msm_offset->core_vendor_spec_capabilities0); in sdhci_msm_probe()
2754 msm_offset->core_pwrctl_mask); in sdhci_msm_probe()