Lines Matching refs:phy_addr
136 u8 phy_addr; member
346 uli_phy_write(db->ioaddr, db->phy_addr, 0, 0x8000, db->chip_id); in uli526x_disable()
378 db->phy_addr = 1; in uli526x_init()
384 db->phy_addr = phy_tmp; in uli526x_init()
391 printf("%s(): db->phy_addr= 0x%x\n", __FUNCTION__, db->phy_addr); in uli526x_init()
402 db->phy_addr, 0, db->chip_id); in uli526x_init()
404 uli_phy_write(db->ioaddr, db->phy_addr, 0, in uli526x_init()
779 db->phy_addr, 4, db->chip_id) & ~0x01e0; in uli526x_set_phyxcer()
800 uli_phy_write(db->ioaddr, db->phy_addr, 4, phy_reg, db->chip_id); in uli526x_set_phyxcer()
803 uli_phy_write(db->ioaddr, db->phy_addr, 0, 0x1200, db->chip_id); in uli526x_set_phyxcer()
811 static void uli_phy_write(unsigned long iobase, u8 phy_addr, u8 offset, in uli_phy_write() argument
818 phy_writeby_cr10(iobase, phy_addr, offset, phy_data); in uli_phy_write()
838 phy_write_1bit(ioaddr, phy_addr & i ? in uli_phy_write()
860 static u16 uli_phy_read(unsigned long iobase, u8 phy_addr, u8 offset, in uli_phy_read() argument
868 return phy_readby_cr10(iobase, phy_addr, offset); in uli_phy_read()
886 phy_write_1bit(ioaddr, phy_addr & i ? in uli_phy_read()
906 static u16 phy_readby_cr10(unsigned long iobase, u8 phy_addr, u8 offset) in phy_readby_cr10() argument
911 cr10_value = phy_addr; in phy_readby_cr10()
924 static void phy_writeby_cr10(unsigned long iobase, u8 phy_addr, in phy_writeby_cr10() argument
930 cr10_value = phy_addr; in phy_writeby_cr10()