Searched refs:sync_ctx (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/ |
| H A D | cpsw.c | 205 struct addr_sync_ctx *sync_ctx = ctx; in cpsw_update_vlan_mc() local 214 if (ether_addr_equal(ha->addr, sync_ctx->addr)) { in cpsw_update_vlan_mc() 221 sync_ctx->consumed++; in cpsw_update_vlan_mc() 223 if (sync_ctx->flush) { in cpsw_update_vlan_mc() 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() 237 struct addr_sync_ctx sync_ctx; in cpsw_add_mc_addr() local 240 sync_ctx.consumed = 0; in cpsw_add_mc_addr() 241 sync_ctx.addr = addr; in cpsw_add_mc_addr() 242 sync_ctx.ndev = ndev; in cpsw_add_mc_addr() [all …]
|
| H A D | cpsw_new.c | 146 struct addr_sync_ctx *sync_ctx = ctx; in cpsw_update_vlan_mc() local 155 if (ether_addr_equal(ha->addr, sync_ctx->addr)) { in cpsw_update_vlan_mc() 162 sync_ctx->consumed++; in cpsw_update_vlan_mc() 164 if (sync_ctx->flush) { in cpsw_update_vlan_mc() 166 cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 0); in cpsw_update_vlan_mc() 171 ret = cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 1); in cpsw_update_vlan_mc() 178 struct addr_sync_ctx sync_ctx; in cpsw_add_mc_addr() local 181 sync_ctx.consumed = 0; in cpsw_add_mc_addr() 182 sync_ctx.addr = addr; in cpsw_add_mc_addr() 183 sync_ctx.ndev = ndev; in cpsw_add_mc_addr() [all …]
|