Lines Matching refs:port
280 static int mv88e6131_port_to_phy_addr(int port) in mv88e6131_port_to_phy_addr() argument
282 if (port >= 0 && port != 3 && port <= 7) in mv88e6131_port_to_phy_addr()
283 return port; in mv88e6131_port_to_phy_addr()
288 mv88e6131_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6131_phy_read() argument
290 int addr = mv88e6131_port_to_phy_addr(port); in mv88e6131_phy_read()
296 int port, int regnum, u16 val) in mv88e6131_phy_write() argument
298 int addr = mv88e6131_port_to_phy_addr(port); in mv88e6131_phy_write()
336 mv88e6131_get_strings(struct dsa_switch *ds, int port, uint8_t *data) in mv88e6131_get_strings() argument
339 mv88e6131_hw_stats, port, data); in mv88e6131_get_strings()
344 int port, uint64_t *data) in mv88e6131_get_ethtool_stats() argument
347 mv88e6131_hw_stats, port, data); in mv88e6131_get_ethtool_stats()