Home
last modified time | relevance | path

Searched refs:mrdmode (Results 1 – 2 of 2) sorted by relevance

/drivers/ata/
Dpata_cmd64x.c282 u8 mrdmode = inb(base + 1); in cmd648_sff_irq_check() local
284 return mrdmode & irq_mask; in cmd648_sff_irq_check()
299 u8 mrdmode; in cmd648_sff_irq_clear() local
304 mrdmode = inb(base + 1); in cmd648_sff_irq_clear()
305 mrdmode &= ~(MRDMODE_INTR_CH0 | MRDMODE_INTR_CH1); in cmd648_sff_irq_clear()
306 outb(mrdmode | irq_mask, base + 1); in cmd648_sff_irq_clear()
362 u8 mrdmode; in cmd64x_fixup() local
365 pci_read_config_byte(pdev, MRDMODE, &mrdmode); in cmd64x_fixup()
366 mrdmode &= ~0x30; /* IRQ set up */ in cmd64x_fixup()
367 mrdmode |= 0x02; /* Memory read line enable */ in cmd64x_fixup()
[all …]
/drivers/ide/
Dcmd64x.c196 u8 mrdmode = inb(base + 1); in cmd648_clear_irq() local
199 outb((mrdmode & ~(MRDMODE_INTR_CH0 | MRDMODE_INTR_CH1)) | irq_mask, in cmd648_clear_irq()
223 u8 mrdmode = inb(base + 1); in cmd648_test_irq() local
226 hwif->name, mrdmode, irq_mask); in cmd648_test_irq()
228 return (mrdmode & irq_mask) ? 1 : 0; in cmd648_test_irq()
271 u8 mrdmode = 0; in init_chipset_cmd64x() local
284 (void) pci_read_config_byte (dev, MRDMODE, &mrdmode); in init_chipset_cmd64x()
285 mrdmode &= ~0x30; in init_chipset_cmd64x()
286 (void) pci_write_config_byte(dev, MRDMODE, (mrdmode | 0x02)); in init_chipset_cmd64x()