| /freebsd-14.2/sys/dev/ocs_fc/ |
| H A D | ocs_sport.c | 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() 504 spv_set(domain->lookup, sport->fc_id, NULL); in __ocs_sport_common() 622 if (sport->fc_id != UINT32_MAX) { 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() [all …]
|
| H A D | ocs_sport.h | 42 …rn ocs_sport_t *ocs_sport_alloc(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, 80 extern int32_t ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id); 91 …rt_vport_new(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, uint8_t ini, uint… 95 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 | 580 drec->fc_id, drec->speed); in __ocs_domain_init() 582 sport->fc_id = drec->fc_id; in __ocs_domain_init() 590 if (drec->map.loop[i] != drec->fc_id) { in __ocs_domain_init() 594 drec->fc_id, drec->map.loop[i]); in __ocs_domain_init() 775 uint32_t fc_id; in __ocs_domain_allocated() local 779 fc_id = *((uint32_t*)arg); in __ocs_domain_allocated() 783 spv_set(domain->lookup, fc_id, domain->sport); in __ocs_domain_allocated() 790 rc = ocs_hw_domain_attach(&ocs->hw, domain, fc_id); in __ocs_domain_allocated() 997 uint32_t fc_id; in __ocs_domain_ready() local 1000 fc_id = *((uint32_t*)arg); in __ocs_domain_ready() [all …]
|
| H A D | ocs_common.h | 117 uint32_t fc_id; /**< our ports fc_id */ member 176 uint32_t fc_id; /**< FC address */ member 275 uint32_t fc_id; /**< FC address */ member 407 uint32_t fc_id; /*>> port id */ member
|
| H A D | ocs_node.c | 517 spv_set(sport->lookup, node->rnode.fc_id, NULL); in ocs_node_free() 670 ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length) in ocs_node_fcid_display() argument 672 switch (fc_id) { in ocs_node_fcid_display() 683 if (FC_ADDR_IS_DOMAIN_CTRL(fc_id)) { in ocs_node_fcid_display() 685 FC_ADDR_GET_DOMAIN_CTRL(fc_id)); in ocs_node_fcid_display() 687 ocs_snprintf(buffer, buffer_length, "%06x", fc_id); in ocs_node_fcid_display() 708 uint32_t port_id = node->rnode.fc_id; in ocs_node_update_display_name() 1522 ocs_ddump_value(textbuf, "fc_id", "%#06x", node->rnode.fc_id); in ocs_ddump_node() 1755 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", node->rnode.fc_id); in ocs_mgmt_node_get() 1846 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 | 1362 node_printf(node, "Node with fc_id x%x already exists\n", rnode->rnode.fc_id); in __ocs_p2p_wait_domain_attach() 1378 if (node->rnode.fc_id == 0) { in __ocs_p2p_wait_domain_attach() 1893 port_id = n->rnode.fc_id; in ocs_process_gidpt_payload() 1912 if ((active_nodes[j] != NULL) && (port_id == active_nodes[j]->rnode.fc_id)) { in ocs_process_gidpt_payload() 1933 active_nodes[i]->rnode.fc_id); in ocs_process_gidpt_payload() 1945 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 | 929 logo->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_logo() 989 adisc->hard_address = fc_htobe24(sport->fc_id); in ocs_send_adisc() 994 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_adisc() 1394 io->iparam.els_sid.s_id = io->node->sport->fc_id; in ocs_send_flogi_acc() 1680 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_adisc_acc() 1733 rftid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rftid() 1786 rffid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rffid() 1907 if (node->rnode.sport->fc_id == s_id) { in ocs_bls_send_acc()
|
| H A D | sli4.c | 1402 reg_vpi->local_n_port_id = sport->fc_id; in sli_cmd_reg_vpi() 1567 uint32_t fc_id) in sli_cmd_unreg_rpi() argument 1583 if (fc_id != UINT32_MAX) { in sli_cmd_unreg_rpi() 6661 if (FC_ADDR_FABRIC == rnode->fc_id) { in sli_els_request64_wqe() 6666 if (FC_ADDR_FABRIC == rnode->fc_id) { in sli_els_request64_wqe() 6669 if (0 == rnode->sport->fc_id) { in sli_els_request64_wqe() 6707 if (rnode->sport->fc_id != UINT32_MAX) { in sli_els_request64_wqe() 6708 els->sid = rnode->sport->fc_id; in sli_els_request64_wqe() 6743 els->remote_id = rnode->fc_id; in sli_els_request64_wqe() 7290 trsp->dword5 = rnode->fc_id & 0x00ffffff; in sli_fcp_trsp64_wqe() [all …]
|
| H A D | ocs.h | 80 uint32_t fc_id; member
|
| H A D | ocs_cam.c | 444 adc->port = node->rnode.fc_id; in ocs_scsi_new_initiator() 510 adc->port = node->rnode.fc_id; in ocs_scsi_del_initiator() 912 fcp->fc_id = sport->fc_id; in ocs_scsi_ini_new_sport() 939 fcp->fc_id = 0; in ocs_scsi_ini_del_sport() 1024 tgt->port_id = node->rnode.fc_id; in ocs_update_tgt() 2124 fc->port = fcp->fc_id; in ocs_action()
|
| H A D | ocs_node.h | 202 extern void ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length);
|
| H A D | ocs_hw.c | 261 hw->link.fc_id = UINT32_MAX; in ocs_hw_link_event_init() 2555 sport->fc_id = fc_id; in ocs_hw_port_attach() 2866 domain->sport->fc_id = fc_id; in ocs_hw_domain_attach() 2973 rnode->fc_id = fc_addr; in ocs_hw_node_alloc() 3088 rnode->indicator, rnode->fc_id); in ocs_hw_node_free_resources() 3140 uint32_t fc_id; in ocs_hw_node_detach() local 3157 fc_id = UINT32_MAX; in ocs_hw_node_detach() 3165 fc_id = rnode->fc_id & 0x00ffffff; in ocs_hw_node_detach() 3171 SLI_RSRC_FCOE_RPI, fc_id)) { in ocs_hw_node_detach() 3265 rnode->indicator, rnode->fc_id); in ocs_hw_node_group_attach() [all …]
|
| H A D | ocs_unsol.c | 598 if (sport->fc_id != d_id) { in ocs_domain_dispatch_frame() 676 ocs_assert(port_id == node->rnode.fc_id, -1); in ocs_node_dispatch_frame()
|
| H A D | ocs_device.c | 732 …de->ocs->nodedb_mask & OCS_NODEDB_PAUSE_NEW_NODES) && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id)) { in ocs_node_init_device() 1443 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 | 731 ocs_ddump_value(textbuf, "fc_id", "0x%x", vport->fc_id); in ocs_ddump()
|
| H A D | ocs_ioctl.c | 980 ocs->domain->sport->fc_id); in ocs_sysctl_fcid()
|
| H A D | ocs_mgmt.c | 892 ocs->domain->sport->fc_id); in get_fcid()
|
| H A D | sli4.h | 3161 uint32_t fc_id; member
|