Lines Matching refs:hostctrl2
1333 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);
1413 uint16_t hostctrl2; local
1422 hostctrl2 = RD2(slot, SDHCI_HOST_CONTROL2);
1425 if (!(hostctrl2 & SDHCI_CTRL2_S18_ENABLE))
1427 hostctrl2 &= ~SDHCI_CTRL2_S18_ENABLE;
1428 WR2(slot, SDHCI_HOST_CONTROL2, hostctrl2);
1430 hostctrl2 = RD2(slot, SDHCI_HOST_CONTROL2);
1431 if (!(hostctrl2 & SDHCI_CTRL2_S18_ENABLE))
1440 if (hostctrl2 & SDHCI_CTRL2_S18_ENABLE)
1442 hostctrl2 |= SDHCI_CTRL2_S18_ENABLE;
1443 WR2(slot, SDHCI_HOST_CONTROL2, hostctrl2);
1445 hostctrl2 = RD2(slot, SDHCI_HOST_CONTROL2);
1446 if (hostctrl2 & SDHCI_CTRL2_S18_ENABLE)
1576 uint16_t hostctrl2; local
1596 hostctrl2 = RD2(slot, SDHCI_HOST_CONTROL2);
1598 hostctrl2 &= ~SDHCI_CTRL2_SAMPLING_CLOCK;
1600 hostctrl2 |= SDHCI_CTRL2_SAMPLING_CLOCK;
1601 WR2(slot, SDHCI_HOST_CONTROL2, hostctrl2 | SDHCI_CTRL2_EXEC_TUNING);
1617 hostctrl2 = RD2(slot, SDHCI_HOST_CONTROL2);
1618 if (!(hostctrl2 & SDHCI_CTRL2_EXEC_TUNING))
1637 if ((hostctrl2 & (SDHCI_CTRL2_EXEC_TUNING |
1644 WR2(slot, SDHCI_HOST_CONTROL2, hostctrl2 & ~(SDHCI_CTRL2_EXEC_TUNING |