Lines Matching defs:swl
5926 sw_info_t *swl;
5937 if (!ha->swl)
5938 ha->swl = kcalloc(ha->max_fibre_devices, sizeof(sw_info_t),
5940 swl = ha->swl;
5941 if (!swl) {
5946 memset(swl, 0, ha->max_fibre_devices * sizeof(sw_info_t));
5947 if (qla2x00_gid_pt(vha, swl) != QLA_SUCCESS) {
5948 swl = NULL;
5951 } else if (qla2x00_gpn_id(vha, swl) != QLA_SUCCESS) {
5952 swl = NULL;
5955 } else if (qla2x00_gnn_id(vha, swl) != QLA_SUCCESS) {
5956 swl = NULL;
5959 } else if (qla2x00_gfpn_id(vha, swl) != QLA_SUCCESS) {
5960 swl = NULL;
5966 if (swl) {
5967 qla2x00_gff_id(vha, swl);
6001 if (swl != NULL) {
6005 new_fcport->d_id.b24 = swl[swl_idx].d_id.b24;
6007 swl[swl_idx].node_name, WWN_SIZE);
6009 swl[swl_idx].port_name, WWN_SIZE);
6011 swl[swl_idx].fabric_port_name, WWN_SIZE);
6012 new_fcport->fp_speed = swl[swl_idx].fp_speed;
6013 new_fcport->fc4_type = swl[swl_idx].fc4_type;
6017 swl[swl_idx].fc4_type & FS_FC4TYPE_NVME) {
6023 if (swl[swl_idx].d_id.b.rsvd_1 != 0) {