Lines Matching refs:cr10_value
909 unsigned long ioaddr, cr10_value; in phy_readby_cr10() local
912 cr10_value = phy_addr; in phy_readby_cr10()
913 cr10_value = (cr10_value<<5) + offset; in phy_readby_cr10()
914 cr10_value = (cr10_value<<16) + 0x08000000; in phy_readby_cr10()
915 outl(cr10_value, ioaddr); in phy_readby_cr10()
918 cr10_value = inl(ioaddr); in phy_readby_cr10()
919 if (cr10_value & 0x10000000) in phy_readby_cr10()
922 return (cr10_value&0x0ffff); in phy_readby_cr10()
928 unsigned long ioaddr, cr10_value; in phy_writeby_cr10() local
931 cr10_value = phy_addr; in phy_writeby_cr10()
932 cr10_value = (cr10_value<<5) + offset; in phy_writeby_cr10()
933 cr10_value = (cr10_value<<16) + 0x04000000 + phy_data; in phy_writeby_cr10()
934 outl(cr10_value, ioaddr); in phy_writeby_cr10()