Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ide/
H A Dide-bus.c87 int16_t *cyls, int8_t *heads, int8_t *secs) in ide_get_geometry() argument
95 *cyls = s->cylinders; in ide_get_geometry()
/openbmc/qemu/hw/block/
H A Dhd-geometry.c162 int hd_bios_chs_auto_trans(uint32_t cyls, uint32_t heads, uint32_t secs) in hd_bios_chs_auto_trans() argument
164 return cyls <= 1024 && heads <= 16 && secs <= 63 in hd_bios_chs_auto_trans()
H A Dtrace-events62 hd_geometry_lchs_guess(void *blk, int cyls, int heads, int secs) "blk %p LCHS %d %d %d"
63 hd_geometry_guess(void *blk, uint32_t cyls, uint32_t heads, uint32_t secs, int trans) "blk %p CHS %…
/openbmc/qemu/include/hw/ide/
H A Dide-bus.h39 int16_t *cyls, int8_t *heads, int8_t *secs);
/openbmc/u-boot/include/
H A Data.h141 unsigned short cyls; /* "physical" cyls */ member
/openbmc/qemu/hw/scsi/
H A Dscsi-disk.c1169 p[0] = (s->qdev.conf.cyls >> 16) & 0xff; in mode_sense_page()
1170 p[1] = (s->qdev.conf.cyls >> 8) & 0xff; in mode_sense_page()
1171 p[2] = s->qdev.conf.cyls & 0xff; in mode_sense_page()
1174 p[4] = (s->qdev.conf.cyls >> 16) & 0xff; in mode_sense_page()
1175 p[5] = (s->qdev.conf.cyls >> 8) & 0xff; in mode_sense_page()
1176 p[6] = s->qdev.conf.cyls & 0xff; in mode_sense_page()
1178 p[7] = (s->qdev.conf.cyls >> 16) & 0xff; in mode_sense_page()
1179 p[8] = (s->qdev.conf.cyls >> 8) & 0xff; in mode_sense_page()
1180 p[9] = s->qdev.conf.cyls & 0xff; in mode_sense_page()
1205 p[6] = (s->qdev.conf.cyls >> 8) & 0xff; in mode_sense_page()
[all …]
/openbmc/qemu/tests/qtest/
H A Dide-test.c571 uint16_t cyls; in test_specify() local
594 cyls = qpci_io_readb(dev, ide_bar, reg_lba_high) << 8; in test_specify()
595 cyls |= qpci_io_readb(dev, ide_bar, reg_lba_middle); in test_specify()
596 ++cyls; in test_specify()
597 g_assert_cmpint(cyls, ==, 130); in test_specify()
H A Dhd-geo-test.c47 int cyls, heads, secs, trans; member
86 return expected_chst && expected_chst->cyls; in is_hd()
120 int c = expected_chst->cyls; in test_cmos_drive_cyl()
352 expected_chst.cyls, expected_chst.heads, in test_ide_drive_user()