/freebsd-12-stable/sys/dev/ocs_fc/ |
H A D | ocs_drv_fc.h | 68 bool enable_tgt; member in struct:ocs_s 155 #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 | 147 uint8_t enable_tgt; member in struct:ocs_softc 263 #define ocs_is_target_enabled() (ocs->enable_tgt)
|
H A D | ocs_sport.c | 132 * @param enable_tgt Enables target capability on this port using a non-zero value. 138 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 167 sport->enable_tgt = enable_tgt; 168 sport->enable_rscn = (sport->enable_ini || (sport->enable_tgt && enable_target_rscn(sport->ocs))); 795 if (sport->enable_tgt) { 813 if (sport->enable_tgt) { 937 if (!(vport->enable_ini || vport->enable_tgt)) { 943 vport->enable_ini, vport->enable_tgt); 1022 if (tgt && (domain->ocs->enable_tgt 1524 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 | 195 enable_tgt:1, /**< SCSI target enabled for this node */ member in struct:ocs_sli_port_s 415 uint32_t enable_tgt:1, /*>> port is a target */ member in struct:ocs_vport_spec_s
|
H A D | ocs_pci.c | 339 (ocs->enable_tgt)? KNOB_ROLE_TARGET: 0; 417 if (ocs->enable_ini || ocs->enable_tgt) { 632 if (ocs->config_tgt && ocs->enable_tgt) { 643 * 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:__anon14846
|
H A D | ocs_node.h | 187 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) { 1466 if (node->sport->enable_tgt) { 1631 if (node->sport->enable_tgt)
|
H A D | ocs_domain.c | 544 sport = ocs_sport_alloc(domain, my_wwpn, my_wwnn, UINT32_MAX, ocs->enable_ini, ocs->enable_tgt); 882 if (ocs->enable_tgt) 1094 if (ocs->enable_tgt)
|
H A D | ocs_ddump.c | 665 ocs_ddump_value(textbuf, "enable_tgt", "%d", ocs->enable_tgt); 738 ocs_ddump_value(textbuf, "enable_tgt", "%d", vport->enable_tgt);
|
H A D | ocs_cam.c | 1920 ocs->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0; 1923 vport->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0; 1942 vport->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0; 1950 vport->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0;
|
H A D | ocs_fabric.c | 832 if ((ocs->tgt_rscn_delay_msec != 0) && !node->sport->enable_ini && node->sport->enable_tgt && 1927 (node->sport->enable_tgt && enable_target_rscn(ocs))) {
|
H A D | ocs_els.c | 820 (node->sport->enable_tgt ? FC_PRLI_TARGET_FUNCTION : 0)); 1479 (node->sport->enable_tgt ? FC_PRLI_TARGET_FUNCTION : 0)); 1799 if (node->sport->enable_tgt) {
|
H A D | ocs_xport.c | 564 ocs_vport_create_spec(ocs, 0, 0, UINT32_MAX, ocs->enable_ini, ocs->enable_tgt, NULL, NULL);
|
H A D | ocs_ioctl.c | 388 req->enable_tgt, NULL, NULL, TRUE);
|