Lines Matching refs:cur_ide
82 static const CHST *cur_ide[4]; variable
112 (is_hd(cur_ide[0]) ? 0xf0 : 0) | in test_cmos_disk_data()
113 (is_hd(cur_ide[1]) ? 0x0f : 0)); in test_cmos_disk_data()
139 test_cmos_byte(qts, 0x19, is_hd(cur_ide[0]) ? 47 : 0); in test_cmos_drive1()
140 test_cmos_drive_cyl(qts, 0x1b, cur_ide[0]); in test_cmos_drive1()
145 test_cmos_byte(qts, 0x1a, is_hd(cur_ide[1]) ? 47 : 0); in test_cmos_drive2()
146 test_cmos_drive_cyl(qts, 0x24, cur_ide[1]); in test_cmos_drive2()
154 for (i = 0; i < ARRAY_SIZE(cur_ide); i++) { in test_cmos_disktransflag()
155 if (is_hd(cur_ide[i])) { in test_cmos_disktransflag()
156 val |= cur_ide[i]->trans << (2 * i); in test_cmos_disktransflag()
181 memset(cur_ide, 0, sizeof(cur_ide)); in setup_common()
280 cur_ide[i] = &hd_chst[i][mbr]; in test_ide_mbr()
281 dev = use_device ? (is_hd(cur_ide[i]) ? "ide-hd" : "ide-cd") : NULL; in test_ide_mbr()
354 cur_ide[0] = &expected_chst; in test_ide_drive_user()
395 cur_ide[ide_idx] = &hd_chst[i][mbr_blank]; in test_ide_drive_cd_0()