Searched refs:sync_ctx (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/ti/ |
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 …]
|
D | cpsw_new.c | 148 struct addr_sync_ctx *sync_ctx = ctx; in cpsw_update_vlan_mc() local 157 if (ether_addr_equal(ha->addr, sync_ctx->addr)) { in cpsw_update_vlan_mc() 164 sync_ctx->consumed++; in cpsw_update_vlan_mc() 166 if (sync_ctx->flush) { in cpsw_update_vlan_mc() 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() 180 struct addr_sync_ctx sync_ctx; in cpsw_add_mc_addr() local 183 sync_ctx.consumed = 0; in cpsw_add_mc_addr() 184 sync_ctx.addr = addr; in cpsw_add_mc_addr() 185 sync_ctx.ndev = ndev; in cpsw_add_mc_addr() [all …]
|