Searched refs:REG_PORT (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/sys/dev/etherswitch/e6000sw/ |
| H A D | e6000sw.c | 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, 1049 e6000sw_writereg(sc, REG_PORT(sc, port), PORT_CONTROL, 1074 ret = e6000sw_readreg(sc, REG_PORT(sc, port), PORT_VID); 1117 e6000sw_writereg(sc, REG_PORT(sc, port), PORT_CONTROL, 1158 (addr_reg < (REG_PORT(sc, 0) * 32))) { 1174 (addr_reg < (REG_PORT(sc, 0) * 32))) { 1517 reg = e6000sw_readreg(sc, REG_PORT(sc, port), PORT_VID); 1520 e6000sw_writereg(sc, REG_PORT(sc, port), PORT_VID, reg); [all …]
|
| H A D | e6000swreg.h | 59 #define REG_PORT(_sc, p) ((MVSWITCH((_sc), MV88E6190) ? 0 : 0x10) + (p)) macro
|