Home
last modified time | relevance | path

Searched refs:link_status (Results 1 – 25 of 50) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_mq.c44 link_state_t link_status; in oce_drain_mq_cq() local
67 link_status = ((acqe->u0.s.link_status & in oce_drain_mq_cq()
71 mac_link_update(dev->mac_handle, link_status); in oce_drain_mq_cq()
72 dev->link_status = link_status; in oce_drain_mq_cq()
H A Doce_gld.c89 struct link_status link = {0}; in oce_start()
94 dev->link_status = (link.logical_link_status == NTWK_LOGICAL_LINK_UP) ? in oce_start()
100 mac_link_update(dev->mac_handle, dev->link_status); in oce_start()
155 if (dev->link_status == LINK_STATE_UP) { in oce_stop()
156 dev->link_status = LINK_STATE_UNKNOWN; in oce_stop()
157 mac_link_update(dev->mac_handle, dev->link_status); in oce_stop()
468 struct link_status link = {0}; in oce_m_getprop()
H A Doce_main.c364 dev->link_status = LINK_STATE_UNKNOWN; in oce_attach()
365 mac_link_update(dev->mac_handle, dev->link_status); in oce_attach()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c375 u32 link_status, cfg_idx, lfa_mask, cfg_size; in elink_check_lfa() local
396 link_status = REG_RD(cb, params->shmem_base + in elink_check_lfa()
398 port_mb[params->port].link_status)); in elink_check_lfa()
399 if (!(link_status & LINK_STATUS_LINK_UP)) in elink_check_lfa()
2350 static void elink_update_mng(struct elink_params *params, u32 link_status) in elink_update_mng() argument
2356 port_mb[params->port].link_status), link_status); in elink_update_mng()
2469 vars->link_status |= LINK_STATUS_PFC_ENABLED; in elink_update_pfc()
2471 vars->link_status &= ~LINK_STATUS_PFC_ENABLED; in elink_update_pfc()
2473 elink_update_mng(params, vars->link_status); in elink_update_pfc()
3755 vars->link_status |= LINK_STATUS_AUTO_NEGOTIATE_ENABLED; in set_phy_vars()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_mpi.c365 uint32_t link_status, cmd; in ql_async_event_parser() local
391 link_status = mbx_cmds->mb[1]; in ql_async_event_parser()
393 __func__, qlge->instance, link_status)); in ql_async_event_parser()
394 link_speed = (uint8_t)((link_status >> 3) & 0x07); in ql_async_event_parser()
410 qlge->link_type = link_type = (uint8_t)(link_status & 0x07); in ql_async_event_parser()
462 link_status = mbx_cmds->mb[1]; in ql_async_event_parser()
465 __func__, qlge->instance, link_status)); in ql_async_event_parser()
466 if (link_status & 0x1) { in ql_async_event_parser()
471 if (link_status & 0x2) { in ql_async_event_parser()
477 if (link_status & 0x4) { in ql_async_event_parser()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_niv.c220 pdev->vars.link_status = LM_STATUS_LINK_ACTIVE; in lm_niv_vif_enable()
222 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_niv_vif_enable()
244 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in lm_niv_vif_disable()
245 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_niv_vif_disable()
H A Dlm_phy.c680 pdev->vars.link_status = LM_STATUS_LINK_ACTIVE; in get_link_params()
688 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in get_link_params()
699 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in get_link_params()
707 pdev->vars.link_status = LM_STATUS_LINK_ACTIVE; in get_link_params()
804 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in lm_reset_link()
859 lm_reported_link_params->link = pdev->vars.link_status; in lm_link_fill_reported_data()
914 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_link_report()
915 …sage(pdev, WARN, "lm_link_update: indicate link %d 0x%x \n",pdev->vars.link_status,pdev->vars.medi… in lm_link_report()
930 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_link_report()
931 …sage(pdev, WARN, "lm_link_update: indicate link %d 0x%x \n",pdev->vars.link_status,pdev->vars.medi… in lm_link_report()
H A Dlm_hw_attn.c1090 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in lm_spio5_attn_everest_processing()
1092 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_spio5_attn_everest_processing()
1271 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_set_bandwidth_event()
1344 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in lm_ufp_pf_disable()
1345 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_ufp_pf_disable()
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnxtmr.c44 if (lmdevice->vars.link_status == LM_STATUS_LINK_ACTIVE) { in bnx_link_check()
75 if (lmdevice->vars.link_status == LM_STATUS_LINK_ACTIVE) { in bnx_link_check2()
H A Dbnxhwi.c214 umdevice->dev_var.indLink = lmdevice->vars.link_status; in bnx_hdwr_acquire()
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_phy.c689 pdev->vars.link_status = LM_STATUS_LINK_ACTIVE; in init_utp()
696 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in init_utp()
1251 pdev->vars.link_status = LM_STATUS_LINK_ACTIVE; in init_5708_serdes()
1258 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in init_5708_serdes()
1592 pdev->vars.link_status = LM_STATUS_LINK_ACTIVE; in init_5709_serdes()
1597 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in init_5709_serdes()
1733 if(pdev->vars.link_status == LM_STATUS_LINK_ACTIVE) in init_5706_serdes()
1826 pdev->vars.link_status = LM_STATUS_LINK_ACTIVE; in init_5706_serdes()
1831 pdev->vars.link_status = LM_STATUS_LINK_DOWN; in init_5706_serdes()
1996 pdev->vars.link_status = LM_STATUS_LINK_ACTIVE; in init_loopback_mac_link()
[all …]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_mii.h129 uint16_t link_status:1; member
135 uint16_t link_status:1;
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dosdep.h111 void t1_os_link_changed(ch_t *adapter, int port_id, int link_status,
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_io.h279 struct link_status { struct
372 int oce_get_link_status(struct oce_dev *dev, struct link_status *link);
H A Doce_impl.h251 link_state_t link_status; member
H A Doce_hw.h552 uint8_t link_status; member
569 uint8_t link_status;
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_queue.h295 uint8_t link_status; member
306 uint8_t link_status; member
377 uint8_t link_status[4]; member
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c646 uint_t cap_ptr, cap_reg, link_status, link_cap, capid; in get_lane_width() local
696 link_status = read_word(fd, bus, dev, func, in get_lane_width()
702 *actual = ((link_status >> PCI_LINK_SHIFT) & in get_lane_width()
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_illumos.c34 if ((um->lm_dev.vars.link.link_status & in bnxe_get_phy_id()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_emul.h201 uint16_t link_status; member
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Dvirtchnl.h535 bool link_status; member
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_common.h72 void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status);
/illumos-gate/usr/src/uts/intel/io/amd8111s/
H A Damd8111s_hw.c886 unsigned int link_status = 0; in mdlReadLink() local
888 link_status = READ_REG32(pLayerPointers, in mdlReadLink()
891 if ((link_status & LINK_STAT)) { in mdlReadLink()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge.h241 uint32_t link_status; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fct.c1301 fct_port_link_status_t *link_status; in emlxs_fct_port_info() local
1335 link_status = (fct_port_link_status_t *)buffer; in emlxs_fct_port_info()
1336 link_status->LinkFailureCount = in emlxs_fct_port_info()
1338 link_status->LossOfSyncCount = in emlxs_fct_port_info()
1340 link_status->LossOfSignalsCount = in emlxs_fct_port_info()
1342 link_status->PrimitiveSeqProtocolErrorCount = in emlxs_fct_port_info()
1344 link_status->InvalidTransmissionWordCount = in emlxs_fct_port_info()
1346 link_status->InvalidCRCCount = in emlxs_fct_port_info()

12