/linux/arch/mips/sgi-ip30/ |
H A D | ip30-xtalk.c | 139 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()
|
/linux/drivers/scsi/mvsas/ |
H A D | mv_chips.h | 229 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()
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ethtool.c | 41 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 D | hns_dsaf_gmac.c | 541 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 D | hns_dsaf_mac.h | 376 void (*get_link_status)(void *mac_drv, u32 *link_stat);
|
H A D | hns_dsaf_xgmac.c | 471 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()
|
/linux/drivers/staging/most/net/ |
H A D | net.c | 184 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()
|
/linux/include/linux/ |
H A D | most.h | 248 unsigned char link_stat,
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | common.h | 339 void t1_link_negotiated(adapter_t *adapter, int port_id, int link_stat,
|
H A D | cxgb2.c | 144 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()
|
/linux/drivers/net/ethernet/renesas/ |
H A D | sh_eth.c | 1737 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()
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_ethtool.c | 777 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()
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli4.h | 1038 READ_LNK_VAR link_stat; member
|
H A D | lpfc_mbox.c | 2368 memcpy(&rdp_context->link_stat, &mb->un.varRdLnk, sizeof(READ_LNK_VAR)); in lpfc_mbx_cmpl_rdp_link_stat()
|
H A D | lpfc_els.c | 7132 (len + pcmd), &rdp_context->link_stat); in lpfc_els_rdp_cmpl() 7138 &rdp_context->link_stat); in lpfc_els_rdp_cmpl() 7140 &rdp_context->link_stat, vport); in lpfc_els_rdp_cmpl()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 250 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()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4.h | 1608 void t4_os_link_changed(struct adapter *adap, int port_id, int link_stat);
|
H A D | cxgb4_main.c | 283 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()
|