Home
last modified time | relevance | path

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

123456789

/linux/arch/mips/cavium-octeon/executive/
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()
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()
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/ethernet/intel/ixgbe/
A Dixgbe_82598.c282 bool link_up; in ixgbe_fc_enable_82598() local
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()
550 *link_up = false; in ixgbe_check_mac_link_82598()
557 *link_up = true; in ixgbe_check_mac_link_82598()
559 *link_up = false; in ixgbe_check_mac_link_82598()
[all …]
A Dixgbe_x550.c1939 *link_up = false; in ixgbe_check_link_t_X550em()
2101 bool link_up; in ixgbe_fc_autoneg_sgmii_x550em_a() local
2112 if (!link_up) in ixgbe_fc_autoneg_sgmii_x550em_a()
2608 *link_up = false; in ixgbe_ext_phy_t_x550em_get_link()
2640 bool link_up; in ixgbe_setup_internal_phy_t_x550em() local
2659 if (!link_up) in ixgbe_setup_internal_phy_t_x550em()
2673 if (!link_up) in ixgbe_setup_internal_phy_t_x550em()
2941 bool link_up; in ixgbe_fc_autoneg_backplane_x550em_a() local
2954 if (!link_up) { in ixgbe_fc_autoneg_backplane_x550em_a()
3029 bool link_up; in ixgbe_enter_lplu_t_x550em() local
[all …]
A Dixgbe_common.c53 bool link_up; in ixgbe_device_supports_autoneg_fc() local
66 if (link_up) in ixgbe_device_supports_autoneg_fc()
2412 bool link_up; in ixgbe_fc_autoneg() local
2427 if (!link_up) in ixgbe_fc_autoneg()
2768 if (!link_up) { in ixgbe_blink_led_start_generic()
3321 *link_up = false; in ixgbe_check_mac_link_generic()
3340 *link_up = true; in ixgbe_check_mac_link_generic()
3350 *link_up = true; in ixgbe_check_mac_link_generic()
3352 *link_up = false; in ixgbe_check_mac_link_generic()
4259 if (link_up) in ixgbe_setup_mac_link_multispeed_fiber()
[all …]
A Dixgbe_82599.c667 bool link_up = false; in ixgbe_setup_mac_link_smartspeed() local
708 &link_up, false); in ixgbe_setup_mac_link_smartspeed()
712 if (link_up) in ixgbe_setup_mac_link_smartspeed()
743 &link_up, false); in ixgbe_setup_mac_link_smartspeed()
747 if (link_up) in ixgbe_setup_mac_link_smartspeed()
757 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
958 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_82599()
959 if (link_up) in ixgbe_reset_hw_82599()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
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/usb/
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/
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/cavium/thunder/
A Dthunder_bgx.c54 bool link_up; member
217 link->link_up = lmac->link_up; in bgx_get_lmac_link_state()
536 if (lmac->link_up) { 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()
977 lmac->link_up = false; in bgx_poll_for_sgmii_link()
986 if (lmac->link_up) in bgx_poll_for_sgmii_link()
1016 lmac->link_up = true; in bgx_poll_for_link()
1023 lmac->link_up = false; in bgx_poll_for_link()
[all …]
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/ethernet/intel/igc/
A 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/drivers/net/ethernet/ti/
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/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_link.c5635 link_up = 1; in bnx2x_link_settings_status()
5719 if (link_up) in bnx2x_warpcore_read_status()
5803 link_up = !!link_up; in bnx2x_warpcore_read_status()
6455 u16 link_up; in bnx2x_test_link() local
7601 link_up = 1; in bnx2x_8073_read_status()
7606 link_up = 1; in bnx2x_8073_read_status()
7611 link_up = 1; in bnx2x_8073_read_status()
7616 link_up = 0; in bnx2x_8073_read_status()
9564 link_up = 1; in bnx2x_8727_read_status()
9569 link_up = 1; in bnx2x_8727_read_status()
[all …]
/linux/sound/hda/ext/
A 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()
/linux/drivers/staging/octeon/
A 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/drivers/net/ethernet/huawei/hinic/
A Dhinic_sriov.c413 bool link_forced, link_up; in hinic_get_vf_link_status_msg_handler() local
418 link_up = vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up; in hinic_get_vf_link_status_msg_handler()
421 get_link->state = link_up ? in hinic_get_vf_link_status_msg_handler()
572 else if (vfinfo->link_up) in hinic_get_vf_config()
976 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up = nic_io->link_status ? in hinic_set_vf_link_state()
982 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up = true; in hinic_set_vf_link_state()
987 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_up = false; in hinic_set_vf_link_state()
1100 vf_infos[vf_id].link_up = true; in hinic_init_vf_infos()
1104 vf_infos[vf_id].link_up = false; in hinic_init_vf_infos()
/linux/drivers/infiniband/hw/usnic/
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/tundra/
A 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()
/linux/drivers/net/ethernet/sfc/
A 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()
/linux/drivers/net/ethernet/sfc/falcon/
A 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()
/linux/drivers/pci/controller/mobiveil/
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/drivers/net/dsa/b53/
A 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()
/linux/drivers/pci/controller/
A Dpci-xgene.c70 bool link_up; member
315 port->link_up = false; in xgene_pcie_linkup()
318 port->link_up = true; in xgene_pcie_linkup()
574 if (!port->link_up) in xgene_pcie_setup()

Completed in 257 milliseconds

123456789