Lines Matching refs:link_cfg
397 if (p->link_cfg.autoneg != AUTONEG_ENABLE) in restart_autoneg()
691 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in get_link_ksettings()
696 &pi->link_cfg), in get_link_ksettings()
698 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in get_link_ksettings()
702 ? pi->link_cfg.speed in get_link_ksettings()
706 base->autoneg = pi->link_cfg.autoneg; in get_link_ksettings()
707 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in get_link_ksettings()
710 if (pi->link_cfg.autoneg) in get_link_ksettings()
721 struct link_config *lc = &pi->link_cfg; in set_link_ksettings()
819 const struct link_config *lc = &pi->link_cfg; in get_fecparam()
840 struct link_config *lc = &pi->link_cfg; in set_fecparam()
865 epause->autoneg = (p->link_cfg.requested_fc & PAUSE_AUTONEG) != 0; in get_pauseparam()
866 epause->rx_pause = (p->link_cfg.advertised_fc & PAUSE_RX) != 0; in get_pauseparam()
867 epause->tx_pause = (p->link_cfg.advertised_fc & PAUSE_TX) != 0; in get_pauseparam()
874 struct link_config *lc = &p->link_cfg; in set_pauseparam()