Lines Matching defs:ocelot
21 static inline u32 ocelot_mact_read_macaccess(struct ocelot *ocelot) in ocelot_mact_read_macaccess()
26 static inline int ocelot_mact_wait_for_completion(struct ocelot *ocelot) in ocelot_mact_wait_for_completion()
37 static void ocelot_mact_select(struct ocelot *ocelot, in ocelot_mact_select()
59 int ocelot_mact_learn(struct ocelot *ocelot, int port, in ocelot_mact_learn()
76 int ocelot_mact_forget(struct ocelot *ocelot, in ocelot_mact_forget()
90 static void ocelot_mact_init(struct ocelot *ocelot) in ocelot_mact_init()
106 static void ocelot_vcap_enable(struct ocelot *ocelot, int port) in ocelot_vcap_enable()
120 static inline u32 ocelot_vlant_read_vlanaccess(struct ocelot *ocelot) in ocelot_vlant_read_vlanaccess()
125 static inline int ocelot_vlant_wait_for_completion(struct ocelot *ocelot) in ocelot_vlant_wait_for_completion()
137 static int ocelot_vlant_set_mask(struct ocelot *ocelot, u16 vid, u32 mask) in ocelot_vlant_set_mask()
150 static int ocelot_port_set_native_vlan(struct ocelot *ocelot, int port, in ocelot_port_set_native_vlan()
202 int ocelot_port_vlan_filtering(struct ocelot *ocelot, int port, in ocelot_port_vlan_filtering()
243 static void ocelot_port_set_pvid(struct ocelot *ocelot, int port, u16 pvid) in ocelot_port_set_pvid()
255 int ocelot_vlan_add(struct ocelot *ocelot, int port, u16 vid, bool pvid, in ocelot_vlan_add()
281 int ocelot_vlan_del(struct ocelot *ocelot, int port, u16 vid) in ocelot_vlan_del()
304 static void ocelot_vlan_init(struct ocelot *ocelot) in ocelot_vlan_init()
338 void ocelot_adjust_link(struct ocelot *ocelot, int port, in ocelot_adjust_link()
420 void ocelot_port_enable(struct ocelot *ocelot, int port, in ocelot_port_enable()
433 void ocelot_port_disable(struct ocelot *ocelot, int port) in ocelot_port_disable()
442 void ocelot_port_add_txtstamp_skb(struct ocelot *ocelot, int port, in ocelot_port_add_txtstamp_skb()
459 static void ocelot_get_hwtimestamp(struct ocelot *ocelot, in ocelot_get_hwtimestamp()
486 void ocelot_get_txtstamp(struct ocelot *ocelot) in ocelot_get_txtstamp()
542 int ocelot_fdb_add(struct ocelot *ocelot, int port, in ocelot_fdb_add()
569 int ocelot_fdb_del(struct ocelot *ocelot, int port, in ocelot_fdb_del()
620 static int ocelot_mact_read(struct ocelot *ocelot, int port, int row, int col, in ocelot_mact_read()
667 int ocelot_fdb_dump(struct ocelot *ocelot, int port, in ocelot_fdb_dump()
700 int ocelot_hwstamp_get(struct ocelot *ocelot, int port, struct ifreq *ifr) in ocelot_hwstamp_get()
707 int ocelot_hwstamp_set(struct ocelot *ocelot, int port, struct ifreq *ifr) in ocelot_hwstamp_set()
772 void ocelot_get_strings(struct ocelot *ocelot, int port, u32 sset, u8 *data) in ocelot_get_strings()
785 static void ocelot_update_stats(struct ocelot *ocelot) in ocelot_update_stats()
816 struct ocelot *ocelot = container_of(del_work, struct ocelot, in ocelot_check_stats_work() local
825 void ocelot_get_ethtool_stats(struct ocelot *ocelot, int port, u64 *data) in ocelot_get_ethtool_stats()
838 int ocelot_get_sset_count(struct ocelot *ocelot, int port, int sset) in ocelot_get_sset_count()
847 int ocelot_get_ts_info(struct ocelot *ocelot, int port, in ocelot_get_ts_info()
872 void ocelot_bridge_stp_state_set(struct ocelot *ocelot, int port, u8 state) in ocelot_bridge_stp_state_set()
927 void ocelot_set_ageing_time(struct ocelot *ocelot, unsigned int msecs) in ocelot_set_ageing_time()
941 static struct ocelot_multicast *ocelot_multicast_get(struct ocelot *ocelot, in ocelot_multicast_get()
964 static int ocelot_mdb_get_pgid(struct ocelot *ocelot, in ocelot_mdb_get_pgid()
1012 int ocelot_port_mdb_add(struct ocelot *ocelot, int port, in ocelot_port_mdb_add()
1065 int ocelot_port_mdb_del(struct ocelot *ocelot, int port, in ocelot_port_mdb_del()
1102 int ocelot_port_bridge_join(struct ocelot *ocelot, int port, in ocelot_port_bridge_join()
1120 int ocelot_port_bridge_leave(struct ocelot *ocelot, int port, in ocelot_port_bridge_leave()
1146 static void ocelot_set_aggr_pgids(struct ocelot *ocelot) in ocelot_set_aggr_pgids()
1187 static void ocelot_setup_lag(struct ocelot *ocelot, int lag) in ocelot_setup_lag()
1204 int ocelot_port_lag_join(struct ocelot *ocelot, int port, in ocelot_port_lag_join()
1244 void ocelot_port_lag_leave(struct ocelot *ocelot, int port, in ocelot_port_lag_leave()
1281 void ocelot_port_set_maxlen(struct ocelot *ocelot, int port, size_t sdu) in ocelot_port_set_maxlen()
1316 int ocelot_get_max_mtu(struct ocelot *ocelot, int port) in ocelot_get_max_mtu()
1333 void ocelot_init_port(struct ocelot *ocelot, int port) in ocelot_init_port()
1391 static void ocelot_cpu_port_init(struct ocelot *ocelot) in ocelot_cpu_port_init()
1421 int ocelot_init(struct ocelot *ocelot) in ocelot_init()
1556 void ocelot_deinit(struct ocelot *ocelot) in ocelot_deinit()
1564 void ocelot_deinit_port(struct ocelot *ocelot, int port) in ocelot_deinit_port()