| /NextBSD/sys/contrib/octeon-sdk/ |
| HD | cvmx-helper-board.c | 672 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 …]
|
| HD | cvmx-helper-spi.c | 217 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()
|
| HD | cvmx-helper-sgmii.c | 306 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()
|
| HD | cvmx-helper-ilk.c | 375 result.s.link_up = 1; in __cvmx_helper_ilk_link_get() 383 if (result.s.link_up) in __cvmx_helper_ilk_link_get()
|
| HD | cvmx-helper.h | 145 uint64_t link_up : 1; /**< Is the physical link up? */ member
|
| HD | cvmx-helper-xaui.c | 370 result.s.link_up = 1; in __cvmx_helper_xaui_link_get() 429 if (!link_info.s.link_up) in __cvmx_helper_xaui_link_set()
|
| HD | cvmx-helper-rgmii.c | 308 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/ |
| HD | ixgbe_82598.c | 55 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 …]
|
| HD | ixgbe_x550.c | 1531 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 …]
|
| HD | ixgbe_common.c | 164 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 …]
|
| HD | ixgbe_82599.c | 780 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()
|
| HD | ixgbe_x540.c | 960 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/ |
| HD | thunder_bgx.c | 300 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()
|
| HD | thunder_bgx_var.h | 37 boolean_t link_up; member
|
| HD | nic.h | 291 boolean_t link_up; member 443 uint8_t link_up; member
|
| HD | nicvf_main.c | 695 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/ |
| HD | bxe_elink.c | 1199 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/ |
| HD | qls_inline.h | 47 if (ha->link_up) { in qls_get_optics()
|
| HD | qls_isr.c | 345 ha->link_up = 1; in qls_mbx_isr() 349 ha->link_up = 0; in qls_mbx_isr()
|
| /NextBSD/sys/dev/ixl/ |
| HD | ixl_pf.h | 89 bool link_up; member
|
| HD | ixlv.h | 121 bool link_up; member
|
| /NextBSD/sys/dev/nxge/include/ |
| HD | xgehal-driver.h | 211 xge_uld_link_up_f link_up; member
|
| /NextBSD/sys/dev/qlxgbe/ |
| HD | ql_isr.c | 759 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/ |
| HD | qla_def.h | 119 link_up :1, member
|
| /NextBSD/sys/dev/ixgb/ |
| HD | ixgb_hw.c | 926 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()
|