Lines Matching refs:ide_dev_desc
34 struct blk_desc ide_dev_desc[CONFIG_SYS_IDE_MAXDEVICE]; variable
56 ide_dev_desc[i].type = DEV_TYPE_UNKNOWN; in ide_reset()
812 ide_dev_desc[i].type = DEV_TYPE_UNKNOWN; in ide_init()
813 ide_dev_desc[i].if_type = IF_TYPE_IDE; in ide_init()
814 ide_dev_desc[i].devnum = i; in ide_init()
815 ide_dev_desc[i].part_type = PART_TYPE_UNKNOWN; in ide_init()
816 ide_dev_desc[i].blksz = 0; in ide_init()
817 ide_dev_desc[i].log2blksz = in ide_init()
818 LOG2_INVALID(typeof(ide_dev_desc[i].log2blksz)); in ide_init()
819 ide_dev_desc[i].lba = 0; in ide_init()
821 ide_dev_desc[i].block_read = ide_read; in ide_init()
822 ide_dev_desc[i].block_write = ide_write; in ide_init()
826 ide_ident(&ide_dev_desc[i]); in ide_init()
827 dev_print(&ide_dev_desc[i]); in ide_init()
830 if ((ide_dev_desc[i].lba > 0) && (ide_dev_desc[i].blksz > 0)) { in ide_init()
832 part_init(&ide_dev_desc[i]); in ide_init()
1152 return ide_dev_desc[dev].type == DEV_TYPE_UNKNOWN ? 0 : 1; in ide_device_present()
1162 strncpy(desc->vendor, ide_dev_desc[desc->devnum].vendor, in ide_blk_probe()
1165 strncpy(desc->product, ide_dev_desc[desc->devnum].product, in ide_blk_probe()
1168 strncpy(desc->revision, ide_dev_desc[desc->devnum].revision, in ide_blk_probe()
1199 if (ide_dev_desc[i].type != DEV_TYPE_UNKNOWN) { in ide_probe()
1202 blksz = ide_dev_desc[i].blksz; in ide_probe()
1203 size = blksz * ide_dev_desc[i].lba; in ide_probe()
1244 .desc = ide_dev_desc,