Lines Matching full:ale

17 	/* NU Switch has specific handling as number of bits in ALE entries
18 * are different than other versions of ALE. Also there are specific
23 /* mask bit used in NU Switch ALE is 3 bits instead of 8 bits. So
39 /* These bits are different on NetCP NU Switch ALE */
87 /* ALE unicast entry flags - passed into cpsw_ale_add_ucast() */
107 void cpsw_ale_start(struct cpsw_ale *ale);
108 void cpsw_ale_stop(struct cpsw_ale *ale);
110 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid);
111 int cpsw_ale_add_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
113 int cpsw_ale_del_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
115 int cpsw_ale_add_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask,
117 int cpsw_ale_del_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask,
119 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag,
121 int cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port);
122 void cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti, int port);
124 int cpsw_ale_control_get(struct cpsw_ale *ale, int port, int control);
125 int cpsw_ale_control_set(struct cpsw_ale *ale, int port,
127 void cpsw_ale_dump(struct cpsw_ale *ale, u32 *data);
128 u32 cpsw_ale_get_num_entries(struct cpsw_ale *ale);
130 static inline int cpsw_ale_get_vlan_p0_untag(struct cpsw_ale *ale, u16 vid) in cpsw_ale_get_vlan_p0_untag() argument
132 return test_bit(vid, ale->p0_untag_vid_mask); in cpsw_ale_get_vlan_p0_untag()
135 int cpsw_ale_vlan_add_modify(struct cpsw_ale *ale, u16 vid, int port_mask,
137 void cpsw_ale_set_unreg_mcast(struct cpsw_ale *ale, int unreg_mcast_mask,