Home
last modified time | relevance | path

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

123456789

/Linux-v6.6/arch/mips/cavium-octeon/executive/
Dcvmx-helper-spi.c152 result.s.link_up = 1; in __cvmx_helper_spi_link_get()
158 result.s.link_up = inband.s.status; in __cvmx_helper_spi_link_get()
172 result.s.link_up = 0; in __cvmx_helper_spi_link_get()
178 result.s.link_up = 1; in __cvmx_helper_spi_link_get()
Dcvmx-helper-sgmii.c243 pcsx_miscx_ctl_reg.s.gmxeno = !link_info.s.link_up; in __cvmx_helper_sgmii_hardware_init_link_speed()
246 if (link_info.s.link_up) in __cvmx_helper_sgmii_hardware_init_link_speed()
409 result.s.link_up = 1; in __cvmx_helper_sgmii_link_get()
419 result.s.link_up = 1; in __cvmx_helper_sgmii_link_get()
463 result.s.link_up = in __cvmx_helper_sgmii_link_get()
477 result.s.link_up = 0; in __cvmx_helper_sgmii_link_get()
486 result.s.link_up = 0; in __cvmx_helper_sgmii_link_get()
Dcvmx-helper-board.c222 result.s.link_up = 1; in __cvmx_helper_board_link_get()
244 result.s.link_up = inband_status.s.status; in __cvmx_helper_board_link_get()
271 if (!result.s.link_up) in __cvmx_helper_board_link_get()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c282 bool link_up; in ixgbe_fc_enable_82598() local
305 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_fc_enable_82598()
306 if (link_up && link_speed == IXGBE_LINK_SPEED_1GB_FULL) { in ixgbe_fc_enable_82598()
497 ixgbe_link_speed *speed, bool *link_up, in ixgbe_check_mac_link_82598() argument
519 *link_up = true; in ixgbe_check_mac_link_82598()
522 *link_up = false; in ixgbe_check_mac_link_82598()
534 *link_up = true; in ixgbe_check_mac_link_82598()
536 *link_up = false; in ixgbe_check_mac_link_82598()
539 if (!*link_up) in ixgbe_check_mac_link_82598()
547 *link_up = true; in ixgbe_check_mac_link_82598()
[all …]
Dixgbe_x550.c1958 bool *link_up, in ixgbe_check_link_t_X550em() argument
1967 status = ixgbe_check_mac_link_generic(hw, speed, link_up, in ixgbe_check_link_t_X550em()
1971 if (status || !(*link_up)) in ixgbe_check_link_t_X550em()
1989 *link_up = false; in ixgbe_check_link_t_X550em()
2151 bool link_up; in ixgbe_fc_autoneg_sgmii_x550em_a() local
2161 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_fc_autoneg_sgmii_x550em_a()
2162 if (!link_up) in ixgbe_fc_autoneg_sgmii_x550em_a()
2653 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
2658 *link_up = false; in ixgbe_ext_phy_t_x550em_get_link()
2671 *link_up = !!(autoneg_status & IXGBE_MDIO_AUTO_NEG_LINK_STATUS); in ixgbe_ext_phy_t_x550em_get_link()
[all …]
Dixgbe_common.c53 bool link_up; in ixgbe_device_supports_autoneg_fc() local
64 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_device_supports_autoneg_fc()
66 if (link_up) in ixgbe_device_supports_autoneg_fc()
2412 bool link_up; in ixgbe_fc_autoneg() local
2426 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_fc_autoneg()
2427 if (!link_up) in ixgbe_fc_autoneg()
2753 bool link_up = false; in ixgbe_blink_led_start_generic() local
2766 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_blink_led_start_generic()
2768 if (!link_up) { in ixgbe_blink_led_start_generic()
3293 bool *link_up, bool link_up_wait_to_complete) in ixgbe_check_mac_link_generic() argument
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmp.c62 tracker.netdev_state[MLX5_LAG_P1].link_up = true; in mlx5_lag_set_port_affinity()
63 tracker.netdev_state[MLX5_LAG_P2].link_up = true; in mlx5_lag_set_port_affinity()
67 tracker.netdev_state[MLX5_LAG_P1].link_up = true; in mlx5_lag_set_port_affinity()
69 tracker.netdev_state[MLX5_LAG_P2].link_up = false; in mlx5_lag_set_port_affinity()
73 tracker.netdev_state[MLX5_LAG_P1].link_up = false; in mlx5_lag_set_port_affinity()
75 tracker.netdev_state[MLX5_LAG_P2].link_up = true; in mlx5_lag_set_port_affinity()
/Linux-v6.6/arch/mips/pci/
Dpci-ar724x.c47 bool link_up; member
82 if (!apc->link_up) in ar724x_pci_local_write()
121 if (!apc->link_up) in ar724x_pci_read()
169 if (!apc->link_up) in ar724x_pci_write()
422 apc->link_up = ar724x_pci_check_link(apc); in ar724x_pci_probe()
423 if (!apc->link_up) in ar724x_pci_probe()
/Linux-v6.6/drivers/net/usb/
Dsierra_net.c64 u16 link_up; /* air link up or down */ member
416 int link_up; in sierra_net_handle_lsi() local
418 link_up = sierra_net_parse_lsi(dev, data + hh->hdrlen, in sierra_net_handle_lsi()
420 if (link_up < 0) { in sierra_net_handle_lsi()
424 if (link_up) { in sierra_net_handle_lsi()
426 priv->link_up = 1; in sierra_net_handle_lsi()
428 priv->link_up = 0; in sierra_net_handle_lsi()
430 usbnet_link_change(dev, link_up, 0); in sierra_net_handle_lsi()
623 return sierra_net_get_private(dev)->link_up && netif_running(net); in sierra_net_get_link()
869 if (priv->link_up && check_ethip_packet(skb, dev) && is_ip(skb)) { in sierra_net_tx_fixup()
[all …]
/Linux-v6.6/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c54 bool link_up; member
217 link->link_up = lmac->link_up; in bgx_get_lmac_link_state()
429 xcv_setup_link(enable ? lmac->link_up : 0, lmac->last_speed); in bgx_lmac_rx_tx_enable()
536 if (lmac->link_up) { in bgx_sgmii_change_link_state()
588 xcv_setup_link(lmac->link_up, lmac->last_speed); in bgx_sgmii_change_link_state()
617 lmac->link_up = true; in bgx_lmac_handler()
619 lmac->link_up = false; in bgx_lmac_handler()
954 lmac->link_up = false; in bgx_poll_for_sgmii_link()
960 lmac->link_up = ((pcs_link & PCS_MRX_STATUS_LINK) != 0) ? true : false; in bgx_poll_for_sgmii_link()
977 lmac->link_up = false; in bgx_poll_for_sgmii_link()
[all …]
Dthunder_xcv.c110 void xcv_setup_link(bool link_up, int link_speed) in xcv_setup_link() argument
125 if (link_up) { in xcv_setup_link()
/Linux-v6.6/drivers/net/dsa/mv88e6xxx/
Dpcs-6185.c34 bool link_up; in mv88e6185_pcs_handle_irq() local
47 link_up = !!(status & MV88E6XXX_PORT_STS_LINK); in mv88e6185_pcs_handle_irq()
49 phylink_pcs_change(&mpcs->phylink_pcs, link_up); in mv88e6185_pcs_handle_irq()
/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc_diag.c171 bool link_up; in igc_link_test() local
179 link_up = igc_has_link(adapter); in igc_link_test()
180 if (!link_up) { in igc_link_test()
/Linux-v6.6/drivers/net/ethernet/ti/
Dnetcp_xgbepcsr.c395 int retries = 0, link_up; in netcp_xgbe_serdes_check_lane() local
402 link_up = netcp_xgbe_check_link_status(serdes_regs, sw_regs, 2, in netcp_xgbe_serdes_check_lane()
409 if (link_up) in netcp_xgbe_serdes_check_lane()
423 } while (!link_up); in netcp_xgbe_serdes_check_lane()
/Linux-v6.6/sound/hda/ext/
Dhdac_ext_controller.c325 bool link_up = false; in snd_hdac_ext_bus_link_put() local
342 link_up = true; in snd_hdac_ext_bus_link_put()
347 if (!link_up) { in snd_hdac_ext_bus_link_put()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c502 if (vars->link_up) { in bnx2x_ets_get_min_w_val_nig()
2236 if (!vars->link_up) in bnx2x_update_pfc()
4705 vars->link_up = (vars->link_status & LINK_STATUS_LINK_UP); in bnx2x_sync_link()
4706 if (vars->link_up) { in bnx2x_sync_link()
5624 u16 gp_status, duplex = DUPLEX_HALF, link_up = 0, speed_mask; in bnx2x_link_settings_status() local
5635 link_up = 1; in bnx2x_link_settings_status()
5638 gp_status, link_up, speed_mask); in bnx2x_link_settings_status()
5639 rc = bnx2x_get_link_speed_duplex(phy, params, vars, link_up, speed_mask, in bnx2x_link_settings_status()
5698 u16 gp_status1, gp_speed, link_up, duplex = DUPLEX_FULL; in bnx2x_warpcore_read_status() local
5705 MDIO_WC_REG_DIGITAL5_LINK_STATUS, &link_up); in bnx2x_warpcore_read_status()
[all …]
/Linux-v6.6/drivers/staging/octeon/
Dethernet-mdio.c70 if (li.s.link_up) { in cvm_oct_note_carrier()
87 link_info.s.link_up = dev->phydev->link ? 1 : 0; in cvm_oct_adjust_link()
/Linux-v6.6/tools/testing/selftests/net/
Dndisc_unsolicited_na_test.sh137 link_up() { function
169 link_up
/Linux-v6.6/drivers/infiniband/hw/usnic/
Dusnic_fwd.c131 ufdev->link_up = 1; in usnic_fwd_carrier_up()
138 ufdev->link_up = 0; in usnic_fwd_carrier_down()
153 if (!ufdev->link_up) in usnic_fwd_dev_ready_locked()
/Linux-v6.6/drivers/accel/qaic/
Dmhi_controller.h12 void qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up);
/Linux-v6.6/drivers/net/ethernet/tundra/
Dtsi108_eth.c99 unsigned int link_up; member
156 data->link_up, data->speed, data->duplex); in dump_eth_one()
322 if (data->link_up == 0) { in tsi108_check_phy()
332 data->link_up = 1; in tsi108_check_phy()
336 if (data->link_up == 1) { in tsi108_check_phy()
338 data->link_up = 0; in tsi108_check_phy()
627 if (is_valid_ether_addr(dev->dev_addr) && data->link_up) in tsi108_complete_tx()
641 if (!data->link_up) { in tsi108_send_packet()
1146 if (data->txfree && data->link_up) in tsi108_set_mac()
1242 data->link_up = 0; in tsi108_init_phy()
/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c414 bool link_forced, link_up; in hinic_get_vf_link_status_msg_handler() local
419 link_up = vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up; in hinic_get_vf_link_status_msg_handler()
422 get_link->state = link_up ? in hinic_get_vf_link_status_msg_handler()
591 else if (vfinfo->link_up) in hinic_get_vf_config()
989 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up = nic_io->link_status ? in hinic_set_vf_link_state()
995 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up = true; in hinic_set_vf_link_state()
1000 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up = false; in hinic_set_vf_link_state()
1113 vf_infos[vf_id].link_up = true; in hinic_init_vf_infos()
1117 vf_infos[vf_id].link_up = false; in hinic_init_vf_infos()
/Linux-v6.6/drivers/pci/controller/mobiveil/
Dpcie-mobiveil.c129 if (pcie->ops->link_up) in mobiveil_pcie_link_up()
130 return pcie->ops->link_up(pcie); in mobiveil_pcie_link_up()
/Linux-v6.6/arch/mips/include/asm/octeon/
Dcvmx-helper.h58 uint64_t link_up:1; /**< Is the physical link up? */ member
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Dselftest.c595 bool link_up; in efx_wait_for_link() local
607 link_up = link_state->up; in efx_wait_for_link()
608 if (link_up) in efx_wait_for_link()
609 link_up = !efx->type->check_mac_fault(efx); in efx_wait_for_link()
612 if (link_up) { in efx_wait_for_link()

123456789