Lines Matching refs:scratch
112 u16 scratch;
132 scratch = sdhci_readw(host, O2_PLL_DLL_WDT_CONTROL1);
133 if (scratch & O2_PLL_LOCK_STATUS)
321 u16 scratch = 0;
338 scratch = sdhci_readw(host, O2_SD_MISC_CTRL);
339 scratch |= O2_SD_PWR_FORCE_L0;
340 sdhci_writew(host, scratch, O2_SD_MISC_CTRL);
420 scratch = sdhci_readw(host, O2_SD_MISC_CTRL);
421 scratch &= ~(O2_SD_PWR_FORCE_L0);
422 sdhci_writew(host, scratch, O2_SD_MISC_CTRL);
581 u8 scratch;
595 pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch);
596 scratch &= 0x7f;
597 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
627 pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch);
628 scratch |= 0x80;
629 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
813 u8 scratch;
824 O2_SD_LOCK_WP, &scratch);
827 scratch &= 0x7f;
828 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
835 O2_SD_CLKREQ, &scratch);
838 scratch |= 0x20;
839 pci_write_config_byte(chip->pdev, O2_SD_CLKREQ, scratch);
844 ret = pci_read_config_byte(chip->pdev, O2_SD_CAPS, &scratch);
847 scratch |= 0x01;
848 pci_write_config_byte(chip->pdev, O2_SD_CAPS, scratch);
857 O2_SD_INF_MOD, &scratch);
860 scratch |= 0x08;
861 pci_write_config_byte(chip->pdev, O2_SD_INF_MOD, scratch);
865 O2_SD_LOCK_WP, &scratch);
868 scratch |= 0x80;
869 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
876 O2_SD_LOCK_WP, &scratch);
880 scratch &= 0x7f;
881 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
962 O2_SD_LOCK_WP, &scratch);
965 scratch |= 0x80;
966 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
972 O2_SD_LOCK_WP, &scratch);
976 scratch &= 0x7f;
977 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
1018 O2_SD_LOCK_WP, &scratch);
1021 scratch |= 0x80;
1022 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
1029 ret = pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch);
1032 scratch &= 0x7f;
1033 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
1058 ret = pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch);
1061 scratch |= 0x80;
1062 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);