Lines Matching refs:pinctrl_state

109 	struct pinctrl_state	**pinctrl_state;  member
569 struct pinctrl_state *pinctrl_state; in sdhci_omap_set_timing() local
580 pinctrl_state = omap_host->pinctrl_state[timing]; in sdhci_omap_set_timing()
581 ret = pinctrl_select_state(omap_host->pinctrl, pinctrl_state); in sdhci_omap_set_timing()
951 static struct pinctrl_state
957 struct pinctrl_state *pinctrl_state = ERR_PTR(-ENODEV); in sdhci_omap_iodelay_pinctrl_state() local
965 pinctrl_state = pinctrl_lookup_state(omap_host->pinctrl, str); in sdhci_omap_iodelay_pinctrl_state()
968 if (IS_ERR(pinctrl_state)) in sdhci_omap_iodelay_pinctrl_state()
969 pinctrl_state = pinctrl_lookup_state(omap_host->pinctrl, mode); in sdhci_omap_iodelay_pinctrl_state()
971 if (IS_ERR(pinctrl_state)) { in sdhci_omap_iodelay_pinctrl_state()
977 return pinctrl_state; in sdhci_omap_iodelay_pinctrl_state()
988 struct pinctrl_state *state; in sdhci_omap_config_iodelay_pinctrl_state()
989 struct pinctrl_state **pinctrl_state; in sdhci_omap_config_iodelay_pinctrl_state() local
994 pinctrl_state = devm_kcalloc(dev, in sdhci_omap_config_iodelay_pinctrl_state()
996 sizeof(*pinctrl_state), in sdhci_omap_config_iodelay_pinctrl_state()
998 if (!pinctrl_state) in sdhci_omap_config_iodelay_pinctrl_state()
1012 pinctrl_state[MMC_TIMING_LEGACY] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1017 pinctrl_state[MMC_TIMING_UHS_SDR104] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1022 pinctrl_state[MMC_TIMING_UHS_DDR50] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1027 pinctrl_state[MMC_TIMING_UHS_SDR50] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1032 pinctrl_state[MMC_TIMING_UHS_SDR25] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1037 pinctrl_state[MMC_TIMING_UHS_SDR12] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1042 pinctrl_state[MMC_TIMING_MMC_DDR52] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1048 pinctrl_state[MMC_TIMING_MMC_DDR52] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1054 pinctrl_state[MMC_TIMING_SD_HS] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1059 pinctrl_state[MMC_TIMING_MMC_HS] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1064 pinctrl_state[MMC_TIMING_MMC_HS200] = state; in sdhci_omap_config_iodelay_pinctrl_state()
1066 omap_host->pinctrl_state = pinctrl_state; in sdhci_omap_config_iodelay_pinctrl_state()