Lines Matching refs:cylinder
2853 Bit16u ata_cmd_data_in(device, command, count, cylinder, head, sector, lba_low, lba_high, segment, …
2854 Bit16u device, command, count, cylinder, head, sector, segment, offset;
2895 cylinder = (Bit16u) ((lba_low>>8) & 0x0000ffffL);
2902 outb(iobase1 + ATA_CB_CL, cylinder & 0x00ff);
2903 outb(iobase1 + ATA_CB_CH, cylinder >> 8);
3004 Bit16u ata_cmd_data_out(device, command, count, cylinder, head, sector, lba_low, lba_high, segment,…
3005 Bit16u device, command, count, cylinder, head, sector, segment, offset;
3046 cylinder = (Bit16u) ((lba_low>>8) & 0x0000ffffL);
3053 outb(iobase1 + ATA_CB_CL, cylinder & 0x00ff);
3054 outb(iobase1 + ATA_CB_CH, cylinder >> 8);
5217 Bit16u cylinder, head, sector;
5263 cylinder = GET_CH();
5264 cylinder |= ( ((Bit16u) GET_CL()) << 2) & 0x300;
5281 if( (cylinder >= nlc) || (head >= nlh) || (sector > nlspt )) {
5282 …disk: function %02x, parameters out of range %04x/%04x/%04x!\n", GET_AH(), cylinder, head, sector);
5294 …lba_low = ((((Bit32u)cylinder * (Bit32u)nlh) + (Bit32u)head) * (Bit32u)nlspt) + (Bit32u)sector - 1;
5300 …status=ata_cmd_data_in(device, ATA_CMD_READ_SECTORS, count, cylinder, head, sector, lba_low, lba_h…
5302 …status=ata_cmd_data_out(device, ATA_CMD_WRITE_SECTORS, count, cylinder, head, sector, lba_low, lba…
6051 Bit16u head, sector, cylinder, nbsectors;
6113 cylinder = (GET_CL() & 0x00c0) << 2 | GET_CH();
6124 || (cylinder >= vcylinders)
6136 vlba=((((Bit32u)cylinder*(Bit32u)vheads)+(Bit32u)head)*(Bit32u)vspt)+((Bit32u)(sector-1));
6249 outLBA(cylinder,hd_heads,head,hd_sectors,sector,dl)
6250 Bit16u cylinder;
6309 Bit16u max_cylinder, cylinder, total_sectors;
6374 cylinder = (GET_CL() & 0x00c0) << 2 | GET_CH();
6381 cylinder <<= 1;
6384 cylinder <<= 2;
6387 cylinder <<= 3;
6390 cylinder <<= 4;
6396 cylinder |= cyl_mod;
6399 if ( (cylinder >= hd_cylinders) ||
6428 BX_DEBUG_INT13_HD("CHS: %x %x %x\n", cylinder, head, sector);
6429 outLBA(cylinder,hd_heads,head,hd_sectors,sector,drive);
6433 outb(0x01f4, cylinder & 0x00ff);
6434 outb(0x01f5, cylinder >> 8);
6520 cylinder = GET_CH();
6521 cylinder |= ( ((Bit16u) GET_CL()) << 2) & 0x300;
6527 cylinder <<= 1;
6530 cylinder <<= 2;
6533 cylinder <<= 3;
6536 cylinder <<= 4;
6542 cylinder |= cyl_mod;
6545 if ( (cylinder >= hd_cylinders) ||
6569 BX_DEBUG_INT13_HD("CHS (write): %x %x %x\n", cylinder, head, sector);
6570 outLBA(cylinder,hd_heads,head,hd_sectors,sector,GET_ELDL());
6574 outb(0x01f4, cylinder & 0x00ff);
6575 outb(0x01f5, cylinder >> 8);
8701 mov 0x0445, al ;; diskette controller cylinder number
8744 mov 0x0494, al ;; diskette 0 current cylinder
8745 mov 0x0495, al ;; diskette 1 current cylinder