Lines Matching refs:lc
240 * @lc: structure holding the link state
246 static void __devinit init_link_config(struct link_config *lc,
249 lc->supported = caps;
250 lc->requested_speed = 0;
251 lc->speed = 0;
252 lc->requested_fc = lc->fc = PAUSE_RX | PAUSE_TX;
253 if (lc->supported & SUPPORTED_Autoneg) {
254 lc->advertising = lc->supported;
255 lc->autoneg = AUTONEG_ENABLE;
256 lc->requested_fc |= PAUSE_AUTONEG;
258 lc->advertising = 0;
259 lc->autoneg = AUTONEG_DISABLE;
1310 struct link_config *lc;
1315 lc = &pi->link_cfg;
1316 if (link_ok != lc->link_ok || speed != lc->speed ||
1317 fc != lc->fc) {
1319 lc->link_ok = link_ok;
1320 lc->speed = speed;
1321 lc->fc = fc;