Lines Matching refs:REG_PORT

227 	sc->swid = e6000sw_readreg(sc, REG_PORT(0), SWITCH_ID) & 0xfff0;  in e6000sw_probe()
392 reg = e6000sw_readreg(sc, REG_PORT(port), PSC_CONTROL); in e6000sw_attach()
395 e6000sw_writereg(sc, REG_PORT(port), PSC_CONTROL, reg); in e6000sw_attach()
411 e6000sw_writereg(sc, REG_PORT(port), PSC_CONTROL, reg); in e6000sw_attach()
687 (addr_reg < (REG_PORT(0) * 32))) { in e6000sw_readreg_wrapper()
701 (addr_reg < (REG_PORT(0) * 32))) { in e6000sw_writereg_wrapper()
789 reg = e6000sw_readreg(sc, REG_PORT(port), PORT_VLAN_MAP); in e6000sw_port_vlan_assign()
794 e6000sw_writereg(sc, REG_PORT(port), PORT_VLAN_MAP, reg); in e6000sw_port_vlan_assign()
795 reg = e6000sw_readreg(sc, REG_PORT(port), PORT_CONTROL_1); in e6000sw_port_vlan_assign()
798 e6000sw_writereg(sc, REG_PORT(port), PORT_CONTROL_1, reg); in e6000sw_port_vlan_assign()
849 reg = e6000sw_readreg(sc, REG_PORT(port), PORT_VLAN_MAP); in e6000sw_get_port_vlan()
854 reg = e6000sw_readreg(sc, REG_PORT(port), PORT_CONTROL_1); in e6000sw_get_port_vlan()
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()
1161 ret = e6000sw_readreg(sc, REG_PORT(port), PORT_CONTROL); in e6000sw_port_vlan_conf()
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()
1189 ret = e6000sw_readreg(sc, REG_PORT(port), PORT_CONTROL); in e6000sw_port_vlan_conf()
1190 e6000sw_writereg(sc, REG_PORT(port), PORT_CONTROL, in e6000sw_port_vlan_conf()