Home
last modified time | relevance | path

Searched refs:mdio_stat (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/net/fm/
A Dtgec_phy.c31 out_be32(&regs->mdio_stat, stat_val); in tgec_mdio_write()
32 while ((in_be32(&regs->mdio_stat)) & MDIO_STAT_BSY) in tgec_mdio_write()
43 while ((in_be32(&regs->mdio_stat)) & MDIO_STAT_BSY) in tgec_mdio_write()
72 out_be32(&regs->mdio_stat, stat_val); in tgec_mdio_read()
74 while ((in_be32(&regs->mdio_stat)) & MDIO_STAT_BSY) in tgec_mdio_read()
85 while ((in_be32(&regs->mdio_stat)) & MDIO_STAT_BSY) in tgec_mdio_read()
97 if (in_be32(&regs->mdio_stat) & MDIO_STAT_RD_ER) in tgec_mdio_read()
A Dmemac_phy.c49 while ((memac_in_32(&regs->mdio_stat) & MDIO_STAT_BSY) && timeout--) in memac_wait_until_free()
107 memac_clrbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in memac_mdio_write()
109 memac_setbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in memac_mdio_write()
168 memac_clrbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in memac_mdio_read()
170 memac_setbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in memac_mdio_read()
197 if (memac_in_32(&regs->mdio_stat) & MDIO_STAT_RD_ER) in memac_mdio_read()
238 &((struct memac_mdio_controller *)info->regs)->mdio_stat, in fm_memac_mdio_init()
321 if (priv && priv->regs && priv->regs->mdio_stat) in fm_mdio_probe()
322 memac_setbits_32(&priv->regs->mdio_stat, in fm_mdio_probe()
/u-boot/drivers/net/
A Dfsl_ls_mdio.c48 memac_clrbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in fsl_ls_mdio_setup_operation()
50 memac_setbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in fsl_ls_mdio_setup_operation()
54 while ((memac_in_32(&regs->mdio_stat)) & MDIO_STAT_BSY) in fsl_ls_mdio_setup_operation()
66 while ((memac_in_32(&regs->mdio_stat)) & MDIO_STAT_BSY) in fsl_ls_mdio_setup_operation()
91 if (memac_in_32(&regs->mdio_stat) & MDIO_STAT_RD_ER) in dm_fsl_ls_mdio_read()
129 memac_setbits_32(&regs->mdio_stat, in fsl_ls_mdio_probe()
/u-boot/include/
A Dfsl_tgec.h177 u32 mdio_stat; /* MDIO configuration and status */ member
A Dfsl_memac.h235 u32 mdio_stat; /* MDIO configuration and status */ member

Completed in 9 milliseconds