Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c1908 bool *link_up, in ixgbe_check_link_t_X550em() argument
1917 status = ixgbe_check_mac_link_generic(hw, speed, link_up, in ixgbe_check_link_t_X550em()
1921 if (status || !(*link_up)) in ixgbe_check_link_t_X550em()
1939 *link_up = false; in ixgbe_check_link_t_X550em()
2101 bool link_up; in ixgbe_fc_autoneg_sgmii_x550em_a() local
2111 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_fc_autoneg_sgmii_x550em_a()
2112 if (!link_up) in ixgbe_fc_autoneg_sgmii_x550em_a()
2603 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
2608 *link_up = false; in ixgbe_ext_phy_t_x550em_get_link()
2621 *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()
2411 bool link_up; in ixgbe_fc_autoneg() local
2425 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_fc_autoneg()
2426 if (!link_up) in ixgbe_fc_autoneg()
2752 bool link_up = false; in ixgbe_blink_led_start_generic() local
2765 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_blink_led_start_generic()
2767 if (!link_up) { in ixgbe_blink_led_start_generic()
3292 bool *link_up, bool link_up_wait_to_complete) in ixgbe_check_mac_link_generic() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dlag_mp.c59 tracker.netdev_state[MLX5_LAG_P1].link_up = true; in mlx5_lag_set_port_affinity()
60 tracker.netdev_state[MLX5_LAG_P2].link_up = true; in mlx5_lag_set_port_affinity()
64 tracker.netdev_state[MLX5_LAG_P1].link_up = true; in mlx5_lag_set_port_affinity()
66 tracker.netdev_state[MLX5_LAG_P2].link_up = false; in mlx5_lag_set_port_affinity()
70 tracker.netdev_state[MLX5_LAG_P1].link_up = false; in mlx5_lag_set_port_affinity()
72 tracker.netdev_state[MLX5_LAG_P2].link_up = true; in mlx5_lag_set_port_affinity()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
867 if (priv->link_up && check_ethip_packet(skb, dev) && is_ip(skb)) { in sierra_net_tx_fixup()
[all …]
/kernel/linux/linux-5.10/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()
620 lmac->link_up = true; in bgx_lmac_handler()
622 lmac->link_up = false; in bgx_lmac_handler()
957 lmac->link_up = false; in bgx_poll_for_sgmii_link()
963 lmac->link_up = ((pcs_link & PCS_MRX_STATUS_LINK) != 0) ? true : false; in bgx_poll_for_sgmii_link()
980 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/hda/ext/
Dhdac_ext_controller.c303 bool link_up = false; in snd_hdac_ext_bus_link_put() local
320 link_up = true; in snd_hdac_ext_bus_link_put()
325 if (!link_up) { in snd_hdac_ext_bus_link_put()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c412 bool link_forced, link_up; in hinic_get_vf_link_status_msg_handler() local
417 link_up = vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up; in hinic_get_vf_link_status_msg_handler()
420 get_link->state = link_up ? in hinic_get_vf_link_status_msg_handler()
571 else if (vfinfo->link_up) in hinic_get_vf_config()
973 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up = nic_io->link_status ? in hinic_set_vf_link_state()
979 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up = true; in hinic_set_vf_link_state()
984 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up = false; in hinic_set_vf_link_state()
1097 vf_infos[vf_id].link_up = true; in hinic_init_vf_infos()
1101 vf_infos[vf_id].link_up = false; in hinic_init_vf_infos()
/kernel/linux/linux-5.10/include/linux/pcs/
Dpcs-xpcs.h27 int (*link_up)(struct mdio_xpcs_args *xpcs, int speed, member
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-helper.h58 uint64_t link_up:1; /**< Is the physical link up? */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dselftest.c583 bool link_up; in efx_wait_for_link() local
595 link_up = link_state->up; in efx_wait_for_link()
596 if (link_up) in efx_wait_for_link()
597 link_up = !efx->type->check_mac_fault(efx); in efx_wait_for_link()
600 if (link_up) { in efx_wait_for_link()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dselftest.c585 bool link_up; in ef4_wait_for_link() local
597 link_up = link_state->up; in ef4_wait_for_link()
598 if (link_up) in ef4_wait_for_link()
599 link_up = !efx->type->check_mac_fault(efx); in ef4_wait_for_link()
602 if (link_up) { in ef4_wait_for_link()
/kernel/linux/linux-5.10/drivers/net/dsa/b53/
Db53_serdes.c142 phy_interface_t interface, bool link_up) in b53_serdes_link_set() argument
152 if (link_up) in b53_serdes_link_set()
/kernel/linux/linux-5.10/drivers/net/ethernet/tundra/
Dtsi108_eth.c102 unsigned int link_up; member
169 data->link_up, data->speed, data->duplex); in dump_eth_one()
335 if (data->link_up == 0) { in tsi108_check_phy()
345 data->link_up = 1; in tsi108_check_phy()
349 if (data->link_up == 1) { in tsi108_check_phy()
351 data->link_up = 0; in tsi108_check_phy()
640 if (is_valid_ether_addr(dev->dev_addr) && data->link_up) in tsi108_complete_tx()
654 if (!data->link_up) { in tsi108_send_packet()
1158 if (data->txfree && data->link_up) in tsi108_set_mac()
1254 data->link_up = 0; in tsi108_init_phy()

123456789