Lines Matching refs:page_83

423                               unsigned char *page_83,  in check_fill_0x83_id()  argument
434 if ((page_83[1] & 0x30) == 0x10) { in check_fill_0x83_id()
437 } else if ((page_83[1] & 0x30) != 0) in check_fill_0x83_id()
440 if ((page_83[1] & 0x0f) != id_search->id_type) in check_fill_0x83_id()
447 (id_search->naa_type != (page_83[4] & 0xf0) >> 4)) in check_fill_0x83_id()
453 if ((page_83[0] & 0x0f) != id_search->code_set) in check_fill_0x83_id()
459 len = page_83[3]; in check_fill_0x83_id()
460 if ((page_83[0] & 0x0f) != SCSI_ID_ASCII) in check_fill_0x83_id()
482 group = ((unsigned)page_83[6] << 8) | page_83[7]; in check_fill_0x83_id()
501 if ((page_83[0] & 0x0f) == SCSI_ID_ASCII) { in check_fill_0x83_id()
505 while (i < (4 + page_83[3])) in check_fill_0x83_id()
506 serial[j++] = page_83[i++]; in check_fill_0x83_id()
512 while (i < (4 + page_83[3])) { in check_fill_0x83_id()
513 serial[j++] = hex_str[(page_83[i] & 0xf0) >> 4]; in check_fill_0x83_id()
514 serial[j++] = hex_str[page_83[i] & 0x0f]; in check_fill_0x83_id()
532 unsigned char *page_83, in check_fill_0x83_prespc3() argument
541 for (i = 0; (i < page_83[3]) && (j < max_len-3); ++i) { in check_fill_0x83_prespc3()
542 serial[j++] = hex_str[(page_83[4+i] & 0xf0) >> 4]; in check_fill_0x83_prespc3()
543 serial[j++] = hex_str[ page_83[4+i] & 0x0f]; in check_fill_0x83_prespc3()
557 unsigned char page_83[SCSI_INQ_BUFF_LEN]; in do_scsi_page83_inquiry() local
562 memzero(page_83, SCSI_INQ_BUFF_LEN); in do_scsi_page83_inquiry()
563 retval = scsi_inquiry(dev_scsi, fd, 1, PAGE_83, page_83, in do_scsi_page83_inquiry()
568 if (page_83[1] != PAGE_83) { in do_scsi_page83_inquiry()
602 if (page_83[6] != 0) in do_scsi_page83_inquiry()
603 return check_fill_0x83_prespc3(dev_scsi, page_83, id_search_list, in do_scsi_page83_inquiry()
617 …for (j = 4; j <= ((unsigned)page_83[2] << 8) + (unsigned)page_83[3] + 3; j += page_83[j + 3] + 4) { in do_scsi_page83_inquiry()
618 retval = check_fill_0x83_id(dev_scsi, page_83 + j, in do_scsi_page83_inquiry()
643 unsigned char page_83[SCSI_INQ_BUFF_LEN]; in do_scsi_page83_prespc3_inquiry() local
645 memzero(page_83, SCSI_INQ_BUFF_LEN); in do_scsi_page83_prespc3_inquiry()
646 retval = scsi_inquiry(dev_scsi, fd, 1, PAGE_83, page_83, SCSI_INQ_BUFF_LEN); in do_scsi_page83_prespc3_inquiry()
650 if (page_83[1] != PAGE_83) { in do_scsi_page83_prespc3_inquiry()
676 if (page_83[6] == 0) in do_scsi_page83_prespc3_inquiry()
690 while (i < (page_83[3]+4)) { in do_scsi_page83_prespc3_inquiry()
691 serial[j++] = hex_str[(page_83[i] & 0xf0) >> 4]; in do_scsi_page83_prespc3_inquiry()
692 serial[j++] = hex_str[page_83[i] & 0x0f]; in do_scsi_page83_prespc3_inquiry()