Lines Matching refs:scr1
668 u8 scr1 = 0; in hpt3xx_maskproc() local
670 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_maskproc()
671 if (((scr1 & 0x10) >> 4) != mask) { in hpt3xx_maskproc()
673 scr1 |= 0x10; in hpt3xx_maskproc()
675 scr1 &= ~0x10; in hpt3xx_maskproc()
676 pci_write_config_byte(dev, 0x5a, scr1); in hpt3xx_maskproc()
691 u8 mcr1 = 0, mcr3 = 0, scr1 = 0; in hpt366_dma_lost_irq() local
695 pci_read_config_byte(dev, 0x5a, &scr1); in hpt366_dma_lost_irq()
697 drive->name, __func__, mcr1, mcr3, scr1); in hpt366_dma_lost_irq()
698 if (scr1 & 0x10) in hpt366_dma_lost_irq()
699 pci_write_config_byte(dev, 0x5a, scr1 & ~0x10); in hpt366_dma_lost_irq()
926 u8 scr1 = 0; in init_chipset_hpt366() local
931 pci_read_config_byte(dev, 0x5a, &scr1); in init_chipset_hpt366()
932 if (scr1 & 0x10) in init_chipset_hpt366()
933 pci_write_config_byte(dev, 0x5a, scr1 & ~0x10); in init_chipset_hpt366()
1156 u8 scr1 = 0, ata66 = hwif->channel ? 0x01 : 0x02; in hpt3xx_cable_detect() local
1176 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_cable_detect()
1189 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_cable_detect()
1192 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_cable_detect()
1194 return (scr1 & ata66) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; in hpt3xx_cable_detect()