Lines Matching +defs:dev +defs:attrs

24 	struct net_device *dev;  member
177 struct devlink_port_attrs attrs = {}; in ocelot_port_devlink_init() local
478 static int ocelot_setup_tc(struct net_device *dev, enum tc_setup_type type, in ocelot_setup_tc()
492 static int ocelot_vlan_vid_add(struct net_device *dev, u16 vid, bool pvid, in ocelot_vlan_vid_add()
512 static int ocelot_vlan_vid_del(struct net_device *dev, u16 vid) in ocelot_vlan_vid_del()
536 static int ocelot_port_open(struct net_device *dev) in ocelot_port_open()
545 static int ocelot_port_stop(struct net_device *dev) in ocelot_port_stop()
554 static netdev_tx_t ocelot_port_xmit(struct sk_buff *skb, struct net_device *dev) in ocelot_port_xmit()
655 static int ocelot_mc_unsync(struct net_device *dev, const unsigned char *addr) in ocelot_mc_unsync()
669 static int ocelot_mc_sync(struct net_device *dev, const unsigned char *addr) in ocelot_mc_sync()
685 static void ocelot_set_rx_mode(struct net_device *dev) in ocelot_set_rx_mode()
703 static int ocelot_port_set_mac_address(struct net_device *dev, void *p) in ocelot_port_set_mac_address()
720 static void ocelot_get_stats64(struct net_device *dev, in ocelot_get_stats64()
731 struct net_device *dev, in ocelot_port_fdb_add()
745 struct net_device *dev, in ocelot_port_fdb_del()
802 struct net_device *dev, in ocelot_port_fdb_dump()
823 static int ocelot_vlan_rx_add_vid(struct net_device *dev, __be16 proto, in ocelot_vlan_rx_add_vid()
829 static int ocelot_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, in ocelot_vlan_rx_kill_vid()
849 static int ocelot_set_features(struct net_device *dev, in ocelot_set_features()
870 static int ocelot_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in ocelot_ioctl()
891 static int ocelot_change_mtu(struct net_device *dev, int new_mtu) in ocelot_change_mtu()
935 static bool ocelot_netdevice_dev_check(const struct net_device *dev) in ocelot_netdevice_dev_check()
940 int ocelot_netdev_to_port(struct net_device *dev) in ocelot_netdev_to_port()
962 static void ocelot_port_get_ethtool_stats(struct net_device *dev, in ocelot_port_get_ethtool_stats()
973 static int ocelot_port_get_sset_count(struct net_device *dev, int sset) in ocelot_port_get_sset_count()
982 static int ocelot_port_get_ts_info(struct net_device *dev, in ocelot_port_get_ts_info()
1033 static int ocelot_port_attr_set(struct net_device *dev, const void *ctx, in ocelot_port_attr_set()
1074 static int ocelot_vlan_vid_prepare(struct net_device *dev, u16 vid, bool pvid, in ocelot_vlan_vid_prepare()
1085 static int ocelot_port_obj_add_vlan(struct net_device *dev, in ocelot_port_obj_add_vlan()
1100 static int ocelot_port_obj_add_mdb(struct net_device *dev, in ocelot_port_obj_add_mdb()
1111 static int ocelot_port_obj_del_mdb(struct net_device *dev, in ocelot_port_obj_del_mdb()
1122 static int ocelot_port_obj_mrp_add(struct net_device *dev, in ocelot_port_obj_mrp_add()
1133 static int ocelot_port_obj_mrp_del(struct net_device *dev, in ocelot_port_obj_mrp_del()
1145 ocelot_port_obj_mrp_add_ring_role(struct net_device *dev, in ocelot_port_obj_mrp_add_ring_role()
1157 ocelot_port_obj_mrp_del_ring_role(struct net_device *dev, in ocelot_port_obj_mrp_del_ring_role()
1168 static int ocelot_port_obj_add(struct net_device *dev, const void *ctx, in ocelot_port_obj_add()
1201 static int ocelot_port_obj_del(struct net_device *dev, const void *ctx, in ocelot_port_obj_del()
1320 static int ocelot_netdevice_bridge_join(struct net_device *dev, in ocelot_netdevice_bridge_join()
1362 static void ocelot_netdevice_pre_bridge_leave(struct net_device *dev, in ocelot_netdevice_pre_bridge_leave()
1372 static int ocelot_netdevice_bridge_leave(struct net_device *dev, in ocelot_netdevice_bridge_leave()
1393 static int ocelot_netdevice_lag_join(struct net_device *dev, in ocelot_netdevice_lag_join()
1425 static void ocelot_netdevice_pre_lag_leave(struct net_device *dev, in ocelot_netdevice_pre_lag_leave()
1437 static int ocelot_netdevice_lag_leave(struct net_device *dev, in ocelot_netdevice_lag_leave()
1455 static int ocelot_netdevice_changeupper(struct net_device *dev, in ocelot_netdevice_changeupper()
1491 ocelot_netdevice_lag_changeupper(struct net_device *dev, in ocelot_netdevice_lag_changeupper()
1514 ocelot_netdevice_prechangeupper(struct net_device *dev, in ocelot_netdevice_prechangeupper()
1528 ocelot_netdevice_lag_prechangeupper(struct net_device *dev, in ocelot_netdevice_lag_prechangeupper()
1551 ocelot_netdevice_changelowerstate(struct net_device *dev, in ocelot_netdevice_changelowerstate()
1574 struct net_device *dev = netdev_notifier_info_to_dev(ptr); in ocelot_netdevice_event() local
1622 struct net_device *dev = switchdev_notifier_info_to_dev(ptr); in ocelot_switchdev_event() local
1643 struct net_device *dev = switchdev_notifier_info_to_dev(ptr); in ocelot_switchdev_blocking_event() local
1725 struct device *dev = ocelot->dev; in ocelot_port_phylink_create() local
1788 struct net_device *dev; in ocelot_probe_port() local