Lines Matching refs:scr1
667 u8 scr1 = 0; in hpt3xx_maskproc() local
669 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_maskproc()
670 if (((scr1 & 0x10) >> 4) != mask) { in hpt3xx_maskproc()
672 scr1 |= 0x10; in hpt3xx_maskproc()
674 scr1 &= ~0x10; in hpt3xx_maskproc()
675 pci_write_config_byte(dev, 0x5a, scr1); in hpt3xx_maskproc()
690 u8 mcr1 = 0, mcr3 = 0, scr1 = 0; in hpt366_dma_lost_irq() local
694 pci_read_config_byte(dev, 0x5a, &scr1); in hpt366_dma_lost_irq()
696 drive->name, __func__, mcr1, mcr3, scr1); in hpt366_dma_lost_irq()
697 if (scr1 & 0x10) in hpt366_dma_lost_irq()
698 pci_write_config_byte(dev, 0x5a, scr1 & ~0x10); in hpt366_dma_lost_irq()
925 u8 scr1 = 0; in init_chipset_hpt366() local
930 pci_read_config_byte(dev, 0x5a, &scr1); in init_chipset_hpt366()
931 if (scr1 & 0x10) in init_chipset_hpt366()
932 pci_write_config_byte(dev, 0x5a, scr1 & ~0x10); in init_chipset_hpt366()
1155 u8 scr1 = 0, ata66 = hwif->channel ? 0x01 : 0x02; in hpt3xx_cable_detect() local
1175 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_cable_detect()
1188 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_cable_detect()
1191 pci_read_config_byte(dev, 0x5a, &scr1); in hpt3xx_cable_detect()
1193 return (scr1 & ata66) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; in hpt3xx_cable_detect()