Lines Matching refs:atapicmd
274 cdb_atapi atapicmd;
296 _fmemset(&atapicmd, 0, sizeof(atapicmd));
297 atapicmd.command = 0x28; // READ 10 command
298 atapicmd.lba = swap_32(0x11);
299 atapicmd.nsect = swap_16(1);
306 error = pktacc[bios_dsk->devices[device].type](device, 12, (char __far *)&atapicmd, 0, 2048L, ATA_DATA_IN, &buffer);
330 atapicmd.command = 0x28; // READ 10 command
331 atapicmd.lba = swap_32(lba);
332 atapicmd.nsect = swap_16(1);
339 error = pktacc[bios_dsk->devices[device].type](device, 12, (char __far *)&atapicmd, 0, 2048L, ATA_DATA_IN, &buffer);
396 atapicmd.command = 0x28; // READ 10 command
397 atapicmd.lba = swap_32(lba);
398 atapicmd.nsect = swap_16(1 + (nbsectors - 1) / 4);
405 error = pktacc[bios_dsk->devices[device].type](device, 12, (char __far *)&atapicmd, 0, nbsectors*512L, ATA_DATA_IN, MK_FP(boot_segment,0));
473 cdb_atapi atapicmd;
583 _fmemset(&atapicmd, 0, sizeof(atapicmd));
584 atapicmd.command = 0x28; // READ 10 command
585 atapicmd.lba = swap_32(ilba + slba);
586 atapicmd.nsect = swap_16(elba - slba + 1);
594 status = pktacc[bios_dsk->devices[device].type](device, 12, (char __far *)&atapicmd, before*512, nbsectors*512L, ATA_DATA_IN, MK_FP(segment,offset));
688 cdb_atapi atapicmd;
790 _fmemset(&atapicmd, 0, sizeof(atapicmd));
791 atapicmd.command = 0x28; // READ 10 command
792 atapicmd.lba = swap_32(lba);
793 atapicmd.nsect = swap_16(count);
798 status = pktacc[bios_dsk->devices[device].type](device, 12, (char __far *)&atapicmd, 0, count*2048L, ATA_DATA_IN, MK_FP(segment,offset));