Home
last modified time | relevance | path

Searched refs:davinci_eth_phy_read (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/arch/arm/mach-davinci/
Dlxt972.c26 if (!davinci_eth_phy_read(phy_addr, MII_PHYSID1, &id1)) in lxt972_is_phy_connected()
28 if (!davinci_eth_phy_read(phy_addr, MII_PHYSID2, &id2)) in lxt972_is_phy_connected()
42 if (!davinci_eth_phy_read(phy_addr, PHY_LXT971_STAT2, &stat1)) in lxt972_get_link_speed()
48 if (!davinci_eth_phy_read(phy_addr, PHY_LXT971_DIG_CFG, &tmp)) in lxt972_get_link_speed()
55 if (!davinci_eth_phy_read(phy_addr, PHY_LXT971_DIG_CFG, &tmp)) in lxt972_get_link_speed()
92 if (!davinci_eth_phy_read(phy_addr, MII_BMCR, &tmp)) in lxt972_auto_negotiate()
101 if (!davinci_eth_phy_read(phy_addr, MII_BMSR, &tmp)) in lxt972_auto_negotiate()
Ddp83848.c25 if (!davinci_eth_phy_read(phy_addr, DP83848_PHYID1_REG, &id1)) in dp83848_is_phy_connected()
27 if (!davinci_eth_phy_read(phy_addr, DP83848_PHYID2_REG, &id2)) in dp83848_is_phy_connected()
41 if (!davinci_eth_phy_read(phy_addr, DP83848_STAT_REG, &tmp)) in dp83848_get_link_speed()
47 if (!davinci_eth_phy_read(phy_addr, DP83848_PHY_STAT_REG, &tmp)) in dp83848_get_link_speed()
86 if (!davinci_eth_phy_read(phy_addr, DP83848_CTL_REG, &tmp)) in dp83848_auto_negotiate()
104 if (!davinci_eth_phy_read(phy_addr, DP83848_CTL_REG, &tmp)) in dp83848_auto_negotiate()
116 if (!davinci_eth_phy_read(phy_addr, DP83848_STAT_REG, &tmp)) in dp83848_auto_negotiate()
Det1011c.c29 if (davinci_eth_phy_read(phy_addr, MII_STATUS_REG, &data) && (data & 0x04)) { in et1011c_get_link_speed()
30 davinci_eth_phy_read(phy_addr, MII_PHY_CONFIG_REG, &data); in et1011c_get_link_speed()
Dksz8873.c28 return davinci_eth_phy_read(phy_addr, MII_PHYSID1, &dummy); in ksz8873_is_phy_connected()
/external/u-boot/drivers/net/
Ddavinci_emac.c206 int davinci_eth_phy_read(u_int8_t phy_addr, u_int8_t reg_num, u_int16_t *data) in davinci_eth_phy_read() function
269 return davinci_eth_phy_read(phy_addr, MII_PHYSID1, &dummy); in gen_is_phy_connected()
287 if (davinci_eth_phy_read(phy_addr, MII_STATUS_REG, &tmp) && in gen_get_link_speed()
291 davinci_eth_phy_read(phy_addr, MII_LPA, &tmp); in gen_get_link_speed()
326 if (!davinci_eth_phy_read(phy_addr, MII_BMCR, &tmp)) in gen_auto_negotiate()
333 if (!davinci_eth_phy_read(phy_addr, MII_ADVERTISE, &val)) in gen_auto_negotiate()
340 if (!davinci_eth_phy_read(phy_addr, MII_BMCR, &tmp)) in gen_auto_negotiate()
344 davinci_eth_phy_read(phy_addr, MII_CTRL1000, &val); in gen_auto_negotiate()
348 davinci_eth_phy_read(phy_addr, MII_CTRL1000, &val); in gen_auto_negotiate()
358 if (!davinci_eth_phy_read(phy_addr, MII_BMSR, &tmp)) in gen_auto_negotiate()
[all …]
Ddavinci_emac.h293 int davinci_eth_phy_read(u_int8_t phy_addr, u_int8_t reg_num, u_int16_t *data);