Searched refs:REG_PORT (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/sys/dev/etherswitch/e6000sw/ |
| H A D | e6000sw.c | 687 (addr_reg < (REG_PORT(0) * 32))) { in e6000sw_readreg_wrapper() 701 (addr_reg < (REG_PORT(0) * 32))) { in e6000sw_writereg_wrapper() 1018 e6000sw_writereg(sc, REG_PORT(port), PORT_VID, pvid & in e6000sw_set_pvid() 1031 *pvid = e6000sw_readreg(sc, REG_PORT(port), PORT_VID) & in e6000sw_get_pvid() 1096 portstatus = e6000sw_readreg(sc, REG_PORT(port), in e6000sw_tick() 1162 e6000sw_writereg(sc, REG_PORT(port), PORT_CONTROL, in e6000sw_port_vlan_conf() 1170 ret = e6000sw_readreg(sc, REG_PORT(port), PORT_VID); in e6000sw_port_vlan_conf() 1172 e6000sw_writereg(sc, REG_PORT(port), PORT_VID, ret); in e6000sw_port_vlan_conf() 1179 ret = e6000sw_readreg(sc, REG_PORT(port), PORT_VID); in e6000sw_port_vlan_conf() 1182 e6000sw_writereg(sc, REG_PORT(port), PORT_VID, ret); in e6000sw_port_vlan_conf() [all …]
|
| H A D | e6000swreg.h | 59 #define REG_PORT(p) (0x10 + (p)) macro
|