Lines Matching defs:info
154 struct jumpshot_info *info,
174 totallen = sectors * info->ssize;
187 // (min(128k, 255*info->ssize) is the real limit)
189 thistime = (len / info->ssize) & 0xff;
231 struct jumpshot_info *info,
251 totallen = sectors * info->ssize;
264 // (min(128k, 255*info->ssize) is the real limit)
267 thistime = (len / info->ssize) & 0xff;
322 struct jumpshot_info *info)
328 if (!info)
354 info->sectors = ((u32)(reply[117]) << 24) |
384 struct jumpshot_info *info = (struct jumpshot_info *) (us->extra);
417 info->sense_key = 0x05;
418 info->sense_asc = 0x24;
419 info->sense_ascq = 0x00;
476 struct jumpshot_info *info;
492 info = (struct jumpshot_info *) (us->extra);
502 info->ssize = 0x200; // hard coded 512 byte sectors as per ATA spec
508 rc = jumpshot_id_device(us, info);
513 info->sectors, info->ssize);
517 ((__be32 *) ptr)[0] = cpu_to_be32(info->sectors - 1);
518 ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize);
537 return jumpshot_read_data(us, info, block, blocks);
551 return jumpshot_read_data(us, info, block, blocks);
562 return jumpshot_write_data(us, info, block, blocks);
576 return jumpshot_write_data(us, info, block, blocks);
590 ptr[2] = info->sense_key;
592 ptr[12] = info->sense_asc;
593 ptr[13] = info->sense_ascq;
627 rc = jumpshot_id_device(us, info);
629 info->sense_key = NO_SENSE;
632 info->sense_key = UNIT_ATTENTION;
640 info->sense_key = 0x05;
641 info->sense_asc = 0x20;
642 info->sense_ascq = 0x00;