Home
last modified time | relevance | path

Searched refs:MVSWITCH (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/sys/dev/etherswitch/e6000sw/
H A De6000swreg.h51 #define MVSWITCH(_sc, id) ((_sc)->swid == (id)) macro
59 #define REG_PORT(_sc, p) ((MVSWITCH((_sc), MV88E6190) ? 0 : 0x10) + (p))
141 #define VTU_FID_MASK(_sc) (MVSWITCH((_sc), MV88E6190) ? 0xfff : 0xff)
147 #define VTU_PPREG(_sc) (MVSWITCH((_sc), MV88E6190) ? 8 : 4)
177 #define ATU_PORT_MASK(_sc) (MVSWITCH((_sc), MV88E6190) ? 0xfff0 : 0xff0)
H A De6000sw.c334 if (speed == 2500 && (MVSWITCH(sc, MV88E6141) || in e6000sw_parse_fixed_link()
335 MVSWITCH(sc, MV88E6341) || MVSWITCH(sc, MV88E6190))) in e6000sw_parse_fixed_link()
599 if (MVSWITCH(sc, MV88E6190) &&
605 if (!MVSWITCH(sc, MV88E6190))
607 if (MVSWITCH(sc, MV88E6141) ||
608 MVSWITCH(sc, MV88E6341) ||
609 MVSWITCH(sc, MV88E6190))
614 if (MVSWITCH(sc, MV88E6190) &&