Lines Matching refs:pcaps

1287 	struct ice_aqc_get_phy_caps_data pcaps = { 0 };
1305 &pcaps, NULL);
1313 phy_low = le64toh(pcaps.phy_type_low);
1314 phy_high = le64toh(pcaps.phy_type_high);
3192 struct ice_aqc_get_phy_caps_data pcaps = { 0 };
3228 status = ice_aq_get_phy_caps(pi, false, phy_data->report_mode, &pcaps, NULL);
3238 phy_data->phy_low_orig = le64toh(pcaps.phy_type_low);
3239 phy_data->phy_high_orig = le64toh(pcaps.phy_type_high);
3244 pcaps.module_type[0]);
3449 struct ice_aqc_get_phy_caps_data pcaps = { 0 };
3466 &pcaps, NULL);
3476 if ((pcaps.caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE) &&
3477 (pcaps.caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE))
3479 else if (pcaps.caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE)
3481 else if (pcaps.caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE)
3606 struct ice_aqc_get_phy_caps_data pcaps = { 0 };
3620 &pcaps, NULL);
3630 types = pcaps.phy_type_high;
3632 types = pcaps.phy_type_low;
3638 ice_copy_phy_caps_to_cfg(hw->port_info, &pcaps, &cfg);
3706 struct ice_aqc_get_phy_caps_data pcaps = { 0 };
3722 status = ice_aq_get_phy_caps(pi, true, report_mode, &pcaps, NULL);
3731 ret = sysctl_handle_opaque(oidp, &pcaps, sizeof(pcaps), req);
7936 struct ice_aqc_get_phy_caps_data pcaps = { 0 };
7940 &pcaps, NULL);
7946 if (pcaps.link_fec_options & (ICE_AQC_PHY_FEC_25G_RS_528_REQ |
7951 if (pcaps.link_fec_options & (ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ |
9551 * supplied PHY config struct. It uses the data from pcaps to check if the
9552 * saved settings are invalid and uses the pcaps data instead if they are
9669 * from pcaps to check if the saved settings are invalid and uses the pcaps
9726 * control mode to a PHY config struct; it uses the data from pcaps
9727 * to check if the saved settings are invalid and uses the pcaps
9739 struct ice_aqc_get_phy_caps_data pcaps = { 0 };
9753 &pcaps, NULL);
9762 phy_low = le64toh(pcaps.phy_type_low);
9763 phy_high = le64toh(pcaps.phy_type_high);
9767 dflt_fec_mode = ice_caps_to_fec_mode(pcaps.caps, pcaps.link_fec_options);
9770 ice_copy_phy_caps_to_cfg(pi, &pcaps, &cfg);
9776 cfg.phy_type_low = pcaps.phy_type_low;
9777 cfg.phy_type_high = pcaps.phy_type_high;
9957 struct ice_aqc_get_phy_caps_data pcaps = { 0 };
9966 status = ice_aq_get_phy_caps(pi, false, report_mode, &pcaps, NULL);
9977 phy_low = le64toh(pcaps.phy_type_low);
9978 phy_high = le64toh(pcaps.phy_type_high);
9983 pi->phy.curr_user_fec_req = ice_caps_to_fec_mode(pcaps.caps,
9984 pcaps.link_fec_options);
9985 pi->phy.curr_user_fc_req = ice_caps_to_fc_mode(pcaps.caps);