Lines Matching defs:port
21 #define IS_PORT_XMII(port) ((port) == 0) argument
193 #define LAN9303_SWITCH_PORT_REG(port, reg0) (0x400 * (port) + (reg0)) argument
476 static int lan9303_write_switch_port(struct lan9303 *chip, int port, in lan9303_write_switch_port()
483 static int lan9303_read_switch_port(struct lan9303 *chip, int port, in lan9303_read_switch_port()
630 int port; member
638 int port = del_ctx->port; in alr_loop_cb_del_port_learned() local
651 int port; member
702 static int lan9303_alr_add_port(struct lan9303 *chip, const u8 *mac, int port, in lan9303_alr_add_port()
726 static int lan9303_alr_del_port(struct lan9303 *chip, const u8 *mac, int port) in lan9303_alr_del_port()
746 unsigned int port) in lan9303_disable_processing_port()
763 unsigned int port) in lan9303_enable_processing_port()
938 int port, in lan9303_get_tag_protocol()
1036 static void lan9303_get_strings(struct dsa_switch *ds, int port, in lan9303_get_strings()
1050 static void lan9303_get_ethtool_stats(struct dsa_switch *ds, int port, in lan9303_get_ethtool_stats()
1072 static int lan9303_get_sset_count(struct dsa_switch *ds, int port, int sset) in lan9303_get_sset_count()
1080 static int lan9303_phy_read(struct dsa_switch *ds, int port, int regnum) in lan9303_phy_read()
1093 static int lan9303_phy_write(struct dsa_switch *ds, int port, int regnum, in lan9303_phy_write()
1107 static int lan9303_port_enable(struct dsa_switch *ds, int port, in lan9303_port_enable()
1121 static void lan9303_port_disable(struct dsa_switch *ds, int port) in lan9303_port_disable()
1135 static int lan9303_port_bridge_join(struct dsa_switch *ds, int port, in lan9303_port_bridge_join()
1151 static void lan9303_port_bridge_leave(struct dsa_switch *ds, int port, in lan9303_port_bridge_leave()
1163 static void lan9303_port_stp_state_set(struct dsa_switch *ds, int port, in lan9303_port_stp_state_set()
1203 static void lan9303_port_fast_age(struct dsa_switch *ds, int port) in lan9303_port_fast_age()
1214 static int lan9303_port_fdb_add(struct dsa_switch *ds, int port, in lan9303_port_fdb_add()
1225 static int lan9303_port_fdb_del(struct dsa_switch *ds, int port, in lan9303_port_fdb_del()
1237 static int lan9303_port_fdb_dump(struct dsa_switch *ds, int port, in lan9303_port_fdb_dump()
1251 static int lan9303_port_mdb_prepare(struct dsa_switch *ds, int port, in lan9303_port_mdb_prepare()
1268 static int lan9303_port_mdb_add(struct dsa_switch *ds, int port, in lan9303_port_mdb_add()
1284 static int lan9303_port_mdb_del(struct dsa_switch *ds, int port, in lan9303_port_mdb_del()
1299 static void lan9303_phylink_get_caps(struct dsa_switch *ds, int port, in lan9303_phylink_get_caps()
1325 static void lan9303_phylink_mac_link_up(struct dsa_switch *ds, int port, in lan9303_phylink_mac_link_up()