FreeBSD/sys/dev/ste/if_ste.c
static void
ste_mii_bitbang_write(device_t dev, uint32_t val)
{
	struct ste_softc *sc;

	sc = device_get_softc(dev);

	CSR_WRITE_1(sc, STE_PHYCTL, val);
	CSR_BARRIER(sc, STE_PHYCTL, 1,
	    BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE);
}
/*
 * Write the MII serial port for the MII bit-bang module.
 */
Write the MII serial port for the MII bit-bang module.
Write the MII serial port for the MII bit - bang module .
static void
ste_mii_bitbang_write(device_t dev, uint32_t val)
{
	struct ste_softc *sc;
	sc = device_get_softc(dev);
	CSR_WRITE_1(sc, STE_PHYCTL, val);
	CSR_BARRIER(sc, STE_PHYCTL, 1,
	    BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE);
}
static void ste_mii_bitbang_write ( device_t dev , uint32_t val ) { struct ste_softc * sc ; sc = device_get_softc ( dev ) ; CSR_WRITE_1 ( sc , STE_PHYCTL , val ) ; CSR_BARRIER ( sc , STE_PHYCTL , 1 , BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE ) ; }
Write the MII serial port for the MII bit-bang module.
Write the MII serial port for the MII bit - bang module .