Lines Matching full:mdio

50 	u32 ieventm;	/* MDIO Interrupt event register (for etsec2)*/
51 u32 imaskm; /* MDIO Interrupt mask register (for etsec2)*/
53 u32 emapm; /* MDIO Event mapping register (for etsec2)*/
89 * to the local interface, which may be different from the generic mdio bus
93 * mdio pins, which may not be the same as system mdio bus, used for
124 * may be different from the generic mdio bus. This is helpful in programming
126 * SERDES and are always tied to the local mdio pins, which may not be the
127 * same as system mdio bus, used for controlling the external PHYs, for eg.
196 * of the mapped GFAR MDIO registers (struct gfar)
228 * Return the TBIPAR address for a QE MDIO node, starting from the address
233 struct fsl_pq_mdio __iomem *mdio = container_of(p, struct fsl_pq_mdio, mii); in get_ucc_tbipa() local
235 return &mdio->utbipar; in get_ucc_tbipa()
239 * Find the UCC node that controls the given MDIO node
241 * For some reason, the QE MDIO nodes are not children of the UCC devices
243 * the one that encompases the given MDIO node. We do this by comparing
244 * physical addresses. The 'start' and 'end' addresses of the MDIO node are
247 * This assumes that there is only one QE MDIO node in the entire device tree.
265 pr_debug("fsl-pq-mdio: no address range in node %pOF\n", in ucc_configure()
270 /* if our mdio regs fall within this UCC regs range */ in ucc_configure()
278 pr_debug("fsl-pq-mdio: no UCC ID in node %pOF\n", in ucc_configure()
291 pr_debug("fsl-pq-mdio: invalid UCC ID in node %pOF\n", in ucc_configure()
296 pr_debug("fsl-pq-mdio: setting node UCC%u to MII master\n", id); in ucc_configure()
313 .compatible = "fsl,gianfar-mdio",
320 .type = "mdio",
335 .compatible = "fsl,etsec2-mdio",
344 .compatible = "fsl,ucc-mdio",
352 /* Legacy UCC MDIO node */
353 .type = "mdio",
364 .compatible = "fsl,fman-mdio",
497 dev_err(&pdev->dev, "cannot register %s as MDIO bus\n", in fsl_pq_mdio_probe()