Lines Matching full:mii

21 #include <linux/mii.h>
42 u32 miimcfg; /* MII management configuration reg */
43 u32 miimcom; /* MII management command reg */
44 u32 miimadd; /* MII management address reg */
45 u32 miimcon; /* MII management control reg */
46 u32 miimstat; /* MII management status reg */
47 u32 miimind; /* MII management indication reg */
57 struct fsl_pq_mii mii; member
63 /* Number of microseconds to wait for an MII register to respond */
75 * @mii_offset: the offset of the MII registers within the memory map of the
76 * node. Some nodes define only the MII registers, and some define the whole
77 * MAC (which includes the MII registers).
84 unsigned int mii_offset; /* offset of the MII registers */
175 /* Setup the MII Mgmt clock speed */ in fsl_pq_mdio_reset()
188 dev_err(&bus->dev, "timeout waiting for MII bus\n"); in fsl_pq_mdio_reset()
212 * of the mapped GFAR MII registers (gfar_mii_regs[] within struct gfar)
231 * of the mapped MII registers (struct fsl_pq_mii)
235 struct fsl_pq_mdio __iomem *mdio = container_of(p, struct fsl_pq_mdio, mii); in get_ucc_tbipa()
298 pr_debug("fsl-pq-mdio: setting node UCC%u to MII master\n", id); in ucc_configure()
325 .mii_offset = offsetof(struct fsl_pq_mdio, mii),
332 .mii_offset = offsetof(struct fsl_pq_mdio, mii),
339 .mii_offset = offsetof(struct fsl_pq_mdio, mii),
430 new_bus->name = "Freescale PowerQUICC MII Bus"; in fsl_pq_mdio_probe()
451 * Some device tree nodes represent only the MII registers, and in fsl_pq_mdio_probe()
452 * others represent the MAC and MII registers. The 'mii_offset' field in fsl_pq_mdio_probe()
453 * contains the offset of the MII registers inside the mapped register in fsl_pq_mdio_probe()