Home
last modified time | relevance | path

Searched refs:linkspeed (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_event.c541 uint8_t *linkspeed; in emlxs_log_link_event() local
571 linkspeed = &byte[0]; in emlxs_log_link_event()
581 *linkspeed = 0; in emlxs_log_link_event()
585 if (hba->linkspeed == LA_2GHZ_LINK) { in emlxs_log_link_event()
586 *linkspeed = HBA_PORTSPEED_2GBIT; in emlxs_log_link_event()
587 } else if (hba->linkspeed == LA_4GHZ_LINK) { in emlxs_log_link_event()
588 *linkspeed = HBA_PORTSPEED_4GBIT; in emlxs_log_link_event()
589 } else if (hba->linkspeed == LA_8GHZ_LINK) { in emlxs_log_link_event()
590 *linkspeed = HBA_PORTSPEED_8GBIT; in emlxs_log_link_event()
591 } else if (hba->linkspeed == LA_10GHZ_LINK) { in emlxs_log_link_event()
[all …]
H A Demlxs_fcp.c1481 char linkspeed[32]; in emlxs_port_online() local
1530 switch (hba->linkspeed) { in emlxs_port_online()
1532 (void) strlcpy(linkspeed, "Gb", sizeof (linkspeed)); in emlxs_port_online()
1537 (void) strlcpy(linkspeed, "1Gb", sizeof (linkspeed)); in emlxs_port_online()
1541 (void) strlcpy(linkspeed, "2Gb", sizeof (linkspeed)); in emlxs_port_online()
1545 (void) strlcpy(linkspeed, "4Gb", sizeof (linkspeed)); in emlxs_port_online()
1549 (void) strlcpy(linkspeed, "8Gb", sizeof (linkspeed)); in emlxs_port_online()
1553 (void) strlcpy(linkspeed, "10Gb", sizeof (linkspeed)); in emlxs_port_online()
1557 (void) strlcpy(linkspeed, "16Gb", sizeof (linkspeed)); in emlxs_port_online()
1561 (void) strlcpy(linkspeed, "32Gb", sizeof (linkspeed)); in emlxs_port_online()
[all …]
H A Demlxs_mbox.c1672 hba->linkspeed = la.UlnkSpeed; in emlxs_read_la_mbcmpl()
1676 if ((hba->linkspeed == 0) && in emlxs_read_la_mbcmpl()
1678 hba->linkspeed = LA_1GHZ_LINK; in emlxs_read_la_mbcmpl()
2160 uint32_t linkspeed) in emlxs_mb_init_link() argument
2209 switch (linkspeed) { in emlxs_mb_init_link()
2214 linkspeed = (vpd->link_speed & LMT_1GB_CAPABLE) == 0 ? 0 : in emlxs_mb_init_link()
2219 linkspeed = (vpd->link_speed & LMT_2GB_CAPABLE) == 0 ? 0 : in emlxs_mb_init_link()
2224 linkspeed = (vpd->link_speed & LMT_4GB_CAPABLE) == 0 ? 0 : in emlxs_mb_init_link()
2229 linkspeed = (vpd->link_speed & LMT_8GB_CAPABLE) == 0 ? 0 : in emlxs_mb_init_link()
2234 linkspeed = (vpd->link_speed & LMT_10GB_CAPABLE) == 0 ? 0 : in emlxs_mb_init_link()
[all …]
H A Demlxs_solaris.c1461 char linkspeed[32]; in emlxs_fca_bind_port() local
1621 switch (hba->linkspeed) { in emlxs_fca_bind_port()
1623 (void) strlcpy(linkspeed, "Gb", sizeof (linkspeed)); in emlxs_fca_bind_port()
1628 (void) strlcpy(linkspeed, "1Gb", sizeof (linkspeed)); in emlxs_fca_bind_port()
1632 (void) strlcpy(linkspeed, "2Gb", sizeof (linkspeed)); in emlxs_fca_bind_port()
1636 (void) strlcpy(linkspeed, "4Gb", sizeof (linkspeed)); in emlxs_fca_bind_port()
1640 (void) strlcpy(linkspeed, "8Gb", sizeof (linkspeed)); in emlxs_fca_bind_port()
1644 (void) strlcpy(linkspeed, "10Gb", sizeof (linkspeed)); in emlxs_fca_bind_port()
1648 (void) strlcpy(linkspeed, "16Gb", sizeof (linkspeed)); in emlxs_fca_bind_port()
1652 (void) strlcpy(linkspeed, "32Gb", sizeof (linkspeed)); in emlxs_fca_bind_port()
[all …]
H A Demlxs_dfc.c1424 switch (hba->linkspeed) { in emlxs_fcio_get_adapter_port_attrs()
1578 switch (hba->linkspeed) { in emlxs_fcio_get_adapter_port_attrs()
2219 switch (hba->linkspeed) { in emlxs_fcio_get_disc_port_attrs()
2263 switch (hba->linkspeed) { in emlxs_fcio_get_disc_port_attrs()
2359 switch (hba->linkspeed) { in emlxs_fcio_get_disc_port_attrs()
2403 switch (hba->linkspeed) { in emlxs_fcio_get_disc_port_attrs()
2529 switch (hba->linkspeed) { in emlxs_fcio_get_port_attrs()
2573 switch (hba->linkspeed) { in emlxs_fcio_get_port_attrs()
2676 switch (hba->linkspeed) { in emlxs_fcio_get_port_attrs()
2720 switch (hba->linkspeed) { in emlxs_fcio_get_port_attrs()
[all …]
H A Demlxs_sli4.c2709 hba->linkspeed = 0; in emlxs_sli4_hba_reset()
9122 switch (hba->linkspeed) { in emlxs_sli4_check_gpio()
9635 hba->linkspeed = LA_1GHZ_LINK; in emlxs_sli4_handle_fcoe_link_event()
9638 hba->linkspeed = LA_10GHZ_LINK; in emlxs_sli4_handle_fcoe_link_event()
9644 hba->linkspeed = 0; in emlxs_sli4_handle_fcoe_link_event()
9685 hba->linkspeed = LA_1GHZ_LINK; in emlxs_sli4_handle_fc_link_att()
9688 hba->linkspeed = LA_2GHZ_LINK; in emlxs_sli4_handle_fc_link_att()
9691 hba->linkspeed = LA_4GHZ_LINK; in emlxs_sli4_handle_fc_link_att()
9694 hba->linkspeed = LA_8GHZ_LINK; in emlxs_sli4_handle_fc_link_att()
9697 hba->linkspeed = LA_10GHZ_LINK; in emlxs_sli4_handle_fc_link_att()
[all …]
H A Demlxs_fct.c2001 switch (hba->linkspeed) { in emlxs_fct_get_link_info()
H A Demlxs_sli3.c2213 hba->linkspeed = 0; in emlxs_sli3_hba_reset()
H A Demlxs_fcf.c3056 hba->linkspeed = mb4->un.varReadLA.UlnkSpeed; in emlxs_fc_fcftab_topo_mbcmpl()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dforcedeth.c314 u32 linkspeed; member
461 writel(np->linkspeed, base + NvRegLinkSpeed); in start_rx()
573 if (np->duplex != newdup || np->linkspeed != newls) { in update_linkspeed()
575 np->linkspeed = newls; in update_linkspeed()
675 np->linkspeed = NVREG_LINKSPEED_FORCE | NVREG_LINKSPEED_10; in forcedeth_reset()
714 np->linkspeed & NVREG_LINKSPEED_10 ? 10 : 100, in forcedeth_reset()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h430 uint32_t linkspeed);
H A Demlxs_fc.h1800 uint8_t linkspeed; member