Searched refs:REG_PORT (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/dev/etherswitch/e6000sw/ |
| H A D | e6000sw.c | 286 sc->swid = e6000sw_readreg(sc, REG_PORT(sc, 0), SWITCH_ID) & 0xfff0; in e6000sw_probe() 603 reg = e6000sw_readreg(sc, REG_PORT(sc, port), 607 e6000sw_writereg(sc, REG_PORT(sc, port), PSC_CONTROL, 636 e6000sw_writereg(sc, REG_PORT(sc, port), PSC_CONTROL, 984 reg = e6000sw_readreg(sc, REG_PORT(sc, p->es_port), PORT_CONTROL2); 1033 reg = e6000sw_readreg(sc, REG_PORT(sc, p->es_port), PORT_CONTROL2); 1042 e6000sw_writereg(sc, REG_PORT(sc, p->es_port), PORT_CONTROL2, reg); 1063 reg = e6000sw_readreg(sc, REG_PORT(sc, port), PORT_VLAN_MAP); 1067 e6000sw_writereg(sc, REG_PORT(sc, port), PORT_VLAN_MAP, reg); 1068 reg = e6000sw_readreg(sc, REG_PORT(sc, port), PORT_CONTROL1); [all …]
|
| H A D | e6000swreg.h | 61 #define REG_PORT(_sc, p) (((MVSWITCH((_sc), MV88E6190) || MVSWITCH((_sc), MV88E6190X)) ? 0 : 0x10)… macro
|