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