• Home
  • Raw
  • Download

Lines Matching refs:vpd

858 	struct t10_vpd *vpd,  in transport_dump_vpd_proto_id()  argument
868 switch (vpd->protocol_identifier) { in transport_dump_vpd_proto_id()
900 vpd->protocol_identifier); in transport_dump_vpd_proto_id()
911 transport_set_vpd_proto_id(struct t10_vpd *vpd, unsigned char *page_83) in transport_set_vpd_proto_id() argument
919 vpd->protocol_identifier = (page_83[0] & 0xf0); in transport_set_vpd_proto_id()
920 vpd->protocol_identifier_set = 1; in transport_set_vpd_proto_id()
921 transport_dump_vpd_proto_id(vpd, NULL, 0); in transport_set_vpd_proto_id()
927 struct t10_vpd *vpd, in transport_dump_vpd_assoc() argument
938 switch (vpd->association) { in transport_dump_vpd_assoc()
949 sprintf(buf+len, "Unknown 0x%02x\n", vpd->association); in transport_dump_vpd_assoc()
962 int transport_set_vpd_assoc(struct t10_vpd *vpd, unsigned char *page_83) in transport_set_vpd_assoc() argument
969 vpd->association = (page_83[1] & 0x30); in transport_set_vpd_assoc()
970 return transport_dump_vpd_assoc(vpd, NULL, 0); in transport_set_vpd_assoc()
975 struct t10_vpd *vpd, in transport_dump_vpd_ident_type() argument
986 switch (vpd->device_identifier_type) { in transport_dump_vpd_ident_type()
1007 vpd->device_identifier_type); in transport_dump_vpd_ident_type()
1023 int transport_set_vpd_ident_type(struct t10_vpd *vpd, unsigned char *page_83) in transport_set_vpd_ident_type() argument
1030 vpd->device_identifier_type = (page_83[1] & 0x0f); in transport_set_vpd_ident_type()
1031 return transport_dump_vpd_ident_type(vpd, NULL, 0); in transport_set_vpd_ident_type()
1036 struct t10_vpd *vpd, in transport_dump_vpd_ident() argument
1045 switch (vpd->device_identifier_code_set) { in transport_dump_vpd_ident()
1049 &vpd->device_identifier[0]); in transport_dump_vpd_ident()
1054 &vpd->device_identifier[0]); in transport_dump_vpd_ident()
1059 &vpd->device_identifier[0]); in transport_dump_vpd_ident()
1063 " 0x%02x", vpd->device_identifier_code_set); in transport_dump_vpd_ident()
1077 transport_set_vpd_ident(struct t10_vpd *vpd, unsigned char *page_83) in transport_set_vpd_ident() argument
1087 vpd->device_identifier_code_set = (page_83[0] & 0x0f); in transport_set_vpd_ident()
1088 switch (vpd->device_identifier_code_set) { in transport_set_vpd_ident()
1090 vpd->device_identifier[j++] = in transport_set_vpd_ident()
1091 hex_str[vpd->device_identifier_type]; in transport_set_vpd_ident()
1093 vpd->device_identifier[j++] = in transport_set_vpd_ident()
1095 vpd->device_identifier[j++] = in transport_set_vpd_ident()
1103 vpd->device_identifier[j++] = page_83[i++]; in transport_set_vpd_ident()
1109 return transport_dump_vpd_ident(vpd, NULL, 0); in transport_set_vpd_ident()