Lines Matching refs:madapter_info
263 memset(&hostdata->madapter_info, 0x00, in set_adapter_info()
264 sizeof(hostdata->madapter_info)); in set_adapter_info()
267 strcpy(hostdata->madapter_info.srp_version, SRP_VERSION); in set_adapter_info()
269 strncpy(hostdata->madapter_info.partition_name, partition_name, in set_adapter_info()
270 sizeof(hostdata->madapter_info.partition_name)); in set_adapter_info()
272 hostdata->madapter_info.partition_number = in set_adapter_info()
275 hostdata->madapter_info.mad_version = cpu_to_be32(SRP_MAD_VERSION_1); in set_adapter_info()
276 hostdata->madapter_info.os_type = cpu_to_be32(SRP_MAD_OS_LINUX); in set_adapter_info()
1122 &hostdata->madapter_info, in DEF_SCSI_QCMD()
1123 sizeof(hostdata->madapter_info), in DEF_SCSI_QCMD()
1147 sizeof(hostdata->madapter_info), DMA_BIDIRECTIONAL); in unmap_persist_bufs()
1397 hostdata->madapter_info.srp_version, in adapter_info_rsp()
1398 hostdata->madapter_info.partition_name, in adapter_info_rsp()
1399 be32_to_cpu(hostdata->madapter_info.partition_number), in adapter_info_rsp()
1400 be32_to_cpu(hostdata->madapter_info.os_type), in adapter_info_rsp()
1401 be32_to_cpu(hostdata->madapter_info.port_max_txu[0])); in adapter_info_rsp()
1403 if (hostdata->madapter_info.port_max_txu[0]) in adapter_info_rsp()
1405 be32_to_cpu(hostdata->madapter_info.port_max_txu[0]) >> 9; in adapter_info_rsp()
1407 if (be32_to_cpu(hostdata->madapter_info.os_type) == SRP_MAD_OS_AIX && in adapter_info_rsp()
1408 strcmp(hostdata->madapter_info.srp_version, "1.6a") <= 0) { in adapter_info_rsp()
1410 hostdata->madapter_info.srp_version); in adapter_info_rsp()
1416 if (be32_to_cpu(hostdata->madapter_info.os_type) == SRP_MAD_OS_AIX) { in adapter_info_rsp()
1452 req->common.length = cpu_to_be16(sizeof(hostdata->madapter_info)); in send_mad_adapter_info()
1950 hostdata->madapter_info.srp_version); in show_host_srp_version()
1971 hostdata->madapter_info.partition_name); in show_host_partition_name()
1992 be32_to_cpu(hostdata->madapter_info.partition_number)); in show_host_partition_number()
2012 be32_to_cpu(hostdata->madapter_info.mad_version)); in show_host_mad_version()
2032 be32_to_cpu(hostdata->madapter_info.os_type)); in show_host_os_type()
2287 memcpy(ids.port_id, hostdata->madapter_info.partition_name, in ibmvscsi_probe()