Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dhd-geo-test.c82 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()
140 test_cmos_drive_cyl(qts, 0x1b, cur_ide[0]); in test_cmos_drive1()
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()
[all …]