Lines Matching refs:link_cfg
159 switch (pi->link_cfg.speed) { in t4vf_os_link_changed()
184 switch ((int)pi->link_cfg.fc) { in t4vf_os_link_changed()
1465 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in cxgb4vf_get_link_ksettings()
1467 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in cxgb4vf_get_link_ksettings()
1469 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in cxgb4vf_get_link_ksettings()
1473 base->speed = pi->link_cfg.speed; in cxgb4vf_get_link_ksettings()
1480 base->autoneg = pi->link_cfg.autoneg; in cxgb4vf_get_link_ksettings()
1481 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in cxgb4vf_get_link_ksettings()
1484 if (pi->link_cfg.autoneg) in cxgb4vf_get_link_ksettings()
1531 const struct link_config *lc = &pi->link_cfg; in cxgb4vf_get_fecparam()
1697 pauseparam->autoneg = (pi->link_cfg.requested_fc & PAUSE_AUTONEG) != 0; in cxgb4vf_get_pauseparam()
1698 pauseparam->rx_pause = (pi->link_cfg.advertised_fc & PAUSE_RX) != 0; in cxgb4vf_get_pauseparam()
1699 pauseparam->tx_pause = (pi->link_cfg.advertised_fc & PAUSE_TX) != 0; in cxgb4vf_get_pauseparam()
2687 n10g += is_x_10g_port(&adap2pinfo(adapter, pidx)->link_cfg); in cfg_queues()
2712 pi->nqsets = is_x_10g_port(&pi->link_cfg) ? q10g : 1; in cfg_queues()