Home
last modified time | relevance | path

Searched refs:scratch8 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mmc/host/
H A Dsdhci-pci-o2micro.c640 u8 scratch8; in sdhci_pci_o2_init_sd_express() local
648 scratch8 = sdhci_readb(host, SDHCI_POWER_CONTROL); in sdhci_pci_o2_init_sd_express()
649 scratch8 &= 0x0F; in sdhci_pci_o2_init_sd_express()
652 scratch8 |= SDHCI_VDD2_POWER_ON | SDHCI_VDD2_POWER_120; in sdhci_pci_o2_init_sd_express()
654 scratch8 |= SDHCI_VDD2_POWER_ON | SDHCI_VDD2_POWER_180; in sdhci_pci_o2_init_sd_express()
657 sdhci_writeb(host, scratch8, SDHCI_POWER_CONTROL); in sdhci_pci_o2_init_sd_express()
660 pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch8); in sdhci_pci_o2_init_sd_express()
661 scratch8 &= 0x7f; in sdhci_pci_o2_init_sd_express()
662 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch8); in sdhci_pci_o2_init_sd_express()
665 ret = read_poll_timeout(sdhci_readb, scratch8, !(scratch8 & BIT(0)), in sdhci_pci_o2_init_sd_express()
[all …]