Lines Matching refs:pagestart
210 pagestart = buffer + 12 + bdlen;
5232 unsigned char *pagestart; in read_geometry() local
5238 intfield(pagestart + 2, 3, "Number of cylinders"); in read_geometry()
5239 intfield(pagestart + 5, 1, "Number of heads"); in read_geometry()
5240 intfield(pagestart + 6, 3, "Starting write precomp"); in read_geometry()
5241 intfield(pagestart + 9, 3, "Starting reduced current"); in read_geometry()
5242 intfield(pagestart + 12, 2, "Drive step rate"); in read_geometry()
5243 intfield(pagestart + 14, 3, "Landing Zone Cylinder"); in read_geometry()
5244 bitfield(pagestart + 17, "RPL", 3, 0); in read_geometry()
5245 intfield(pagestart + 18, 1, "Rotational Offset"); in read_geometry()
5246 intfield(pagestart + 20, 2, "Rotational Rate"); in read_geometry()
5256 unsigned char *pagestart; in read_disconnect_reconnect_data() local
5262 intfield(pagestart + 2, 1, "Buffer full ratio"); in read_disconnect_reconnect_data()
5263 intfield(pagestart + 3, 1, "Buffer empty ratio"); in read_disconnect_reconnect_data()
5264 intfield(pagestart + 4, 2, "Bus Inactivity Limit"); in read_disconnect_reconnect_data()
5265 intfield(pagestart + 6, 2, "Disconnect Time Limit"); in read_disconnect_reconnect_data()
5266 intfield(pagestart + 8, 2, "Connect Time Limit"); in read_disconnect_reconnect_data()
5267 intfield(pagestart + 10, 2, "Maximum Burst Size"); in read_disconnect_reconnect_data()
5268 hexfield(pagestart + 12, 1, "DTDC"); in read_disconnect_reconnect_data()
5278 unsigned char *pagestart; in read_control_page() local
5284 bitfield(pagestart + 2, "RLEC", 1, 0); in read_control_page()
5285 bitfield(pagestart + 3, "QErr", 1, 1); in read_control_page()
5286 bitfield(pagestart + 3, "DQue", 1, 0); in read_control_page()
5287 bitfield(pagestart + 4, "EECA", 1, 7); in read_control_page()
5288 bitfield(pagestart + 4, "RAENP", 1, 2); in read_control_page()
5289 bitfield(pagestart + 4, "UUAENP", 1, 1); in read_control_page()
5290 bitfield(pagestart + 4, "EAENP", 1, 0); in read_control_page()
5291 bitfield(pagestart + 3, "Queue Algorithm Modifier", 0xf, 4); in read_control_page()
5292 intfield(pagestart + 6, 2, "Ready AEN Holdoff Period"); in read_control_page()
5302 unsigned char *pagestart; in error_recovery_page() local
5307 bitfield(pagestart + 2, "AWRE", 1, 7); in error_recovery_page()
5308 bitfield(pagestart + 2, "ARRE", 1, 6); in error_recovery_page()
5309 bitfield(pagestart + 2, "TB", 1, 5); in error_recovery_page()
5310 bitfield(pagestart + 2, "RC", 1, 4); in error_recovery_page()
5311 bitfield(pagestart + 2, "EER", 1, 3); in error_recovery_page()
5312 bitfield(pagestart + 2, "PER", 1, 2); in error_recovery_page()
5313 bitfield(pagestart + 2, "DTE", 1, 1); in error_recovery_page()
5314 bitfield(pagestart + 2, "DCR", 1, 0); in error_recovery_page()
5315 intfield(pagestart + 3, 1, "Read Retry Count"); in error_recovery_page()
5316 intfield(pagestart + 4, 1, "Correction Span"); in error_recovery_page()
5317 intfield(pagestart + 5, 1, "Head Offset Count"); in error_recovery_page()
5318 intfield(pagestart + 6, 1, "Data Strobe Offset Count"); in error_recovery_page()
5319 intfield(pagestart + 8, 1, "Write Retry Count"); in error_recovery_page()
5320 intfield(pagestart + 10, 2, "Recovery Time Limit"); in error_recovery_page()
5329 unsigned char *pagestart; in notch_parameters_page() local
5335 bitfield(pagestart + 2, "Notched Drive", 1, 7); in notch_parameters_page()
5336 bitfield(pagestart + 2, "Logical or Physical Notch", 1, 6); in notch_parameters_page()
5337 intfield(pagestart + 4, 2, "Max # of notches"); in notch_parameters_page()
5338 intfield(pagestart + 6, 2, "Active Notch"); in notch_parameters_page()
5339 if (pagestart[2] & 0x40) { in notch_parameters_page()
5340 intfield(pagestart + 8, 4, "Starting Boundary"); in notch_parameters_page()
5341 intfield(pagestart + 12, 4, "Ending Boundary"); in notch_parameters_page()
5343 hexfield(pagestart + 8, 4, "Starting Boundary"); in notch_parameters_page()
5344 hexfield(pagestart + 12, 4, "Ending Boundary"); in notch_parameters_page()
5347 printf("0x%8.8x%8.8x", getnbyte(pagestart + 16, 4), in notch_parameters_page()
5348 getnbyte(pagestart + 20, 4)); in notch_parameters_page()
5538 unsigned char *pagestart; in read_cache() local
5544 bitfield(pagestart + 2, "Write Cache", 1, 2); in read_cache()
5545 notbitfield(pagestart + 2, "Read Cache", 1, 0); in read_cache()
5546 bitfield(pagestart + 2, "Prefetch units", 1, 1); in read_cache()
5547 bitfield(pagestart + 3, "Demand Read Retention Priority", 0xf, 4); in read_cache()
5548 bitfield(pagestart + 3, "Demand Write Retention Priority", 0xf, 0); in read_cache()
5549 intfield(pagestart + 4, 2, "Disable Pre-fetch Transfer Length"); in read_cache()
5550 intfield(pagestart + 6, 2, "Minimum Pre-fetch"); in read_cache()
5551 intfield(pagestart + 8, 2, "Maximum Pre-fetch"); in read_cache()
5552 intfield(pagestart + 10, 2, "Maximum Pre-fetch Ceiling"); in read_cache()
5561 unsigned char *pagestart; in read_format_info() local
5567 bitfield(pagestart + 20, "Removable Medium", 1, 5); in read_format_info()
5568 bitfield(pagestart + 20, "Supports Hard Sectoring", 1, 6); in read_format_info()
5569 bitfield(pagestart + 20, "Supports Soft Sectoring", 1, 7); in read_format_info()
5570 bitfield(pagestart + 20, "Addresses assigned by surface", 1, 4); in read_format_info()
5571 intfield(pagestart + 2, 2, "Tracks per Zone"); in read_format_info()
5572 intfield(pagestart + 4, 2, "Alternate sectors per zone"); in read_format_info()
5573 intfield(pagestart + 6, 2, "Alternate tracks per zone"); in read_format_info()
5574 intfield(pagestart + 8, 2, "Alternate tracks per lun"); in read_format_info()
5575 intfield(pagestart + 10, 2, "Sectors per track"); in read_format_info()
5576 intfield(pagestart + 12, 2, "Bytes per sector"); in read_format_info()
5577 intfield(pagestart + 14, 2, "Interleave"); in read_format_info()
5578 intfield(pagestart + 16, 2, "Track skew factor"); in read_format_info()
5579 intfield(pagestart + 18, 2, "Cylinder skew factor"); in read_format_info()
5589 unsigned char *pagestart; in verify_error_recovery() local
5595 bitfield(pagestart + 2, "EER", 1, 3); in verify_error_recovery()
5596 bitfield(pagestart + 2, "PER", 1, 2); in verify_error_recovery()
5597 bitfield(pagestart + 2, "DTE", 1, 1); in verify_error_recovery()
5598 bitfield(pagestart + 2, "DCR", 1, 0); in verify_error_recovery()
5599 intfield(pagestart + 3, 1, "Verify Retry Count"); in verify_error_recovery()
5600 intfield(pagestart + 4, 1, "Verify Correction Span (bits)"); in verify_error_recovery()
5601 intfield(pagestart + 10, 2, "Verify Recovery Time Limit (ms)"); in verify_error_recovery()
5619 unsigned char *pagestart; in peripheral_device_page() local
5627 ident = getnbyte(pagestart + 2, 2); in peripheral_device_page()
5635 bdlen = pagestart[1] - 6; in peripheral_device_page()
5641 hexfield(pagestart + 2, 2, "Interface Identifier"); in peripheral_device_page()
5646 hexdatafield(pagestart + 8, bdlen, "Vendor Specific Data"); in peripheral_device_page()
5660 unsigned char *pagestart; in do_user_page() local
5667 for (i = 2; i < pagestart[1] + 2; i++) { in do_user_page()
5670 hexdatafield(pagestart + i, 1, nm); in do_user_page()
5684 unsigned char *pagestart; in do_scsi_info_inquiry() local
5709 pagestart = buffer + 8; in do_scsi_info_inquiry()
5713 bitfield(pagestart + 7, "Relative Address", 1, 7); in do_scsi_info_inquiry()
5714 bitfield(pagestart + 7, "Wide bus 32", 1, 6); in do_scsi_info_inquiry()
5715 bitfield(pagestart + 7, "Wide bus 16", 1, 5); in do_scsi_info_inquiry()
5716 bitfield(pagestart + 7, "Synchronous neg.", 1, 4); in do_scsi_info_inquiry()
5717 bitfield(pagestart + 7, "Linked Commands", 1, 3); in do_scsi_info_inquiry()
5718 bitfield(pagestart + 7, "Command Queueing", 1, 1); in do_scsi_info_inquiry()
5719 bitfield(pagestart + 7, "SftRe", 1, 0); in do_scsi_info_inquiry()
5720 bitfield(pagestart + 0, "Device Type", 0x1f, 0); in do_scsi_info_inquiry()
5721 bitfield(pagestart + 0, "Peripheral Qualifier", 0x7, 5); in do_scsi_info_inquiry()
5722 bitfield(pagestart + 1, "Removable?", 1, 7); in do_scsi_info_inquiry()
5723 bitfield(pagestart + 1, "Device Type Modifier", 0x7f, 0); in do_scsi_info_inquiry()
5724 bitfield(pagestart + 2, "ISO Version", 3, 6); in do_scsi_info_inquiry()
5725 bitfield(pagestart + 2, "ECMA Version", 7, 3); in do_scsi_info_inquiry()
5726 bitfield(pagestart + 2, "ANSI Version", 7, 0); in do_scsi_info_inquiry()
5727 bitfield(pagestart + 3, "AENC", 1, 7); in do_scsi_info_inquiry()
5728 bitfield(pagestart + 3, "TrmIOP", 1, 6); in do_scsi_info_inquiry()
5729 bitfield(pagestart + 3, "Response Data Format", 0xf, 0); in do_scsi_info_inquiry()
5730 tmp = pagestart[16]; in do_scsi_info_inquiry()
5731 pagestart[16] = 0; in do_scsi_info_inquiry()
5733 pagestart + 8); in do_scsi_info_inquiry()
5734 pagestart[16] = tmp; in do_scsi_info_inquiry()
5736 tmp = pagestart[32]; in do_scsi_info_inquiry()
5737 pagestart[32] = 0; in do_scsi_info_inquiry()
5739 pagestart + 16); in do_scsi_info_inquiry()
5740 pagestart[32] = tmp; in do_scsi_info_inquiry()
5743 pagestart + 32); in do_scsi_info_inquiry()
5754 unsigned char *pagestart; in do_serial_number() local
5778 pagestart = buffer + 8; in do_serial_number()
5780 pagelen = 4 + pagestart[3]; in do_serial_number()
5798 for (i = 0; i < pagestart[3]; i++) in do_serial_number()
5799 printf("%c", pagestart[4 + i]); in do_serial_number()