Lines Matching refs:packet
185 specification_packet *packet = (specification_packet *)kDataSegmentScratch;
186 if (packet->media_type != 0)
191 dprintf(" size: %#x\n", packet->size);
192 dprintf(" media type: %u\n", packet->media_type);
193 dprintf(" drive_number: %u\n", packet->drive_number);
194 dprintf(" controller index: %u\n", packet->controller_index);
195 dprintf(" start emulation: %lu\n", packet->start_emulation);
196 dprintf(" device_specification: %u\n", packet->device_specification);
213 && (regs.ecx & 0x01 /* supports device access using packet */) != 0;
647 struct disk_address_packet *packet = (disk_address_packet *)kDataSegmentScratch;
648 memset(packet, 0, sizeof(disk_address_packet));
650 packet->size = sizeof(disk_address_packet);
651 packet->number_of_blocks = blocksRead;
652 packet->buffer = kExtraSegmentScratch;
653 packet->lba = pos;
658 regs.esi = (addr_t)packet - kDataSegmentBase;
774 struct disk_address_packet* packet
776 memset(packet, 0, sizeof(disk_address_packet));
778 packet->size = sizeof(disk_address_packet);
779 packet->number_of_blocks = blocksToWrite;
780 packet->buffer = kExtraSegmentScratch;
781 packet->lba = pos;
786 regs.esi = (addr_t)packet - kDataSegmentBase;