Lines Matching refs:mii_reg
55 void (*funct)(uint mii_reg, struct net_device *dev);
761 static void mii_parse_sr(uint mii_reg, struct net_device *dev) in mii_parse_sr() argument
768 if (mii_reg & 0x0004) in mii_parse_sr()
770 if (mii_reg & 0x0010) in mii_parse_sr()
772 if (mii_reg & 0x0020) in mii_parse_sr()
779 static void mii_parse_cr(uint mii_reg, struct net_device *dev) in mii_parse_cr() argument
786 if (mii_reg & 0x1000) in mii_parse_cr()
788 if (mii_reg & 0x4000) in mii_parse_cr()
794 static void mii_parse_anar(uint mii_reg, struct net_device *dev) in mii_parse_anar() argument
801 if (mii_reg & 0x0020) in mii_parse_anar()
803 if (mii_reg & 0x0040) in mii_parse_anar()
805 if (mii_reg & 0x0080) in mii_parse_anar()
807 if (mii_reg & 0x00100) in mii_parse_anar()
823 static void mii_parse_lxt970_csr(uint mii_reg, struct net_device *dev) in mii_parse_lxt970_csr() argument
830 if (mii_reg & 0x0800) { in mii_parse_lxt970_csr()
831 if (mii_reg & 0x1000) in mii_parse_lxt970_csr()
836 if (mii_reg & 0x1000) in mii_parse_lxt970_csr()
906 static void mii_parse_lxt971_sr2(uint mii_reg, struct net_device *dev) in mii_parse_lxt971_sr2() argument
913 if (mii_reg & 0x4000) { in mii_parse_lxt971_sr2()
914 if (mii_reg & 0x0200) in mii_parse_lxt971_sr2()
919 if (mii_reg & 0x0200) in mii_parse_lxt971_sr2()
924 if (mii_reg & 0x0008) in mii_parse_lxt971_sr2()
985 static void mii_parse_qs6612_pcr(uint mii_reg, struct net_device *dev) in mii_parse_qs6612_pcr() argument
992 switch((mii_reg >> 2) & 7) { in mii_parse_qs6612_pcr()
1063 static void mii_parse_dm9131_acsr(uint mii_reg, struct net_device *dev) in mii_parse_dm9131_acsr() argument
1070 switch ((mii_reg >> 12) & 0xf) { in mii_parse_dm9131_acsr()
1226 static void mii_queue_relink(uint mii_reg, struct net_device *dev) in mii_queue_relink() argument
1235 static void mii_queue_config(uint mii_reg, struct net_device *dev) in mii_queue_config() argument
1255 mii_discover_phy3(uint mii_reg, struct net_device *dev) in mii_discover_phy3() argument
1261 fep->phy_id |= (mii_reg & 0xffff); in mii_discover_phy3()
1281 mii_discover_phy(uint mii_reg, struct net_device *dev) in mii_discover_phy() argument
1288 if ((phytype = (mii_reg & 0xfff)) != 0xfff) { in mii_discover_phy()