/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 327 if (p->link_cfg.autoneg != AUTONEG_ENABLE) in restart_autoneg() 621 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in get_link_ksettings() 626 &pi->link_cfg), in get_link_ksettings() 628 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in get_link_ksettings() 632 ? pi->link_cfg.speed in get_link_ksettings() 636 base->autoneg = pi->link_cfg.autoneg; in get_link_ksettings() 637 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in get_link_ksettings() 640 if (pi->link_cfg.autoneg) in get_link_ksettings() 651 struct link_config *lc = &pi->link_cfg; in set_link_ksettings() 749 const struct link_config *lc = &pi->link_cfg; in get_fecparam() [all …]
|
D | cxgb4_main.c | 197 switch (p->link_cfg.speed) { in link_report() 221 dev->name, p->link_cfg.speed); in link_report() 226 fc[p->link_cfg.fc]); in link_report() 331 pi->link_cfg.redo_l1cfg = netif_running(dev); in t4_os_portmod_changed() 518 &pi->link_cfg); in link_start() 5124 n10g += is_x_10g_port(&adap2pinfo(adap, i)->link_cfg); in cfg_queues() 5161 pi->nqsets = is_x_10g_port(&pi->link_cfg) ? q10g : 1; in cfg_queues() 5402 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_100M) in print_port_info() 5404 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_1G) in print_port_info() 5406 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_10G) in print_port_info() [all …]
|
D | cxgb4.h | 583 struct link_config link_cfg; member
|
D | t4_hw.c | 8272 rx_en && tx_en && pi->link_cfg.link_ok); in t4_enable_pi_params() 8568 struct link_config *lc = &pi->link_cfg; in t4_handle_get_port_info() 9680 init_link_config(&pi->link_cfg, pcaps, acaps); in t4_init_portinfo()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 160 switch (pi->link_cfg.speed) { in t4vf_os_link_changed() 185 switch ((int)pi->link_cfg.fc) { in t4vf_os_link_changed() 1467 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in cxgb4vf_get_link_ksettings() 1469 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in cxgb4vf_get_link_ksettings() 1471 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in cxgb4vf_get_link_ksettings() 1475 base->speed = pi->link_cfg.speed; in cxgb4vf_get_link_ksettings() 1482 base->autoneg = pi->link_cfg.autoneg; in cxgb4vf_get_link_ksettings() 1483 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in cxgb4vf_get_link_ksettings() 1486 if (pi->link_cfg.autoneg) in cxgb4vf_get_link_ksettings() 1533 const struct link_config *lc = &pi->link_cfg; in cxgb4vf_get_fecparam() [all …]
|
D | adapter.h | 106 struct link_config link_cfg; /* physical port configuration */ member
|
D | t4vf_hw.c | 590 init_link_config(&pi->link_cfg, pcaps, acaps); in t4vf_port_init() 1432 rx_en && tx_en && pi->link_cfg.link_ok); in t4vf_enable_pi() 1918 struct link_config *lc = &pi->link_cfg; in t4vf_handle_get_port_info()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 1472 if (vf->link_cfg == IFLA_VF_LINK_STATE_AUTO) { in bnx2x_iov_link_update_vf() 1489 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_DISABLE && in bnx2x_iov_link_update_vf() 1493 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_ENABLE && in bnx2x_iov_link_update_vf() 1505 vf->link_cfg, bulletin->link_speed, bulletin->link_flags); in bnx2x_iov_link_update_vf() 1528 if (vf->link_cfg == link_state) in bnx2x_set_vf_link_state() 1531 vf->link_cfg = link_state; in bnx2x_set_vf_link_state() 2639 ivi->linkstate = vf->link_cfg; in bnx2x_get_vf_config()
|
D | bnx2x_sriov.h | 133 u8 link_cfg; /* IFLA_VF_LINK_STATE_AUTO member
|
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 2523 struct dpni_link_cfg link_cfg = {0}; in set_pause() local 2527 err = dpni_get_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); in set_pause() 2534 link_cfg.options |= DPNI_LINK_OPT_PAUSE; in set_pause() 2535 link_cfg.options &= ~DPNI_LINK_OPT_ASYM_PAUSE; in set_pause() 2536 err = dpni_set_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); in set_pause() 2542 priv->link_state.options = link_cfg.options; in set_pause()
|
/Linux-v5.4/drivers/scsi/csiostor/ |
D | csio_hw.h | 335 struct link_config link_cfg; member
|
D | csio_hw.c | 1837 csio_init_link_config(&hw->pport[i].link_cfg, pcaps, acaps); in csio_enable_ports() 1839 csio_link_l1cfg(&hw->pport[i].link_cfg, fw_caps, &rcaps); in csio_enable_ports()
|
/Linux-v5.4/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 832 linkspeed = pi->link_cfg.speed; in cxgbit_set_tcp_window()
|
/Linux-v5.4/drivers/crypto/chelsio/chtls/ |
D | chtls_cm.c | 996 linkspeed = pi->link_cfg.speed; in chtls_set_tcp_window()
|
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 1788 linkspeed = ((struct port_info *)netdev_priv(ndev))->link_cfg.speed; in init_act_open()
|