Lines Matching defs:netdev

212 	struct net_device *netdev = port_priv->netdev;  in dpaa2_switch_port_is_up()  local
232 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_set_pvid() local
288 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_add_vlan() local
492 static void dpaa2_switch_port_get_stats(struct net_device *netdev, in dpaa2_switch_port_get_stats()
558 static bool dpaa2_switch_port_has_offload_stats(const struct net_device *netdev, in dpaa2_switch_port_has_offload_stats()
565 const struct net_device *netdev, in dpaa2_switch_port_get_offload_stats()
577 static int dpaa2_switch_port_change_mtu(struct net_device *netdev, int mtu) in dpaa2_switch_port_change_mtu()
597 static int dpaa2_switch_port_link_state_update(struct net_device *netdev) in dpaa2_switch_port_link_state_update()
680 static int dpaa2_switch_port_open(struct net_device *netdev) in dpaa2_switch_port_open()
711 static int dpaa2_switch_port_stop(struct net_device *netdev) in dpaa2_switch_port_stop()
748 static int dpaa2_switch_port_get_phys_name(struct net_device *netdev, char *name, in dpaa2_switch_port_get_phys_name()
934 static int dpaa2_switch_port_vlan_add(struct net_device *netdev, __be16 proto, in dpaa2_switch_port_vlan_add()
948 static int dpaa2_switch_port_vlan_kill(struct net_device *netdev, __be16 proto, in dpaa2_switch_port_vlan_kill()
1182 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_acl_tbl_bind() local
1209 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_acl_tbl_unbind() local
1295 static int dpaa2_switch_setup_tc_block_bind(struct net_device *netdev, in dpaa2_switch_setup_tc_block_bind()
1345 static void dpaa2_switch_setup_tc_block_unbind(struct net_device *netdev, in dpaa2_switch_setup_tc_block_unbind()
1368 static int dpaa2_switch_setup_tc_block(struct net_device *netdev, in dpaa2_switch_setup_tc_block()
1387 static int dpaa2_switch_port_setup_tc(struct net_device *netdev, in dpaa2_switch_port_setup_tc()
1421 bool dpaa2_switch_port_dev_check(const struct net_device *netdev) in dpaa2_switch_port_dev_check()
1625 static int dpaa2_switch_port_attr_stp_state_set(struct net_device *netdev, in dpaa2_switch_port_attr_stp_state_set()
1665 static int dpaa2_switch_port_pre_bridge_flags(struct net_device *netdev, in dpaa2_switch_port_pre_bridge_flags()
1687 static int dpaa2_switch_port_bridge_flags(struct net_device *netdev, in dpaa2_switch_port_bridge_flags()
1712 static int dpaa2_switch_port_attr_set(struct net_device *netdev, const void *ctx, in dpaa2_switch_port_attr_set()
1744 int dpaa2_switch_port_vlans_add(struct net_device *netdev, in dpaa2_switch_port_vlans_add()
1790 static int dpaa2_switch_port_lookup_address(struct net_device *netdev, int is_uc, in dpaa2_switch_port_lookup_address()
1807 static int dpaa2_switch_port_mdb_add(struct net_device *netdev, in dpaa2_switch_port_mdb_add()
1830 static int dpaa2_switch_port_obj_add(struct net_device *netdev, in dpaa2_switch_port_obj_add()
1855 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_del_vlan() local
1913 int dpaa2_switch_port_vlans_del(struct net_device *netdev, in dpaa2_switch_port_vlans_del()
1924 static int dpaa2_switch_port_mdb_del(struct net_device *netdev, in dpaa2_switch_port_mdb_del()
1946 static int dpaa2_switch_port_obj_del(struct net_device *netdev, in dpaa2_switch_port_obj_del()
1965 static int dpaa2_switch_port_attr_set_event(struct net_device *netdev, in dpaa2_switch_port_attr_set_event()
1979 static int dpaa2_switch_port_bridge_join(struct net_device *netdev, in dpaa2_switch_port_bridge_join()
2055 static void dpaa2_switch_port_pre_bridge_leave(struct net_device *netdev) in dpaa2_switch_port_pre_bridge_leave()
2062 static int dpaa2_switch_port_bridge_leave(struct net_device *netdev) in dpaa2_switch_port_bridge_leave()
2120 static int dpaa2_switch_prevent_bridging_with_8021q_upper(struct net_device *netdev) in dpaa2_switch_prevent_bridging_with_8021q_upper()
2136 dpaa2_switch_prechangeupper_sanity_checks(struct net_device *netdev, in dpaa2_switch_prechangeupper_sanity_checks()
2160 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); in dpaa2_switch_port_netdevice_event() local
2308 struct net_device *netdev, in dpaa2_switch_port_obj_event()
2386 struct net_device *netdev; in dpaa2_switch_rx() local
3101 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_init() local