Lines Matching refs:pcaps
1295 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_add_media_types() local
1313 &pcaps, NULL); in ice_add_media_types()
1321 phy_low = le64toh(pcaps.phy_type_low); in ice_add_media_types()
1322 phy_high = le64toh(pcaps.phy_type_high); in ice_add_media_types()
3219 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_intersect_phy_types_and_speeds() local
3255 status = ice_aq_get_phy_caps(pi, false, phy_data->report_mode, &pcaps, NULL); in ice_intersect_phy_types_and_speeds()
3265 phy_data->phy_low_orig = le64toh(pcaps.phy_type_low); in ice_intersect_phy_types_and_speeds()
3266 phy_data->phy_high_orig = le64toh(pcaps.phy_type_high); in ice_intersect_phy_types_and_speeds()
3271 pcaps.module_type[0]); in ice_intersect_phy_types_and_speeds()
3476 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_sysctl_fc_config() local
3493 &pcaps, NULL); in ice_sysctl_fc_config()
3503 if ((pcaps.caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE) && in ice_sysctl_fc_config()
3504 (pcaps.caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE)) in ice_sysctl_fc_config()
3506 else if (pcaps.caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE) in ice_sysctl_fc_config()
3508 else if (pcaps.caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE) in ice_sysctl_fc_config()
3633 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in __ice_sysctl_phy_type_handler() local
3647 &pcaps, NULL); in __ice_sysctl_phy_type_handler()
3657 types = pcaps.phy_type_high; in __ice_sysctl_phy_type_handler()
3659 types = pcaps.phy_type_low; in __ice_sysctl_phy_type_handler()
3665 ice_copy_phy_caps_to_cfg(hw->port_info, &pcaps, &cfg); in __ice_sysctl_phy_type_handler()
3733 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_sysctl_phy_caps() local
3749 status = ice_aq_get_phy_caps(pi, true, report_mode, &pcaps, NULL); in ice_sysctl_phy_caps()
3758 ret = sysctl_handle_opaque(oidp, &pcaps, sizeof(pcaps), req); in ice_sysctl_phy_caps()
7938 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_requested_fec_mode() local
7942 &pcaps, NULL); in ice_requested_fec_mode()
7948 if (pcaps.link_fec_options & (ICE_AQC_PHY_FEC_25G_RS_528_REQ | in ice_requested_fec_mode()
7953 if (pcaps.link_fec_options & (ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ | in ice_requested_fec_mode()
9741 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_apply_saved_phy_cfg() local
9755 &pcaps, NULL); in ice_apply_saved_phy_cfg()
9764 phy_low = le64toh(pcaps.phy_type_low); in ice_apply_saved_phy_cfg()
9765 phy_high = le64toh(pcaps.phy_type_high); in ice_apply_saved_phy_cfg()
9769 dflt_fec_mode = ice_caps_to_fec_mode(pcaps.caps, pcaps.link_fec_options); in ice_apply_saved_phy_cfg()
9772 ice_copy_phy_caps_to_cfg(pi, &pcaps, &cfg); in ice_apply_saved_phy_cfg()
9778 cfg.phy_type_low = pcaps.phy_type_low; in ice_apply_saved_phy_cfg()
9779 cfg.phy_type_high = pcaps.phy_type_high; in ice_apply_saved_phy_cfg()
9959 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_init_saved_phy_cfg() local
9968 status = ice_aq_get_phy_caps(pi, false, report_mode, &pcaps, NULL); in ice_init_saved_phy_cfg()
9979 phy_low = le64toh(pcaps.phy_type_low); in ice_init_saved_phy_cfg()
9980 phy_high = le64toh(pcaps.phy_type_high); in ice_init_saved_phy_cfg()
9985 pi->phy.curr_user_fec_req = ice_caps_to_fec_mode(pcaps.caps, in ice_init_saved_phy_cfg()
9986 pcaps.link_fec_options); in ice_init_saved_phy_cfg()
9987 pi->phy.curr_user_fc_req = ice_caps_to_fc_mode(pcaps.caps); in ice_init_saved_phy_cfg()