Lines Matching refs:ctrl_2
2228 u16 ctrl_2; in sdhci_set_uhs_signaling() local
2230 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_set_uhs_signaling()
2232 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_set_uhs_signaling()
2235 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_set_uhs_signaling()
2237 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_set_uhs_signaling()
2239 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_set_uhs_signaling()
2241 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_set_uhs_signaling()
2244 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_set_uhs_signaling()
2246 ctrl_2 |= SDHCI_CTRL_HS400; /* Non-standard */ in sdhci_set_uhs_signaling()
2247 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_set_uhs_signaling()
2325 u16 clk, ctrl_2; in sdhci_set_ios() local
2333 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_set_ios()
2334 ctrl_2 &= ~SDHCI_CTRL_DRV_TYPE_MASK; in sdhci_set_ios()
2336 ctrl_2 |= SDHCI_CTRL_DRV_TYPE_A; in sdhci_set_ios()
2338 ctrl_2 |= SDHCI_CTRL_DRV_TYPE_B; in sdhci_set_ios()
2340 ctrl_2 |= SDHCI_CTRL_DRV_TYPE_C; in sdhci_set_ios()
2342 ctrl_2 |= SDHCI_CTRL_DRV_TYPE_D; in sdhci_set_ios()
2346 ctrl_2 |= SDHCI_CTRL_DRV_TYPE_B; in sdhci_set_ios()
2349 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_set_ios()