Lines Matching full:mdio
52 u32 ieventm; /* MDIO Interrupt event register (for etsec2)*/
53 u32 imaskm; /* MDIO Interrupt mask register (for etsec2)*/
55 u32 emapm; /* MDIO Event mapping register (for etsec2)*/
91 * to the local interface, which may be different from the generic mdio bus
95 * mdio pins, which may not be the same as system mdio bus, used for
126 * may be different from the generic mdio bus. This is helpful in programming
128 * SERDES and are always tied to the local mdio pins, which may not be the
129 * same as system mdio bus, used for controlling the external PHYs, for eg.
198 * of the mapped GFAR MDIO registers (struct gfar)
230 * Return the TBIPAR address for a QE MDIO node, starting from the address
235 struct fsl_pq_mdio __iomem *mdio = container_of(p, struct fsl_pq_mdio, mii); in get_ucc_tbipa() local
237 return &mdio->utbipar; in get_ucc_tbipa()
241 * Find the UCC node that controls the given MDIO node
243 * For some reason, the QE MDIO nodes are not children of the UCC devices
245 * the one that encompases the given MDIO node. We do this by comparing
246 * physical addresses. The 'start' and 'end' addresses of the MDIO node are
249 * This assumes that there is only one QE MDIO node in the entire device tree.
267 pr_debug("fsl-pq-mdio: no address range in node %pOF\n", in ucc_configure()
272 /* if our mdio regs fall within this UCC regs range */ in ucc_configure()
280 pr_debug("fsl-pq-mdio: no UCC ID in node %pOF\n", in ucc_configure()
293 pr_debug("fsl-pq-mdio: invalid UCC ID in node %pOF\n", in ucc_configure()
298 pr_debug("fsl-pq-mdio: setting node UCC%u to MII master\n", id); in ucc_configure()
315 .compatible = "fsl,gianfar-mdio",
322 .type = "mdio",
337 .compatible = "fsl,etsec2-mdio",
346 .compatible = "fsl,ucc-mdio",
354 /* Legacy UCC MDIO node */
355 .type = "mdio",
366 .compatible = "fsl,fman-mdio",
494 dev_err_probe(&pdev->dev, err, "cannot register %s as MDIO bus\n", in fsl_pq_mdio_probe()
534 MODULE_DESCRIPTION("Freescale PQ MDIO helpers");