• Home
  • Raw
  • Download

Lines Matching refs:identify

279 static void disk_identify_get_string(uint8_t identify[512],  in disk_identify_get_string()
288 c1 = identify[offset_words * 2 + 1]; in disk_identify_get_string()
289 c2 = identify[offset_words * 2]; in disk_identify_get_string()
299 static void disk_identify_fixup_string(uint8_t identify[512], in disk_identify_fixup_string()
303 disk_identify_get_string(identify, offset_words, in disk_identify_fixup_string()
304 (char *) identify + offset_words * 2, len); in disk_identify_fixup_string()
307 static void disk_identify_fixup_uint16 (uint8_t identify[512], unsigned int offset_words) in disk_identify_fixup_uint16()
311 p = (uint16_t *) identify; in disk_identify_fixup_uint16()
421 } identify; in main() local
474 if (disk_identify(udev, fd, identify.byte, &is_packet_device) == 0) { in main()
479 disk_identify_fixup_string(identify.byte, 10, 20); /* serial */ in main()
480 disk_identify_fixup_string(identify.byte, 23, 8); /* fwrev */ in main()
481 disk_identify_fixup_string(identify.byte, 27, 40); /* model */ in main()
482 disk_identify_fixup_uint16(identify.byte, 0); /* configuration */ in main()
483 disk_identify_fixup_uint16(identify.byte, 75); /* queue depth */ in main()
484 disk_identify_fixup_uint16(identify.byte, 76); /* SATA capabilities */ in main()
485 disk_identify_fixup_uint16(identify.byte, 82); /* command set supported */ in main()
486 disk_identify_fixup_uint16(identify.byte, 83); /* command set supported */ in main()
487 disk_identify_fixup_uint16(identify.byte, 84); /* command set supported */ in main()
488 disk_identify_fixup_uint16(identify.byte, 85); /* command set supported */ in main()
489 disk_identify_fixup_uint16(identify.byte, 86); /* command set supported */ in main()
490 disk_identify_fixup_uint16(identify.byte, 87); /* command set supported */ in main()
491 … disk_identify_fixup_uint16(identify.byte, 89); /* time required for SECURITY ERASE UNIT */ in main()
492 …disk_identify_fixup_uint16(identify.byte, 90); /* time required for enhanced SECURITY ERASE U… in main()
493 disk_identify_fixup_uint16(identify.byte, 91); /* current APM values */ in main()
494 disk_identify_fixup_uint16(identify.byte, 94); /* current AAM value */ in main()
495 disk_identify_fixup_uint16(identify.byte, 108); /* WWN */ in main()
496 disk_identify_fixup_uint16(identify.byte, 109); /* WWN */ in main()
497 disk_identify_fixup_uint16(identify.byte, 110); /* WWN */ in main()
498 disk_identify_fixup_uint16(identify.byte, 111); /* WWN */ in main()
499 disk_identify_fixup_uint16(identify.byte, 128); /* device lock function */ in main()
500 … disk_identify_fixup_uint16(identify.byte, 217); /* nominal media rotation rate */ in main()
501 memcpy(&id, identify.byte, sizeof id); in main()
623 word = identify.wyde[76]; in main()
640 word = identify.wyde[217]; in main()
651 word = identify.wyde[108]; in main()
655 wwwn = identify.wyde[108]; in main()
657 wwwn |= identify.wyde[109]; in main()
659 wwwn |= identify.wyde[110]; in main()
661 wwwn |= identify.wyde[111]; in main()
668 if (identify.wyde[0] == 0x848a || in main()
669 identify.wyde[0] == 0x844a || in main()
670 (identify.wyde[83] & 0xc004) == 0x4004) in main()