Lines Matching refs:ctrl0
670 if ((regs->ctrl0 & expected_mask) != expected_mask) {
671 zxlogf(TRACE, "sdhci: after voltage switch ctrl0=0x%08x, expected=0x%08x\n",
672 regs->ctrl0, expected_mask);
706 dev->regs->ctrl0 &= ~SDHCI_HOSTCTRL_EXT_DATA_WIDTH;
707 dev->regs->ctrl0 &= ~SDHCI_HOSTCTRL_FOUR_BIT_BUS_WIDTH;
710 dev->regs->ctrl0 &= ~SDHCI_HOSTCTRL_EXT_DATA_WIDTH;
711 dev->regs->ctrl0 |= SDHCI_HOSTCTRL_FOUR_BIT_BUS_WIDTH;
714 dev->regs->ctrl0 |= SDHCI_HOSTCTRL_EXT_DATA_WIDTH;
782 dev->regs->ctrl0 |= SDHCI_HOSTCTRL_HIGHSPEED_ENABLE;
784 dev->regs->ctrl0 &= ~SDHCI_HOSTCTRL_HIGHSPEED_ENABLE;
866 .blocksize = (dev->regs->ctrl0 & SDHCI_HOSTCTRL_EXT_DATA_WIDTH) ? 128 : 64,
970 dev->regs->ctrl0 |= SDHCI_HOSTCTRL_DMA_SELECT_ADMA2;
1019 dev->regs->ctrl0 &= ~SDHCI_PWRCTRL_SD_BUS_POWER;
1022 uint32_t ctrl0 = dev->regs->ctrl0 & ~SDHCI_PWRCTRL_SD_BUS_VOLTAGE_MASK;
1024 ctrl0 |= SDHCI_PWRCTRL_SD_BUS_VOLTAGE_3P3V;
1026 ctrl0 |= SDHCI_PWRCTRL_SD_BUS_VOLTAGE_1P8V;
1028 dev->regs->ctrl0 = ctrl0;
1031 dev->regs->ctrl0 |= SDHCI_PWRCTRL_SD_BUS_POWER;