Lines Matching refs:wwnn

135 ocs_sport_alloc(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, uint8_t enable_…  in ocs_sport_alloc()  argument
145 sport = ocs_sport_find_wwn(domain, wwnn, wwpn); in ocs_sport_alloc()
148 (unsigned long long)wwnn, (unsigned long long)wwpn); in ocs_sport_alloc()
175 sport->wwnn = wwnn; in ocs_sport_alloc()
176 ocs_snprintf(sport->wwnn_str, sizeof(sport->wwnn_str), "%016llx" , (unsigned long long)wwnn); in ocs_sport_alloc()
374 ocs_sport_find_wwn(ocs_domain_t *domain, uint64_t wwnn, uint64_t wwpn) in ocs_sport_find_wwn() argument
380 if ((sport->wwnn == wwnn) && (sport->wwpn == wwpn)) { in ocs_sport_find_wwn()
670 if (sport->wwnn == 0) { in __ocs_sport_vport_wait_alloc()
671 sport->wwnn = ocs_be64toh(sport->sli_wwnn); in __ocs_sport_vport_wait_alloc()
679 sp->node_name_hi = ocs_htobe32((uint32_t) (sport->wwnn >> 32ll)); in __ocs_sport_vport_wait_alloc()
680 sp->node_name_lo = ocs_htobe32((uint32_t) sport->wwnn); in __ocs_sport_vport_wait_alloc()
780 sport->wwpn, sport->wwnn); in __ocs_sport_attached()
804 sport->wwpn, sport->wwnn); in __ocs_sport_attached()
937 vport->sport = sport = ocs_sport_alloc(domain, vport->wwpn, vport->wwnn, vport->fc_id, in ocs_vport_start()
1006 ocs_sport_vport_new(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, in ocs_sport_vport_new() argument
1024 if (ocs_vport_create_spec(domain->ocs, wwnn, wwpn, fc_id, ini, tgt, tgt_data, ini_data)) { in ocs_sport_vport_new()
1032 sport = ocs_sport_alloc(domain, wwpn, wwnn, fc_id, ini, tgt); in ocs_sport_vport_new()
1060 …vport->sport = sport = ocs_sport_alloc(domain, vport->wwpn, vport->wwnn, UINT32_MAX, vport->enable… in ocs_sport_vport_alloc()
1092 int32_t ocs_sport_vport_del(ocs_t *ocs, ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn) in ocs_sport_vport_del() argument
1113 (vport->wwpn == wwpn) && (vport->wwnn == wwnn)) { in ocs_sport_vport_del()
1127 if ((sport->wwpn == wwpn) && (sport->wwnn == wwnn)) { in ocs_sport_vport_del()
1198 ocs_ddump_value(textbuf, "wwnn", "%016llx", (unsigned long long)sport->wwnn); in ocs_ddump_sport()
1338 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "wwnn", "0x%016llx", (unsigned long long)sport->wwnn); in ocs_mgmt_sport_get()
1380 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "wwnn", "0x%016llx", (unsigned long long)sport->wwnn); in ocs_mgmt_sport_get_all()
1483 vport->wwnn = sport->wwnn; in ocs_vport_update_spec()
1513 ocs_vport_create_spec(ocs_t *ocs, uint64_t wwnn, uint64_t wwpn, uint32_t fc_id, uint32_t enable_ini… in ocs_vport_create_spec() argument
1521 if ((wwpn && (vport->wwpn == wwpn)) && (wwnn && (vport->wwnn == wwnn))) { in ocs_vport_create_spec()
1523 (unsigned long long)wwnn, (unsigned long long)wwpn); in ocs_vport_create_spec()
1534 vport->wwnn = wwnn; in ocs_vport_create_spec()