Lines Matching refs:scratch
102 u16 scratch;
122 scratch = sdhci_readw(host, O2_PLL_DLL_WDT_CONTROL1);
123 if (scratch & O2_PLL_LOCK_STATUS)
309 u16 scratch = 0;
324 scratch = sdhci_readw(host, O2_SD_MISC_CTRL);
325 scratch |= O2_SD_PWR_FORCE_L0;
326 sdhci_writew(host, scratch, O2_SD_MISC_CTRL);
366 scratch = sdhci_readw(host, O2_SD_MISC_CTRL);
367 scratch &= ~(O2_SD_PWR_FORCE_L0);
368 sdhci_writew(host, scratch, O2_SD_MISC_CTRL);
527 u8 scratch;
540 pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch);
542 scratch &= 0x7f;
543 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
550 pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch);
552 scratch |= 0x80;
553 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
638 u8 scratch;
648 O2_SD_LOCK_WP, &scratch);
651 scratch &= 0x7f;
652 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
659 O2_SD_CLKREQ, &scratch);
662 scratch |= 0x20;
663 pci_write_config_byte(chip->pdev, O2_SD_CLKREQ, scratch);
668 ret = pci_read_config_byte(chip->pdev, O2_SD_CAPS, &scratch);
671 scratch |= 0x01;
672 pci_write_config_byte(chip->pdev, O2_SD_CAPS, scratch);
681 O2_SD_INF_MOD, &scratch);
684 scratch |= 0x08;
685 pci_write_config_byte(chip->pdev, O2_SD_INF_MOD, scratch);
689 O2_SD_LOCK_WP, &scratch);
692 scratch |= 0x80;
693 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
700 O2_SD_LOCK_WP, &scratch);
704 scratch &= 0x7f;
705 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
782 O2_SD_LOCK_WP, &scratch);
785 scratch |= 0x80;
786 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
792 O2_SD_LOCK_WP, &scratch);
796 scratch &= 0x7f;
797 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
834 O2_SD_LOCK_WP, &scratch);
837 scratch |= 0x80;
838 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);