Lines Matching refs:vpdpage83data
972 static void build_vpd83_type3(struct tvpd_page83 *vpdpage83data, in build_vpd83_type3() argument
977 vpdpage83data->type3.codeset = 1; in build_vpd83_type3()
978 vpdpage83data->type3.identifiertype = 3; in build_vpd83_type3()
979 vpdpage83data->type3.identifierlength = sizeof(vpdpage83data->type3) in build_vpd83_type3()
986 memcpy(vpdpage83data->type3.Identifier, in build_vpd83_type3()
1013 struct tvpd_page83 vpdpage83data; in get_container_serial_callback() local
1017 memset(((u8 *)&vpdpage83data), 0, in get_container_serial_callback()
1018 sizeof(vpdpage83data)); in get_container_serial_callback()
1021 vpdpage83data.DeviceType = 0; in get_container_serial_callback()
1023 vpdpage83data.DeviceTypeQualifier = 0; in get_container_serial_callback()
1025 vpdpage83data.PageCode = 0x83; in get_container_serial_callback()
1026 vpdpage83data.reserved = 0; in get_container_serial_callback()
1027 vpdpage83data.PageLength = in get_container_serial_callback()
1028 sizeof(vpdpage83data.type1) + in get_container_serial_callback()
1029 sizeof(vpdpage83data.type2); in get_container_serial_callback()
1033 vpdpage83data.PageLength += in get_container_serial_callback()
1034 sizeof(vpdpage83data.type3); in get_container_serial_callback()
1038 vpdpage83data.type1.codeset = 2; in get_container_serial_callback()
1040 vpdpage83data.type1.identifiertype = 1; in get_container_serial_callback()
1041 vpdpage83data.type1.identifierlength = in get_container_serial_callback()
1042 sizeof(vpdpage83data.type1) - 4; in get_container_serial_callback()
1045 memcpy(vpdpage83data.type1.venid, in get_container_serial_callback()
1047 sizeof(vpdpage83data.type1.venid)); in get_container_serial_callback()
1048 memcpy(vpdpage83data.type1.productid, in get_container_serial_callback()
1051 vpdpage83data.type1.productid)); in get_container_serial_callback()
1060 vpdpage83data.type1.serialnumber[i] = in get_container_serial_callback()
1063 vpdpage83data.type1.serialnumber[i] = in get_container_serial_callback()
1069 vpdpage83data.type2.codeset = 1; in get_container_serial_callback()
1071 vpdpage83data.type2.identifiertype = 2; in get_container_serial_callback()
1072 vpdpage83data.type2.identifierlength = in get_container_serial_callback()
1073 sizeof(vpdpage83data.type2) - 4; in get_container_serial_callback()
1075 vpdpage83data.type2.eu64id.venid[0] = 0xD0; in get_container_serial_callback()
1076 vpdpage83data.type2.eu64id.venid[1] = 0; in get_container_serial_callback()
1077 vpdpage83data.type2.eu64id.venid[2] = 0; in get_container_serial_callback()
1079 vpdpage83data.type2.eu64id.Serial = in get_container_serial_callback()
1081 vpdpage83data.type2.eu64id.reserved = 0; in get_container_serial_callback()
1088 build_vpd83_type3(&vpdpage83data, in get_container_serial_callback()
1093 scsi_sg_copy_from_buffer(scsicmd, &vpdpage83data, in get_container_serial_callback()
1094 sizeof(vpdpage83data)); in get_container_serial_callback()