Lines Matching refs:cylinder
125 uint16_t cylinder, head, sector;
176 cylinder = GET_CH();
177 cylinder |= ( ((uint16_t) GET_CL()) << 2) & 0x300;
193 if( (cylinder >= nlc) || (head >= nlh) || (sector > nlspt )) {
194 BX_INFO("%s: function %02x, disk %02x, parameters out of range %04x/%04x/%04x!\n", __func__, GET_AH(), GET_DL(), cylinder, head, sector);
205 lba = ((((uint32_t)cylinder * (uint32_t)nlh) + (uint32_t)head) * (uint32_t)nlspt) + (uint32_t)sector - 1;
221 bios_dsk->drqp.cylinder = cylinder;
254 /* Maximum cylinder number is just one less than the number of cylinders. */
284 cylinder = bios_dsk->devices[device].pchs.cylinders;
289 lba = (uint32_t)cylinder * head * sector;
298 case 0x0c: /* seek to specified cylinder */