Home
last modified time | relevance | path

Searched refs:link_stat (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/arch/mips/sgi-ip30/
H A Dip30-xtalk.c139 unsigned int link_stat; in xbow_widget_active() local
141 link_stat = xtalk_read((void *)(IP30_RAW_SWIN_BASE(IP30_WIDGET_XBOW) + in xbow_widget_active()
146 return (link_stat & XBOW_REG_LINK_ALIVE) ? 1 : 0; in xbow_widget_active()
/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_chips.h229 u16 link_stat, link_spd; in mvs_show_pcie_usage() local
238 pci_read_config_word(mvi->pdev, PCR_LINK_STAT, &link_stat); in mvs_show_pcie_usage()
239 link_spd = (link_stat & PLS_LINK_SPD) >> PLS_LINK_SPD_OFFS; in mvs_show_pcie_usage()
244 (link_stat & PLS_NEG_LINK_WD) >> PLS_NEG_LINK_WD_OFFS, in mvs_show_pcie_usage()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ethtool.c41 u32 link_stat = priv->link; in hns_nic_get_link() local
48 link_stat = net_dev->phydev->link; in hns_nic_get_link()
50 link_stat = 0; in hns_nic_get_link()
54 link_stat = link_stat && h->dev->ops->get_status(h); in hns_nic_get_link()
56 link_stat = 0; in hns_nic_get_link()
58 return link_stat; in hns_nic_get_link()
118 u32 link_stat; in hns_nic_get_link_ksettings() local
150 link_stat = hns_nic_get_link(net_dev); in hns_nic_get_link_ksettings()
151 if (!link_stat) { in hns_nic_get_link_ksettings()
H A Dhns_dsaf_gmac.c541 static void hns_gmac_get_link_status(void *mac_drv, u32 *link_stat) in hns_gmac_get_link_status() argument
545 *link_stat = dsaf_get_dev_bit(drv, GMAC_AN_NEG_STATE_REG, in hns_gmac_get_link_status()
H A Dhns_dsaf_mac.h376 void (*get_link_status)(void *mac_drv, u32 *link_stat);
H A Dhns_dsaf_xgmac.c471 static void hns_xgmac_get_link_status(void *mac_drv, u32 *link_stat) in hns_xgmac_get_link_status() argument
475 *link_stat = dsaf_read_dev(drv, XGMAC_LINK_STATUS_REG); in hns_xgmac_get_link_status()
/openbmc/linux/drivers/staging/most/net/
H A Dnet.c184 unsigned char link_stat, unsigned char *mac_addr);
547 unsigned char link_stat, unsigned char *mac_addr) in on_netinfo() argument
559 if (link_stat) in on_netinfo()
/openbmc/linux/include/linux/
H A Dmost.h248 unsigned char link_stat,
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcommon.h341 void t1_link_negotiated(adapter_t *adapter, int port_id, int link_stat,
H A Dcxgb2.c144 void t1_link_negotiated(struct adapter *adapter, int port_id, int link_stat, in t1_link_negotiated() argument
149 if (link_stat != netif_carrier_ok(p->dev)) { in t1_link_negotiated()
150 if (link_stat) in t1_link_negotiated()
/openbmc/linux/drivers/net/ethernet/renesas/
H A Dsh_eth.c1737 u32 link_stat; in sh_eth_emac_interrupt() local
1749 link_stat = sh_eth_read(ndev, PSR); in sh_eth_emac_interrupt()
1751 link_stat = ~link_stat; in sh_eth_emac_interrupt()
1752 if (!(link_stat & PSR_LMON)) { in sh_eth_emac_interrupt()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c777 u8 link_stat; in hns3_get_link_ksettings() local
823 link_stat = hns3_get_link(netdev); in hns3_get_link_ksettings()
824 if (!link_stat) { in hns3_get_link_ksettings()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_sli4.h1038 READ_LNK_VAR link_stat; member
H A Dlpfc_mbox.c2374 memcpy(&rdp_context->link_stat, &mb->un.varRdLnk, sizeof(READ_LNK_VAR)); in lpfc_mbx_cmpl_rdp_link_stat()
H A Dlpfc_els.c7134 (len + pcmd), &rdp_context->link_stat); in lpfc_els_rdp_cmpl()
7140 &rdp_context->link_stat); in lpfc_els_rdp_cmpl()
7142 &rdp_context->link_stat, vport); in lpfc_els_rdp_cmpl()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c250 void t3_os_link_changed(struct adapter *adapter, int port_id, int link_stat, in t3_os_link_changed() argument
261 if (link_stat != netif_carrier_ok(dev)) { in t3_os_link_changed()
262 if (link_stat) { in t3_os_link_changed()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h1608 void t4_os_link_changed(struct adapter *adap, int port_id, int link_stat);
H A Dcxgb4_main.c283 void t4_os_link_changed(struct adapter *adapter, int port_id, int link_stat) in t4_os_link_changed() argument
288 if (netif_running(dev) && link_stat != netif_carrier_ok(dev)) { in t4_os_link_changed()
289 if (link_stat) in t4_os_link_changed()