Home
last modified time | relevance | path

Searched refs:hostctrl2 (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/sdhci/
H A Dsdhci_xenon.c157 uint16_t hostctrl2; in sdhci_xenon_set_uhs_timing() local
166 hostctrl2 = sdhci_xenon_read_2(brdev, slot, SDHCI_HOST_CONTROL2); in sdhci_xenon_set_uhs_timing()
167 hostctrl2 &= ~SDHCI_CTRL2_UHS_MASK; in sdhci_xenon_set_uhs_timing()
171 hostctrl2 |= XENON_CTRL2_MMC_HS400; in sdhci_xenon_set_uhs_timing()
173 hostctrl2 |= XENON_CTRL2_MMC_HS200; in sdhci_xenon_set_uhs_timing()
175 hostctrl2 |= SDHCI_CTRL2_UHS_SDR104; in sdhci_xenon_set_uhs_timing()
178 hostctrl2 |= SDHCI_CTRL2_UHS_SDR50; in sdhci_xenon_set_uhs_timing()
182 hostctrl2 |= SDHCI_CTRL2_UHS_DDR50; in sdhci_xenon_set_uhs_timing()
184 hostctrl2 |= SDHCI_CTRL2_UHS_SDR25; in sdhci_xenon_set_uhs_timing()
186 hostctrl2 |= SDHCI_CTRL2_UHS_SDR12; in sdhci_xenon_set_uhs_timing()
[all …]
H A Dsdhci.c1333 uint16_t hostctrl2; local
1341 hostctrl2 = RD2(slot, SDHCI_HOST_CONTROL2);
1342 hostctrl2 &= ~SDHCI_CTRL2_UHS_MASK;
1346 hostctrl2 |= SDHCI_CTRL2_MMC_HS400;
1348 hostctrl2 |= SDHCI_CTRL2_UHS_SDR104;
1351 hostctrl2 |= SDHCI_CTRL2_UHS_SDR50;
1355 hostctrl2 |= SDHCI_CTRL2_UHS_DDR50;
1357 hostctrl2 |= SDHCI_CTRL2_UHS_SDR25;
1359 hostctrl2 |= SDHCI_CTRL2_UHS_SDR12;
1360 WR2(slot, SDHCI_HOST_CONTROL2, hostctrl2);
[all …]