| /freebsd-13.1/sys/dev/ocs_fc/ |
| H A D | ocs_sport.c | 173 sport->fc_id = fc_id; in ocs_sport_alloc() 231 spv_set(domain->lookup, sport->fc_id, NULL); in ocs_sport_free() 405 ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id) in ocs_sport_attach() argument 412 spv_set(sport->domain->lookup, fc_id, sport); in ocs_sport_attach() 506 spv_set(domain->lookup, sport->fc_id, NULL); in __ocs_sport_common() 624 if (sport->fc_id != UINT32_MAX) { in __ocs_sport_vport_init() 688 if (sport->fc_id == UINT32_MAX) { in __ocs_sport_vport_wait_alloc() 697 ocs_sport_attach(sport, sport->fc_id); in __ocs_sport_vport_wait_alloc() 788 sport->tgt_id = sport->fc_id; in __ocs_sport_attached() 854 spv_set(domain->lookup, sport->fc_id, NULL); in __ocs_sport_wait_shutdown() [all …]
|
| H A D | ocs_sport.h | 44 …rn ocs_sport_t *ocs_sport_alloc(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, 82 extern int32_t ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id); 93 …rt_vport_new(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, uint8_t ini, uint… 97 extern int8_t ocs_vport_create_spec(ocs_t *ocs, uint64_t wwnn, uint64_t wwpn, uint32_t fc_id, uint3…
|
| H A D | ocs_domain.c | 582 drec->fc_id, drec->speed); in __ocs_domain_init() 584 sport->fc_id = drec->fc_id; in __ocs_domain_init() 592 if (drec->map.loop[i] != drec->fc_id) { in __ocs_domain_init() 596 drec->fc_id, drec->map.loop[i]); in __ocs_domain_init() 777 uint32_t fc_id; in __ocs_domain_allocated() local 781 fc_id = *((uint32_t*)arg); in __ocs_domain_allocated() 785 spv_set(domain->lookup, fc_id, domain->sport); in __ocs_domain_allocated() 792 rc = ocs_hw_domain_attach(&ocs->hw, domain, fc_id); in __ocs_domain_allocated() 999 uint32_t fc_id; in __ocs_domain_ready() local 1002 fc_id = *((uint32_t*)arg); in __ocs_domain_ready() [all …]
|
| H A D | ocs_common.h | 119 uint32_t fc_id; /**< our ports fc_id */ member 178 uint32_t fc_id; /**< FC address */ member 277 uint32_t fc_id; /**< FC address */ member 409 uint32_t fc_id; /*>> port id */ member
|
| H A D | ocs_node.c | 519 spv_set(sport->lookup, node->rnode.fc_id, NULL); in ocs_node_free() 672 ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length) in ocs_node_fcid_display() argument 674 switch (fc_id) { in ocs_node_fcid_display() 685 if (FC_ADDR_IS_DOMAIN_CTRL(fc_id)) { in ocs_node_fcid_display() 687 FC_ADDR_GET_DOMAIN_CTRL(fc_id)); in ocs_node_fcid_display() 689 ocs_snprintf(buffer, buffer_length, "%06x", fc_id); in ocs_node_fcid_display() 710 uint32_t port_id = node->rnode.fc_id; in ocs_node_update_display_name() 1524 ocs_ddump_value(textbuf, "fc_id", "%#06x", node->rnode.fc_id); in ocs_ddump_node() 1757 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", node->rnode.fc_id); in ocs_mgmt_node_get() 1848 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", node->rnode.fc_id); in ocs_mgmt_node_get_all()
|
| H A D | ocs_fabric.c | 1364 node_printf(node, "Node with fc_id x%x already exists\n", rnode->rnode.fc_id); in __ocs_p2p_wait_domain_attach() 1380 if (node->rnode.fc_id == 0) { in __ocs_p2p_wait_domain_attach() 1895 port_id = n->rnode.fc_id; in ocs_process_gidpt_payload() 1914 if ((active_nodes[j] != NULL) && (port_id == active_nodes[j]->rnode.fc_id)) { in ocs_process_gidpt_payload() 1935 active_nodes[i]->rnode.fc_id); in ocs_process_gidpt_payload() 1947 if (port_id != node->rnode.sport->fc_id && !ocs_sport_find(sport->domain, port_id)) { in ocs_process_gidpt_payload()
|
| H A D | ocs_els.c | 931 logo->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_logo() 991 adisc->hard_address = fc_htobe24(sport->fc_id); in ocs_send_adisc() 996 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_adisc() 1396 io->iparam.els_sid.s_id = io->node->sport->fc_id; in ocs_send_flogi_acc() 1682 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_adisc_acc() 1735 rftid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rftid() 1788 rffid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rffid() 1909 if (node->rnode.sport->fc_id == s_id) { in ocs_bls_send_acc()
|
| H A D | sli4.c | 1404 reg_vpi->local_n_port_id = sport->fc_id; in sli_cmd_reg_vpi() 1569 uint32_t fc_id) in sli_cmd_unreg_rpi() argument 1585 if (fc_id != UINT32_MAX) { in sli_cmd_unreg_rpi() 6663 if (FC_ADDR_FABRIC == rnode->fc_id) { in sli_els_request64_wqe() 6668 if (FC_ADDR_FABRIC == rnode->fc_id) { in sli_els_request64_wqe() 6671 if (0 == rnode->sport->fc_id) { in sli_els_request64_wqe() 6709 if (rnode->sport->fc_id != UINT32_MAX) { in sli_els_request64_wqe() 6710 els->sid = rnode->sport->fc_id; in sli_els_request64_wqe() 6745 els->remote_id = rnode->fc_id; in sli_els_request64_wqe() 7292 trsp->dword5 = rnode->fc_id & 0x00ffffff; in sli_fcp_trsp64_wqe() [all …]
|
| H A D | ocs.h | 82 uint32_t fc_id; member
|
| H A D | ocs_cam.c | 424 adc->port = node->rnode.fc_id; in ocs_scsi_new_initiator() 490 adc->port = node->rnode.fc_id; in ocs_scsi_del_initiator() 892 fcp->fc_id = sport->fc_id; in ocs_scsi_ini_new_sport() 919 fcp->fc_id = 0; in ocs_scsi_ini_del_sport() 1004 tgt->port_id = node->rnode.fc_id; in ocs_update_tgt() 2047 fc->port = fcp->fc_id; in ocs_action()
|
| H A D | ocs_node.h | 204 extern void ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length);
|
| H A D | ocs_hw.c | 251 hw->link.fc_id = UINT32_MAX; in ocs_hw_link_event_init() 2545 sport->fc_id = fc_id; in ocs_hw_port_attach() 2856 domain->sport->fc_id = fc_id; in ocs_hw_domain_attach() 2963 rnode->fc_id = fc_addr; in ocs_hw_node_alloc() 3078 rnode->indicator, rnode->fc_id); in ocs_hw_node_free_resources() 3130 uint32_t fc_id; in ocs_hw_node_detach() local 3147 fc_id = UINT32_MAX; in ocs_hw_node_detach() 3155 fc_id = rnode->fc_id & 0x00ffffff; in ocs_hw_node_detach() 3161 SLI_RSRC_FCOE_RPI, fc_id)) { in ocs_hw_node_detach() 3255 rnode->indicator, rnode->fc_id); in ocs_hw_node_group_attach() [all …]
|
| H A D | ocs_unsol.c | 600 if (sport->fc_id != d_id) { in ocs_domain_dispatch_frame() 678 ocs_assert(port_id == node->rnode.fc_id, -1); in ocs_node_dispatch_frame()
|
| H A D | ocs_device.c | 734 …de->ocs->nodedb_mask & OCS_NODEDB_PAUSE_NEW_NODES) && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id)) { in ocs_node_init_device() 1445 if (node->sport->enable_ini && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id) in __ocs_d_port_logged_in()
|
| H A D | ocs_ddump.c | 733 ocs_ddump_value(textbuf, "fc_id", "0x%x", vport->fc_id); in ocs_ddump()
|
| H A D | ocs_ioctl.c | 966 ocs->domain->sport->fc_id); in ocs_sysctl_fcid()
|
| H A D | ocs_mgmt.c | 894 ocs->domain->sport->fc_id); in get_fcid()
|
| H A D | sli4.h | 3163 uint32_t fc_id; member
|