Home
last modified time | relevance | path

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

1234

/NextBSD/sys/contrib/octeon-sdk/
HDcvmx-helper-board.c672 result.s.link_up = 1; in __get_marvell_phy_link_state()
712 result.s.link_up = 1; in __get_broadcom_phy_link_state()
717 result.s.link_up = 1; in __get_broadcom_phy_link_state()
722 result.s.link_up = 1; in __get_broadcom_phy_link_state()
727 result.s.link_up = 1; in __get_broadcom_phy_link_state()
732 result.s.link_up = 1; in __get_broadcom_phy_link_state()
737 result.s.link_up = 1; in __get_broadcom_phy_link_state()
742 result.s.link_up = 1; in __get_broadcom_phy_link_state()
764 result.s.link_up = inband_status.s.status; in __get_inband_link_state()
935 result.s.link_up = 1; in __cvmx_helper_board_link_get_from_dt()
[all …]
HDcvmx-helper-spi.c217 result.s.link_up = 1; in __cvmx_helper_spi_link_get()
224 result.s.link_up = inband.s.status; in __cvmx_helper_spi_link_get()
239 result.s.link_up = 0; in __cvmx_helper_spi_link_get()
247 result.s.link_up = 1; in __cvmx_helper_spi_link_get()
HDcvmx-helper-sgmii.c306 pcsx_miscx_ctl_reg.s.gmxeno = !link_info.s.link_up; in __cvmx_helper_sgmii_hardware_init_link_speed()
309 if (link_info.s.link_up) in __cvmx_helper_sgmii_hardware_init_link_speed()
577 result.s.link_up = 1; in __cvmx_helper_sgmii_link_get()
605 result.s.link_up = 1; in __cvmx_helper_sgmii_link_get()
631 result.s.link_up = inband_status.s.link_ok;/* this is only accurate for 1000-base x */ in __cvmx_helper_sgmii_link_get()
647 result.s.link_up = 0; in __cvmx_helper_sgmii_link_get()
674 result.s.link_up = pcsx_anx_results_reg.s.link_ok; in __cvmx_helper_sgmii_link_get()
688 result.s.link_up = 0; in __cvmx_helper_sgmii_link_get()
696 result.s.link_up = 0; in __cvmx_helper_sgmii_link_get()
726 if (link_info.s.link_up || !__cvmx_helper_need_g15618()) { in __cvmx_helper_sgmii_link_set()
HDcvmx-helper-ilk.c375 result.s.link_up = 1; in __cvmx_helper_ilk_link_get()
383 if (result.s.link_up) in __cvmx_helper_ilk_link_get()
HDcvmx-helper.h145 uint64_t link_up : 1; /**< Is the physical link up? */ member
HDcvmx-helper-xaui.c370 result.s.link_up = 1; in __cvmx_helper_xaui_link_get()
429 if (!link_info.s.link_up) in __cvmx_helper_xaui_link_set()
HDcvmx-helper-rgmii.c308 result.s.link_up = 1; in __cvmx_helper_rgmii_link_get()
391 if (!link_info.s.link_up) in __cvmx_helper_rgmii_link_set()
/NextBSD/sys/dev/ixgbe/
HDixgbe_82598.c55 ixgbe_link_speed *speed, bool *link_up,
417 bool link_up; in ixgbe_fc_enable_82598() local
445 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_fc_enable_82598()
446 if (link_up && link_speed == IXGBE_LINK_SPEED_1GB_FULL) { in ixgbe_fc_enable_82598()
642 ixgbe_link_speed *speed, bool *link_up, in ixgbe_check_mac_link_82598() argument
666 *link_up = TRUE; in ixgbe_check_mac_link_82598()
669 *link_up = FALSE; in ixgbe_check_mac_link_82598()
681 *link_up = TRUE; in ixgbe_check_mac_link_82598()
683 *link_up = FALSE; in ixgbe_check_mac_link_82598()
686 if (*link_up == FALSE) in ixgbe_check_mac_link_82598()
[all …]
HDixgbe_x550.c1531 bool link_up = FALSE; in ixgbe_reset_hw_X550em() local
1584 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_reset_hw_X550em()
1585 if (link_up) in ixgbe_reset_hw_X550em()
1885 static s32 ixgbe_ext_phy_t_x550em_get_link(struct ixgbe_hw *hw, bool *link_up) in ixgbe_ext_phy_t_x550em_get_link() argument
1890 *link_up = FALSE; in ixgbe_ext_phy_t_x550em_get_link()
1905 *link_up = !!(autoneg_status & IXGBE_MDIO_AUTO_NEG_LINK_STATUS); in ixgbe_ext_phy_t_x550em_get_link()
1925 bool link_up; in ixgbe_setup_internal_phy_t_x550em() local
1933 status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up); in ixgbe_setup_internal_phy_t_x550em()
1937 if (!link_up) in ixgbe_setup_internal_phy_t_x550em()
1947 status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up); in ixgbe_setup_internal_phy_t_x550em()
[all …]
HDixgbe_common.c164 bool link_up; in ixgbe_device_supports_autoneg_fc() local
172 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE); in ixgbe_device_supports_autoneg_fc()
174 if (link_up) in ixgbe_device_supports_autoneg_fc()
3006 bool link_up; in ixgbe_fc_autoneg() local
3022 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE); in ixgbe_fc_autoneg()
3023 if (!link_up) { in ixgbe_fc_autoneg()
3362 bool link_up = 0; in ixgbe_blink_led_start_generic() local
3374 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE); in ixgbe_blink_led_start_generic()
3376 if (!link_up) { in ixgbe_blink_led_start_generic()
4058 bool *link_up, bool link_up_wait_to_complete) in ixgbe_check_mac_link_generic() argument
[all …]
HDixgbe_82599.c780 bool link_up = FALSE; in ixgbe_setup_mac_link_smartspeed() local
822 status = ixgbe_check_link(hw, &link_speed, &link_up, in ixgbe_setup_mac_link_smartspeed()
827 if (link_up) in ixgbe_setup_mac_link_smartspeed()
857 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_setup_mac_link_smartspeed()
861 if (link_up) in ixgbe_setup_mac_link_smartspeed()
871 if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) in ixgbe_setup_mac_link_smartspeed()
1035 bool link_up = FALSE; in ixgbe_reset_hw_82599() local
1080 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_reset_hw_82599()
1081 if (link_up) in ixgbe_reset_hw_82599()
HDixgbe_x540.c960 bool link_up; in ixgbe_blink_led_start_X540() local
969 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE); in ixgbe_blink_led_start_X540()
970 if (link_up == FALSE) { in ixgbe_blink_led_start_X540()
/NextBSD/sys/dev/vnic/
HDthunder_bgx.c300 link->link_up = lmac->link_up; in bgx_get_lmac_link_state()
342 if (lmac->link_up) { in bgx_sgmii_change_link_state()
429 lmac->link_up = true; in bgx_lmac_handler()
431 lmac->link_up = false; in bgx_lmac_handler()
807 lmac->link_up = 1; in bgx_poll_for_link()
814 lmac->link_up = 0; in bgx_poll_for_link()
817 if (lmac->last_link != lmac->link_up) { in bgx_poll_for_link()
818 lmac->last_link = lmac->link_up; in bgx_poll_for_link()
819 if (lmac->link_up) in bgx_poll_for_link()
HDthunder_bgx_var.h37 boolean_t link_up; member
HDnic.h291 boolean_t link_up; member
443 uint8_t link_up; member
HDnicvf_main.c695 if (nic->link_up) { in nicvf_media_status()
865 nic->link_up = FALSE; in nicvf_handle_mbx_intr()
881 nic->link_up = mbx.link_status.link_up; in nicvf_handle_mbx_intr()
884 if (nic->link_up) { in nicvf_handle_mbx_intr()
/NextBSD/sys/dev/bxe/
HDbxe_elink.c1199 if (vars->link_up) { in elink_ets_get_min_w_val_nig()
2153 if (!vars->link_up) in elink_pfc_statistic()
3028 if (!vars->link_up) in elink_update_pfc()
5453 vars->link_up = (vars->link_status & LINK_STATUS_LINK_UP); in elink_sync_link()
5454 if (vars->link_up) { in elink_sync_link()
6372 uint16_t gp_status, duplex = DUPLEX_HALF, link_up = 0, speed_mask; in elink_link_settings_status() local
6383 link_up = 1; in elink_link_settings_status()
6386 gp_status, link_up, speed_mask); in elink_link_settings_status()
6387 rc = elink_get_link_speed_duplex(phy, params, vars, link_up, speed_mask, in elink_link_settings_status()
6446 uint16_t gp_status1, gp_speed, link_up, duplex = DUPLEX_FULL; in elink_warpcore_read_status() local
[all …]
/NextBSD/sys/dev/qlxge/
HDqls_inline.h47 if (ha->link_up) { in qls_get_optics()
HDqls_isr.c345 ha->link_up = 1; in qls_mbx_isr()
349 ha->link_up = 0; in qls_mbx_isr()
/NextBSD/sys/dev/ixl/
HDixl_pf.h89 bool link_up; member
HDixlv.h121 bool link_up; member
/NextBSD/sys/dev/nxge/include/
HDxgehal-driver.h211 xge_uld_link_up_f link_up; member
/NextBSD/sys/dev/qlxgbe/
HDql_isr.c759 prev_link_state = ha->hw.link_up; in ql_mbx_isr()
760 ha->hw.link_up = (((data & 0xFF) == 0) ? 0 : 1); in ql_mbx_isr()
762 if (prev_link_state != ha->hw.link_up) { in ql_mbx_isr()
763 if (ha->hw.link_up) in ql_mbx_isr()
/NextBSD/sys/dev/qlxgb/
HDqla_def.h119 link_up :1, member
/NextBSD/sys/dev/ixgb/
HDixgb_hw.c926 hw->link_up = TRUE; in ixgb_check_for_link()
930 hw->link_up = ixgb_link_reset(hw); in ixgb_check_for_link()
936 hw->link_up = ixgb_link_reset(hw); in ixgb_check_for_link()

1234