sns_cmd 3945 drivers/scsi/qla2xxx/qla_def.h struct sns_cmd_pkt *sns_cmd; sns_cmd 975 drivers/scsi/qla2xxx/qla_gs.c struct sns_cmd_pkt *sns_cmd; sns_cmd 978 drivers/scsi/qla2xxx/qla_gs.c sns_cmd = ha->sns_cmd; sns_cmd 979 drivers/scsi/qla2xxx/qla_gs.c memset(sns_cmd, 0, sizeof(struct sns_cmd_pkt)); sns_cmd 981 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.buffer_length = cpu_to_le16(wc); sns_cmd 982 drivers/scsi/qla2xxx/qla_gs.c put_unaligned_le64(ha->sns_cmd_dma, &sns_cmd->p.cmd.buffer_address); sns_cmd 983 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.subcommand_length = cpu_to_le16(scmd_len); sns_cmd 984 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.subcommand = cpu_to_le16(cmd); sns_cmd 986 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.size = cpu_to_le16(wc); sns_cmd 990 drivers/scsi/qla2xxx/qla_gs.c return (sns_cmd); sns_cmd 1007 drivers/scsi/qla2xxx/qla_gs.c struct sns_cmd_pkt *sns_cmd; sns_cmd 1011 drivers/scsi/qla2xxx/qla_gs.c sns_cmd = qla2x00_prep_sns_cmd(vha, GA_NXT_CMD, GA_NXT_SNS_SCMD_LEN, sns_cmd 1015 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = fcport->d_id.b.al_pa; sns_cmd 1016 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = fcport->d_id.b.area; sns_cmd 1017 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = fcport->d_id.b.domain; sns_cmd 1026 drivers/scsi/qla2xxx/qla_gs.c } else if (sns_cmd->p.gan_data[8] != 0x80 || sns_cmd 1027 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.gan_data[9] != 0x02) { sns_cmd 1031 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.gan_data, 16); sns_cmd 1035 drivers/scsi/qla2xxx/qla_gs.c fcport->d_id.b.domain = sns_cmd->p.gan_data[17]; sns_cmd 1036 drivers/scsi/qla2xxx/qla_gs.c fcport->d_id.b.area = sns_cmd->p.gan_data[18]; sns_cmd 1037 drivers/scsi/qla2xxx/qla_gs.c fcport->d_id.b.al_pa = sns_cmd->p.gan_data[19]; sns_cmd 1039 drivers/scsi/qla2xxx/qla_gs.c memcpy(fcport->node_name, &sns_cmd->p.gan_data[284], WWN_SIZE); sns_cmd 1040 drivers/scsi/qla2xxx/qla_gs.c memcpy(fcport->port_name, &sns_cmd->p.gan_data[20], WWN_SIZE); sns_cmd 1042 drivers/scsi/qla2xxx/qla_gs.c if (sns_cmd->p.gan_data[16] != NS_N_PORT_TYPE && sns_cmd 1043 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.gan_data[16] != NS_NL_PORT_TYPE) sns_cmd 1075 drivers/scsi/qla2xxx/qla_gs.c struct sns_cmd_pkt *sns_cmd; sns_cmd 1082 drivers/scsi/qla2xxx/qla_gs.c sns_cmd = qla2x00_prep_sns_cmd(vha, GID_PT_CMD, GID_PT_SNS_SCMD_LEN, sns_cmd 1086 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = NS_NX_PORT_TYPE; sns_cmd 1095 drivers/scsi/qla2xxx/qla_gs.c } else if (sns_cmd->p.gid_data[8] != 0x80 || sns_cmd 1096 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.gid_data[9] != 0x02) { sns_cmd 1100 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.gid_data, 16); sns_cmd 1105 drivers/scsi/qla2xxx/qla_gs.c entry = &sns_cmd->p.gid_data[(i * 4) + 16]; sns_cmd 1145 drivers/scsi/qla2xxx/qla_gs.c struct sns_cmd_pkt *sns_cmd; sns_cmd 1150 drivers/scsi/qla2xxx/qla_gs.c sns_cmd = qla2x00_prep_sns_cmd(vha, GPN_ID_CMD, sns_cmd 1154 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = list[i].d_id.b.al_pa; sns_cmd 1155 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = list[i].d_id.b.area; sns_cmd 1156 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = list[i].d_id.b.domain; sns_cmd 1165 drivers/scsi/qla2xxx/qla_gs.c } else if (sns_cmd->p.gpn_data[8] != 0x80 || sns_cmd 1166 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.gpn_data[9] != 0x02) { sns_cmd 1170 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.gpn_data, 16); sns_cmd 1174 drivers/scsi/qla2xxx/qla_gs.c memcpy(list[i].port_name, &sns_cmd->p.gpn_data[16], sns_cmd 1201 drivers/scsi/qla2xxx/qla_gs.c struct sns_cmd_pkt *sns_cmd; sns_cmd 1206 drivers/scsi/qla2xxx/qla_gs.c sns_cmd = qla2x00_prep_sns_cmd(vha, GNN_ID_CMD, sns_cmd 1210 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = list[i].d_id.b.al_pa; sns_cmd 1211 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = list[i].d_id.b.area; sns_cmd 1212 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = list[i].d_id.b.domain; sns_cmd 1221 drivers/scsi/qla2xxx/qla_gs.c } else if (sns_cmd->p.gnn_data[8] != 0x80 || sns_cmd 1222 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.gnn_data[9] != 0x02) { sns_cmd 1226 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.gnn_data, 16); sns_cmd 1230 drivers/scsi/qla2xxx/qla_gs.c memcpy(list[i].node_name, &sns_cmd->p.gnn_data[16], sns_cmd 1262 drivers/scsi/qla2xxx/qla_gs.c struct sns_cmd_pkt *sns_cmd; sns_cmd 1266 drivers/scsi/qla2xxx/qla_gs.c sns_cmd = qla2x00_prep_sns_cmd(vha, RFT_ID_CMD, RFT_ID_SNS_SCMD_LEN, sns_cmd 1270 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = vha->d_id.b.al_pa; sns_cmd 1271 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = vha->d_id.b.area; sns_cmd 1272 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = vha->d_id.b.domain; sns_cmd 1274 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[5] = 0x01; /* FCP-3 */ sns_cmd 1283 drivers/scsi/qla2xxx/qla_gs.c } else if (sns_cmd->p.rft_data[8] != 0x80 || sns_cmd 1284 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.rft_data[9] != 0x02) { sns_cmd 1288 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.rft_data, 16); sns_cmd 1311 drivers/scsi/qla2xxx/qla_gs.c struct sns_cmd_pkt *sns_cmd; sns_cmd 1315 drivers/scsi/qla2xxx/qla_gs.c sns_cmd = qla2x00_prep_sns_cmd(vha, RNN_ID_CMD, RNN_ID_SNS_SCMD_LEN, sns_cmd 1319 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = vha->d_id.b.al_pa; sns_cmd 1320 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = vha->d_id.b.area; sns_cmd 1321 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = vha->d_id.b.domain; sns_cmd 1323 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[4] = vha->node_name[7]; sns_cmd 1324 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[5] = vha->node_name[6]; sns_cmd 1325 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[6] = vha->node_name[5]; sns_cmd 1326 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[7] = vha->node_name[4]; sns_cmd 1327 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[8] = vha->node_name[3]; sns_cmd 1328 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[9] = vha->node_name[2]; sns_cmd 1329 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[10] = vha->node_name[1]; sns_cmd 1330 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[11] = vha->node_name[0]; sns_cmd 1339 drivers/scsi/qla2xxx/qla_gs.c } else if (sns_cmd->p.rnn_data[8] != 0x80 || sns_cmd 1340 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.rnn_data[9] != 0x02) { sns_cmd 1344 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.rnn_data, 16); sns_cmd 4127 drivers/scsi/qla2xxx/qla_os.c ha->sns_cmd = dma_alloc_coherent(&ha->pdev->dev, sns_cmd 4129 drivers/scsi/qla2xxx/qla_os.c if (!ha->sns_cmd) sns_cmd 4132 drivers/scsi/qla2xxx/qla_os.c "sns_cmd: %p.\n", ha->sns_cmd); sns_cmd 4295 drivers/scsi/qla2xxx/qla_os.c if (ha->sns_cmd) sns_cmd 4297 drivers/scsi/qla2xxx/qla_os.c ha->sns_cmd, ha->sns_cmd_dma); sns_cmd 4659 drivers/scsi/qla2xxx/qla_os.c if (ha->sns_cmd) sns_cmd 4661 drivers/scsi/qla2xxx/qla_os.c ha->sns_cmd, ha->sns_cmd_dma); sns_cmd 4662 drivers/scsi/qla2xxx/qla_os.c ha->sns_cmd = NULL;