Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/etherswitch/e6000sw/
H A De6000sw.c480 reg = e6000sw_readreg(sc, REG_PORT(sc, port), in e6000sw_attach()
484 e6000sw_writereg(sc, REG_PORT(sc, port), PSC_CONTROL, in e6000sw_attach()
510 e6000sw_writereg(sc, REG_PORT(sc, port), PSC_CONTROL, in e6000sw_attach()
905 e6000sw_writereg(sc, REG_PORT(sc, port), PORT_CONTROL, in e6000sw_init_vlan()
930 ret = e6000sw_readreg(sc, REG_PORT(sc, port), PORT_VID); in e6000sw_init_vlan()
973 e6000sw_writereg(sc, REG_PORT(sc, port), PORT_CONTROL, in e6000sw_init_vlan()
1014 (addr_reg < (REG_PORT(sc, 0) * 32))) { in e6000sw_readreg_wrapper()
1030 (addr_reg < (REG_PORT(sc, 0) * 32))) { in e6000sw_writereg_wrapper()
1409 reg = e6000sw_readreg(sc, REG_PORT(sc, port), PORT_VID); in e6000sw_set_pvid()
1412 e6000sw_writereg(sc, REG_PORT(sc, port), PORT_VID, reg); in e6000sw_set_pvid()
[all …]
H A De6000swreg.h61 #define REG_PORT(_sc, p) ((MVSWITCH((_sc), MV88E6190) ? 0 : 0x10) + (p)) macro