Home
last modified time | relevance | path

Searched refs:lmc_miireg16 (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/wan/lmc/
Dlmc_media.c180 sc->lmc_miireg16 = LMC_MII16_LED_ALL; in lmc_hssi_default()
263 sc->lmc_miireg16 |= LMC_MII16_HSSI_TA; in lmc_hssi_set_link_status()
265 sc->lmc_miireg16 &= ~LMC_MII16_HSSI_TA; in lmc_hssi_set_link_status()
267 lmc_mii_writereg (sc, 0, 16, sc->lmc_miireg16); in lmc_hssi_set_link_status()
279 sc->lmc_miireg16 |= LMC_MII16_HSSI_CRC; in lmc_hssi_set_crc_length()
285 sc->lmc_miireg16 &= ~LMC_MII16_HSSI_CRC; in lmc_hssi_set_crc_length()
289 lmc_mii_writereg (sc, 0, 16, sc->lmc_miireg16); in lmc_hssi_set_crc_length()
310 sc->lmc_miireg16 &= ~LMC_MII16_DS3_ZERO; in lmc_ds3_set_100ft()
315 sc->lmc_miireg16 |= LMC_MII16_DS3_ZERO; in lmc_ds3_set_100ft()
318 lmc_mii_writereg (sc, 0, 16, sc->lmc_miireg16); in lmc_ds3_set_100ft()
[all …]
Dlmc_main.c591 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()
[all …]
Dlmc_var.h320 u16 lmc_miireg16; member