Lines Matching refs:bridge_dev
1259 struct net_device *bridge_dev, in ocelot_switchdev_sync() argument
1270 ageing_time = br_get_ageing_time(bridge_dev); in ocelot_switchdev_sync()
1274 br_vlan_enabled(bridge_dev), in ocelot_switchdev_sync()
1294 const struct net_device *bridge_dev) in ocelot_bridge_num_get() argument
1296 int bridge_num = ocelot_bridge_num_find(ocelot, bridge_dev); in ocelot_bridge_num_get()
1310 const struct net_device *bridge_dev, in ocelot_bridge_num_put() argument
1316 if (!ocelot_bridge_num_find(ocelot, bridge_dev)) in ocelot_bridge_num_put()
1401 struct net_device *bridge_dev; in ocelot_netdevice_lag_join() local
1410 bridge_dev = netdev_master_upper_dev_get(bond); in ocelot_netdevice_lag_join()
1411 if (!bridge_dev || !netif_is_bridge_master(bridge_dev)) in ocelot_netdevice_lag_join()
1414 err = ocelot_netdevice_bridge_join(dev, bond, bridge_dev, extack); in ocelot_netdevice_lag_join()
1428 struct net_device *bridge_dev; in ocelot_netdevice_pre_lag_leave() local
1430 bridge_dev = netdev_master_upper_dev_get(bond); in ocelot_netdevice_pre_lag_leave()
1431 if (!bridge_dev || !netif_is_bridge_master(bridge_dev)) in ocelot_netdevice_pre_lag_leave()
1443 struct net_device *bridge_dev; in ocelot_netdevice_lag_leave() local
1448 bridge_dev = netdev_master_upper_dev_get(bond); in ocelot_netdevice_lag_leave()
1449 if (!bridge_dev || !netif_is_bridge_master(bridge_dev)) in ocelot_netdevice_lag_leave()
1452 return ocelot_netdevice_bridge_leave(dev, bond, bridge_dev); in ocelot_netdevice_lag_leave()