Lines Matching refs:iop
544 hd_driveid_t iop; in ide_ident() local
628 ide_input_swap_data(device, (ulong *)&iop, ATA_SECTORWORDS); in ide_ident()
630 ident_cpy((unsigned char *)dev_desc->revision, iop.fw_rev, in ide_ident()
632 ident_cpy((unsigned char *)dev_desc->vendor, iop.model, in ide_ident()
634 ident_cpy((unsigned char *)dev_desc->product, iop.serial_no, in ide_ident()
650 if ((iop.config & 0x0080) == 0x0080) in ide_ident()
664 dev_desc->lba = (iop.lba_capacity << 16) | (iop.lba_capacity >> 16); in ide_ident()
672 dev_desc->lba = iop.lba_capacity; in ide_ident()
676 if (iop.command_set_2 & 0x0400) { /* LBA 48 support */ in ide_ident()
678 dev_desc->lba = (unsigned long long) iop.lba48_capacity[0] | in ide_ident()
679 ((unsigned long long) iop.lba48_capacity[1] << 16) | in ide_ident()
680 ((unsigned long long) iop.lba48_capacity[2] << 32) | in ide_ident()
681 ((unsigned long long) iop.lba48_capacity[3] << 48); in ide_ident()