Lines Matching refs:brport_dev
219 const struct net_device *brport_dev) in __mlxsw_sp_bridge_port_find() argument
224 if (bridge_port->dev == brport_dev) in __mlxsw_sp_bridge_port_find()
233 struct net_device *brport_dev) in mlxsw_sp_bridge_port_find() argument
235 struct net_device *br_dev = netdev_master_upper_dev_get(brport_dev); in mlxsw_sp_bridge_port_find()
245 return __mlxsw_sp_bridge_port_find(bridge_device, brport_dev); in mlxsw_sp_bridge_port_find()
250 struct net_device *brport_dev) in mlxsw_sp_bridge_port_create() argument
259 mlxsw_sp_port = mlxsw_sp_port_dev_lower_find(brport_dev); in mlxsw_sp_bridge_port_create()
265 bridge_port->dev = brport_dev; in mlxsw_sp_bridge_port_create()
305 struct net_device *brport_dev) in mlxsw_sp_bridge_port_get() argument
307 struct net_device *br_dev = netdev_master_upper_dev_get(brport_dev); in mlxsw_sp_bridge_port_get()
312 bridge_port = mlxsw_sp_bridge_port_find(bridge, brport_dev); in mlxsw_sp_bridge_port_get()
322 bridge_port = mlxsw_sp_bridge_port_create(bridge_device, brport_dev); in mlxsw_sp_bridge_port_get()
2045 struct net_device *brport_dev, in mlxsw_sp_port_bridge_join() argument
2054 bridge_port = mlxsw_sp_bridge_port_get(mlxsw_sp->bridge, brport_dev); in mlxsw_sp_port_bridge_join()
2072 struct net_device *brport_dev, in mlxsw_sp_port_bridge_leave() argument
2082 bridge_port = __mlxsw_sp_bridge_port_find(bridge_device, brport_dev); in mlxsw_sp_port_bridge_leave()