Lines Matching refs:hostctl1
713 switch (SDHC_DMA_TYPE(s->hostctl1)) { in get_adma_description()
930 switch (SDHC_DMA_TYPE(s->hostctl1)) { in sdhci_data_transfer()
1056 ret = s->hostctl1 | (s->pwrcon << 8) | (s->blkgap << 16) | in sdhci_read()
1180 SDHC_DMA_TYPE(s->hostctl1) == SDHC_CTRL_SDMA) { in sdhci_write()
1257 MASKED_WRITE(s->hostctl1, mask, value); in sdhci_write()
1512 VMSTATE_UINT8(hostctl1, SDHCIState),
1661 uint16_t hostctl1; in usdhc_read() local
1673 hostctl1 = SDHC_DMA_TYPE(s->hostctl1) << (8 - 3); in usdhc_read()
1675 if (s->hostctl1 & SDHC_CTRL_8BITBUS) { in usdhc_read()
1676 hostctl1 |= USDHC_CTRL_8BITBUS; in usdhc_read()
1679 if (s->hostctl1 & SDHC_CTRL_4BITBUS) { in usdhc_read()
1680 hostctl1 |= USDHC_CTRL_4BITBUS; in usdhc_read()
1683 ret = hostctl1; in usdhc_read()
1717 uint8_t hostctl1; in usdhc_write() local
1794 hostctl1 = value & (SDHC_CTRL_LED | in usdhc_write()
1802 hostctl1 |= SDHC_CTRL_8BITBUS; in usdhc_write()
1806 hostctl1 |= USDHC_CTRL_4BITBUS; in usdhc_write()
1812 hostctl1 |= SDHC_DMA_TYPE(value >> (8 - 3)); in usdhc_write()
1823 value |= hostctl1; in usdhc_write()