/openbmc/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() 247 static void send_seek(int cyl) in send_seek() argument 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() [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()
|
/openbmc/linux/block/partitions/ |
H A D | ibm.c | 33 sector_t cyl; in cchh2blk() local 37 cyl = ptr->hh & 0xFFF0; in cchh2blk() 38 cyl <<= 12; in cchh2blk() 39 cyl |= ptr->cc; in cchh2blk() 41 return cyl * geo->heads * geo->sectors + in cchh2blk() 51 sector_t cyl; in cchhb2blk() local 55 cyl = ptr->hh & 0xFFF0; in cchhb2blk() 56 cyl <<= 12; in cchhb2blk() 57 cyl |= ptr->cc; in cchhb2blk() 59 return cyl * geo->heads * geo->sectors + in cchhb2blk()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsicam.c | 62 int cyl, ext_cyl, end_head, end_cyl, end_sector; in scsi_partsize() local 82 cyl = p->cyl + ((p->sector & 0xc0) << 2); in scsi_partsize() 83 if (cyl > largest_cyl) { in scsi_partsize() 84 largest_cyl = cyl; in scsi_partsize()
|
/openbmc/linux/drivers/mtd/ |
H A D | ssfdc.c | 56 unsigned short cyl; member 74 static int get_chs(unsigned long size, unsigned short *cyl, unsigned char *head, in get_chs() argument 85 if (cyl) in get_chs() 86 *cyl = chs_table[k].cyl; in get_chs()
|
H A D | sm_ftl.h | 63 unsigned short cyl; member
|
H A D | sm_ftl.c | 645 ftl->cylinders = chs_table[i].cyl; in sm_get_media_info()
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | bootmap.c | 130 uint64_t cyl, head, sec; in gen_eckd_block_num() local 131 eckd_format_chs(ptr, ldipl, &cyl, &head, &sec); in gen_eckd_block_num() 132 return eckd_chs_to_block(cyl, head, sec); in gen_eckd_block_num() 135 static bool eckd_valid_chs(uint64_t cyl, uint64_t head, uint64_t sector) in eckd_valid_chs() argument 144 eckd_chs_to_block(cyl, head, sector) >= virtio_get_blocks()) { in eckd_valid_chs() 153 uint64_t cyl, head, sec; in eckd_valid_address() local 154 eckd_format_chs(ptr, ldipl, &cyl, &head, &sec); in eckd_valid_address() 155 return eckd_valid_chs(cyl, head, sec); in eckd_valid_address()
|
H A D | dasd-ipl.c | 166 seekData->cyl = 0x00; in ipl1_fixup() 173 searchData->cyl = 0; in ipl1_fixup()
|
H A D | cio.h | 353 uint16_t cyl; member 359 uint16_t cyl; member
|
/openbmc/u-boot/disk/ |
H A D | part_dos.h | 23 unsigned char cyl; /* starting cylinder */ member
|
/openbmc/linux/include/linux/ |
H A D | msdos_partition.h | 11 u8 cyl; /* starting cylinder */ member
|
/openbmc/linux/include/linux/mtd/ |
H A D | nftl.h | 33 int head,sect,cyl; member
|
H A D | inftl.h | 42 int head,sect,cyl; member
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_eckd.c | 205 static void set_ch_t(struct ch_t *geo, __u32 cyl, __u8 head) in set_ch_t() argument 207 geo->cyl = (__u16) cyl; in set_ch_t() 208 geo->head = cyl >> 16; in set_ch_t() 222 u32 cyl; in dasd_eckd_track_from_irb() local 239 cyl = sense[30] << 20; in dasd_eckd_track_from_irb() 240 cyl |= (sense[31] & 0xF0) << 12; in dasd_eckd_track_from_irb() 241 cyl |= sense[28] << 8; in dasd_eckd_track_from_irb() 242 cyl |= sense[29]; in dasd_eckd_track_from_irb() 244 cyl = sense[29] << 8; in dasd_eckd_track_from_irb() 245 cyl |= sense[30]; in dasd_eckd_track_from_irb() [all …]
|
H A D | dasd_eckd.h | 142 __u16 cyl; member 150 __u16 cyl; member 155 __u16 cyl; member
|
/openbmc/u-boot/include/ |
H A D | part_efi.h | 66 u8 cyl; /* starting cylinder */ member
|
/openbmc/qemu/hw/block/ |
H A D | hd-geometry.c | 44 uint8_t cyl; /* starting cylinder */ member
|
/openbmc/linux/drivers/memstick/core/ |
H A D | ms_block.h | 267 unsigned short cyl; member
|
H A D | ms_block.c | 1756 msb->geometry.cylinders = chs_table[i].cyl; in msb_init_card()
|
/openbmc/linux/arch/s390/include/uapi/asm/ |
H A D | ipl.h | 130 __u16 cyl; member
|
/openbmc/linux/drivers/ata/ |
H A D | libata-core.c | 650 u32 cyl, head, sect; in ata_tf_read_block() local 652 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block() 662 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; in ata_tf_read_block() 793 u32 sect, head, cyl, track; in ata_build_rw_tf() local 804 cyl = track / dev->heads; in ata_build_rw_tf() 812 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_build_rw_tf() 817 tf->lbam = cyl; in ata_build_rw_tf() 818 tf->lbah = cyl >> 8; in ata_build_rw_tf()
|
H A D | libata-scsi.c | 1514 u32 sect, head, cyl, track; in ata_scsi_verify_xlat() local 1521 cyl = track / dev->heads; in ata_scsi_verify_xlat() 1529 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_scsi_verify_xlat() 1535 tf->lbam = cyl; in ata_scsi_verify_xlat() 1536 tf->lbah = cyl >> 8; in ata_scsi_verify_xlat()
|
/openbmc/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()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | ipl.c | 476 if (!ipb->br_chr.cyl && \ 482 ipb->br_chr.cyl, \ 524 ipb->br_chr.cyl = args[0]; \
|