Home
last modified time | relevance | path

Searched refs:fec_cap (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport.c353 static int mlx5e_get_fec_cap_field(u32 *pplm, u16 *fec_cap, in mlx5e_get_fec_cap_field() argument
358 *fec_cap = MLX5E_GET_FEC_OVERRIDE_CAP(pplm, 10g_40g); in mlx5e_get_fec_cap_field()
361 *fec_cap = MLX5E_GET_FEC_OVERRIDE_CAP(pplm, 25g); in mlx5e_get_fec_cap_field()
364 *fec_cap = MLX5E_GET_FEC_OVERRIDE_CAP(pplm, 50g); in mlx5e_get_fec_cap_field()
367 *fec_cap = MLX5E_GET_FEC_OVERRIDE_CAP(pplm, 56g); in mlx5e_get_fec_cap_field()
370 *fec_cap = MLX5E_GET_FEC_OVERRIDE_CAP(pplm, 100g); in mlx5e_get_fec_cap_field()
373 *fec_cap = MLX5E_GET_FEC_OVERRIDE_CAP(pplm, 50g_1x); in mlx5e_get_fec_cap_field()
376 *fec_cap = MLX5E_GET_FEC_OVERRIDE_CAP(pplm, 100g_2x); in mlx5e_get_fec_cap_field()
379 *fec_cap = MLX5E_GET_FEC_OVERRIDE_CAP(pplm, 200g_4x); in mlx5e_get_fec_cap_field()
382 *fec_cap = MLX5E_GET_FEC_OVERRIDE_CAP(pplm, 400g_8x); in mlx5e_get_fec_cap_field()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_capability.c329 link->dpcd_caps.fec_cap.bits.FEC_CAPABLE); in dp_is_fec_supported()
1804 memset(&link->dpcd_caps.fec_cap, '\0', sizeof(link->dpcd_caps.fec_cap)); in retrieve_link_cap()
1810 &link->dpcd_caps.fec_cap.raw, in retrieve_link_cap()
1811 sizeof(link->dpcd_caps.fec_cap.raw)); in retrieve_link_cap()
1818 is_fec_supported = link->dpcd_caps.fec_cap.bits.FEC_CAPABLE; in retrieve_link_cap()
1851 (link->dpcd_caps.fec_cap.bits.FEC_CAPABLE || in retrieve_link_cap()
1858 memset(&link->dpcd_caps.fec_cap, '\0', sizeof(link->dpcd_caps.fec_cap)); in retrieve_link_cap()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_replay.c199 if (((link->dpcd_caps.fec_cap.bits.FEC_CAPABLE && in dmub_replay_copy_settings()
H A Ddmub_psr.c398 if (((link->dpcd_caps.fec_cap.bits.FEC_CAPABLE && in dmub_psr_copy_settings()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_dp_types.h1229 union dpcd_fec_capability fec_cap; member
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c1295 is_fec_supported = dpcd_caps.fec_cap.raw & 0x1; in dp_dsc_fec_support_show()