Lines Matching refs:xl_flags
566 if (sc->xl_flags & XL_FLAG_EEPROM_OFFSET_30) in xl_read_eeprom()
570 if (sc->xl_flags & XL_FLAG_8BITROM) in xl_read_eeprom()
841 ((sc->xl_flags & XL_FLAG_WEIRDRESET) ? in xl_reset()
851 if (sc->xl_flags & XL_FLAG_USE_MMIO) in xl_reset()
876 if (sc->xl_flags & XL_FLAG_INVERT_LED_PWR || in xl_reset()
877 sc->xl_flags & XL_FLAG_INVERT_MII_PWR) { in xl_reset()
881 ((sc->xl_flags & XL_FLAG_INVERT_LED_PWR) ? in xl_reset()
883 ((sc->xl_flags & XL_FLAG_INVERT_MII_PWR) ? in xl_reset()
1079 sc->xl_flags = 0; in xl_attach()
1081 sc->xl_flags |= XL_FLAG_EEPROM_OFFSET_30 | XL_FLAG_PHYOK; in xl_attach()
1084 sc->xl_flags |= XL_FLAG_FUNCREG | XL_FLAG_PHYOK | in xl_attach()
1089 sc->xl_flags |= XL_FLAG_8BITROM; in xl_attach()
1091 sc->xl_flags |= XL_FLAG_NO_XCVR_PWR; in xl_attach()
1097 sc->xl_flags |= XL_FLAG_FUNCREG; in xl_attach()
1103 sc->xl_flags |= XL_FLAG_PHYOK | XL_FLAG_EEPROM_OFFSET_30 | in xl_attach()
1106 sc->xl_flags |= XL_FLAG_FUNCREG | XL_FLAG_PHYOK; in xl_attach()
1108 sc->xl_flags |= XL_FLAG_INVERT_LED_PWR; in xl_attach()
1110 sc->xl_flags |= XL_FLAG_INVERT_MII_PWR; in xl_attach()
1112 sc->xl_flags |= XL_FLAG_INVERT_MII_PWR; in xl_attach()
1115 sc->xl_flags |= XL_FLAG_INVERT_MII_PWR | in xl_attach()
1119 sc->xl_flags |= XL_FLAG_PHYOK; in xl_attach()
1126 sc->xl_flags |= XL_FLAG_NO_MMIO; in xl_attach()
1137 if ((sc->xl_flags & XL_FLAG_NO_MMIO) == 0) { in xl_attach()
1145 sc->xl_flags |= XL_FLAG_USE_MMIO; in xl_attach()
1164 if (sc->xl_flags & XL_FLAG_FUNCREG) { in xl_attach()
1318 sc->xl_flags |= XL_FLAG_WOL; in xl_attach()
1340 if ((sc->xl_flags & XL_FLAG_WOL) != 0) in xl_attach()
1381 if ((sc->xl_flags & XL_FLAG_PHYOK) == 0) in xl_attach()
1454 if (sc->xl_flags & XL_FLAG_NO_XCVR_PWR) { in xl_attach()
1556 if (sc->xl_flags & XL_FLAG_USE_MMIO) { in xl_detach()
2693 if ((sc->xl_flags & XL_FLAG_WOL) != 0) { in xl_init_locked()
2837 if (sc->xl_flags & XL_FLAG_FUNCREG) in xl_init_locked()
3049 if (sc->xl_flags & XL_FLAG_FUNCREG) in xl_ioctl()
3166 if (sc->xl_flags & XL_FLAG_FUNCREG) in xl_stop()
3259 if ((sc->xl_flags & XL_FLAG_WOL) == 0) in xl_setwol()