Lines Matching refs:port_attrs

1362 		fc_hba_port_attributes32_t  *port_attrs;
1373 port_attrs =
1376 port_attrs->version = FC_HBA_PORT_ATTRIBUTES_VERSION;
1377 port_attrs->lastChange = 0;
1378 port_attrs->fp_minor = 0;
1380 (caddr_t)&port_attrs->NodeWWN, 8);
1382 (caddr_t)&port_attrs->PortWWN, 8);
1386 /* port_attrs->PortFcId */
1387 /* port_attrs->PortType */
1388 /* port_attrs->PortSpeed */
1389 /* port_attrs->FabricName */
1390 port_attrs->PortState =
1393 port_attrs->PortFcId = port->did;
1394 port_attrs->PortState = FC_HBA_PORTSTATE_ONLINE;
1398 port_attrs->PortType =
1401 port_attrs->PortType =
1407 port_attrs->PortType =
1410 port_attrs->PortType =
1417 (caddr_t)&port_attrs->FabricName,
1418 sizeof (port_attrs->FabricName));
1423 port_attrs->PortSpeed =
1427 port_attrs->PortSpeed =
1431 port_attrs->PortSpeed =
1435 port_attrs->PortSpeed =
1439 port_attrs->PortSpeed =
1443 port_attrs->PortSpeed =
1447 port_attrs->PortSpeed =
1451 port_attrs->PortSpeed =
1455 port_attrs->NumberofDiscoveredPorts =
1459 port_attrs->PortSupportedClassofService =
1461 (void) strncpy((caddr_t)port_attrs->PortSymbolicName,
1463 (sizeof (port_attrs->PortSymbolicName)-1));
1467 port_attrs->PortSupportedSpeed |=
1471 port_attrs->PortSupportedSpeed |=
1475 port_attrs->PortSupportedSpeed |=
1479 port_attrs->PortSupportedSpeed |=
1483 port_attrs->PortSupportedSpeed |=
1487 port_attrs->PortSupportedSpeed |=
1495 (caddr_t)&port_attrs->PortSupportedFc4Types[0], 4);
1497 (caddr_t)&port_attrs->PortSupportedFc4Types[4], 4);
1500 (caddr_t)&port_attrs->PortActiveFc4Types[0], 4);
1502 (caddr_t)&port_attrs->PortActiveFc4Types[4], 4);
1504 port_attrs->PortMaxFrameSize = FF_FRAME_SIZE;
1508 fc_hba_port_attributes_t *port_attrs;
1519 port_attrs =
1522 port_attrs->version = FC_HBA_PORT_ATTRIBUTES_VERSION;
1523 port_attrs->lastChange = 0;
1524 port_attrs->fp_minor = 0;
1526 (caddr_t)&port_attrs->NodeWWN, 8);
1528 (caddr_t)&port_attrs->PortWWN, 8);
1532 /* port_attrs->PortFcId */
1533 /* port_attrs->PortType */
1534 /* port_attrs->PortSpeed */
1535 /* port_attrs->FabricName */
1536 port_attrs->PortState =
1539 port_attrs->PortFcId = port->did;
1540 port_attrs->PortState = FC_HBA_PORTSTATE_ONLINE;
1544 port_attrs->PortType =
1547 port_attrs->PortType =
1553 port_attrs->PortType =
1556 port_attrs->PortType =
1563 (caddr_t)&port_attrs->FabricName,
1564 sizeof (port_attrs->FabricName));
1569 port_attrs->PortSpeed =
1573 port_attrs->PortSpeed =
1577 port_attrs->PortSpeed =
1581 port_attrs->PortSpeed =
1585 port_attrs->PortSpeed =
1589 port_attrs->PortSpeed =
1593 port_attrs->PortSpeed =
1597 port_attrs->PortSpeed =
1601 port_attrs->NumberofDiscoveredPorts =
1605 port_attrs->PortSupportedClassofService =
1607 (void) strncpy((caddr_t)port_attrs->PortSymbolicName,
1609 (sizeof (port_attrs->PortSymbolicName)-1));
1613 port_attrs->PortSupportedSpeed |=
1617 port_attrs->PortSupportedSpeed |=
1621 port_attrs->PortSupportedSpeed |=
1625 port_attrs->PortSupportedSpeed |=
1629 port_attrs->PortSupportedSpeed |=
1633 port_attrs->PortSupportedSpeed |=
1641 (caddr_t)&port_attrs->PortSupportedFc4Types[0], 4);
1643 (caddr_t)&port_attrs->PortSupportedFc4Types[4], 4);
1646 (caddr_t)&port_attrs->PortActiveFc4Types[0], 4);
1648 (caddr_t)&port_attrs->PortActiveFc4Types[4], 4);
1650 port_attrs->PortMaxFrameSize = FF_FRAME_SIZE;
2152 fc_hba_port_attributes32_t *port_attrs;
2170 port_attrs = (fc_hba_port_attributes32_t *)fcio->fcio_obuf;
2172 port_attrs->version = FC_HBA_PORT_ATTRIBUTES_VERSION;
2173 /* port_attrs->lastChange */
2174 /* port_attrs->fp_minor */
2176 (caddr_t)&port_attrs->NodeWWN, 8);
2178 (caddr_t)&port_attrs->PortWWN, 8);
2180 port_attrs->PortSpeed = HBA_PORTSPEED_UNKNOWN;
2181 port_attrs->PortType = FC_HBA_PORTTYPE_UNKNOWN;
2182 port_attrs->PortState = FC_HBA_PORTSTATE_OFFLINE;
2186 port_attrs->PortFcId = ndlp->nlp_DID;
2187 port_attrs->PortState = FC_HBA_PORTSTATE_ONLINE;
2192 port_attrs->PortType =
2195 port_attrs->PortType =
2202 port_attrs->PortSpeed =
2206 port_attrs->PortSpeed =
2210 port_attrs->PortSpeed =
2214 port_attrs->PortSpeed =
2218 port_attrs->PortSpeed =
2222 port_attrs->PortSpeed =
2226 port_attrs->PortSpeed =
2236 port_attrs->PortType =
2242 port_attrs->PortSpeed =
2246 port_attrs->PortSpeed =
2250 port_attrs->PortSpeed =
2254 port_attrs->PortSpeed =
2258 port_attrs->PortSpeed =
2262 port_attrs->PortSpeed =
2266 port_attrs->PortSpeed =
2274 port_attrs->PortSupportedClassofService =
2276 /* port_attrs->PortSymbolicName */
2277 /* port_attrs->PortSupportedSpeed */
2278 /* port_attrs->PortSupportedFc4Types */
2279 /* port_attrs->PortActiveFc4Types */
2280 /* port_attrs->PortMaxFrameSize */
2281 /* port_attrs->NumberofDiscoveredPorts */
2284 fc_hba_port_attributes_t *port_attrs;
2302 port_attrs = (fc_hba_port_attributes_t *)fcio->fcio_obuf;
2304 port_attrs->version = FC_HBA_PORT_ATTRIBUTES_VERSION;
2305 /* port_attrs->lastChange */
2306 /* port_attrs->fp_minor */
2308 (caddr_t)&port_attrs->NodeWWN, 8);
2310 (caddr_t)&port_attrs->PortWWN, 8);
2312 port_attrs->PortSpeed = HBA_PORTSPEED_UNKNOWN;
2313 port_attrs->PortType = FC_HBA_PORTTYPE_UNKNOWN;
2314 port_attrs->PortState = FC_HBA_PORTSTATE_OFFLINE;
2318 port_attrs->PortFcId = ndlp->nlp_DID;
2319 port_attrs->PortState = FC_HBA_PORTSTATE_ONLINE;
2324 port_attrs->PortType =
2327 port_attrs->PortType =
2334 port_attrs->PortSpeed =
2338 port_attrs->PortSpeed =
2342 port_attrs->PortSpeed =
2346 port_attrs->PortSpeed =
2350 port_attrs->PortSpeed =
2354 port_attrs->PortSpeed =
2358 port_attrs->PortSpeed =
2368 port_attrs->PortType =
2374 port_attrs->PortSpeed =
2378 port_attrs->PortSpeed =
2382 port_attrs->PortSpeed =
2386 port_attrs->PortSpeed =
2390 port_attrs->PortSpeed =
2394 port_attrs->PortSpeed =
2398 port_attrs->PortSpeed =
2406 port_attrs->PortSupportedClassofService =
2408 /* port_attrs->PortSymbolicName */
2409 /* port_attrs->PortSupportedSpeed */
2410 /* port_attrs->PortSupportedFc4Types */
2411 /* port_attrs->PortActiveFc4Types */
2412 /* port_attrs->PortMaxFrameSize */
2413 /* port_attrs->NumberofDiscoveredPorts */
2439 fc_hba_port_attributes32_t *port_attrs;
2464 port_attrs = (fc_hba_port_attributes32_t *)fcio->fcio_obuf;
2466 port_attrs->version = FC_HBA_PORT_ATTRIBUTES_VERSION;
2467 /* port_attrs->lastChange */
2468 /* port_attrs->fp_minor */
2470 (caddr_t)&port_attrs->NodeWWN, 8);
2472 (caddr_t)&port_attrs->PortWWN, 8);
2474 port_attrs->PortSpeed = HBA_PORTSPEED_UNKNOWN;
2475 port_attrs->PortType = FC_HBA_PORTTYPE_UNKNOWN;
2476 port_attrs->PortState = FC_HBA_PORTSTATE_OFFLINE;
2480 port_attrs->PortFcId = ndlp->nlp_DID;
2481 port_attrs->PortState = FC_HBA_PORTSTATE_ONLINE;
2486 port_attrs->PortType =
2489 port_attrs->PortType =
2496 port_attrs->PortSpeed =
2500 port_attrs->PortSpeed =
2504 port_attrs->PortSpeed =
2508 port_attrs->PortSpeed =
2512 port_attrs->PortSpeed =
2516 port_attrs->PortSpeed =
2520 port_attrs->PortSpeed =
2530 port_attrs->PortType =
2536 port_attrs->PortSpeed =
2540 port_attrs->PortSpeed =
2544 port_attrs->PortSpeed =
2548 port_attrs->PortSpeed =
2552 port_attrs->PortSpeed =
2556 port_attrs->PortSpeed =
2560 port_attrs->PortSpeed =
2568 port_attrs->PortSupportedClassofService =
2570 /* port_attrs->PortSymbolicName */
2571 /* port_attrs->PortSupportedSpeed */
2572 /* port_attrs->PortSupportedFc4Types */
2573 /* port_attrs->PortActiveFc4Types */
2574 /* port_attrs->PortMaxFrameSize */
2575 /* port_attrs->NumberofDiscoveredPorts */
2578 fc_hba_port_attributes_t *port_attrs;
2603 port_attrs = (fc_hba_port_attributes_t *)fcio->fcio_obuf;
2605 port_attrs->version = FC_HBA_PORT_ATTRIBUTES_VERSION;
2606 /* port_attrs->lastChange */
2607 /* port_attrs->fp_minor */
2609 (caddr_t)&port_attrs->NodeWWN, 8);
2611 (caddr_t)&port_attrs->PortWWN, 8);
2613 port_attrs->PortSpeed = HBA_PORTSPEED_UNKNOWN;
2614 port_attrs->PortType = FC_HBA_PORTTYPE_UNKNOWN;
2615 port_attrs->PortState = FC_HBA_PORTSTATE_OFFLINE;
2619 port_attrs->PortFcId = ndlp->nlp_DID;
2620 port_attrs->PortState = FC_HBA_PORTSTATE_ONLINE;
2625 port_attrs->PortType =
2628 port_attrs->PortType =
2635 port_attrs->PortSpeed =
2639 port_attrs->PortSpeed =
2643 port_attrs->PortSpeed =
2647 port_attrs->PortSpeed =
2651 port_attrs->PortSpeed =
2655 port_attrs->PortSpeed =
2659 port_attrs->PortSpeed =
2669 port_attrs->PortType =
2675 port_attrs->PortSpeed =
2679 port_attrs->PortSpeed =
2683 port_attrs->PortSpeed =
2687 port_attrs->PortSpeed =
2691 port_attrs->PortSpeed =
2695 port_attrs->PortSpeed =
2699 port_attrs->PortSpeed =
2707 port_attrs->PortSupportedClassofService =
2709 /* port_attrs->PortSymbolicName */
2710 /* port_attrs->PortSupportedSpeed */
2711 /* port_attrs->PortSupportedFc4Types */
2712 /* port_attrs->PortActiveFc4Types */
2713 /* port_attrs->PortMaxFrameSize */
2714 /* port_attrs->NumberofDiscoveredPorts */