Lines Matching refs:pcaps

1287 	struct ice_aqc_get_phy_caps_data pcaps = { 0 };  in ice_add_media_types()  local
1305 &pcaps, NULL); in ice_add_media_types()
1313 phy_low = le64toh(pcaps.phy_type_low); in ice_add_media_types()
1314 phy_high = le64toh(pcaps.phy_type_high); in ice_add_media_types()
3192 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_intersect_phy_types_and_speeds() local
3228 status = ice_aq_get_phy_caps(pi, false, phy_data->report_mode, &pcaps, NULL); in ice_intersect_phy_types_and_speeds()
3238 phy_data->phy_low_orig = le64toh(pcaps.phy_type_low); in ice_intersect_phy_types_and_speeds()
3239 phy_data->phy_high_orig = le64toh(pcaps.phy_type_high); in ice_intersect_phy_types_and_speeds()
3244 pcaps.module_type[0]); in ice_intersect_phy_types_and_speeds()
3449 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_sysctl_fc_config() local
3466 &pcaps, NULL); in ice_sysctl_fc_config()
3476 if ((pcaps.caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE) && in ice_sysctl_fc_config()
3477 (pcaps.caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE)) in ice_sysctl_fc_config()
3479 else if (pcaps.caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE) in ice_sysctl_fc_config()
3481 else if (pcaps.caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE) in ice_sysctl_fc_config()
3606 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in __ice_sysctl_phy_type_handler() local
3620 &pcaps, NULL); in __ice_sysctl_phy_type_handler()
3630 types = pcaps.phy_type_high; in __ice_sysctl_phy_type_handler()
3632 types = pcaps.phy_type_low; in __ice_sysctl_phy_type_handler()
3638 ice_copy_phy_caps_to_cfg(hw->port_info, &pcaps, &cfg); in __ice_sysctl_phy_type_handler()
3706 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_sysctl_phy_caps() local
3722 status = ice_aq_get_phy_caps(pi, true, report_mode, &pcaps, NULL); in ice_sysctl_phy_caps()
3731 ret = sysctl_handle_opaque(oidp, &pcaps, sizeof(pcaps), req); in ice_sysctl_phy_caps()
7936 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_requested_fec_mode() local
7940 &pcaps, NULL); in ice_requested_fec_mode()
7946 if (pcaps.link_fec_options & (ICE_AQC_PHY_FEC_25G_RS_528_REQ | in ice_requested_fec_mode()
7951 if (pcaps.link_fec_options & (ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ | in ice_requested_fec_mode()
9739 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_apply_saved_phy_cfg() local
9753 &pcaps, NULL); in ice_apply_saved_phy_cfg()
9762 phy_low = le64toh(pcaps.phy_type_low); in ice_apply_saved_phy_cfg()
9763 phy_high = le64toh(pcaps.phy_type_high); in ice_apply_saved_phy_cfg()
9767 dflt_fec_mode = ice_caps_to_fec_mode(pcaps.caps, pcaps.link_fec_options); in ice_apply_saved_phy_cfg()
9770 ice_copy_phy_caps_to_cfg(pi, &pcaps, &cfg); in ice_apply_saved_phy_cfg()
9776 cfg.phy_type_low = pcaps.phy_type_low; in ice_apply_saved_phy_cfg()
9777 cfg.phy_type_high = pcaps.phy_type_high; in ice_apply_saved_phy_cfg()
9957 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_init_saved_phy_cfg() local
9966 status = ice_aq_get_phy_caps(pi, false, report_mode, &pcaps, NULL); in ice_init_saved_phy_cfg()
9977 phy_low = le64toh(pcaps.phy_type_low); in ice_init_saved_phy_cfg()
9978 phy_high = le64toh(pcaps.phy_type_high); in ice_init_saved_phy_cfg()
9983 pi->phy.curr_user_fec_req = ice_caps_to_fec_mode(pcaps.caps, in ice_init_saved_phy_cfg()
9984 pcaps.link_fec_options); in ice_init_saved_phy_cfg()
9985 pi->phy.curr_user_fc_req = ice_caps_to_fc_mode(pcaps.caps); in ice_init_saved_phy_cfg()