Searched refs:cpsw_set_mc (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpsw.c | 178 static int cpsw_set_mc(struct net_device *ndev, const u8 *addr, in cpsw_set_mc() function 225 cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 0); in cpsw_update_vlan_mc() 230 ret = cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 1); in cpsw_update_vlan_mc() 247 ret = cpsw_set_mc(ndev, addr, -1, 1); in cpsw_add_mc_addr() 263 cpsw_set_mc(ndev, addr, -1, 0); in cpsw_del_mc_addr() 289 cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 0); in cpsw_purge_vlan_mc() 303 cpsw_set_mc(ndev, addr, -1, 0); in cpsw_purge_all_mc()
|
H A D | cpsw_new.c | 124 static int cpsw_set_mc(struct net_device *ndev, const u8 *addr, in cpsw_set_mc() function 168 cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 0); in cpsw_update_vlan_mc() 173 ret = cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 1); in cpsw_update_vlan_mc() 190 ret = cpsw_set_mc(ndev, addr, -1, 1); in cpsw_add_mc_addr() 206 cpsw_set_mc(ndev, addr, -1, 0); in cpsw_del_mc_addr() 232 cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 0); in cpsw_purge_vlan_mc() 246 cpsw_set_mc(ndev, addr, -1, 0); in cpsw_purge_all_mc()
|