Home
last modified time | relevance | path

Searched refs:ug_regs (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/
H A Ducc_geth.c468 ug_regs = ugeth->ug_regs; in get_statistics()
1302 ug_regs = ugeth->ug_regs; in adjust_enet_interface()
1566 ug_regs = ugeth->ug_regs; in adjust_link()
1947 if (ugeth->ug_regs) { in ucc_geth_memclean()
1949 ugeth->ug_regs = NULL; in ucc_geth_memclean()
1997 struct ucc_geth __iomem *ug_regs = ugeth->ug_regs; in ucc_geth_stop() local
2129 ugeth->ug_regs = ioremap(uf_info->regs, sizeof(*ugeth->ug_regs)); in ucc_struct_init()
2130 if (!ugeth->ug_regs) { in ucc_struct_init()
2283 ug_regs = ugeth->ug_regs; in ucc_geth_startup()
2311 &ug_regs->maccfg1, &ug_regs->maccfg2); in ucc_geth_startup()
[all …]
H A Ducc_geth_ethtool.c168 &ugeth->ug_regs->uempr, in uec_set_pauseparam()
169 &ugeth->ug_regs->maccfg1); in uec_set_pauseparam()
201 u32 __iomem *ug_regs = (u32 __iomem *)ugeth->ug_regs; in uec_get_regs() local
205 buff[i] = in_be32(&ug_regs[i]); in uec_get_regs()
315 if (ugeth->ug_regs) in uec_get_ethtool_stats()
316 base = (u32 __iomem *)&ugeth->ug_regs->tx64; in uec_get_ethtool_stats()
H A Ducc_geth.h1161 struct ucc_geth __iomem *ug_regs; member
/openbmc/u-boot/drivers/qe/
H A Duec_phy.c129 uec_mii_t *ug_regs; in uec_write_phy_reg() local
146 ug_regs = ugeth->uec_mii_regs; in uec_write_phy_reg()
149 out_be32 (&ug_regs->miimcom, 0); in uec_write_phy_reg()
152 out_be32 (&ug_regs->miimadd, tmp_reg); in uec_write_phy_reg()
155 out_be32 (&ug_regs->miimcon, (u32) value); in uec_write_phy_reg()
168 uec_mii_t *ug_regs; in uec_read_phy_reg() local
186 ug_regs = ugeth->uec_mii_regs; in uec_read_phy_reg()
190 out_be32 (&ug_regs->miimadd, tmp_reg); in uec_read_phy_reg()
193 out_be32 (&ug_regs->miimcom, 0); in uec_read_phy_reg()
200 while ((in_be32 (&ug_regs->miimind)) & in uec_read_phy_reg()
[all …]