Home
last modified time | relevance | path

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

/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dtg3.c212 static int tg3_writephy(struct tg3 *tp, int reg, uint32_t val) in tg3_writephy() function
251 err = tg3_writephy(tp, MII_TG3_DSP_ADDRESS, addr); in tg3_writedsp()
252 err |= tg3_writephy(tp, MII_TG3_DSP_RW_PORT, val); in tg3_writedsp()
264 tg3_writephy(tp, MII_TG3_AUX_CTRL, 0x7007); in tg3_phy_set_wirespeed()
266 tg3_writephy(tp, MII_TG3_AUX_CTRL, (val | (1 << 15) | (1 << 4))); in tg3_phy_set_wirespeed()
278 err = tg3_writephy(tp, MII_BMCR, phy_control); in tg3_bmcr_reset()
330 tg3_writephy(tp, MII_TG3_DSP_ADDRESS, in tg3_phy_write_and_check_testpat()
332 tg3_writephy(tp, 0x16, 0x0002); in tg3_phy_write_and_check_testpat()
335 tg3_writephy(tp, MII_TG3_DSP_RW_PORT, in tg3_phy_write_and_check_testpat()
338 tg3_writephy(tp, 0x16, 0x0202); in tg3_phy_write_and_check_testpat()
[all …]