Lines Matching refs:brport_dev
1243 struct net_device *brport_dev) in ocelot_inherit_brport_flags() argument
1251 if (br_port_flag_is_set(brport_dev, BIT(flag))) in ocelot_inherit_brport_flags()
1268 struct net_device *brport_dev, in ocelot_switchdev_sync() argument
1275 ocelot_inherit_brport_flags(ocelot, port, brport_dev); in ocelot_switchdev_sync()
1277 stp_state = br_port_get_stp_state(brport_dev); in ocelot_switchdev_sync()
1331 struct net_device *brport_dev, in ocelot_netdevice_bridge_join() argument
1348 err = switchdev_bridge_port_offload(brport_dev, dev, priv, in ocelot_netdevice_bridge_join()
1355 err = ocelot_switchdev_sync(ocelot, port, brport_dev, bridge, extack); in ocelot_netdevice_bridge_join()
1362 switchdev_bridge_port_unoffload(brport_dev, priv, in ocelot_netdevice_bridge_join()
1373 struct net_device *brport_dev) in ocelot_netdevice_pre_bridge_leave() argument
1377 switchdev_bridge_port_unoffload(brport_dev, priv, in ocelot_netdevice_pre_bridge_leave()
1383 struct net_device *brport_dev, in ocelot_netdevice_bridge_leave() argument
1466 struct net_device *brport_dev, in ocelot_netdevice_changeupper() argument
1476 err = ocelot_netdevice_bridge_join(dev, brport_dev, in ocelot_netdevice_changeupper()
1480 err = ocelot_netdevice_bridge_leave(dev, brport_dev, in ocelot_netdevice_changeupper()
1525 struct net_device *brport_dev, in ocelot_netdevice_prechangeupper() argument
1529 ocelot_netdevice_pre_bridge_leave(dev, brport_dev); in ocelot_netdevice_prechangeupper()