Lines Matching refs:mode
915 /* Target mode only uses this routine for linkdowns */
916 if ((port->mode == MODE_TARGET) && (scope != 0xffffffff) &&
1011 if (port->mode == MODE_INITIATOR) {
1015 else if (port->mode == MODE_TARGET) {
1067 if (port->mode == MODE_INITIATOR) {
1071 else if (port->mode == MODE_TARGET) {
1095 if (port->mode == MODE_TARGET) {
1479 char mode[32];
1497 /* Check for mode */
1498 if (port->mode == MODE_TARGET) {
1499 (void) strlcpy(mode, ", target", sizeof (mode));
1510 } else if (port->mode == MODE_INITIATOR) {
1511 (void) strlcpy(mode, ", initiator", sizeof (mode));
1513 (void) strlcpy(mode, "unknown", sizeof (mode));
1583 "%s%s%s", linkspeed, topology, mode);
1588 linkspeed, topology, mode);
1591 if (vport->mode == MODE_INITIATOR) {
1595 else if (vport->mode == MODE_TARGET) {
1602 "%s%s%s *", linkspeed, topology, mode);
1607 linkspeed, topology, mode);
1682 /* Check for any mode changes */
1820 /* Clear the loopback mode */