Searched refs:REG_PORT (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/etherswitch/e6000sw/ |
H A D | e6000sw.c | 274 sc->swid = e6000sw_readreg(sc, REG_PORT(sc, 0), SWITCH_ID) & 0xfff0; in e6000sw_probe() 581 reg = e6000sw_readreg(sc, REG_PORT(sc, port), 585 e6000sw_writereg(sc, REG_PORT(sc, port), PSC_CONTROL, 611 e6000sw_writereg(sc, REG_PORT(sc, port), PSC_CONTROL, 952 reg = e6000sw_readreg(sc, REG_PORT(sc, p->es_port), PORT_CONTROL2); 1001 reg = e6000sw_readreg(sc, REG_PORT(sc, p->es_port), PORT_CONTROL2); 1010 e6000sw_writereg(sc, REG_PORT(sc, p->es_port), PORT_CONTROL2, reg); 1031 reg = e6000sw_readreg(sc, REG_PORT(sc, port), PORT_VLAN_MAP); 1035 e6000sw_writereg(sc, REG_PORT(sc, port), PORT_VLAN_MAP, reg); 1036 reg = e6000sw_readreg(sc, REG_PORT(sc, port), PORT_CONTROL1); [all …]
|
H A D | e6000swreg.h | 59 #define REG_PORT(_sc, p) ((MVSWITCH((_sc), MV88E6190) ? 0 : 0x10) + (p)) macro
|