Lines Matching defs:port
59 int ocelot_mact_learn(struct ocelot *ocelot, int port, in ocelot_mact_learn()
119 static void ocelot_vcap_enable(struct ocelot *ocelot, int port) in ocelot_vcap_enable()
163 static int ocelot_port_set_native_vlan(struct ocelot *ocelot, int port, in ocelot_port_set_native_vlan()
215 int ocelot_port_vlan_filtering(struct ocelot *ocelot, int port, in ocelot_port_vlan_filtering()
256 static void ocelot_port_set_pvid(struct ocelot *ocelot, int port, u16 pvid) in ocelot_port_set_pvid()
268 int ocelot_vlan_add(struct ocelot *ocelot, int port, u16 vid, bool pvid, in ocelot_vlan_add()
294 int ocelot_vlan_del(struct ocelot *ocelot, int port, u16 vid) in ocelot_vlan_del()
319 u16 port, vid; in ocelot_vlan_init() local
351 static u32 ocelot_read_eq_avail(struct ocelot *ocelot, int port) in ocelot_read_eq_avail()
356 int ocelot_port_flush(struct ocelot *ocelot, int port) in ocelot_port_flush()
410 void ocelot_adjust_link(struct ocelot *ocelot, int port, in ocelot_adjust_link()
492 void ocelot_port_enable(struct ocelot *ocelot, int port, in ocelot_port_enable()
505 void ocelot_port_disable(struct ocelot *ocelot, int port) in ocelot_port_disable()
514 void ocelot_port_add_txtstamp_skb(struct ocelot *ocelot, int port, in ocelot_port_add_txtstamp_skb()
565 struct ocelot_port *port; in ocelot_get_txtstamp() local
614 int ocelot_fdb_add(struct ocelot *ocelot, int port, in ocelot_fdb_add()
641 int ocelot_fdb_del(struct ocelot *ocelot, int port, in ocelot_fdb_del()
692 static int ocelot_mact_read(struct ocelot *ocelot, int port, int row, int col, in ocelot_mact_read()
739 int ocelot_fdb_dump(struct ocelot *ocelot, int port, in ocelot_fdb_dump()
772 int ocelot_hwstamp_get(struct ocelot *ocelot, int port, struct ifreq *ifr) in ocelot_hwstamp_get()
779 int ocelot_hwstamp_set(struct ocelot *ocelot, int port, struct ifreq *ifr) in ocelot_hwstamp_set()
838 void ocelot_get_strings(struct ocelot *ocelot, int port, u32 sset, u8 *data) in ocelot_get_strings()
890 void ocelot_get_ethtool_stats(struct ocelot *ocelot, int port, u64 *data) in ocelot_get_ethtool_stats()
907 int ocelot_get_sset_count(struct ocelot *ocelot, int port, int sset) in ocelot_get_sset_count()
916 int ocelot_get_ts_info(struct ocelot *ocelot, int port, in ocelot_get_ts_info()
944 void ocelot_bridge_stp_state_set(struct ocelot *ocelot, int port, u8 state) in ocelot_bridge_stp_state_set()
1084 int ocelot_port_mdb_add(struct ocelot *ocelot, int port, in ocelot_port_mdb_add()
1137 int ocelot_port_mdb_del(struct ocelot *ocelot, int port, in ocelot_port_mdb_del()
1174 int ocelot_port_bridge_join(struct ocelot *ocelot, int port, in ocelot_port_bridge_join()
1192 int ocelot_port_bridge_leave(struct ocelot *ocelot, int port, in ocelot_port_bridge_leave()
1220 int i, port, lag; in ocelot_set_aggr_pgids() local
1276 int ocelot_port_lag_join(struct ocelot *ocelot, int port, in ocelot_port_lag_join()
1316 void ocelot_port_lag_leave(struct ocelot *ocelot, int port, in ocelot_port_lag_leave()
1353 void ocelot_port_set_maxlen(struct ocelot *ocelot, int port, size_t sdu) in ocelot_port_set_maxlen()
1388 int ocelot_get_max_mtu(struct ocelot *ocelot, int port) in ocelot_get_max_mtu()
1405 void ocelot_init_port(struct ocelot *ocelot, int port) in ocelot_init_port()
1497 u32 port; in ocelot_init() local
1640 void ocelot_deinit_port(struct ocelot *ocelot, int port) in ocelot_deinit_port()