Lines Matching refs:fc_id
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
171 sport->fc_id = fc_id; in ocs_sport_alloc()
229 spv_set(domain->lookup, sport->fc_id, NULL); in ocs_sport_free()
403 ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id) in ocs_sport_attach() argument
410 spv_set(sport->domain->lookup, fc_id, sport); in ocs_sport_attach()
414 ocs_node_fcid_display(fc_id, sport->display_name, sizeof(sport->display_name)); in ocs_sport_attach()
420 ocs_log_debug(sport->ocs, "[%s] attach sport: fc_id x%06x\n", sport->display_name, fc_id); in ocs_sport_attach()
422 rc = ocs_hw_port_attach(&sport->ocs->hw, sport, fc_id); in ocs_sport_attach()
504 spv_set(domain->lookup, sport->fc_id, NULL); in __ocs_sport_common()
521 if((node->rnode.fc_id == FC_ADDR_FABRIC) && (sport->is_vport)) { in __ocs_sport_common()
622 if (sport->fc_id != UINT32_MAX) { in __ocs_sport_vport_init()
623 ocs_log_debug(ocs, "vport: hard coding port id: %x\n", sport->fc_id); in __ocs_sport_vport_init()
686 if (sport->fc_id == UINT32_MAX) { in __ocs_sport_vport_wait_alloc()
695 ocs_sport_attach(sport, sport->fc_id); in __ocs_sport_vport_wait_alloc()
786 sport->tgt_id = sport->fc_id; in __ocs_sport_attached()
852 spv_set(domain->lookup, sport->fc_id, NULL); in __ocs_sport_wait_shutdown()
937 vport->sport = sport = ocs_sport_alloc(domain, vport->wwpn, vport->wwnn, vport->fc_id, in ocs_vport_start()
1007 uint32_t fc_id, uint8_t ini, uint8_t tgt, void *tgt_data, 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()
1202 ocs_ddump_value(textbuf, "fc_id", "x%06x", sport->fc_id); in ocs_ddump_sport()
1308 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", sport->fc_id); in ocs_mgmt_sport_get()
1370 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", sport->fc_id); in ocs_mgmt_sport_get_all()
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
1536 vport->fc_id = fc_id; in ocs_vport_create_spec()