Searched refs:cpsw_ale (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/ti/ |
H A D | cpsw_ale.h | 26 struct cpsw_ale { struct 87 struct cpsw_ale *cpsw_ale_create(struct cpsw_ale_params *params); 88 int cpsw_ale_destroy(struct cpsw_ale *ale); 90 void cpsw_ale_start(struct cpsw_ale *ale); 91 void cpsw_ale_stop(struct cpsw_ale *ale); 93 int cpsw_ale_set_ageout(struct cpsw_ale *ale, int ageout); 94 int cpsw_ale_flush(struct cpsw_ale *ale, int port_mask); 95 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid); 96 int cpsw_ale_add_ucast(struct cpsw_ale *ale, u8 *addr, int port, 98 int cpsw_ale_del_ucast(struct cpsw_ale *ale, u8 *addr, int port, 100 int cpsw_ale_add_mcast(struct cpsw_ale *ale, u8 *addr, int port_mask, 102 int cpsw_ale_del_mcast(struct cpsw_ale *ale, u8 *addr, int port_mask, 104 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag, 106 int cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port); 107 void cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti); 109 int cpsw_ale_control_get(struct cpsw_ale *ale, int port, int control); 110 int cpsw_ale_control_set(struct cpsw_ale *ale, int port, 112 void cpsw_ale_dump(struct cpsw_ale *ale, u32 *data);
|
H A D | Makefile | 14 obj-$(CONFIG_TI_CPSW_ALE) += cpsw_ale.o
|
H A D | cpsw_ale.c | 26 #include "cpsw_ale.h" 119 static int cpsw_ale_read(struct cpsw_ale *ale, int idx, u32 *ale_entry) cpsw_ale_read() 134 static int cpsw_ale_write(struct cpsw_ale *ale, int idx, u32 *ale_entry) cpsw_ale_write() 150 static int cpsw_ale_match_addr(struct cpsw_ale *ale, u8 *addr, u16 vid) cpsw_ale_match_addr() 171 static int cpsw_ale_match_vlan(struct cpsw_ale *ale, u16 vid) cpsw_ale_match_vlan() 187 static int cpsw_ale_match_free(struct cpsw_ale *ale) cpsw_ale_match_free() 201 static int cpsw_ale_find_ageable(struct cpsw_ale *ale) cpsw_ale_find_ageable() 221 static void cpsw_ale_flush_mcast(struct cpsw_ale *ale, u32 *ale_entry, cpsw_ale_flush_mcast() 238 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid) cpsw_ale_flush_multicast() 271 static void cpsw_ale_flush_ucast(struct cpsw_ale *ale, u32 *ale_entry, cpsw_ale_flush_ucast() 282 int cpsw_ale_flush(struct cpsw_ale *ale, int port_mask) cpsw_ale_flush() 315 int cpsw_ale_add_ucast(struct cpsw_ale *ale, u8 *addr, int port, cpsw_ale_add_ucast() 342 int cpsw_ale_del_ucast(struct cpsw_ale *ale, u8 *addr, int port, cpsw_ale_del_ucast() 358 int cpsw_ale_add_mcast(struct cpsw_ale *ale, u8 *addr, int port_mask, cpsw_ale_add_mcast() 390 int cpsw_ale_del_mcast(struct cpsw_ale *ale, u8 *addr, int port_mask, cpsw_ale_del_mcast() 412 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag, cpsw_ale_add_vlan() 442 int cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port_mask) cpsw_ale_del_vlan() 463 void cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti) cpsw_ale_set_allmulti() 687 int cpsw_ale_control_set(struct cpsw_ale *ale, int port, int control, cpsw_ale_control_set() 719 int cpsw_ale_control_get(struct cpsw_ale *ale, int port, int control) cpsw_ale_control_get() 745 struct cpsw_ale *ale = (struct cpsw_ale *)arg; cpsw_ale_timer() 755 int cpsw_ale_set_ageout(struct cpsw_ale *ale, int ageout) cpsw_ale_set_ageout() 767 void cpsw_ale_start(struct cpsw_ale *ale) cpsw_ale_start() 787 void cpsw_ale_stop(struct cpsw_ale *ale) cpsw_ale_stop() 793 struct cpsw_ale *cpsw_ale_create(struct cpsw_ale_params *params) cpsw_ale_create() 795 struct cpsw_ale *ale; cpsw_ale_create() 808 int cpsw_ale_destroy(struct cpsw_ale *ale) cpsw_ale_destroy() 818 void cpsw_ale_dump(struct cpsw_ale *ale, u32 *data) cpsw_ale_dump()
|
H A D | cpsw.c | 40 #include "cpsw_ale.h" 399 struct cpsw_ale *ale; 559 struct cpsw_ale *ale = priv->ale; cpsw_set_promiscious()
|
H A D | netcp_ethss.c | 28 #include "cpsw_ale.h" 669 struct cpsw_ale *ale;
|
Completed in 152 milliseconds