Lines Matching refs:scratch8
640 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()
675 scratch8 = sdhci_readb(host, SDHCI_POWER_CONTROL); in sdhci_pci_o2_init_sd_express()
676 scratch8 &= 0x0F; in sdhci_pci_o2_init_sd_express()
677 sdhci_writeb(host, scratch8, SDHCI_POWER_CONTROL); in sdhci_pci_o2_init_sd_express()
689 pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch8); in sdhci_pci_o2_init_sd_express()
690 scratch8 |= 0x80; in sdhci_pci_o2_init_sd_express()
691 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch8); in sdhci_pci_o2_init_sd_express()