sbin/ifconfig/af_link.c
228
.af_status = link_status,
sbin/ifconfig/af_link.c
241
.af_status = link_status,
sbin/ifconfig/af_link.c
254
.af_status = link_status,
sys/dev/axgbe/if_axgbe_pci.c
2289
pdata->phy_link, sc->link_status, pdata->phy.speed);
sys/dev/axgbe/if_axgbe_pci.c
2295
if (sc->link_status == LINK_STATE_DOWN) {
sys/dev/axgbe/if_axgbe_pci.c
2296
sc->link_status = LINK_STATE_UP;
sys/dev/axgbe/if_axgbe_pci.c
2314
if (sc->link_status == LINK_STATE_UP) {
sys/dev/axgbe/if_axgbe_pci.c
2315
sc->link_status = LINK_STATE_DOWN;
sys/dev/axgbe/if_axgbe_pci.c
411
sc->link_status = LINK_STATE_DOWN;
sys/dev/axgbe/xgbe-mdio.c
1372
pdata->phy.link = pdata->phy_if.phy_impl.link_status(pdata,
sys/dev/axgbe/xgbe-phy-v1.c
684
phy_impl->link_status = xgbe_phy_link_status;
sys/dev/axgbe/xgbe-phy-v2.c
4043
phy_impl->link_status = xgbe_phy_link_status;
sys/dev/axgbe/xgbe.h
1313
unsigned int link_status;
sys/dev/axgbe/xgbe.h
854
int (*link_status)(struct xgbe_prv_data *, int *);
sys/dev/bce/if_bce.c
823
u16 link_status = pci_read_config(dev, reg + 0x12, 2);
sys/dev/bce/if_bce.c
825
"0x%08X\n", link_status);
sys/dev/bce/if_bce.c
826
sc->link_speed = link_status & 0xf;
sys/dev/bce/if_bce.c
827
sc->link_width = (link_status >> 4) & 0x3f;
sys/dev/bxe/bxe.c
11628
if ((sc->link_vars.link_status & LINK_STATUS_SERDES_LINK) &&
sys/dev/bxe/bxe.c
11891
sc->link_vars.link_status = (LINK_STATUS_LINK_UP |
sys/dev/bxe/bxe.c
11896
sc->link_vars.link_status = (LINK_STATUS_LINK_UP |
sys/dev/bxe/bxe.c
13189
uint16_t link_status;
sys/dev/bxe/bxe.c
13202
link_status = bxe_pcie_capability_read(sc, PCIER_LINK_STA, 2);
sys/dev/bxe/bxe.c
13212
((link_status & PCIEM_LINK_STA_WIDTH) >> 4);
sys/dev/bxe/bxe.c
13215
((link_status & PCIEM_LINK_STA_WIDTH) >> 4) >> 1;
sys/dev/bxe/bxe.c
13219
(link_status & PCIEM_LINK_STA_SPEED);
sys/dev/bxe/bxe.c
13221
((link_status & PCIEM_LINK_STA_WIDTH) >> 4);
sys/dev/bxe/bxe_elink.c
1000
link_status = REG_RD(sc, params->shmem_base +
sys/dev/bxe/bxe_elink.c
1002
port_mb[params->port].link_status));
sys/dev/bxe/bxe_elink.c
1003
if (!(link_status & LINK_STATUS_LINK_UP))
sys/dev/bxe/bxe_elink.c
10377
uint16_t link_status = 0;
sys/dev/bxe/bxe_elink.c
10470
MDIO_PMA_REG_8073_SPEED_LINK_STATUS, &link_status);
sys/dev/bxe/bxe_elink.c
10475
if ((link_status & (1<<2)) && (!(link_status & (1<<15)))) {
sys/dev/bxe/bxe_elink.c
10480
} else if ((link_status & (1<<0)) && (!(link_status & (1<<13)))) {
sys/dev/bxe/bxe_elink.c
11423
vars->link_status |=
sys/dev/bxe/bxe_elink.c
11430
vars->link_status |=
sys/dev/bxe/bxe_elink.c
11443
vars->link_status |=
sys/dev/bxe/bxe_elink.c
11446
vars->link_status |=
sys/dev/bxe/bxe_elink.c
11449
vars->link_status |=
sys/dev/bxe/bxe_elink.c
11452
vars->link_status |=
sys/dev/bxe/bxe_elink.c
11455
vars->link_status |=
sys/dev/bxe/bxe_elink.c
11462
vars->link_status |=
sys/dev/bxe/bxe_elink.c
11465
vars->link_status |=
sys/dev/bxe/bxe_elink.c
11472
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12166
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12172
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12180
if (vars->link_status & LINK_STATUS_AUTO_NEGOTIATE_COMPLETE) {
sys/dev/bxe/bxe_elink.c
12185
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12188
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12191
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12194
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12197
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12202
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12205
vars->link_status |=
sys/dev/bxe/bxe_elink.c
12342
vars->link_status |=
sys/dev/bxe/bxe_elink.c
13510
vars->link_status = ELINK_LINK_10TFD;
sys/dev/bxe/bxe_elink.c
13513
vars->link_status = ELINK_LINK_100TXFD;
sys/dev/bxe/bxe_elink.c
13516
vars->link_status = ELINK_LINK_1000TFD;
sys/dev/bxe/bxe_elink.c
13519
vars->link_status = ELINK_LINK_2500TFD;
sys/dev/bxe/bxe_elink.c
13526
vars->link_status |= LINK_STATUS_LINK_UP;
sys/dev/bxe/bxe_elink.c
13543
vars->link_status = ELINK_LINK_10GTFD;
sys/dev/bxe/bxe_elink.c
13546
vars->link_status = ELINK_LINK_20GTFD;
sys/dev/bxe/bxe_elink.c
13553
vars->link_status |= LINK_STATUS_LINK_UP;
sys/dev/bxe/bxe_elink.c
13574
vars->link_status = (LINK_STATUS_LINK_UP |
sys/dev/bxe/bxe_elink.c
13583
vars->link_status = (LINK_STATUS_LINK_UP |
sys/dev/bxe/bxe_elink.c
13603
elink_update_mng(params, vars->link_status);
sys/dev/bxe/bxe_elink.c
13618
vars->link_status |= (LINK_STATUS_TX_FLOW_CONTROL_ENABLED |
sys/dev/bxe/bxe_elink.c
13627
vars->link_status = ELINK_LINK_2500TFD;
sys/dev/bxe/bxe_elink.c
13630
vars->link_status = ELINK_LINK_1000XFD;
sys/dev/bxe/bxe_elink.c
13633
vars->link_status = ELINK_LINK_100TXFD;
sys/dev/bxe/bxe_elink.c
13636
vars->link_status = ELINK_LINK_10TFD;
sys/dev/bxe/bxe_elink.c
13643
vars->link_status |= LINK_STATUS_LINK_UP;
sys/dev/bxe/bxe_elink.c
13650
vars->link_status = (LINK_STATUS_LINK_UP | ELINK_LINK_10GTFD);
sys/dev/bxe/bxe_elink.c
13665
elink_update_mng(params, vars->link_status);
sys/dev/bxe/bxe_elink.c
13964
vars->link_status = 0;
sys/dev/bxe/bxe_elink.c
14015
vars->link_status |= LINK_STATUS_PFC_ENABLED;
sys/dev/bxe/bxe_elink.c
14064
elink_update_mng(params, vars->link_status);
sys/dev/bxe/bxe_elink.c
14077
vars->link_status = 0;
sys/dev/bxe/bxe_elink.c
14079
elink_update_mng(params, vars->link_status);
sys/dev/bxe/bxe_elink.c
14735
vars->link_status &= ~LINK_STATUS_LINK_UP;
sys/dev/bxe/bxe_elink.c
14736
vars->link_status |= link_flag;
sys/dev/bxe/bxe_elink.c
14747
vars->link_status |= LINK_STATUS_LINK_UP;
sys/dev/bxe/bxe_elink.c
14748
vars->link_status &= ~link_flag;
sys/dev/bxe/bxe_elink.c
14761
elink_update_mng(params, vars->link_status);
sys/dev/bxe/bxe_elink.c
14865
vars->link_status |= LINK_STATUS_SFP_TX_FAULT;
sys/dev/bxe/bxe_elink.c
14868
vars->link_status &= ~LINK_STATUS_SFP_TX_FAULT;
sys/dev/bxe/bxe_elink.c
14995
} else if (vars->link_status &
sys/dev/bxe/bxe_elink.c
14998
vars->link_status &= ~LINK_STATUS_SFP_TX_FAULT;
sys/dev/bxe/bxe_elink.c
15001
elink_update_mng(params, vars->link_status);
sys/dev/bxe/bxe_elink.c
2924
static void elink_update_mng(struct elink_params *params, uint32_t link_status)
sys/dev/bxe/bxe_elink.c
2930
port_mb[params->port].link_status), link_status);
sys/dev/bxe/bxe_elink.c
3042
vars->link_status |= LINK_STATUS_PFC_ENABLED;
sys/dev/bxe/bxe_elink.c
3044
vars->link_status &= ~LINK_STATUS_PFC_ENABLED;
sys/dev/bxe/bxe_elink.c
3046
elink_update_mng(params, vars->link_status);
sys/dev/bxe/bxe_elink.c
4273
vars->link_status |= LINK_STATUS_AUTO_NEGOTIATE_ENABLED;
sys/dev/bxe/bxe_elink.c
4351
vars->link_status |= LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE;
sys/dev/bxe/bxe_elink.c
4353
vars->link_status |= LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE;
sys/dev/bxe/bxe_elink.c
4426
else if (vars->link_status & LINK_STATUS_AUTO_NEGOTIATE_COMPLETE) {
sys/dev/bxe/bxe_elink.c
5537
if (vars->link_status & LINK_STATUS_PHYSICAL_LINK_FLAG)
sys/dev/bxe/bxe_elink.c
5539
vars->link_up = (vars->link_status & LINK_STATUS_LINK_UP);
sys/dev/bxe/bxe_elink.c
5542
ELINK_DEBUG_P1(sc, "link status = %x\n", vars->link_status);
sys/dev/bxe/bxe_elink.c
5546
switch (vars->link_status &
sys/dev/bxe/bxe_elink.c
5587
if (vars->link_status & LINK_STATUS_TX_FLOW_CONTROL_ENABLED)
sys/dev/bxe/bxe_elink.c
5590
if (vars->link_status & LINK_STATUS_RX_FLOW_CONTROL_ENABLED)
sys/dev/bxe/bxe_elink.c
5632
if (vars->link_status & LINK_STATUS_PHYSICAL_LINK_FLAG)
sys/dev/bxe/bxe_elink.c
5634
if (vars->link_status & LINK_STATUS_SFP_TX_FAULT)
sys/dev/bxe/bxe_elink.c
5648
vars->link_status = REG_RD(sc, params->shmem_base +
sys/dev/bxe/bxe_elink.c
5650
port_mb[port].link_status));
sys/dev/bxe/bxe_elink.c
5655
vars->link_status |= LINK_STATUS_LINK_UP;
sys/dev/bxe/bxe_elink.c
5689
if (vars->link_status & LINK_STATUS_PFC_ENABLED)
sys/dev/bxe/bxe_elink.c
5701
vars->link_status, vars->phy_link_up, vars->aeu_int_mask);
sys/dev/bxe/bxe_elink.c
6355
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6359
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6371
vars->link_status |= LINK_STATUS_AUTO_NEGOTIATE_ENABLED;
sys/dev/bxe/bxe_elink.c
6376
vars->link_status |= LINK_STATUS_LINK_UP;
sys/dev/bxe/bxe_elink.c
6382
vars->link_status |= ELINK_LINK_10TFD;
sys/dev/bxe/bxe_elink.c
6384
vars->link_status |= ELINK_LINK_10THD;
sys/dev/bxe/bxe_elink.c
6390
vars->link_status |= ELINK_LINK_100TXFD;
sys/dev/bxe/bxe_elink.c
6392
vars->link_status |= ELINK_LINK_100TXHD;
sys/dev/bxe/bxe_elink.c
6399
vars->link_status |= ELINK_LINK_1000TFD;
sys/dev/bxe/bxe_elink.c
6401
vars->link_status |= ELINK_LINK_1000THD;
sys/dev/bxe/bxe_elink.c
6407
vars->link_status |= ELINK_LINK_2500TFD;
sys/dev/bxe/bxe_elink.c
6409
vars->link_status |= ELINK_LINK_2500THD;
sys/dev/bxe/bxe_elink.c
6426
vars->link_status |= ELINK_LINK_10GTFD;
sys/dev/bxe/bxe_elink.c
6431
vars->link_status |= ELINK_LINK_20GTFD;
sys/dev/bxe/bxe_elink.c
6449
vars->link_status, vars->duplex);
sys/dev/bxe/bxe_elink.c
6507
(vars->link_status & LINK_STATUS_AUTO_NEGOTIATE_COMPLETE)) {
sys/dev/bxe/bxe_elink.c
6514
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6518
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6525
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6528
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6533
vars->duplex, vars->flow_ctrl, vars->link_status);
sys/dev/bxe/bxe_elink.c
6596
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6604
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6607
pd, vars->link_status);
sys/dev/bxe/bxe_elink.c
6612
vars->duplex, vars->flow_ctrl, vars->link_status);
sys/dev/bxe/bxe_elink.c
6616
vars->duplex, vars->flow_ctrl, vars->link_status);
sys/dev/bxe/bxe_elink.c
6617
if ((vars->link_status & LINK_STATUS_AUTO_NEGOTIATE_COMPLETE) &&
sys/dev/bxe/bxe_elink.c
6625
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6629
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6632
val, vars->link_status);
sys/dev/bxe/bxe_elink.c
6637
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6640
vars->link_status |=
sys/dev/bxe/bxe_elink.c
6643
val, vars->link_status);
sys/dev/bxe/bxe_elink.c
6672
vars->duplex, vars->flow_ctrl, vars->link_status);
sys/dev/bxe/bxe_elink.c
7448
vars->link_status |= LINK_STATUS_SERDES_LINK;
sys/dev/bxe/bxe_elink.c
7459
vars->link_status |= LINK_STATUS_SERDES_LINK;
sys/dev/bxe/bxe_elink.c
7523
vars->link_status &= ~ELINK_LINK_UPDATE_MASK;
sys/dev/bxe/bxe_elink.c
7525
elink_update_mng(params, vars->link_status);
sys/dev/bxe/bxe_elink.c
7565
vars->link_status |= (LINK_STATUS_LINK_UP |
sys/dev/bxe/bxe_elink.c
7570
vars->link_status |=
sys/dev/bxe/bxe_elink.c
7574
vars->link_status |=
sys/dev/bxe/bxe_elink.c
7583
vars->link_status &= ~LINK_STATUS_LINK_UP;
sys/dev/bxe/bxe_elink.c
7608
vars->link_status &= ~LINK_STATUS_LINK_UP;
sys/dev/bxe/bxe_elink.c
7618
if ((vars->link_status &
sys/dev/bxe/bxe_elink.c
7635
elink_update_mng(params, vars->link_status);
sys/dev/bxe/bxe_elink.c
7684
uint32_t prev_link_status = vars->link_status;
sys/dev/bxe/bxe_elink.c
7690
vars->link_status &= ~ELINK_LINK_UPDATE_MASK;
sys/dev/bxe/bxe_elink.c
7694
phy_vars[phy_index].link_status = 0;
sys/dev/bxe/bxe_elink.c
7807
vars->link_status |= phy_vars[active_external_phy].link_status;
sys/dev/bxe/bxe_elink.c
7826
vars->link_status |= LINK_STATUS_SERDES_LINK;
sys/dev/bxe/bxe_elink.c
7828
vars->link_status &= ~LINK_STATUS_SERDES_LINK;
sys/dev/bxe/bxe_elink.c
7841
vars->flow_ctrl, vars->ieee_fc, vars->link_status);
sys/dev/bxe/bxe_elink.c
7861
vars->link_status, ext_phy_line_speed);
sys/dev/bxe/bxe_elink.c
7932
vars->link_status |= LINK_STATUS_PFC_ENABLED;
sys/dev/bxe/bxe_elink.c
7934
vars->link_status &= ~LINK_STATUS_PFC_ENABLED;
sys/dev/bxe/bxe_elink.c
7941
if ((prev_link_status ^ vars->link_status) & LINK_STATUS_LINK_UP)
sys/dev/bxe/bxe_elink.c
7999
vars->link_status |= LINK_STATUS_AUTO_NEGOTIATE_COMPLETE;
sys/dev/bxe/bxe_elink.c
8001
vars->link_status |= LINK_STATUS_PARALLEL_DETECTION_USED;
sys/dev/bxe/bxe_elink.c
8422
uint16_t link_status = 0;
sys/dev/bxe/bxe_elink.c
8493
&link_status);
sys/dev/bxe/bxe_elink.c
8496
if ((link_status & (1<<2)) && (!(link_status & (1<<15)))) {
sys/dev/bxe/bxe_elink.c
8501
} else if ((link_status & (1<<1)) && (!(link_status & (1<<14)))) {
sys/dev/bxe/bxe_elink.c
8506
} else if ((link_status & (1<<0)) && (!(link_status & (1<<13)))) {
sys/dev/bxe/bxe_elink.c
8545
if (vars->link_status & LINK_STATUS_AUTO_NEGOTIATE_COMPLETE) {
sys/dev/bxe/bxe_elink.c
8550
vars->link_status |=
sys/dev/bxe/bxe_elink.c
8553
vars->link_status |=
sys/dev/bxe/bxe_elink.c
979
uint32_t link_status, cfg_idx, lfa_mask, cfg_size;
sys/dev/bxe/bxe_elink.h
497
uint32_t link_status;
sys/dev/bxe/ecore_hsi.h
1593
uint32_t link_status;
sys/dev/bxe/ecore_hsi.h
3531
uint32_t link_status; /* Port P Link Status. 1:0 bit for port enabled.
sys/dev/cxgb/cxgb_adapter.h
481
void t3_os_link_changed(adapter_t *adapter, int port_id, int link_status,
sys/dev/cxgb/cxgb_main.c
1173
t3_os_link_changed(adapter_t *adapter, int port_id, int link_status, int speed,
sys/dev/cxgb/cxgb_main.c
1189
if (link_status) {
sys/dev/drm2/drm_dp_helper.c
106
u8 l = dp_link_status(link_status, i);
sys/dev/drm2/drm_dp_helper.c
37
static u8 dp_link_status(u8 link_status[DP_LINK_STATUS_SIZE], int r)
sys/dev/drm2/drm_dp_helper.c
39
return link_status[r - DP_LANE0_1_STATUS];
sys/dev/drm2/drm_dp_helper.c
42
static u8 dp_get_lane_status(u8 link_status[DP_LINK_STATUS_SIZE],
sys/dev/drm2/drm_dp_helper.c
47
u8 l = dp_link_status(link_status, i);
sys/dev/drm2/drm_dp_helper.c
51
bool drm_dp_channel_eq_ok(u8 link_status[DP_LINK_STATUS_SIZE],
sys/dev/drm2/drm_dp_helper.c
58
lane_align = dp_link_status(link_status,
sys/dev/drm2/drm_dp_helper.c
63
lane_status = dp_get_lane_status(link_status, lane);
sys/dev/drm2/drm_dp_helper.c
71
bool drm_dp_clock_recovery_ok(u8 link_status[DP_LINK_STATUS_SIZE],
sys/dev/drm2/drm_dp_helper.c
78
lane_status = dp_get_lane_status(link_status, lane);
sys/dev/drm2/drm_dp_helper.c
86
u8 drm_dp_get_adjust_request_voltage(u8 link_status[DP_LINK_STATUS_SIZE],
sys/dev/drm2/drm_dp_helper.c
93
u8 l = dp_link_status(link_status, i);
sys/dev/drm2/drm_dp_helper.c
99
u8 drm_dp_get_adjust_request_pre_emphasis(u8 link_status[DP_LINK_STATUS_SIZE],
sys/dev/drm2/drm_dp_helper.h
326
bool drm_dp_channel_eq_ok(u8 link_status[DP_LINK_STATUS_SIZE],
sys/dev/drm2/drm_dp_helper.h
328
bool drm_dp_clock_recovery_ok(u8 link_status[DP_LINK_STATUS_SIZE],
sys/dev/drm2/drm_dp_helper.h
330
u8 drm_dp_get_adjust_request_voltage(u8 link_status[DP_LINK_STATUS_SIZE],
sys/dev/drm2/drm_dp_helper.h
332
u8 drm_dp_get_adjust_request_pre_emphasis(u8 link_status[DP_LINK_STATUS_SIZE],
sys/dev/enic/enic.h
225
int link_status;
sys/dev/eqos/if_eqos.c
822
bool link_status;
sys/dev/eqos/if_eqos.c
832
link_status = sc->link_up;
sys/dev/eqos/if_eqos.c
834
if (sc->link_up && !link_status)
sys/dev/hyperv/netvsc/hn_rndis.c
171
hn_rndis_get_linkstatus(struct hn_softc *sc, uint32_t *link_status)
sys/dev/hyperv/netvsc/hn_rndis.c
176
size = sizeof(*link_status);
sys/dev/hyperv/netvsc/hn_rndis.c
178
link_status, &size);
sys/dev/hyperv/netvsc/hn_rndis.h
41
uint32_t *link_status);
sys/dev/hyperv/netvsc/if_hn.c
2565
uint32_t link_status;
sys/dev/hyperv/netvsc/if_hn.c
2568
error = hn_rndis_get_linkstatus(sc, &link_status);
sys/dev/hyperv/netvsc/if_hn.c
2574
if (link_status == NDIS_MEDIA_STATE_CONNECTED)
sys/dev/iavf/iavf_vc_common.c
1299
vpe->event_data.link_event_adv.link_status,
sys/dev/iavf/iavf_vc_common.c
1302
vpe->event_data.link_event_adv.link_status;
sys/dev/iavf/iavf_vc_common.c
1308
vpe->event_data.link_event.link_status,
sys/dev/iavf/iavf_vc_common.c
1311
vpe->event_data.link_event.link_status;
sys/dev/iavf/virtchnl.h
692
u8 link_status;
sys/dev/iavf/virtchnl.h
697
u8 link_status;
sys/dev/ice/ice_iov.c
1645
event.event_data.link_event_adv.link_status = sc->link_up;
sys/dev/ice/ice_lib.c
103
static void ice_set_pci_link_status_data(struct ice_hw *hw, u16 link_status);
sys/dev/ice/ice_lib.c
8238
ice_set_pci_link_status_data(struct ice_hw *hw, u16 link_status)
sys/dev/ice/ice_lib.c
8244
reg = (link_status & PCIEM_LINK_STA_WIDTH) >> 4;
sys/dev/ice/ice_lib.c
8261
reg = (link_status & PCIEM_LINK_STA_SPEED) + 0x13;
sys/dev/ice/virtchnl.h
1414
bool link_status;
sys/dev/ice/virtchnl.h
1420
u8 link_status;
sys/dev/ixgbe/ixgbe_common.c
1009
void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status)
sys/dev/ixgbe/ixgbe_common.c
1016
switch (link_status & IXGBE_PCI_LINK_WIDTH) {
sys/dev/ixgbe/ixgbe_common.c
1034
switch (link_status & IXGBE_PCI_LINK_SPEED) {
sys/dev/ixgbe/ixgbe_common.c
1064
u16 link_status;
sys/dev/ixgbe/ixgbe_common.c
1069
link_status = IXGBE_READ_PCIE_WORD(hw, hw->mac.type == ixgbe_mac_E610 ?
sys/dev/ixgbe/ixgbe_common.c
1073
ixgbe_set_pci_config_data_generic(hw, link_status);
sys/dev/ixgbe/ixgbe_common.h
70
void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status);
sys/dev/ixl/i40e_common.c
6190
void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status)
sys/dev/ixl/i40e_common.c
6194
switch (link_status & I40E_PCI_LINK_WIDTH) {
sys/dev/ixl/i40e_common.c
6212
switch (link_status & I40E_PCI_LINK_SPEED) {
sys/dev/ixl/i40e_prototype.h
499
void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status);
sys/dev/ixl/ixl_pf_iov.c
1394
event.event_data.link_event.link_status = pf->vsi.link_active;
sys/dev/ixl/ixl_pf_main.c
3434
ixl_aq_get_link_status(struct ixl_pf *pf, struct i40e_aqc_get_link_status *link_status)
sys/dev/ixl/ixl_pf_main.c
3445
link_status->command_flags = CPU_TO_LE16(I40E_AQ_LSE_ENABLE);
sys/dev/ixl/ixl_pf_main.c
3455
bcopy(aq_link_status, link_status, sizeof(struct i40e_aqc_get_link_status));
sys/dev/ixl/ixl_pf_main.c
3482
struct i40e_aqc_get_link_status link_status;
sys/dev/ixl/ixl_pf_main.c
3483
error = ixl_aq_get_link_status(pf, &link_status);
sys/dev/ixl/ixl_pf_main.c
3499
link_status.phy_type,
sys/dev/ixl/ixl_pf_main.c
3500
ixl_phy_type_string_ls(link_status.phy_type),
sys/dev/ixl/ixl_pf_main.c
3501
link_status.link_speed,
sys/dev/ixl/ixl_pf_main.c
3502
link_status.link_info,
sys/dev/ixl/ixl_pf_main.c
3503
link_status.an_info,
sys/dev/ixl/ixl_pf_main.c
3504
link_status.ext_info,
sys/dev/ixl/ixl_pf_main.c
3505
link_status.loopback,
sys/dev/ixl/ixl_pf_main.c
3506
link_status.max_frame_size,
sys/dev/ixl/ixl_pf_main.c
3507
link_status.config,
sys/dev/ixl/ixl_pf_main.c
3508
link_status.power_desc);
sys/dev/ixl/virtchnl.h
534
bool link_status;
sys/dev/ntb/test/ntb_tool.c
1267
tc->link_status = 'U';
sys/dev/ntb/test/ntb_tool.c
270
char link_status;
sys/dev/ntb/test/ntb_tool.c
300
tc->link_status = 'Y';
sys/dev/ntb/test/ntb_tool.c
302
tc->link_status = 'N';
sys/dev/ntb/test/ntb_tool.c
705
snprintf(buf, 2, "%c", tc->link_status);
sys/dev/ntb/test/ntb_tool.c
721
sscanf(buf, "%c", &tc->link_status);
sys/dev/oce/oce_hw.c
206
uint16_t link_status =
sys/dev/oce/oce_hw.c
210
sc->pcie_link_speed = link_status & 0xf;
sys/dev/oce/oce_hw.c
211
sc->pcie_link_width = (link_status >> 4) & 0x3f;
sys/dev/oce/oce_hw.c
465
struct link_status link = { 0 };
sys/dev/oce/oce_hw.c
473
sc->link_status = NTWK_LOGICAL_LINK_UP;
sys/dev/oce/oce_hw.c
476
sc->link_status = NTWK_LOGICAL_LINK_DOWN;
sys/dev/oce/oce_hw.h
667
uint8_t link_status;
sys/dev/oce/oce_hw.h
685
uint8_t link_status;
sys/dev/oce/oce_if.c
1361
if (!sc->link_status)
sys/dev/oce/oce_if.c
2592
if ((acqe->u0.s.link_status & ~ASYNC_EVENT_LOGICAL) ==
sys/dev/oce/oce_if.c
2594
sc->link_status = ASYNC_EVENT_LINK_UP;
sys/dev/oce/oce_if.c
2597
sc->link_status = ASYNC_EVENT_LINK_DOWN;
sys/dev/oce/oce_if.c
644
if (!sc->link_status)
sys/dev/oce/oce_if.c
900
if (sc->link_status == 1)
sys/dev/oce/oce_if.h
1026
int oce_get_link_status(POCE_SOFTC sc, struct link_status *link);
sys/dev/oce/oce_if.h
823
uint8_t link_status;
sys/dev/oce/oce_mbox.c
963
oce_get_link_status(POCE_SOFTC sc, struct link_status *link)
sys/dev/ocs_fc/ocs_gendump.c
103
&link_status) == 0) {
sys/dev/ocs_fc/ocs_gendump.c
104
if (link_status.value == OCS_XPORT_PORT_ONLINE) {
sys/dev/ocs_fc/ocs_gendump.c
87
ocs_xport_stats_t link_status;
sys/dev/qlnx/qlnxe/ecore_mcp.c
1449
OFFSETOF(struct public_port, link_status));
sys/dev/qlnx/qlnxe/ecore_mcp.c
1453
OFFSETOF(struct public_port, link_status)));
sys/dev/qlnx/qlnxe/mcp_public.h
637
u32 link_status;
sys/dev/qlxge/qls_def.h
327
uint32_t link_status;
sys/dev/qlxge/qls_hw.c
2306
ha->link_status = mbox[1];
sys/dev/sume/if_sume.c
951
int link_status;
sys/dev/sume/if_sume.c
959
link_status = SUME_LINK_STATUS(sifr.val);
sys/dev/sume/if_sume.c
961
if (!link_status && nf_priv->link_up) {
sys/dev/sume/if_sume.c
967
} else if (link_status && !nf_priv->link_up) {
sys/dev/usb/net/if_axge.c
332
uint8_t link_status, tmp[5];
sys/dev/usb/net/if_axge.c
365
link_status = axge_read_cmd_1(sc, AXGE_ACCESS_MAC, AXGE_PLSR);
sys/dev/usb/net/if_axge.c
379
if (link_status & PLSR_USB_SS)
sys/dev/usb/net/if_axge.c
381
else if (link_status & PLSR_USB_HS)
sys/dev/usb/net/if_axge.c
388
if (link_status & (PLSR_USB_SS | PLSR_USB_HS))
sys/dev/vnic/nic.h
491
struct bgx_link_status link_status;
sys/dev/vnic/nic_main.c
1204
mbx.link_status.msg = NIC_MBOX_MSG_BGX_LINK_CHANGE;
sys/dev/vnic/nic_main.c
1227
mbx.link_status.link_up = link.link_up;
sys/dev/vnic/nic_main.c
1228
mbx.link_status.duplex = link.duplex;
sys/dev/vnic/nic_main.c
1229
mbx.link_status.speed = link.speed;
sys/dev/vnic/nicvf_main.c
942
nic->link_up = mbx.link_status.link_up;
sys/dev/vnic/nicvf_main.c
943
nic->duplex = mbx.link_status.duplex;
sys/dev/vnic/nicvf_main.c
944
nic->speed = mbx.link_status.speed;
sys/netgraph/ng_eiface.c
366
(priv->link_status & IFM_ACTIVE))
sys/netgraph/ng_eiface.c
370
ifmr->ifm_status = priv->link_status;
sys/netgraph/ng_eiface.c
424
priv->link_status = IFM_AVALID;
sys/netgraph/ng_eiface.c
457
priv->link_status |= IFM_ACTIVE;
sys/netgraph/ng_eiface.c
547
priv->link_status |= IFM_ACTIVE;
sys/netgraph/ng_eiface.c
551
priv->link_status &= ~IFM_ACTIVE;
sys/netgraph/ng_eiface.c
639
priv->link_status &= ~IFM_ACTIVE;
sys/netgraph/ng_eiface.c
84
int link_status; /* fake */
usr.sbin/bhyve/pci_emul.c
1372
pciecap.link_status = 0x11; /* gen1, x1 */
usr.sbin/bhyve/pci_emul.h
199
uint16_t link_status;