Searched refs:ctrl_2 (Results 1 – 9 of 9) sorted by relevance
/drivers/mmc/host/ |
D | sdhci-of-dwcmshc.c | 80 u16 ctrl_2; in dwcmshc_set_uhs_signaling() local 82 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in dwcmshc_set_uhs_signaling() 84 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in dwcmshc_set_uhs_signaling() 87 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in dwcmshc_set_uhs_signaling() 89 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in dwcmshc_set_uhs_signaling() 92 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in dwcmshc_set_uhs_signaling() 94 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in dwcmshc_set_uhs_signaling() 97 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in dwcmshc_set_uhs_signaling() 99 ctrl_2 |= DWCMSHC_CTRL_HS400; in dwcmshc_set_uhs_signaling() 100 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in dwcmshc_set_uhs_signaling()
|
D | sdhci-brcmstb.c | 98 u16 ctrl_2; in sdhci_brcmstb_set_uhs_signaling() local 102 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_brcmstb_set_uhs_signaling() 104 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_brcmstb_set_uhs_signaling() 107 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_brcmstb_set_uhs_signaling() 109 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_brcmstb_set_uhs_signaling() 113 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_brcmstb_set_uhs_signaling() 115 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_brcmstb_set_uhs_signaling() 118 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_brcmstb_set_uhs_signaling() 120 ctrl_2 |= SDHCI_CTRL_HS400; /* Non-standard */ in sdhci_brcmstb_set_uhs_signaling() 121 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_brcmstb_set_uhs_signaling()
|
D | sdhci-sprd.c | 314 u16 ctrl_2; in sdhci_sprd_set_uhs_signaling() local 319 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_sprd_set_uhs_signaling() 321 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_sprd_set_uhs_signaling() 324 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_sprd_set_uhs_signaling() 329 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_sprd_set_uhs_signaling() 332 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_sprd_set_uhs_signaling() 335 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_sprd_set_uhs_signaling() 339 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_sprd_set_uhs_signaling() 342 ctrl_2 |= SDHCI_SPRD_CTRL_HS200; in sdhci_sprd_set_uhs_signaling() 345 ctrl_2 |= SDHCI_SPRD_CTRL_HS400; in sdhci_sprd_set_uhs_signaling() [all …]
|
D | sdhci-xenon.c | 198 u16 ctrl_2; in xenon_set_uhs_signaling() local 200 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in xenon_set_uhs_signaling() 202 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in xenon_set_uhs_signaling() 204 ctrl_2 |= XENON_CTRL_HS200; in xenon_set_uhs_signaling() 206 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in xenon_set_uhs_signaling() 208 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in xenon_set_uhs_signaling() 210 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in xenon_set_uhs_signaling() 212 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in xenon_set_uhs_signaling() 215 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in xenon_set_uhs_signaling() 217 ctrl_2 |= XENON_CTRL_HS400; in xenon_set_uhs_signaling() [all …]
|
D | sdhci-st.c | 261 u16 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_st_set_uhs_signaling() local 265 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_st_set_uhs_signaling() 274 ctrl_2 |= SDHCI_CTRL_UHS_SDR12 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling() 278 ctrl_2 |= SDHCI_CTRL_UHS_SDR25 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling() 282 ctrl_2 |= SDHCI_CTRL_UHS_SDR50 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling() 288 ctrl_2 |= SDHCI_CTRL_UHS_SDR104 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling() 294 ctrl_2 |= SDHCI_CTRL_UHS_DDR50 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling() 302 dev_dbg(mmc_dev(host->mmc), "uhs %d, ctrl_2 %04X\n", uhs, ctrl_2); in sdhci_st_set_uhs_signaling() 304 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_st_set_uhs_signaling()
|
D | sdhci-pxav3.c | 244 u16 ctrl_2; in pxav3_set_uhs_signaling() local 250 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in pxav3_set_uhs_signaling() 253 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in pxav3_set_uhs_signaling() 256 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in pxav3_set_uhs_signaling() 259 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in pxav3_set_uhs_signaling() 262 ctrl_2 |= SDHCI_CTRL_UHS_SDR50 | SDHCI_CTRL_VDD_180; in pxav3_set_uhs_signaling() 265 ctrl_2 |= SDHCI_CTRL_UHS_SDR104 | SDHCI_CTRL_VDD_180; in pxav3_set_uhs_signaling() 269 ctrl_2 |= SDHCI_CTRL_UHS_DDR50 | SDHCI_CTRL_VDD_180; in pxav3_set_uhs_signaling() 294 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in pxav3_set_uhs_signaling() 297 __func__, uhs, ctrl_2); in pxav3_set_uhs_signaling()
|
D | sdhci-pci-gli.c | 638 u16 ctrl_2; in sdhci_set_gl9763e_signaling() local 640 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_set_gl9763e_signaling() 641 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_set_gl9763e_signaling() 643 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_set_gl9763e_signaling() 645 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_set_gl9763e_signaling() 647 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_set_gl9763e_signaling() 649 ctrl_2 |= SDHCI_GLI_9763E_CTRL_HS400; in sdhci_set_gl9763e_signaling() 651 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_set_gl9763e_signaling()
|
D | sdhci.c | 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() [all …]
|
D | sdhci-msm.c | 1305 u16 ctrl_2; in sdhci_msm_set_uhs_signaling() local 1310 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_msm_set_uhs_signaling() 1312 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_msm_set_uhs_signaling() 1315 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_msm_set_uhs_signaling() 1318 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_msm_set_uhs_signaling() 1321 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_msm_set_uhs_signaling() 1326 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_msm_set_uhs_signaling() 1330 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_msm_set_uhs_signaling() 1344 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_msm_set_uhs_signaling() 1369 mmc_hostname(host->mmc), host->clock, uhs, ctrl_2); in sdhci_msm_set_uhs_signaling() [all …]
|