Lines Matching refs:phy_data

262 	struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;  in efx_get_mcdi_phy_flags()
338 struct efx_mcdi_phy_data *phy_data; in efx_mcdi_phy_probe() local
344 phy_data = kzalloc(sizeof(*phy_data), GFP_KERNEL); in efx_mcdi_phy_probe()
345 if (phy_data == NULL) in efx_mcdi_phy_probe()
348 rc = efx_mcdi_get_phy_cfg(efx, phy_data); in efx_mcdi_phy_probe()
360 efx->phy_data = phy_data; in efx_mcdi_phy_probe()
361 efx->phy_type = phy_data->type; in efx_mcdi_phy_probe()
363 efx->mdio_bus = phy_data->channel; in efx_mcdi_phy_probe()
364 efx->mdio.prtad = phy_data->port; in efx_mcdi_phy_probe()
365 efx->mdio.mmds = phy_data->mmd_mask & ~(1 << MC_CMD_MMD_CLAUSE22); in efx_mcdi_phy_probe()
367 if (phy_data->mmd_mask & (1 << MC_CMD_MMD_CLAUSE22)) in efx_mcdi_phy_probe()
369 if (phy_data->mmd_mask & ~(1 << MC_CMD_MMD_CLAUSE22)) in efx_mcdi_phy_probe()
375 mcdi_to_ethtool_cap(phy_data->media, caps); in efx_mcdi_phy_probe()
377 phy_data->forced_cap = caps; in efx_mcdi_phy_probe()
424 if (phy_data->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN)) in efx_mcdi_phy_probe()
431 kfree(phy_data); in efx_mcdi_phy_probe()
437 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_port_reconfigure()
451 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_check_fcntl()
500 struct efx_mcdi_phy_data *phy_data = efx->phy_data; in efx_mcdi_phy_remove() local
502 efx->phy_data = NULL; in efx_mcdi_phy_remove()
503 kfree(phy_data); in efx_mcdi_phy_remove()
508 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_get_settings()
536 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_set_settings()
672 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_run_tests()
711 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_test_name()
796 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_get_module_info()
826 struct efx_mcdi_phy_data *phy_data = efx->phy_data; in efx_mcdi_phy_get_caps() local
828 return phy_data->supported_cap; in efx_mcdi_phy_get_caps()