Lines Matching refs:msm_offset

395 	const struct sdhci_msm_offset *msm_offset =  in msm_dll_poll_ck_out_en()  local
400 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
411 msm_offset->core_dll_config) & CORE_CK_OUT_EN); in msm_dll_poll_ck_out_en()
427 const struct sdhci_msm_offset *msm_offset = in msm_config_cm_dll_phase() local
435 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
438 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
449 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
452 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
454 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()
463 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
466 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
592 const struct sdhci_msm_offset *msm_offset = in msm_cm_dll_set_freq() local
613 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
616 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
628 const struct sdhci_msm_offset *msm_offset = in msm_init_cm_dll() local
641 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
643 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
647 host->ioaddr + msm_offset->core_dll_config); 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_2); in msm_init_cm_dll()
660 msm_offset->core_dll_config_2); in msm_init_cm_dll()
664 msm_offset->core_dll_config); in msm_init_cm_dll()
667 msm_offset->core_dll_config); in msm_init_cm_dll()
670 msm_offset->core_dll_config); in msm_init_cm_dll()
673 msm_offset->core_dll_config); in msm_init_cm_dll()
683 msm_offset->core_dll_config_2); in msm_init_cm_dll()
693 msm_offset->core_dll_config_2); in msm_init_cm_dll()
698 msm_offset->core_dll_config_2); in msm_init_cm_dll()
704 msm_offset->core_dll_config); in msm_init_cm_dll()
707 msm_offset->core_dll_config); in msm_init_cm_dll()
710 msm_offset->core_dll_config); in msm_init_cm_dll()
713 msm_offset->core_dll_config); in msm_init_cm_dll()
719 msm_offset->core_dll_config_2); in msm_init_cm_dll()
722 msm_offset->core_dll_config_2); in msm_init_cm_dll()
733 msm_offset->core_dll_usr_ctl); in msm_init_cm_dll()
736 msm_offset->core_dll_config_3); in msm_init_cm_dll()
743 msm_offset->core_dll_config_3); in msm_init_cm_dll()
747 msm_offset->core_dll_config); in msm_init_cm_dll()
750 msm_offset->core_dll_config); in msm_init_cm_dll()
753 msm_offset->core_dll_config); in msm_init_cm_dll()
756 msm_offset->core_dll_config); in msm_init_cm_dll()
759 while (!(readl_relaxed(host->ioaddr + msm_offset->core_dll_status) & in msm_init_cm_dll()
780 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_default() local
785 msm_offset->core_vendor_spec3); in msm_hc_select_default()
788 msm_offset->core_vendor_spec3); in msm_hc_select_default()
791 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
794 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
803 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
806 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_default()
822 const struct sdhci_msm_offset *msm_offset = in msm_hc_select_hs400() local
826 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
830 writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); in msm_hc_select_hs400()
838 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
842 msm_offset->core_vendor_spec); in msm_hc_select_hs400()
851 msm_offset->core_dll_status, in msm_hc_select_hs400()
903 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cdclp533_calibration() local
921 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
923 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); in sdhci_msm_cdclp533_calibration()
925 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
927 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
937 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
939 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
991 config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
993 writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); in sdhci_msm_cdclp533_calibration()
1007 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_cm_dll_sdc4_calibration() local
1020 ddr_cfg_offset = msm_offset->core_ddr_config; in sdhci_msm_cm_dll_sdc4_calibration()
1022 ddr_cfg_offset = msm_offset->core_ddr_config_old; in sdhci_msm_cm_dll_sdc4_calibration()
1027 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
1030 msm_offset->core_ddr_200_cfg); in sdhci_msm_cm_dll_sdc4_calibration()
1033 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
1035 writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config_2); in sdhci_msm_cm_dll_sdc4_calibration()
1038 msm_offset->core_dll_status, in sdhci_msm_cm_dll_sdc4_calibration()
1059 msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
1062 msm_offset->core_vendor_spec3); in sdhci_msm_cm_dll_sdc4_calibration()
1083 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_hs400_dll_calibration() local
1103 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1106 msm_offset->core_dll_config); in sdhci_msm_hs400_dll_calibration()
1163 const struct sdhci_msm_offset *msm_offset = sdhci_priv_msm_offset(host); in sdhci_msm_set_cdr() local
1165 msm_offset->core_dll_config); in sdhci_msm_set_cdr()
1178 msm_offset->core_dll_config); in sdhci_msm_set_cdr()
1320 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_set_uhs_signaling() local
1363 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1366 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1369 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1372 msm_offset->core_dll_config); in sdhci_msm_set_uhs_signaling()
1517 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_check_power_status() local
1532 msm_offset->core_generics); in sdhci_msm_check_power_status()
1580 const struct sdhci_msm_offset *msm_offset = in sdhci_msm_dump_pwr_ctrl_regs() local
1585 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_status), in sdhci_msm_dump_pwr_ctrl_regs()
1586 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_mask), in sdhci_msm_dump_pwr_ctrl_regs()
1587 msm_host_readl(msm_host, host, msm_offset->core_pwrctl_ctl)); in sdhci_msm_dump_pwr_ctrl_regs()
1599 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_handle_pwr_irq() local
1602 msm_offset->core_pwrctl_status); in sdhci_msm_handle_pwr_irq()
1606 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1616 msm_offset->core_pwrctl_status)) { in sdhci_msm_handle_pwr_irq()
1625 msm_offset->core_pwrctl_clear); in sdhci_msm_handle_pwr_irq()
1681 msm_offset->core_pwrctl_ctl); in sdhci_msm_handle_pwr_irq()
1701 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
1713 msm_offset->core_vendor_spec); in sdhci_msm_handle_pwr_irq()
2271 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_set_regulator_caps() local
2292 msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
2301 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_set_regulator_caps()
2387 const struct sdhci_msm_offset *msm_offset = msm_host->offset; in sdhci_msm_dump_vendor_regs() local
2393 readl_relaxed(host->ioaddr + msm_offset->core_dll_status), in sdhci_msm_dump_vendor_regs()
2394 readl_relaxed(host->ioaddr + msm_offset->core_dll_config), in sdhci_msm_dump_vendor_regs()
2395 readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2)); in sdhci_msm_dump_vendor_regs()
2398 readl_relaxed(host->ioaddr + msm_offset->core_dll_config_3), in sdhci_msm_dump_vendor_regs()
2399 readl_relaxed(host->ioaddr + msm_offset->core_dll_usr_ctl), in sdhci_msm_dump_vendor_regs()
2400 readl_relaxed(host->ioaddr + msm_offset->core_ddr_config)); in sdhci_msm_dump_vendor_regs()
2403 readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec), in sdhci_msm_dump_vendor_regs()
2405 msm_offset->core_vendor_spec_func2), in sdhci_msm_dump_vendor_regs()
2406 readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec3)); in sdhci_msm_dump_vendor_regs()
2539 const struct sdhci_msm_offset *msm_offset; in sdhci_msm_probe() local
2568 msm_offset = msm_host->offset; in sdhci_msm_probe()
2670 host->ioaddr + msm_offset->core_vendor_spec); in sdhci_msm_probe()
2675 msm_offset->core_hc_mode); in sdhci_msm_probe()
2677 msm_offset->core_hc_mode); in sdhci_msm_probe()
2680 msm_offset->core_hc_mode); in sdhci_msm_probe()
2689 msm_offset->core_mci_version); in sdhci_msm_probe()
2714 msm_offset->core_vendor_spec_capabilities0); in sdhci_msm_probe()
2752 msm_offset->core_pwrctl_mask); in sdhci_msm_probe()