Searched refs:QD_TIMREG (Results 1 – 2 of 2) sorted by relevance
131 u8 index = (( (QD_TIMREG(drive)) & 0x80 ) >> 7) | in qd_select()132 (QD_TIMREG(drive) & 0x02); in qd_select()135 qd_write_reg(timings[index] = QD_TIMING(drive), QD_TIMREG(drive)); in qd_select()212 IDE_IMPLY(QD_TIMREG(drives) == QD_TIMREG(drives+1), in qd_timing_ok()388 qd_write_reg(QD6500_DEF_DATA, QD_TIMREG(&hwif->drives[0])); in qd_unsetup()391 qd_write_reg(QD6580_DEF_DATA, QD_TIMREG(&hwif->drives[0])); in qd_unsetup()392 qd_write_reg(QD6580_DEF_DATA2, QD_TIMREG(&hwif->drives[1])); in qd_unsetup()394 qd_write_reg(unit?QD6580_DEF_DATA2:QD6580_DEF_DATA, QD_TIMREG(&hwif->drives[0])); in qd_unsetup()
38 #define QD_TIMREG(drive) (byte)((((drive)->drive_data) & 0xff00) >> 8) macro