• Home
  • Raw
  • Download

Lines Matching refs:phy_addr

171 	u8 phy_addr;  member
531 db->phy_addr = 1; in uli526x_init()
537 db->phy_addr = phy_tmp; in uli526x_init()
548 phy_reg_reset = phy->read(db, db->phy_addr, 0); in uli526x_init()
550 phy->write(db, db->phy_addr, 0, phy_reg_reset); in uli526x_init()
557 while (timeout-- && phy->read(db, db->phy_addr, 0) & 0x8000) in uli526x_init()
676 db->phy.write(db, db->phy_addr, 0, 0x8000); in uli526x_stop()
948 ecmd->phy_address = db->phy_addr; in ULi_ethtool_gset()
1066 if ((phy->read(db, db->phy_addr, 5) & 0x01e0)!=0) in uli526x_timer()
1079 phy->write(db, db->phy_addr, 0, 0x1000); in uli526x_timer()
1522 phy_mode = phy->read(db, db->phy_addr, 1); in uli526x_sense_speed()
1523 phy_mode = phy->read(db, db->phy_addr, 1); in uli526x_sense_speed()
1527 phy_mode = ((phy->read(db, db->phy_addr, 5) & 0x01e0)<<7); in uli526x_sense_speed()
1566 phy_reg = phy->read(db, db->phy_addr, 4) & ~0x01e0; in uli526x_set_phyxcer()
1587 phy->write(db, db->phy_addr, 4, phy_reg); in uli526x_set_phyxcer()
1590 phy->write(db, db->phy_addr, 0, 0x1200); in uli526x_set_phyxcer()
1618 phy_reg = phy->read(db, db->phy_addr, 6); in uli526x_process_mode()
1628 phy->write(db, db->phy_addr, 0, phy_reg); in uli526x_process_mode()
1635 static void phy_writeby_cr9(struct uli526x_board_info *db, u8 phy_addr, in phy_writeby_cr9() argument
1654 phy_write_1bit(db, phy_addr & i ? PHY_DATA_1 : PHY_DATA_0); in phy_writeby_cr9()
1669 static u16 phy_readby_cr9(struct uli526x_board_info *db, u8 phy_addr, u8 offset) in phy_readby_cr9() argument
1688 phy_write_1bit(db, phy_addr & i ? PHY_DATA_1 : PHY_DATA_0); in phy_readby_cr9()
1706 static u16 phy_readby_cr10(struct uli526x_board_info *db, u8 phy_addr, in phy_readby_cr10() argument
1710 u32 cr10_value = phy_addr; in phy_readby_cr10()
1724 static void phy_writeby_cr10(struct uli526x_board_info *db, u8 phy_addr, in phy_writeby_cr10() argument
1728 u32 cr10_value = phy_addr; in phy_writeby_cr10()