Home
last modified time | relevance | path

Searched refs:basereg (Results 1 – 3 of 3) sorted by relevance

/drivers/ide/
Dcs5530.c55 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
[all …]
Dsc1200.c85 unsigned int basereg = hwif->channel ? 0x50 : 0x40, format = 0; in sc1200_tunepio() local
87 pci_read_config_dword(pdev, basereg + 4, &format); in sc1200_tunepio()
91 pci_write_config_dword(pdev, basereg + ((drive->dn & 1) << 3), in sc1200_tunepio()
131 unsigned int basereg = hwif->channel ? 0x50 : 0x40; in sc1200_set_dma_mode() local
159 pci_read_config_dword(dev, basereg + 4, &reg); 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()
/drivers/gpu/drm/nouveau/
Dnouveau_bios.c1908 uint32_t basereg = ROM32(bios->data[offset + 1]); in init_zm_reg_sequence() local
1917 offset, basereg, count); in init_zm_reg_sequence()
1920 uint32_t reg = basereg + i * 4; in init_zm_reg_sequence()