Lines Matching defs:infoblock
288 ide_device_infoblock *infoblock = &device->infoblock;
303 track_size = infoblock->current_heads * infoblock->current_sectors;
318 device->tf.chs.sector_number = (cylinder_offset % infoblock->current_sectors + 1) & 0xff;
319 device->tf.chs.head = cylinder_offset / infoblock->current_sectors;
654 if (!device->infoblock.RMSN_supported
655 || device->infoblock._127_RMSN_support != 1)
692 || !device->infoblock.DMA_QUEUED_supported)
695 if (device->infoblock.RELEASE_irq_supported
699 if (device->infoblock.SERVICE_irq_supported
709 return initialize_qreq_array(device, device->infoblock.queue_depth + 1);
716 ide_device_infoblock *infoblock = &device->infoblock;
726 if (infoblock->_0.ata.ATA != 0) {
729 if (*(uint16 *)infoblock == 0x848a)
730 infoblock->CFA_supported = true;
737 if (!infoblock->_54_58_valid) {
741 infoblock->current_sectors = infoblock->sectors;
742 infoblock->current_cylinders = infoblock->cylinders;
743 infoblock->current_heads = infoblock->heads;
748 chs_capacity = infoblock->current_sectors * infoblock->current_cylinders *
749 infoblock->current_heads;
751 infoblock->capacity_low = chs_capacity & 0xff;
752 infoblock->capacity_high = chs_capacity >> 8;
756 device->use_LBA = infoblock->LBA_supported && infoblock->LBA_total_sectors != 0;
759 device->total_sectors = infoblock->LBA_total_sectors;
766 device->use_48bits = infoblock->_48_bit_addresses_supported;
769 device->total_sectors = infoblock->LBA48_total_sectors;