Lines Matching refs:brport_dev
1233 struct net_device *brport_dev) in ocelot_inherit_brport_flags() argument
1241 if (br_port_flag_is_set(brport_dev, BIT(flag))) in ocelot_inherit_brport_flags()
1258 struct net_device *brport_dev, in ocelot_switchdev_sync() argument
1265 ocelot_inherit_brport_flags(ocelot, port, brport_dev); in ocelot_switchdev_sync()
1267 stp_state = br_port_get_stp_state(brport_dev); in ocelot_switchdev_sync()
1321 struct net_device *brport_dev, in ocelot_netdevice_bridge_join() argument
1338 err = switchdev_bridge_port_offload(brport_dev, dev, priv, in ocelot_netdevice_bridge_join()
1345 err = ocelot_switchdev_sync(ocelot, port, brport_dev, bridge, extack); in ocelot_netdevice_bridge_join()
1352 switchdev_bridge_port_unoffload(brport_dev, priv, in ocelot_netdevice_bridge_join()
1363 struct net_device *brport_dev) in ocelot_netdevice_pre_bridge_leave() argument
1367 switchdev_bridge_port_unoffload(brport_dev, priv, in ocelot_netdevice_pre_bridge_leave()
1373 struct net_device *brport_dev, in ocelot_netdevice_bridge_leave() argument
1456 struct net_device *brport_dev, in ocelot_netdevice_changeupper() argument
1466 err = ocelot_netdevice_bridge_join(dev, brport_dev, in ocelot_netdevice_changeupper()
1470 err = ocelot_netdevice_bridge_leave(dev, brport_dev, in ocelot_netdevice_changeupper()
1515 struct net_device *brport_dev, in ocelot_netdevice_prechangeupper() argument
1519 ocelot_netdevice_pre_bridge_leave(dev, brport_dev); in ocelot_netdevice_prechangeupper()