Lines Matching refs:soc_data
50 const struct phy_gmii_sel_soc_data *soc_data; member
61 const struct phy_gmii_sel_soc_data *soc_data = if_phy->priv->soc_data; in phy_gmii_sel_mode() local
110 if (soc_data->features & BIT(PHY_GMII_SEL_RGMII_ID_MODE) && in phy_gmii_sel_mode()
118 if (soc_data->features & BIT(PHY_GMII_SEL_RMII_IO_CLK_EN) && in phy_gmii_sel_mode()
231 if (priv->soc_data->features & BIT(PHY_GMII_SEL_RMII_IO_CLK_EN) && in phy_gmii_sel_of_xlate()
240 if (priv->soc_data->features & BIT(PHY_GMII_SEL_RMII_IO_CLK_EN)) in phy_gmii_sel_of_xlate()
251 const struct phy_gmii_sel_soc_data *soc_data = priv->soc_data; in phy_gmii_init_phy() local
261 fields = soc_data->regfields[port - 1]; in phy_gmii_init_phy()
274 if (soc_data->features & BIT(PHY_GMII_SEL_RGMII_ID_MODE)) { in phy_gmii_init_phy()
287 if (soc_data->features & BIT(PHY_GMII_SEL_RMII_IO_CLK_EN)) { in phy_gmii_init_phy()
313 const struct phy_gmii_sel_soc_data *soc_data = priv->soc_data; in phy_gmii_sel_init_ports() local
318 if (soc_data->use_of_data) { in phy_gmii_sel_init_ports()
364 priv->soc_data = of_id->data; in phy_gmii_sel_probe()
365 priv->num_ports = priv->soc_data->num_ports; in phy_gmii_sel_probe()