Lines Matching refs:num_ports
48 u32 num_ports; member
61 u32 num_ports; member
164 .num_ports = 2,
182 .num_ports = 2,
188 .num_ports = 2,
265 if (phy_id > priv->num_ports) in phy_gmii_sel_of_xlate()
356 priv->num_ports = size / sizeof(u32); in phy_gmii_sel_init_ports()
357 if (!priv->num_ports) in phy_gmii_sel_init_ports()
362 if_phys = devm_kcalloc(dev, priv->num_ports, in phy_gmii_sel_init_ports()
366 dev_dbg(dev, "%s %d\n", __func__, priv->num_ports); in phy_gmii_sel_init_ports()
368 for (i = 0; i < priv->num_ports; i++) { in phy_gmii_sel_init_ports()
397 priv->num_ports = priv->soc_data->num_ports; in phy_gmii_sel_probe()