Lines Matching refs:basereg
55 unsigned long basereg = CS5530_BASEREG(hwif); in cs5530_set_pio_mode() local
56 unsigned int format = (inl(basereg + 4) >> 31) & 1; in cs5530_set_pio_mode()
59 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(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
234 basereg = CS5530_BASEREG(hwif); in init_hwif_cs5530()
235 d0_timings = inl(basereg + 0); in init_hwif_cs5530()
237 outl(cs5530_pio_timings[(d0_timings >> 31) & 1][0], basereg + 0); in init_hwif_cs5530()
238 if (CS5530_BAD_PIO(inl(basereg + 8))) in init_hwif_cs5530()
239 outl(cs5530_pio_timings[(d0_timings >> 31) & 1][0], basereg + 8); in init_hwif_cs5530()