Searched refs:mrdmode (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/ata/ |
D | pata_cmd64x.c | 282 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 …]
|
/Linux-v4.19/drivers/ide/ |
D | cmd64x.c | 193 u8 mrdmode = inb(base + 1); in cmd648_clear_irq() local 196 outb((mrdmode & ~(MRDMODE_INTR_CH0 | MRDMODE_INTR_CH1)) | irq_mask, in cmd648_clear_irq() 220 u8 mrdmode = inb(base + 1); in cmd648_test_irq() local 223 hwif->name, mrdmode, irq_mask); in cmd648_test_irq() 225 return (mrdmode & irq_mask) ? 1 : 0; in cmd648_test_irq() 268 u8 mrdmode = 0; in init_chipset_cmd64x() local 281 (void) pci_read_config_byte (dev, MRDMODE, &mrdmode); in init_chipset_cmd64x() 282 mrdmode &= ~0x30; in init_chipset_cmd64x() 283 (void) pci_write_config_byte(dev, MRDMODE, (mrdmode | 0x02)); in init_chipset_cmd64x()
|