Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/etherswitch/e6000sw/
H A De6000swreg.h53 #define MVSWITCH(_sc, id) ((_sc)->swid == (id)) macro
61 #define REG_PORT(_sc, p) ((MVSWITCH((_sc), MV88E6190) ? 0 : 0x10) + (p))
143 #define VTU_FID_MASK(_sc) (MVSWITCH((_sc), MV88E6190) ? 0xfff : 0xff)
149 #define VTU_PPREG(_sc) (MVSWITCH((_sc), MV88E6190) ? 8 : 4)
179 #define ATU_PORT_MASK(_sc) (MVSWITCH((_sc), MV88E6190) ? 0xfff0 : 0xff0)
H A De6000sw.c304 if (speed == 2500 && (MVSWITCH(sc, MV88E6141) || in e6000sw_parse_fixed_link()
305 MVSWITCH(sc, MV88E6341) || MVSWITCH(sc, MV88E6190))) in e6000sw_parse_fixed_link()
498 if (MVSWITCH(sc, MV88E6190) && in e6000sw_attach()
504 if (!MVSWITCH(sc, MV88E6190)) in e6000sw_attach()
506 if (MVSWITCH(sc, MV88E6141) || in e6000sw_attach()
507 MVSWITCH(sc, MV88E6341) || in e6000sw_attach()
508 MVSWITCH(sc, MV88E6190)) in e6000sw_attach()
513 if (MVSWITCH(sc, MV88E6190) && in e6000sw_attach()