Home
last modified time | relevance | path

Searched refs:SMC_SET_MII (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
H A Dsmc911x.h835 #define SMC_SET_MII(lp,a,phy,v) \ macro
850 #define SMC_SET_PHY_BMCR(lp,phy,x) SMC_SET_MII( (lp), MII_BMCR, phy, x )
855 #define SMC_SET_PHY_MII_ADV(lp,phy,x) SMC_SET_MII( (lp), MII_ADVERTISE, phy, x )
857 #define SMC_SET_PHY_MII_LPA(lp,phy,x) SMC_SET_MII( (lp), MII_LPA, phy, x )
859 #define SMC_SET_PHY_CTRL_STS(lp,phy,x) SMC_SET_MII( (lp), PHY_MODE_CTRL_STS, phy, x )
861 #define SMC_SET_PHY_INT_SRC(lp,phy,x) SMC_SET_MII( (lp), PHY_INT_SRC, phy, x )
863 #define SMC_SET_PHY_INT_MASK(lp,phy,x) SMC_SET_MII( (lp), PHY_INT_MASK, phy, x )
H A Dsmc91x.c775 SMC_SET_MII(lp, mii_reg); in smc_mii_out()
777 SMC_SET_MII(lp, mii_reg | MII_MCLK); in smc_mii_out()
789 SMC_SET_MII(lp, mii_reg); in smc_mii_in()
795 SMC_SET_MII(lp, mii_reg); in smc_mii_in()
797 SMC_SET_MII(lp, mii_reg | MII_MCLK); in smc_mii_in()
825 SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); in smc_phy_read()
852 SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); in smc_phy_write()
H A Dsmc91x.h963 #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) macro
H A Dsmc911x.c650 SMC_SET_MII(lp, phyreg, phyaddr, phydata); in smc911x_phy_write()
/kernel/linux/linux-6.6/drivers/net/ethernet/smsc/
H A Dsmc91x.c776 SMC_SET_MII(lp, mii_reg); in smc_mii_out()
778 SMC_SET_MII(lp, mii_reg | MII_MCLK); in smc_mii_out()
790 SMC_SET_MII(lp, mii_reg); in smc_mii_in()
796 SMC_SET_MII(lp, mii_reg); in smc_mii_in()
798 SMC_SET_MII(lp, mii_reg | MII_MCLK); in smc_mii_in()
826 SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); in smc_phy_read()
853 SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); in smc_phy_write()
H A Dsmc91x.h952 #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) macro

Completed in 20 milliseconds