/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth-dcb.c | 65 struct dpni_link_cfg link_cfg = {0}; local 83 link_cfg.rate = priv->link_state.rate; 84 link_cfg.options = priv->link_state.options; 86 link_cfg.options |= DPNI_LINK_OPT_PFC_PAUSE; 88 link_cfg.options &= ~DPNI_LINK_OPT_PFC_PAUSE; 89 err = dpni_set_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg);
|
H A D | dpaa2-eth.c | 3610 struct dpni_link_cfg link_cfg = {0}; local 3614 err = dpni_get_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); 3621 link_cfg.options |= DPNI_LINK_OPT_PAUSE; 3622 link_cfg.options &= ~DPNI_LINK_OPT_ASYM_PAUSE; 3623 err = dpni_set_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); 3629 priv->link_state.options = link_cfg.options;
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | cxgb4vf_main.c | 159 switch (pi->link_cfg.speed) { 184 switch ((int)pi->link_cfg.fc) { 1465 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, 1467 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, 1469 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, 1473 base->speed = pi->link_cfg.speed; 1480 base->autoneg = pi->link_cfg.autoneg; 1481 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) 1484 if (pi->link_cfg.autoneg) 1531 const struct link_config *lc = &pi->link_cfg; [all...] |
H A D | adapter.h | 107 struct link_config link_cfg; /* physical port configuration */ member in struct:port_info
|
H A D | t4vf_hw.c | 589 init_link_config(&pi->link_cfg, pcaps, acaps); 1431 rx_en && tx_en && pi->link_cfg.link_ok); 1917 struct link_config *lc = &pi->link_cfg;
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ethtool.c | 397 if (p->link_cfg.autoneg != AUTONEG_ENABLE) 691 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, 696 &pi->link_cfg), 698 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, 702 ? pi->link_cfg.speed 706 base->autoneg = pi->link_cfg.autoneg; 707 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) 710 if (pi->link_cfg.autoneg) 721 struct link_config *lc = &pi->link_cfg; 819 const struct link_config *lc = &pi->link_cfg; [all...] |
H A D | cxgb4_main.c | 199 switch (p->link_cfg.speed) { 223 dev->name, p->link_cfg.speed); 228 fc[p->link_cfg.fc]); 333 pi->link_cfg.redo_l1cfg = netif_running(dev); 521 &pi->link_cfg); 5695 n10g += is_x_10g_port(&adap2pinfo(adap, i)->link_cfg); 5739 pi->nqsets = is_x_10g_port(&pi->link_cfg) ? q10g : q1g; 6138 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_100M) 6140 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_1G) 6142 if (pi->link_cfg [all...] |
H A D | cxgb4.h | 667 struct link_config link_cfg; member in struct:port_info
|
H A D | t4_hw.c | 8281 rx_en && tx_en && pi->link_cfg.link_ok); 8573 struct link_config *lc = &pi->link_cfg; 9692 init_link_config(&pi->link_cfg, pcaps, acaps);
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_hw.h | 335 struct link_config link_cfg; member in struct:csio_pport
|
H A D | csio_hw.c | 1837 csio_init_link_config(&hw->pport[i].link_cfg, pcaps, acaps); 1839 csio_link_l1cfg(&hw->pport[i].link_cfg, fw_caps, &rcaps);
|
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 1465 if (vf->link_cfg == IFLA_VF_LINK_STATE_AUTO) { 1482 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_DISABLE && 1486 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_ENABLE && 1498 vf->link_cfg, bulletin->link_speed, bulletin->link_flags); 1521 if (vf->link_cfg == link_state) 1524 vf->link_cfg = link_state; 2632 ivi->linkstate = vf->link_cfg;
|
H A D | bnx2x_sriov.h | 133 u8 link_cfg; /* IFLA_VF_LINK_STATE_AUTO member in struct:bnx2x_virtf
|
/linux-master/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_cm.c | 832 linkspeed = pi->link_cfg.speed;
|
/linux-master/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 1869 linkspeed = ((struct port_info *)netdev_priv(ndev))->link_cfg.speed;
|
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_cm.c | 1096 linkspeed = pi->link_cfg.speed;
|