Searched refs:REG_PORT (Results 1 – 2 of 2) sorted by relevance
| /NextBSD/sys/dev/etherswitch/e6000sw/ |
| HD | e6000sw.c | 206 id = e6000sw_readreg(sc, REG_PORT(0), SWITCH_ID); in e6000sw_probe() 495 (addr_reg < (REG_PORT(0) * 32))) { in e6000sw_readreg_wrapper() 509 (addr_reg < (REG_PORT(0) * 32))) { in e6000sw_writereg_wrapper() 596 reg = e6000sw_readreg(sc, REG_PORT(port), in e6000sw_flush_port() 600 e6000sw_writereg(sc, REG_PORT(port), in e6000sw_flush_port() 618 reg = e6000sw_readreg(sc, REG_PORT(port), in e6000sw_port_assign_vgroup() 624 e6000sw_writereg(sc, REG_PORT(port), PORT_VLAN_MAP, in e6000sw_port_assign_vgroup() 749 e6000sw_writereg(sc, REG_PORT(port), PORT_VID, pvid & in e6000sw_set_pvid() 762 *pvid = e6000sw_readreg(sc, REG_PORT(port), PORT_VID) & in e6000sw_get_pvid() 846 ret = e6000sw_readreg(sc, REG_PORT(port), PORT_CONTROL); in e6000sw_port_vlan_conf() [all …]
|
| HD | e6000swreg.h | 52 #define REG_PORT(p) (0x10 + (p)) macro
|