Searched refs:cyl (Results 1 – 7 of 7) sorted by relevance
/qemu/tests/qtest/ |
H A D | fdc-test.c | 121 uint8_t cyl = 0; in send_read_command() local 136 floppy_send(cyl); in send_read_command() 177 uint8_t cyl = 0; in send_read_no_dma_command() local 192 floppy_send(cyl); in send_read_no_dma_command() 255 floppy_send(cyl); in send_seek() 362 int cyl = 0; in test_sense_interrupt() local 372 floppy_send(cyl); in test_sense_interrupt() 384 uint8_t cyl = 1; in test_relative_seek() local 394 floppy_send(cyl); in test_relative_seek() 413 uint8_t cyl; in test_read_id() local [all …]
|
H A D | hd-geo-test.c | 410 uint32_t cyl; member 431 uint8_t status, parttype, head, sector, cyl; in create_qcow2_with_mbr() local 441 g_assert(mbr[i].cyl < 1024); in create_qcow2_with_mbr() 443 sector = mbr[i].sector + ((mbr[i].cyl & 0x300) >> 2); in create_qcow2_with_mbr() 444 cyl = mbr[i].cyl & 0xff; in create_qcow2_with_mbr() 449 buf[offset + 0x3] = cyl; in create_qcow2_with_mbr() 457 cyl = mbr[i].end_cyl & 0xff; in create_qcow2_with_mbr() 462 buf[offset + 0x7] = cyl; in create_qcow2_with_mbr()
|
/qemu/pc-bios/s390-ccw/ |
H A D | bootmap.c | 110 uint64_t cyl, head, sec; in gen_eckd_block_num() local 111 eckd_format_chs(ptr, ldipl, &cyl, &head, &sec); in gen_eckd_block_num() 112 return eckd_chs_to_block(cyl, head, sec); in gen_eckd_block_num() 115 static bool eckd_valid_chs(uint64_t cyl, uint64_t head, uint64_t sector) in eckd_valid_chs() argument 124 eckd_chs_to_block(cyl, head, sector) >= virtio_get_blocks()) { in eckd_valid_chs() 133 uint64_t cyl, head, sec; in eckd_valid_address() local 134 eckd_format_chs(ptr, ldipl, &cyl, &head, &sec); in eckd_valid_address() 135 return eckd_valid_chs(cyl, head, sec); in eckd_valid_address()
|
H A D | dasd-ipl.c | 174 seekData->cyl = 0x00; in ipl1_fixup() 181 searchData->cyl = 0; in ipl1_fixup()
|
H A D | cio.h | 353 uint16_t cyl; member 359 uint16_t cyl; member
|
/qemu/hw/block/ |
H A D | hd-geometry.c | 44 uint8_t cyl; /* starting cylinder */ member
|
/qemu/hw/ide/ |
H A D | core.c | 640 unsigned int cyl, r; in ide_set_sector() local 659 cyl = sector_num / (s->heads * s->sectors); in ide_set_sector() 661 s->hcyl = cyl >> 8; in ide_set_sector() 662 s->lcyl = cyl; in ide_set_sector()
|