Home
last modified time | relevance | path

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

12345678

/linux/arch/mips/cavium-octeon/executive/
H A 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()
H A 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()
H A 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/drivers/net/usb/
H A 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/arch/mips/pci/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A 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/drivers/net/ethernet/cavium/thunder/
H A 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()
619 lmac->link_up = true; in bgx_lmac_handler()
621 lmac->link_up = false; in bgx_lmac_handler()
956 lmac->link_up = false; in bgx_poll_for_sgmii_link()
962 lmac->link_up = ((pcs_link & PCS_MRX_STATUS_LINK) != 0) ? true : false; in bgx_poll_for_sgmii_link()
979 lmac->link_up = false; in bgx_poll_for_sgmii_link()
[all …]
H A 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/drivers/net/dsa/mv88e6xxx/
H A 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/drivers/net/ethernet/ti/
H A 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/sound/hda/ext/
H A 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/drivers/net/ethernet/broadcom/bnx2x/
H A 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/drivers/staging/octeon/
H A Dethernet-mdio.c68 if (li.s.link_up) { in cvm_oct_note_carrier()
85 link_info.s.link_up = dev->phydev->link ? 1 : 0; in cvm_oct_adjust_link()
/linux/tools/testing/selftests/net/
H A Dndisc_unsolicited_na_test.sh132 link_up() { function
164 link_up
/linux/drivers/infiniband/hw/usnic/
H A 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/drivers/net/ethernet/intel/ixgbe/
H A 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()
2399 bool link_up; in ixgbe_fc_autoneg() local
2413 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_fc_autoneg()
2414 if (!link_up) in ixgbe_fc_autoneg()
2742 bool link_up = false; in ixgbe_blink_led_start_generic() local
2753 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_blink_led_start_generic()
2755 if (!link_up) { in ixgbe_blink_led_start_generic()
3280 bool *link_up, bool link_up_wait_to_complete) in ixgbe_check_mac_link_generic() argument
[all …]
H A Dixgbe_82599.c668 bool link_up = false; in ixgbe_setup_mac_link_smartspeed() local
710 &link_up, false); in ixgbe_setup_mac_link_smartspeed()
714 if (link_up) in ixgbe_setup_mac_link_smartspeed()
745 &link_up, false); in ixgbe_setup_mac_link_smartspeed()
749 if (link_up) in ixgbe_setup_mac_link_smartspeed()
759 if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) in ixgbe_setup_mac_link_smartspeed()
915 bool link_up = false; in ixgbe_reset_hw_82599() local
960 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_82599()
961 if (link_up) in ixgbe_reset_hw_82599()
/linux/drivers/net/ethernet/huawei/hinic/
H A 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/drivers/accel/qaic/
H A Dmhi_controller.h12 void qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up);
/linux/drivers/net/ethernet/sfc/
H A Dselftest.c590 bool link_up; in efx_wait_for_link() local
602 link_up = link_state->up; in efx_wait_for_link()
603 if (link_up) in efx_wait_for_link()
604 link_up = !efx->type->check_mac_fault(efx); in efx_wait_for_link()
607 if (link_up) { in efx_wait_for_link()
/linux/drivers/net/ethernet/sfc/siena/
H A 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()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dselftest.c597 bool link_up; in ef4_wait_for_link() local
609 link_up = link_state->up; in ef4_wait_for_link()
610 if (link_up) in ef4_wait_for_link()
611 link_up = !efx->type->check_mac_fault(efx); in ef4_wait_for_link()
614 if (link_up) { in ef4_wait_for_link()
/linux/drivers/pci/controller/mobiveil/
H A 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/arch/mips/include/asm/octeon/
H A Dcvmx-helper.h58 uint64_t link_up:1; /**< Is the physical link up? */ member
/linux/drivers/pci/controller/
H A Dpci-xgene.c68 bool link_up; member
314 port->link_up = false; in xgene_pcie_linkup()
317 port->link_up = true; in xgene_pcie_linkup()
584 if (!port->link_up) in xgene_pcie_setup()

12345678