• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/extras/scsi_id/

Lines Matching refs:page_83

420 			      unsigned char *page_83,
429 if ((page_83[1] & 0x30) != 0)
432 if ((page_83[1] & 0x0f) != id_search->id_type)
439 (id_search->naa_type != (page_83[4] & 0xf0) >> 4))
445 if ((page_83[0] & 0x0f) != id_search->code_set)
449 * page_83[3]: identifier length
451 len = page_83[3];
452 if ((page_83[0] & 0x0f) != SCSI_ID_ASCII)
487 if ((page_83[0] & 0x0f) == SCSI_ID_ASCII) {
491 while (i < (4 + page_83[3]))
492 serial[j++] = page_83[i++];
496 * ASCII for each byte in the page_83.
498 while (i < (4 + page_83[3])) {
499 serial[j++] = hex_str[(page_83[i] & 0xf0) >> 4];
500 serial[j++] = hex_str[page_83[i] & 0x0f];
511 unsigned char *page_83,
522 for (i = 0; i < page_83[3]; ++i) {
523 serial[j++] = hex_str[(page_83[4+i] & 0xf0) >> 4];
524 serial[j++] = hex_str[ page_83[4+i] & 0x0f];
537 unsigned char page_83[SCSI_INQ_BUFF_LEN];
539 memset(page_83, 0, SCSI_INQ_BUFF_LEN);
540 retval = scsi_inquiry(dev_scsi, fd, 1, PAGE_83, page_83,
545 if (page_83[1] != PAGE_83) {
574 if (page_83[6] != 0)
575 return check_fill_0x83_prespc3(dev_scsi, page_83, id_search_list,
588 for (j = 4; j <= (unsigned int)page_83[3] + 3; j += page_83[j + 3] + 4) {
589 retval = check_fill_0x83_id(dev_scsi, &page_83[j],
622 unsigned char page_83[SCSI_INQ_BUFF_LEN];
624 memset(page_83, 0, SCSI_INQ_BUFF_LEN);
625 retval = scsi_inquiry(dev_scsi, fd, 1, PAGE_83, page_83, SCSI_INQ_BUFF_LEN);
629 if (page_83[1] != PAGE_83) {
655 if (page_83[6] == 0)
667 * in the page_83.
669 while (i < (page_83[3]+4)) {
670 serial[j++] = hex_str[(page_83[i] & 0xf0) >> 4];
671 serial[j++] = hex_str[page_83[i] & 0x0f];