Home
last modified time | relevance | path

Searched refs:link_up (Results 1 – 25 of 45) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_82598.c48 ixgbe_link_speed *speed, bool *link_up,
406 bool link_up; in ixgbe_fc_enable_82598() local
434 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_fc_enable_82598()
435 if (link_up && link_speed == IXGBE_LINK_SPEED_1GB_FULL) { in ixgbe_fc_enable_82598()
630 ixgbe_link_speed *speed, bool *link_up, in ixgbe_check_mac_link_82598() argument
654 *link_up = TRUE; in ixgbe_check_mac_link_82598()
657 *link_up = FALSE; in ixgbe_check_mac_link_82598()
669 *link_up = TRUE; in ixgbe_check_mac_link_82598()
671 *link_up = FALSE; in ixgbe_check_mac_link_82598()
674 if (*link_up == FALSE) in ixgbe_check_mac_link_82598()
[all …]
H A Dixgbe_82599.c577 bool link_up = FALSE; in ixgbe_setup_mac_link_multispeed_fiber() local
598 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_setup_mac_link_multispeed_fiber()
602 if ((link_speed == IXGBE_LINK_SPEED_10GB_FULL) && link_up) in ixgbe_setup_mac_link_multispeed_fiber()
634 &link_up, FALSE); in ixgbe_setup_mac_link_multispeed_fiber()
638 if (link_up) in ixgbe_setup_mac_link_multispeed_fiber()
649 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_setup_mac_link_multispeed_fiber()
653 if ((link_speed == IXGBE_LINK_SPEED_1GB_FULL) && link_up) in ixgbe_setup_mac_link_multispeed_fiber()
679 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_setup_mac_link_multispeed_fiber()
683 if (link_up) in ixgbe_setup_mac_link_multispeed_fiber()
725 bool link_up = FALSE; in ixgbe_setup_mac_link_smartspeed() local
[all …]
H A Dixgbe_api.c515 bool *link_up) in ixgbe_check_phy_link() argument
518 link_up), IXGBE_NOT_IMPLEMENTED); in ixgbe_check_phy_link()
545 bool *link_up, bool link_up_wait_to_complete) in ixgbe_check_link() argument
548 link_up, link_up_wait_to_complete), in ixgbe_check_link()
H A Dixgbe_api.h72 bool *link_up);
83 bool *link_up, bool link_up_wait_to_complete);
H A Dixgbe_phy.h120 bool *link_up);
H A Dixgbe_x540.c920 bool link_up; in ixgbe_blink_led_start_X540() local
929 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE); in ixgbe_blink_led_start_X540()
930 if (link_up == FALSE) { in ixgbe_blink_led_start_X540()
H A Dixgbe_common.c2703 bool link_up; in ixgbe_fc_autoneg() local
2716 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE); in ixgbe_fc_autoneg()
2717 if (!link_up) in ixgbe_fc_autoneg()
2965 bool link_up = 0; in ixgbe_blink_led_start_generic() local
2975 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE); in ixgbe_blink_led_start_generic()
2977 if (!link_up) { in ixgbe_blink_led_start_generic()
3621 bool *link_up, bool link_up_wait_to_complete) in ixgbe_check_mac_link_generic() argument
3641 *link_up = TRUE; in ixgbe_check_mac_link_generic()
3644 *link_up = FALSE; in ixgbe_check_mac_link_generic()
3651 *link_up = TRUE; in ixgbe_check_mac_link_generic()
[all …]
H A Dixgbe_common.h131 bool *link_up, bool link_up_wait_to_complete);
H A Dixgbe_main.c3352 boolean_t link_up = B_FALSE; in ixgbe_driver_link_check() local
3357 (void) ixgbe_check_link(hw, &speed, &link_up, false); in ixgbe_driver_link_check()
3358 if (link_up) { in ixgbe_driver_link_check()
3471 boolean_t link_up; in ixgbe_overtemp_check() local
3476 (void) ixgbe_check_link(hw, &speed, &link_up, false); in ixgbe_overtemp_check()
3479 if (((eicr & IXGBE_EICR_GPI_SDP0) && (!link_up)) || in ixgbe_overtemp_check()
5314 boolean_t link_up = B_FALSE; in ixgbe_get_hw_state() local
5324 (void) ixgbe_check_link(hw, &speed, &link_up, false); in ixgbe_get_hw_state()
5327 if (link_up) { in ixgbe_get_hw_state()
H A Dixgbe_phy.c645 bool *link_up) in ixgbe_check_phy_link_tnx() argument
657 *link_up = FALSE; in ixgbe_check_phy_link_tnx()
675 *link_up = TRUE; in ixgbe_check_phy_link_tnx()
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c123 nxge_link_state_t *link_up);
289 nxgep->statsp->mac_stats.link_up) { in nxge_get_xcvr_type()
1092 if (statsp->mac_stats.link_up) { in nxge_xif_init()
1115 if (statsp->mac_stats.link_up) { in nxge_xif_init()
4018 statsp->mac_stats.link_up = 1; in nxge_tn1010_xcvr_init()
4022 statsp->mac_stats.link_up = 1; in nxge_tn1010_xcvr_init()
4939 statsp->mac_stats.link_up = 0; in nxge_mii_xcvr_init()
5318 statsp->mac_stats.link_up = 0; in nxge_mii_xcvr_fiber_init()
5600 nxge_link_state_t *link_up) in nxge_mii_check() argument
5619 *link_up = LINK_NO_CHANGE; in nxge_mii_check()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclkstat.c206 uint64_t collisions, runt, link_up, link_duplex; in kstat_network_port_cond() local
215 link_up = port_datap->value.ui32; in kstat_network_port_cond()
217 link_up = port_datap->value.ui64; in kstat_network_port_cond()
219 if (link_up == 0) { in kstat_network_port_cond()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c632 if (vars->link_up) { in elink_ets_get_min_w_val_nig()
1592 if (!vars->link_up) in elink_pfc_statistic()
2477 if (!vars->link_up) in elink_update_pfc()
5331 vars->link_up = (vars->link_status & LINK_STATUS_LINK_UP); in elink_sync_link()
5332 if (vars->link_up) { in elink_sync_link()
6266 u16 gp_status, duplex = DUPLEX_HALF, link_up = 0, speed_mask; in elink_link_settings_status() local
6277 link_up = 1; in elink_link_settings_status()
6280 gp_status, link_up, speed_mask); in elink_link_settings_status()
6281 rc = elink_get_link_speed_duplex(phy, params, vars, link_up, speed_mask, in elink_link_settings_status()
6342 u16 gp_status1, gp_speed, link_up, duplex = DUPLEX_FULL; in elink_warpcore_read_status() local
[all …]
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhxge_vmac.h52 uint32_t link_up; member
H A Dhxge_kstats.c754 kstat_named_init(&hxgekp->link_up, "link_up", KSTAT_DATA_ULONG); in hxge_setup_kstats()
873 hxgekp->link_up.value.ul = statsp->mac_stats.link_up; in hxge_port_kstat_update()
1047 val = statsp->mac_stats.link_up; in hxge_m_stat()
/titanic_41/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-driver.h206 xge_uld_link_up_f link_up; member
/titanic_41/usr/src/uts/sun/io/eri/
H A Deri.c680 erip->stats.link_up = LINK_STATE_DOWN; in eri_attach()
1173 erip->stats.link_up = LINK_STATE_DOWN; in eri_loopback()
1182 erip->stats.link_up = LINK_STATE_DOWN; in eri_loopback()
1195 erip->stats.link_up = LINK_STATE_DOWN; in eri_loopback()
1764 erip->stats.link_up = LINK_STATE_DOWN; in eri_stop()
2305 if (erip->stats.link_up == LINK_STATE_UP) in eri_init()
2310 erip->stats.link_up = LINK_STATE_DOWN; in eri_init()
2364 erip->stats.link_up = LINK_STATE_DOWN; in eri_init()
2374 erip->stats.link_up = LINK_STATE_DOWN; in eri_init()
2832 erip->stats.link_up = LINK_STATE_DOWN; in eri_intr()
[all …]
H A Deri.h164 uint32_t link_up; member
/titanic_41/usr/src/uts/common/io/myri10ge/firmware/
H A Dmyri10ge_mcp.h489 uint32_t link_up; member
/titanic_41/usr/src/uts/common/sys/nxge/
H A Dnxge_mac.h152 uint32_t link_up; member
/titanic_41/usr/src/uts/common/io/e1000api/
H A De1000_82541.c64 bool link_up);
674 bool link_up) in e1000_config_dsp_after_link_change_82541() argument
690 if (link_up) { in e1000_config_dsp_after_link_change_82541()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_phy.c466 if( !link_vars->link_up ) in lm_get_speed_real_from_elink_line_speed()
686 if (!pdev->vars.link.link_up) in get_link_params()
826 (!pdev->vars.link.link_up)) in lm_cmng_update()
890 if (pdev->vars.link.link_up) in lm_link_report()
/titanic_41/usr/src/uts/sun4u/io/px/
H A Dpx_hlib.c3071 boolean_t link_retry, link_up; in oberon_hp_pwron() local
3127 link_up = B_FALSE; in oberon_hp_pwron()
3130 for (loop = 0; (loop < link_retry_count) && (link_up == B_FALSE); in oberon_hp_pwron()
3160 for (i = 0; (i < 2) && (link_up == B_FALSE); i++) { in oberon_hp_pwron()
3173 link_up = B_TRUE; in oberon_hp_pwron()
3181 if (link_up == B_FALSE) { in oberon_hp_pwron()
/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_main.c1678 boolean_t link_up = B_FALSE; in e1000g_link_up() local
1692 link_up = B_TRUE; in e1000g_link_up()
1694 link_up = !hw->mac.get_link_status; in e1000g_link_up()
1697 link_up = B_TRUE; in e1000g_link_up()
1702 link_up = (E1000_READ_REG(hw, E1000_STATUS) & in e1000g_link_up()
1707 link_up = hw->mac.serdes_has_link; in e1000g_link_up()
1711 return (link_up); in e1000g_link_up()
5320 boolean_t link_up; in e1000g_set_loopback_mode() local
5374 link_up = e1000g_link_up(Adapter); in e1000g_set_loopback_mode()
5378 if (!link_up) { in e1000g_set_loopback_mode()
/titanic_41/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_var.h244 struct kstat_named link_up; member

12