Lines Matching defs:lc
1440 struct link_config *lc = &p->link_cfg;
1445 if (!(lc->supported & FW_PORT_CAP_ANEG)) {
1451 (lc->supported & speed_to_caps(cmd->speed)))
1459 if (!(lc->supported & cap) || cmd->speed == SPEED_1000 ||
1462 lc->requested_speed = cap;
1463 lc->advertising = 0;
1466 if (!(lc->supported & cap))
1468 lc->requested_speed = 0;
1469 lc->advertising = cap | FW_PORT_CAP_ANEG;
1471 lc->autoneg = cmd->autoneg;
1475 lc);
1493 struct link_config *lc = &p->link_cfg;
1496 lc->requested_fc = 0;
1497 else if (lc->supported & FW_PORT_CAP_ANEG)
1498 lc->requested_fc = PAUSE_AUTONEG;
1503 lc->requested_fc |= PAUSE_RX;
1505 lc->requested_fc |= PAUSE_TX;
1508 lc);
3303 static inline bool is_10g_port(const struct link_config *lc)
3305 return (lc->supported & FW_PORT_CAP_SPEED_10G) != 0;