Lines Matching refs:write_bcr

245 	void	(*write_bcr) (unsigned long, int, u16);  member
385 .write_bcr = pcnet32_wio_write_bcr,
440 .write_bcr = pcnet32_dwio_write_bcr,
768 lp->a->write_bcr(ioaddr, 2, bcr2 | 0x0002); in pcnet32_set_link_ksettings()
770 lp->a->write_bcr(ioaddr, 2, bcr2 & ~0x0002); in pcnet32_set_link_ksettings()
783 lp->a->write_bcr(ioaddr, 9, bcr9); in pcnet32_set_link_ksettings()
998 lp->a->write_bcr(ioaddr, 20, 2); in pcnet32_loopback_test()
1050 a->write_bcr(ioaddr, 32, x | 0x0002); in pcnet32_loopback_test()
1115 a->write_bcr(ioaddr, 32, (x & ~0x0002)); in pcnet32_loopback_test()
1122 lp->a->write_bcr(ioaddr, 20, 4); /* return to 16bit mode */ in pcnet32_loopback_test()
1152 a->write_bcr(ioaddr, i, a->read_bcr(ioaddr, i) ^ 0x4000); in pcnet32_set_phys_id()
1160 a->write_bcr(ioaddr, i, lp->save_regs[i - 4]); in pcnet32_set_phys_id()
1473 lp->a->write_bcr(ioaddr, 33, in pcnet32_get_regs()
1685 a->write_bcr(ioaddr, 49, media); in pcnet32_probe1()
1714 a->write_bcr(ioaddr, 18, (a->read_bcr(ioaddr, 18) | 0x0860)); in pcnet32_probe1()
1739 a->write_bcr(ioaddr, 25, 0x17); in pcnet32_probe1()
1740 a->write_bcr(ioaddr, 26, 0xc); in pcnet32_probe1()
1742 a->write_bcr(ioaddr, 18, a->read_bcr(ioaddr, 18) | (1 << 11)); in pcnet32_probe1()
1914 a->write_bcr(ioaddr, 20, 2); in pcnet32_probe1()
1970 lp->a->write_bcr(ioaddr, 33, (lp->mii_if.phy_id) << 5); in pcnet32_probe1()
1998 a->write_bcr(ioaddr, 2, a->read_bcr(ioaddr, 2) | 0x1000); in pcnet32_probe1()
2115 lp->a->write_bcr(ioaddr, 20, 2); in pcnet32_open()
2131 lp->a->write_bcr(ioaddr, 2, val); in pcnet32_open()
2145 lp->a->write_bcr(ioaddr, 9, val); in pcnet32_open()
2171 lp->a->write_bcr(ioaddr, 32, in pcnet32_open()
2179 lp->a->write_bcr(ioaddr, 32, val); in pcnet32_open()
2182 lp->a->write_bcr(ioaddr, 32, in pcnet32_open()
2188 lp->a->write_bcr(ioaddr, 32, val); in pcnet32_open()
2202 lp->a->write_bcr(ioaddr, 2, val & ~2); in pcnet32_open()
2204 lp->a->write_bcr(ioaddr, 32, val & ~(1 << 7)); /* stop MII manager */ in pcnet32_open()
2223 lp->a->write_bcr(ioaddr, 9, bcr9); in pcnet32_open()
2314 lp->a->write_bcr(ioaddr, 20, 4); in pcnet32_open()
2646 lp->a->write_bcr(ioaddr, 20, 4); in pcnet32_close()
2758 lp->a->write_bcr(ioaddr, 33, ((phy_id & 0x1f) << 5) | (reg_num & 0x1f)); in mdio_read()
2773 lp->a->write_bcr(ioaddr, 33, ((phy_id & 0x1f) << 5) | (reg_num & 0x1f)); in mdio_write()
2774 lp->a->write_bcr(ioaddr, 34, val); in mdio_write()
2886 lp->a->write_bcr(dev->base_addr, 9, bcr9); in pcnet32_check_media()