Searched refs:current_link (Results 1 – 1 of 1) sorted by relevance
523 struct qed_link_output current_link; in qede_get_link_ksettings() local527 memset(¤t_link, 0, sizeof(current_link)); in qede_get_link_ksettings()528 edev->ops->common->get_link(edev->cdev, ¤t_link); in qede_get_link_ksettings()530 linkmode_copy(link_modes->supported, current_link.supported_caps); in qede_get_link_ksettings()531 linkmode_copy(link_modes->advertising, current_link.advertised_caps); in qede_get_link_ksettings()532 linkmode_copy(link_modes->lp_advertising, current_link.lp_caps); in qede_get_link_ksettings()534 if ((edev->state == QEDE_STATE_OPEN) && (current_link.link_up)) { in qede_get_link_ksettings()535 base->speed = current_link.speed; in qede_get_link_ksettings()536 base->duplex = current_link.duplex; in qede_get_link_ksettings()544 base->port = current_link.port; in qede_get_link_ksettings()[all …]