Searched refs:cyls (Results 1 – 8 of 8) sorted by relevance
| /openbmc/qemu/hw/ide/ |
| H A D | ide-bus.c | 87 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 D | hd-geometry.c | 162 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 D | trace-events | 62 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 D | ide-bus.h | 39 int16_t *cyls, int8_t *heads, int8_t *secs);
|
| /openbmc/u-boot/include/ |
| H A D | ata.h | 141 unsigned short cyls; /* "physical" cyls */ member
|
| /openbmc/qemu/hw/scsi/ |
| H A D | scsi-disk.c | 1169 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 D | ide-test.c | 571 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 D | hd-geo-test.c | 47 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()
|