Lines Matching refs:scr1
671 u8 scr1 = 0; in hpt3xx_maskproc() local
673 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_maskproc()
674 if (((scr1 & 0x10) >> 4) != mask) { in hpt3xx_maskproc()
676 scr1 |= 0x10; in hpt3xx_maskproc()
678 scr1 &= ~0x10; in hpt3xx_maskproc()
679 pci_write_config_byte(dev, 0x5a, scr1); in hpt3xx_maskproc()
694 u8 mcr1 = 0, mcr3 = 0, scr1 = 0; in hpt366_dma_lost_irq() local
698 pci_read_config_byte(dev, 0x5a, &scr1); in hpt366_dma_lost_irq()
700 drive->name, __func__, mcr1, mcr3, scr1); in hpt366_dma_lost_irq()
701 if (scr1 & 0x10) in hpt366_dma_lost_irq()
702 pci_write_config_byte(dev, 0x5a, scr1 & ~0x10); in hpt366_dma_lost_irq()
929 u8 scr1 = 0; in init_chipset_hpt366() local
934 pci_read_config_byte(dev, 0x5a, &scr1); in init_chipset_hpt366()
935 if (scr1 & 0x10) in init_chipset_hpt366()
936 pci_write_config_byte(dev, 0x5a, scr1 & ~0x10); in init_chipset_hpt366()
1159 u8 scr1 = 0, ata66 = hwif->channel ? 0x01 : 0x02; in hpt3xx_cable_detect() local
1179 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_cable_detect()
1192 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_cable_detect()
1195 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_cable_detect()
1197 return (scr1 & ata66) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; in hpt3xx_cable_detect()