Searched refs:basereg (Results 1 – 2 of 2) sorted by relevance
/drivers/ide/ |
D | cs5530.c | 55 unsigned long basereg = CS5530_BASEREG(drive->hwif); in cs5530_set_pio_mode() local 56 unsigned int format = (inl(basereg + 4) >> 31) & 1; in cs5530_set_pio_mode() 58 outl(cs5530_pio_timings[format][pio], basereg + ((drive->dn & 1)<<3)); in cs5530_set_pio_mode() 105 unsigned long basereg; in cs5530_set_dma_mode() local 116 basereg = CS5530_BASEREG(drive->hwif); in cs5530_set_dma_mode() 117 reg = inl(basereg + 4); /* get drive0 config register */ in cs5530_set_dma_mode() 120 outl(timings, basereg + 4); /* write drive0 config register */ in cs5530_set_dma_mode() 126 outl(reg, basereg + 4); /* write drive0 config register */ in cs5530_set_dma_mode() 127 outl(timings, basereg + 12); /* write drive1 config register */ in cs5530_set_dma_mode() 231 unsigned long basereg; in init_hwif_cs5530() local [all …]
|
D | sc1200.c | 84 unsigned int basereg = hwif->channel ? 0x50 : 0x40, format = 0; in sc1200_tunepio() local 86 pci_read_config_dword(pdev, basereg + 4, &format); in sc1200_tunepio() 90 pci_write_config_dword(pdev, basereg + ((drive->dn & 1) << 3), in sc1200_tunepio() 132 unsigned int basereg = hwif->channel ? 0x50 : 0x40; in sc1200_set_dma_mode() local 159 pci_read_config_dword(dev, basereg + 4, ®); in sc1200_set_dma_mode() 161 pci_write_config_dword(dev, basereg + 4, timings); in sc1200_set_dma_mode() 163 pci_write_config_dword(dev, basereg + 12, timings); in sc1200_set_dma_mode()
|