/freebsd-13-stable/sys/dev/ocs_fc/ |
H A D | ocs_drv_fc.h | 66 bool enable_tgt; member in struct:ocs_s 153 #define ocs_is_fc_target_enabled() (ocs->enable_tgt)
|
H A D | ocs_sport.h | 45 uint8_t enable_ini, uint8_t enable_tgt); 97 extern int8_t ocs_vport_create_spec(ocs_t *ocs, uint64_t wwnn, uint64_t wwpn, uint32_t fc_id, uint32_t enable_ini, uint32_t enable_tgt, void *tgt_data, void *ini_data);
|
H A D | ocs.h | 145 uint8_t enable_tgt; member in struct:ocs_softc 260 #define ocs_is_target_enabled() (ocs->enable_tgt)
|
H A D | ocs_sport.c | 131 * @param enable_tgt Enables target capability on this port using a non-zero value. 137 ocs_sport_alloc(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, uint8_t enable_ini, uint8_t enable_tgt) argument 166 sport->enable_tgt = enable_tgt; 167 sport->enable_rscn = (sport->enable_ini || (sport->enable_tgt && enable_target_rscn(sport->ocs))); 792 if (sport->enable_tgt) { 810 if (sport->enable_tgt) { 934 if (!(vport->enable_ini || vport->enable_tgt)) { 940 vport->enable_ini, vport->enable_tgt); 1019 if (tgt && (domain->ocs->enable_tgt 1515 ocs_vport_create_spec(ocs_t *ocs, uint64_t wwnn, uint64_t wwpn, uint32_t fc_id, uint32_t enable_ini, uint32_t enable_tgt, void *tgt_data, void *ini_data) argument [all...] |
H A D | ocs_common.h | 193 enable_tgt:1, /**< SCSI target enabled for this node */ member in struct:ocs_sli_port_s 410 uint32_t enable_tgt:1, /*>> port is a target */ member in struct:ocs_vport_spec_s
|
H A D | ocs_pci.c | 336 (ocs->enable_tgt)? KNOB_ROLE_TARGET: 0; 414 if (ocs->enable_ini || ocs->enable_tgt) { 627 if (ocs->config_tgt && ocs->enable_tgt) { 638 * driver (ie ocs->enable_tgt = FALSE), but once the target is disabled,
|
H A D | ocs_ioctl.h | 233 enable_tgt:1; /*<< 1 = enable vport as a target */ member in struct:__anon13842
|
H A D | ocs_node.h | 186 if (node->sport->enable_tgt) retval |= (1U << 2);
|
H A D | ocs_device.c | 82 if (node->sport->enable_tgt && (ocs_scsi_validate_initiator(node) == 0)) { 129 if (node->sport->enable_tgt) { 155 if (node->sport->enable_tgt) { 1456 if (node->sport->enable_tgt) { 1621 if (node->sport->enable_tgt)
|
H A D | ocs_domain.c | 539 sport = ocs_sport_alloc(domain, my_wwpn, my_wwnn, UINT32_MAX, ocs->enable_ini, ocs->enable_tgt); 877 if (ocs->enable_tgt) 1088 if (ocs->enable_tgt)
|
H A D | ocs_ddump.c | 661 ocs_ddump_value(textbuf, "enable_tgt", "%d", ocs->enable_tgt); 734 ocs_ddump_value(textbuf, "enable_tgt", "%d", vport->enable_tgt);
|
H A D | ocs_cam.c | 1918 ocs->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0; 1921 vport->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0; 1940 vport->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0; 1948 vport->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0;
|
H A D | ocs_fabric.c | 829 if ((ocs->tgt_rscn_delay_msec != 0) && !node->sport->enable_ini && node->sport->enable_tgt && 1923 (node->sport->enable_tgt && enable_target_rscn(ocs))) {
|
H A D | ocs_els.c | 816 (node->sport->enable_tgt ? FC_PRLI_TARGET_FUNCTION : 0)); 1474 (node->sport->enable_tgt ? FC_PRLI_TARGET_FUNCTION : 0)); 1792 if (node->sport->enable_tgt) {
|
H A D | ocs_xport.c | 558 ocs_vport_create_spec(ocs, 0, 0, UINT32_MAX, ocs->enable_ini, ocs->enable_tgt, NULL, NULL);
|
H A D | ocs_ioctl.c | 386 req->enable_tgt, NULL, NULL, TRUE);
|