Searched refs:drive_enables (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/ide/
H A Dit8172.c43 u16 drive_enables; it8172_set_pio_mode() local
55 pci_read_config_word(dev, 0x40, &drive_enables); it8172_set_pio_mode()
63 drive_enables |= 0x4000; it8172_set_pio_mode()
65 drive_enables &= drive->dn ? 0xc006 : 0xc060; it8172_set_pio_mode()
68 drive_enables |= 0x0004 << (drive->dn * 4); it8172_set_pio_mode()
71 drive_enables |= 0x0002 << (drive->dn * 4); it8172_set_pio_mode()
76 pci_write_config_word(dev, 0x40, drive_enables); it8172_set_pio_mode()

Completed in 80 milliseconds