Lines Matching refs:scratch16
641 u16 scratch16; in sdhci_pci_o2_init_sd_express() local
670 scratch16 = sdhci_readw(host, O2_SD_PCIE_SWITCH); in sdhci_pci_o2_init_sd_express()
671 scratch16 |= BIT(8); in sdhci_pci_o2_init_sd_express()
672 sdhci_writew(host, scratch16, O2_SD_PCIE_SWITCH); in sdhci_pci_o2_init_sd_express()
680 pci_read_config_word(chip->pdev, O2_SD_PARA_SET_REG1, &scratch16); in sdhci_pci_o2_init_sd_express()
681 scratch16 &= ~BIT(11); in sdhci_pci_o2_init_sd_express()
682 pci_write_config_word(chip->pdev, O2_SD_PARA_SET_REG1, scratch16); in sdhci_pci_o2_init_sd_express()
814 u16 scratch16; in sdhci_pci_o2_probe() local
1036 pci_read_config_word(chip->pdev, O2_SD_PARA_SET_REG1, &scratch16); in sdhci_pci_o2_probe()
1037 scratch16 &= 0xF8FF; in sdhci_pci_o2_probe()
1038 scratch16 |= BIT(9); in sdhci_pci_o2_probe()
1039 pci_write_config_word(chip->pdev, O2_SD_PARA_SET_REG1, scratch16); in sdhci_pci_o2_probe()
1042 pci_read_config_word(chip->pdev, O2_SD_VDDX_CTRL_REG, &scratch16); in sdhci_pci_o2_probe()
1043 scratch16 &= 0xFFE3; in sdhci_pci_o2_probe()
1044 scratch16 |= BIT(3); in sdhci_pci_o2_probe()
1045 pci_write_config_word(chip->pdev, O2_SD_VDDX_CTRL_REG, scratch16); in sdhci_pci_o2_probe()
1048 scratch16 = 0x0025; in sdhci_pci_o2_probe()
1049 pci_write_config_word(chip->pdev, O2_SD_PLL_SETTING, scratch16); in sdhci_pci_o2_probe()