Lines Matching refs:lmc_miireg16
591 sc->lmc_miireg16 |= LMC_MII16_FIFO_RESET; in lmc_ioctl()
592 lmc_mii_writereg(sc, 0, 16, sc->lmc_miireg16); in lmc_ioctl()
594 sc->lmc_miireg16 &= ~LMC_MII16_FIFO_RESET; in lmc_ioctl()
595 lmc_mii_writereg(sc, 0, 16, sc->lmc_miireg16); in lmc_ioctl()
994 sc->lmc_miireg16 |= LMC_MII16_LED_ALL; in lmc_open()
1828 if ((~sc->lmc_miireg16) & led) /* Already on! */ in lmc_led_on()
1831 sc->lmc_miireg16 &= ~led; in lmc_led_on()
1832 lmc_mii_writereg(sc, 0, 16, sc->lmc_miireg16); in lmc_led_on()
1837 if (sc->lmc_miireg16 & led) /* Already set don't do anything */ in lmc_led_off()
1840 sc->lmc_miireg16 |= led; in lmc_led_off()
1841 lmc_mii_writereg(sc, 0, 16, sc->lmc_miireg16); in lmc_led_off()
1846 sc->lmc_miireg16 |= LMC_MII16_FIFO_RESET; in lmc_reset()
1847 lmc_mii_writereg(sc, 0, 16, sc->lmc_miireg16); in lmc_reset()
1849 sc->lmc_miireg16 &= ~LMC_MII16_FIFO_RESET; in lmc_reset()
1850 lmc_mii_writereg(sc, 0, 16, sc->lmc_miireg16); in lmc_reset()