Lines Matching refs:ale

161 void cpsw_ale_start(struct cpsw_ale *ale);
162 void cpsw_ale_stop(struct cpsw_ale *ale);
164 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid);
165 int cpsw_ale_add_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
167 int cpsw_ale_del_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
169 int cpsw_ale_add_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask,
171 int cpsw_ale_del_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask,
173 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag,
175 int cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port);
176 void cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti, int port);
177 int cpsw_ale_rx_ratelimit_bc(struct cpsw_ale *ale, int port, unsigned int ratelimit_pps);
178 int cpsw_ale_rx_ratelimit_mc(struct cpsw_ale *ale, int port, unsigned int ratelimit_pps);
180 int cpsw_ale_control_get(struct cpsw_ale *ale, int port, int control);
181 int cpsw_ale_control_set(struct cpsw_ale *ale, int port,
183 void cpsw_ale_dump(struct cpsw_ale *ale, u32 *data);
184 void cpsw_ale_restore(struct cpsw_ale *ale, u32 *data);
185 u32 cpsw_ale_get_num_entries(struct cpsw_ale *ale);
187 static inline int cpsw_ale_get_vlan_p0_untag(struct cpsw_ale *ale, u16 vid) in cpsw_ale_get_vlan_p0_untag() argument
189 return test_bit(vid, ale->p0_untag_vid_mask); in cpsw_ale_get_vlan_p0_untag()
192 int cpsw_ale_vlan_add_modify(struct cpsw_ale *ale, u16 vid, int port_mask,
194 int cpsw_ale_vlan_del_modify(struct cpsw_ale *ale, u16 vid, int port_mask);
195 void cpsw_ale_set_unreg_mcast(struct cpsw_ale *ale, int unreg_mcast_mask,
197 void cpsw_ale_classifier_setup_default(struct cpsw_ale *ale, int num_rx_ch);