Lines Matching refs:phy_data

234 	struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;  in efx_get_mcdi_phy_flags()
376 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_check_fcntl()
426 struct efx_mcdi_phy_data *phy_data; in efx_mcdi_phy_probe() local
432 phy_data = kzalloc(sizeof(*phy_data), GFP_KERNEL); in efx_mcdi_phy_probe()
433 if (phy_data == NULL) in efx_mcdi_phy_probe()
436 rc = efx_mcdi_get_phy_cfg(efx, phy_data); in efx_mcdi_phy_probe()
448 efx->phy_data = phy_data; in efx_mcdi_phy_probe()
449 efx->phy_type = phy_data->type; in efx_mcdi_phy_probe()
453 mcdi_to_ethtool_linkset(phy_data->media, caps, in efx_mcdi_phy_probe()
456 phy_data->forced_cap = caps; in efx_mcdi_phy_probe()
510 if (phy_data->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN)) in efx_mcdi_phy_probe()
517 kfree(phy_data); in efx_mcdi_phy_probe()
523 struct efx_mcdi_phy_data *phy_data = efx->phy_data; in efx_mcdi_phy_remove() local
525 efx->phy_data = NULL; in efx_mcdi_phy_remove()
526 kfree(phy_data); in efx_mcdi_phy_remove()
531 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_get_link_ksettings()
558 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_set_link_ksettings()
670 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_set_fecparam()
721 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_port_reconfigure()
805 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_run_tests()
844 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_test_name()
957 struct efx_mcdi_phy_data *phy_data = efx->phy_data; in efx_mcdi_phy_module_type() local
959 if (phy_data->media != MC_CMD_MEDIA_QSFP_PLUS) in efx_mcdi_phy_module_type()
960 return phy_data->media; in efx_mcdi_phy_module_type()