Lines Matching defs:port
46 int port,
125 * Header tagging, disable VLAN tunneling, and set the port
127 * port, enable Ingress and Egress Trailer tagging mode.
138 /* Port based VLAN map: give each port its own address
139 * database, allow the CPU port to talk to each of the 'real'
141 * the CPU port.
153 * a port bitmap that has only the bit for this port set and
218 static int mv88e6060_port_to_phy_addr(int port)
220 if (port >= 0 && port < MV88E6060_PORTS)
221 return port;
225 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum)
230 addr = mv88e6060_port_to_phy_addr(port);
238 mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val)
243 addr = mv88e6060_port_to_phy_addr(port);