Lines Matching refs:smsc_miibus_sendbits
181 static void smsc_miibus_sendbits(struct smsc_data *sc, uint32_t data, int nbits) in smsc_miibus_sendbits() function
213 smsc_miibus_sendbits(sc, MII_COMMAND_START, 2); in smsc_miibus_readreg()
214 smsc_miibus_sendbits(sc, MII_COMMAND_READ, 2); in smsc_miibus_readreg()
215 smsc_miibus_sendbits(sc, phy, 5); in smsc_miibus_readreg()
216 smsc_miibus_sendbits(sc, reg, 5); in smsc_miibus_readreg()
260 smsc_miibus_sendbits(sc, MII_COMMAND_START, 2); in smsc_miibus_writereg()
261 smsc_miibus_sendbits(sc, MII_COMMAND_WRITE, 2); in smsc_miibus_writereg()
262 smsc_miibus_sendbits(sc, phy, 5); in smsc_miibus_writereg()
263 smsc_miibus_sendbits(sc, reg, 5); in smsc_miibus_writereg()
264 smsc_miibus_sendbits(sc, MII_COMMAND_ACK, 2); in smsc_miibus_writereg()
265 smsc_miibus_sendbits(sc, val, 16); in smsc_miibus_writereg()