Lines Matching defs:swl
6432 sw_info_t *swl;
6443 if (!ha->swl)
6444 ha->swl = kcalloc(ha->max_fibre_devices, sizeof(sw_info_t),
6446 swl = ha->swl;
6447 if (!swl) {
6452 memset(swl, 0, ha->max_fibre_devices * sizeof(sw_info_t));
6453 if (qla2x00_gid_pt(vha, swl) != QLA_SUCCESS) {
6454 swl = NULL;
6457 } else if (qla2x00_gpn_id(vha, swl) != QLA_SUCCESS) {
6458 swl = NULL;
6461 } else if (qla2x00_gnn_id(vha, swl) != QLA_SUCCESS) {
6462 swl = NULL;
6465 } else if (qla2x00_gfpn_id(vha, swl) != QLA_SUCCESS) {
6466 swl = NULL;
6472 if (swl) {
6473 qla2x00_gff_id(vha, swl);
6507 if (swl != NULL) {
6511 new_fcport->d_id.b24 = swl[swl_idx].d_id.b24;
6513 swl[swl_idx].node_name, WWN_SIZE);
6515 swl[swl_idx].port_name, WWN_SIZE);
6517 swl[swl_idx].fabric_port_name, WWN_SIZE);
6518 new_fcport->fp_speed = swl[swl_idx].fp_speed;
6519 new_fcport->fc4_type = swl[swl_idx].fc4_type;
6523 swl[swl_idx].fc4_type & FS_FC4TYPE_NVME) {
6529 if (swl[swl_idx].d_id.b.rsvd_1 != 0) {