Lines Matching refs:pcaps
1119 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_add_media_types() local
1137 &pcaps, NULL); in ice_add_media_types()
1145 phy_low = le64toh(pcaps.phy_type_low); in ice_add_media_types()
1146 phy_high = le64toh(pcaps.phy_type_high); in ice_add_media_types()
2922 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_intersect_phy_types_and_speeds() local
2958 status = ice_aq_get_phy_caps(pi, false, phy_data->report_mode, &pcaps, NULL); in ice_intersect_phy_types_and_speeds()
2968 phy_data->phy_low_orig = le64toh(pcaps.phy_type_low); in ice_intersect_phy_types_and_speeds()
2969 phy_data->phy_high_orig = le64toh(pcaps.phy_type_high); in ice_intersect_phy_types_and_speeds()
2974 pcaps.module_type[0]); in ice_intersect_phy_types_and_speeds()
3169 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_sysctl_fc_config() local
3186 &pcaps, NULL); in ice_sysctl_fc_config()
3196 if ((pcaps.caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE) && in ice_sysctl_fc_config()
3197 (pcaps.caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE)) in ice_sysctl_fc_config()
3199 else if (pcaps.caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE) in ice_sysctl_fc_config()
3201 else if (pcaps.caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE) in ice_sysctl_fc_config()
3323 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in __ice_sysctl_phy_type_handler() local
3337 &pcaps, NULL); in __ice_sysctl_phy_type_handler()
3347 types = pcaps.phy_type_high; in __ice_sysctl_phy_type_handler()
3349 types = pcaps.phy_type_low; in __ice_sysctl_phy_type_handler()
3355 ice_copy_phy_caps_to_cfg(hw->port_info, &pcaps, &cfg); in __ice_sysctl_phy_type_handler()
3423 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_sysctl_phy_caps() local
3439 status = ice_aq_get_phy_caps(pi, true, report_mode, &pcaps, NULL); in ice_sysctl_phy_caps()
3448 ret = sysctl_handle_opaque(oidp, &pcaps, sizeof(pcaps), req); in ice_sysctl_phy_caps()
6849 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_requested_fec_mode() local
6853 &pcaps, NULL); in ice_requested_fec_mode()
6859 if (pcaps.link_fec_options & (ICE_AQC_PHY_FEC_25G_RS_528_REQ | in ice_requested_fec_mode()
6864 if (pcaps.link_fec_options & (ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ | in ice_requested_fec_mode()
8447 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_apply_saved_phy_cfg() local
8461 &pcaps, NULL); in ice_apply_saved_phy_cfg()
8470 phy_low = le64toh(pcaps.phy_type_low); in ice_apply_saved_phy_cfg()
8471 phy_high = le64toh(pcaps.phy_type_high); in ice_apply_saved_phy_cfg()
8475 dflt_fec_mode = ice_caps_to_fec_mode(pcaps.caps, pcaps.link_fec_options); in ice_apply_saved_phy_cfg()
8478 ice_copy_phy_caps_to_cfg(pi, &pcaps, &cfg); in ice_apply_saved_phy_cfg()
8484 cfg.phy_type_low = pcaps.phy_type_low; in ice_apply_saved_phy_cfg()
8485 cfg.phy_type_high = pcaps.phy_type_high; in ice_apply_saved_phy_cfg()
8626 struct ice_aqc_get_phy_caps_data pcaps = { 0 }; in ice_init_saved_phy_cfg() local
8635 status = ice_aq_get_phy_caps(pi, false, report_mode, &pcaps, NULL); in ice_init_saved_phy_cfg()
8646 phy_low = le64toh(pcaps.phy_type_low); in ice_init_saved_phy_cfg()
8647 phy_high = le64toh(pcaps.phy_type_high); in ice_init_saved_phy_cfg()
8652 pi->phy.curr_user_fec_req = ice_caps_to_fec_mode(pcaps.caps, in ice_init_saved_phy_cfg()
8653 pcaps.link_fec_options); in ice_init_saved_phy_cfg()
8654 pi->phy.curr_user_fc_req = ice_caps_to_fc_mode(pcaps.caps); in ice_init_saved_phy_cfg()