/linux-4.4.14/include/net/ |
D | dcbnl.h | 31 int dcb_setapp(struct net_device *, struct dcb_app *); 32 u8 dcb_getapp(struct net_device *, struct dcb_app *); 33 int dcb_ieee_setapp(struct net_device *, struct dcb_app *); 34 int dcb_ieee_delapp(struct net_device *, struct dcb_app *); 35 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *); 37 int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd, 39 int dcbnl_cee_notify(struct net_device *dev, int event, int cmd, 48 int (*ieee_getets) (struct net_device *, struct ieee_ets *); 49 int (*ieee_setets) (struct net_device *, struct ieee_ets *); 50 int (*ieee_getmaxrate) (struct net_device *, struct ieee_maxrate *); [all …]
|
D | Space.h | 5 struct net_device *hp100_probe(int unit); 6 struct net_device *ultra_probe(int unit); 7 struct net_device *wd_probe(int unit); 8 struct net_device *ne_probe(int unit); 9 struct net_device *fmv18x_probe(int unit); 10 struct net_device *i82596_probe(int unit); 11 struct net_device *ni65_probe(int unit); 12 struct net_device *sonic_probe(int unit); 13 struct net_device *smc_init(int unit); 14 struct net_device *atarilance_probe(int unit); [all …]
|
D | switchdev.h | 133 int (*switchdev_port_attr_get)(struct net_device *dev, 135 int (*switchdev_port_attr_set)(struct net_device *dev, 138 int (*switchdev_port_obj_add)(struct net_device *dev, 141 int (*switchdev_port_obj_del)(struct net_device *dev, 143 int (*switchdev_port_obj_dump)(struct net_device *dev, 154 struct net_device *dev; 163 static inline struct net_device * 172 int switchdev_port_attr_get(struct net_device *dev, 174 int switchdev_port_attr_set(struct net_device *dev, 176 int switchdev_port_obj_add(struct net_device *dev, [all …]
|
D | rtnetlink.h | 57 void (*setup)(struct net_device *dev); 65 struct net_device *dev, 68 int (*changelink)(struct net_device *dev, 71 void (*dellink)(struct net_device *dev, 74 size_t (*get_size)(const struct net_device *dev); 76 const struct net_device *dev); 78 size_t (*get_xstats_size)(const struct net_device *dev); 80 const struct net_device *dev); 88 int (*slave_changelink)(struct net_device *dev, 89 struct net_device *slave_dev, [all …]
|
D | l3mdev.h | 27 u32 (*l3mdev_fib_table)(const struct net_device *dev); 30 struct rtable * (*l3mdev_get_rtable)(const struct net_device *dev, 32 int (*l3mdev_get_saddr)(struct net_device *dev, 36 struct dst_entry * (*l3mdev_get_rt6_dst)(const struct net_device *dev, 42 int l3mdev_master_ifindex_rcu(struct net_device *dev); 43 static inline int l3mdev_master_ifindex(struct net_device *dev) in l3mdev_master_ifindex() 58 static inline int l3mdev_fib_oif_rcu(struct net_device *dev) in l3mdev_fib_oif_rcu() 63 static inline int l3mdev_fib_oif(struct net_device *dev) in l3mdev_fib_oif() 74 u32 l3mdev_fib_table_rcu(const struct net_device *dev); 76 static inline u32 l3mdev_fib_table(const struct net_device *dev) in l3mdev_fib_table() [all …]
|
D | cfg80211-wext.h | 23 int cfg80211_wext_giwname(struct net_device *dev, 26 int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, 28 int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, 30 int cfg80211_wext_siwscan(struct net_device *dev, 33 int cfg80211_wext_giwscan(struct net_device *dev, 36 int cfg80211_wext_giwrange(struct net_device *dev, 39 int cfg80211_wext_siwrts(struct net_device *dev, 42 int cfg80211_wext_giwrts(struct net_device *dev, 45 int cfg80211_wext_siwfrag(struct net_device *dev, 48 int cfg80211_wext_giwfrag(struct net_device *dev, [all …]
|
D | ieee802154_netdev.h | 277 int (*get_params)(struct net_device *dev, 279 int (*set_params)(struct net_device *dev, 283 int (*add_key)(struct net_device *dev, 286 int (*del_key)(struct net_device *dev, 289 int (*add_dev)(struct net_device *dev, 291 int (*del_dev)(struct net_device *dev, __le64 dev_addr); 293 int (*add_devkey)(struct net_device *dev, 296 int (*del_devkey)(struct net_device *dev, 300 int (*add_seclevel)(struct net_device *dev, 302 int (*del_seclevel)(struct net_device *dev, [all …]
|
D | cfg80211.h | 819 struct net_device *vlan; 1120 int cfg80211_get_station(struct net_device *dev, const u8 *mac_addr, 1574 struct net_device *dev; 2510 struct net_device *dev, 2514 int (*add_key)(struct wiphy *wiphy, struct net_device *netdev, 2517 int (*get_key)(struct wiphy *wiphy, struct net_device *netdev, 2521 int (*del_key)(struct wiphy *wiphy, struct net_device *netdev, 2524 struct net_device *netdev, 2527 struct net_device *netdev, 2530 int (*start_ap)(struct wiphy *wiphy, struct net_device *dev, [all …]
|
D | ax25.h | 190 struct net_device *dev; 218 struct net_device *dev; 219 struct net_device *forward; 279 static inline __be16 ax25_type_trans(struct sk_buff *skb, struct net_device *dev) in ax25_type_trans() 291 struct sock *ax25_find_listener(ax25_address *, int, struct net_device *, int); 294 struct net_device *); 320 static inline ax25_dev *ax25_dev_ax25dev(struct net_device *dev) in ax25_dev_ax25dev() 326 void ax25_dev_device_up(struct net_device *); 327 void ax25_dev_device_down(struct net_device *); 329 struct net_device *ax25_fwd_dev(struct net_device *); [all …]
|
D | addrconf.h | 64 const struct net_device *dev, int strict); 66 const struct net_device *dev, int strict, 75 struct net_device *dev); 77 int ipv6_chk_prefix(const struct in6_addr *addr, struct net_device *dev); 81 struct net_device *dev, int strict); 83 int ipv6_dev_get_saddr(struct net *net, const struct net_device *dev, 88 int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr, 91 void addrconf_join_solict(struct net_device *dev, const struct in6_addr *addr); 94 static inline int addrconf_ifid_eui48(u8 *eui, struct net_device *dev) in addrconf_ifid_eui48() 167 int ipv6_dev_mc_inc(struct net_device *dev, const struct in6_addr *addr); [all …]
|
D | arp.h | 12 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd) in arp_hashfn() 20 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() 25 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup() 41 struct net_device *dev, __be32 src_ip, 44 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir); 45 void arp_ifdown(struct net_device *dev); 48 struct net_device *dev, __be32 src_ip,
|
D | x25.h | 131 struct net_device *dev; 137 struct net_device *dev; 172 struct net_device *dev1; 173 struct net_device *dev2; 203 int x25_lapb_receive_frame(struct sk_buff *, struct net_device *, 204 struct packet_type *, struct net_device *); 220 void x25_clear_forward_by_dev(struct net_device *); 231 void x25_link_device_up(struct net_device *); 232 void x25_link_device_down(struct net_device *); 239 struct x25_neigh *x25_get_neigh(struct net_device *); [all …]
|
D | dn_dev.h | 79 int (*up)(struct net_device *); 80 void (*down)(struct net_device *); 81 void (*timer3)(struct net_device *, struct dn_ifaddr *ifa); 88 struct net_device *dev; 163 void dn_dev_up(struct net_device *); 164 void dn_dev_down(struct net_device *); 166 int dn_dev_set_default(struct net_device *dev, int force); 167 struct net_device *dn_dev_get_default(void); 173 static inline int dn_dev_islocal(struct net_device *dev, __le16 addr) in dn_dev_islocal()
|
D | ndisc.h | 58 struct net_device; 130 static inline int ndisc_opt_addr_space(struct net_device *dev) in ndisc_opt_addr_space() 137 struct net_device *dev) in ndisc_opt_addr_data() 147 static inline u32 ndisc_hashfn(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) in ndisc_hashfn() 157 static inline struct neighbour *__ipv6_neigh_lookup_noref(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup_noref() 162 static inline struct neighbour *__ipv6_neigh_lookup(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup() 183 void ndisc_send_ns(struct net_device *dev, const struct in6_addr *solicit, 186 void ndisc_send_rs(struct net_device *dev, 188 void ndisc_send_na(struct net_device *dev, const struct in6_addr *daddr, 194 int ndisc_mc_map(const struct in6_addr *addr, char *buf, struct net_device *dev,
|
D | neighbour.h | 70 struct net_device *dev; 156 struct net_device *dev; 171 struct net_device *dev; 196 const struct net_device *dev, 274 const struct net_device *dev, in ___neigh_lookup_noref() 277 struct net_device *dev) in ___neigh_lookup_noref() 296 struct net_device *dev) in __neigh_lookup_noref() 304 struct net_device *dev); 308 struct net_device *dev, bool want_ref); 311 struct net_device *dev) in neigh_create() [all …]
|
D | ip_tunnels.h | 98 struct net_device *dev; 161 struct net_device *fb_tunnel_dev; 218 int ip_tunnel_init(struct net_device *dev); 219 void ip_tunnel_uninit(struct net_device *dev); 220 void ip_tunnel_dellink(struct net_device *dev, struct list_head *head); 221 struct net *ip_tunnel_get_link_net(const struct net_device *dev); 222 int ip_tunnel_get_iflink(const struct net_device *dev); 228 void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev, 230 int ip_tunnel_ioctl(struct net_device *dev, struct ip_tunnel_parm *p, int cmd); 233 int __ip_tunnel_change_mtu(struct net_device *dev, int new_mtu, bool strict); [all …]
|
D | llc.h | 25 struct net_device; 60 struct net_device *dev, 62 struct net_device *orig_dev); 97 int llc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, 98 struct net_device *orig_dev); 111 struct net_device *dev, 113 struct net_device *orig_dev));
|
D | wext.h | 14 struct iw_statistics *get_wireless_stats(struct net_device *dev); 15 int call_commit_handler(struct net_device *dev); 44 int ioctl_private_call(struct net_device *dev, struct iwreq *iwr, 47 int compat_private_call(struct net_device *dev, struct iwreq *iwr, 50 int iw_handler_get_private(struct net_device * dev,
|
D | iw_handler.h | 308 struct net_device; 314 typedef int (*iw_handler)(struct net_device *dev, struct iw_request_info *info, 351 struct iw_statistics* (*get_wireless_stats)(struct net_device *dev); 440 void wireless_send_event(struct net_device *dev, unsigned int cmd, 453 int iw_handler_set_spy(struct net_device *dev, struct iw_request_info *info, 456 int iw_handler_get_spy(struct net_device *dev, struct iw_request_info *info, 459 int iw_handler_set_thrspy(struct net_device *dev, struct iw_request_info *info, 462 int iw_handler_get_thrspy(struct net_device *dev, struct iw_request_info *info, 465 void wireless_spy_update(struct net_device *dev, unsigned char *address,
|
/linux-4.4.14/include/linux/ |
D | ethtool.h | 43 extern int __ethtool_get_settings(struct net_device *dev, 82 struct net_device; 85 u32 ethtool_op_get_link(struct net_device *dev); 86 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *eti); 218 int (*get_settings)(struct net_device *, struct ethtool_cmd *); 219 int (*set_settings)(struct net_device *, struct ethtool_cmd *); 220 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); 221 int (*get_regs_len)(struct net_device *); 222 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); 223 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *); [all …]
|
D | netdevice.h | 64 void netdev_set_default_ethtool_ops(struct net_device *dev, 260 int (*create) (struct sk_buff *skb, struct net_device *dev, 266 const struct net_device *dev, 317 struct net_device *dev; 562 struct net_device *dev; 684 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id, 696 struct net_device *dev; 778 typedef u16 (*select_queue_fallback_t)(struct net_device *dev, 1066 int (*ndo_init)(struct net_device *dev); 1067 void (*ndo_uninit)(struct net_device *dev); [all …]
|
D | hdlc.h | 23 int (*open)(struct net_device *dev); 24 void (*close)(struct net_device *dev); 25 void (*start)(struct net_device *dev); /* if open & DCD */ 26 void (*stop)(struct net_device *dev); /* if open & !DCD */ 27 void (*detach)(struct net_device *dev); 28 int (*ioctl)(struct net_device *dev, struct ifreq *ifr); 29 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev); 31 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev); 40 int (*attach)(struct net_device *dev, 44 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev); [all …]
|
D | if_frad.h | 57 struct net_device *master; 58 struct net_device *slave; 64 void (*receive)(struct sk_buff *skb, struct net_device *); 72 struct net_device *master[CONFIG_DLCI_MAX]; 80 int (*activate)(struct net_device *, struct net_device *); 81 int (*deactivate)(struct net_device *, struct net_device *); 82 int (*assoc)(struct net_device *, struct net_device *); 83 int (*deassoc)(struct net_device *, struct net_device *); 84 int (*dlci_conf)(struct net_device *, struct net_device *, int get);
|
D | lapb.h | 27 void (*connect_confirmation)(struct net_device *dev, int reason); 28 void (*connect_indication)(struct net_device *dev, int reason); 29 void (*disconnect_confirmation)(struct net_device *dev, int reason); 30 void (*disconnect_indication)(struct net_device *dev, int reason); 31 int (*data_indication)(struct net_device *dev, struct sk_buff *skb); 32 void (*data_transmit)(struct net_device *dev, struct sk_buff *skb); 47 extern int lapb_register(struct net_device *dev, 49 extern int lapb_unregister(struct net_device *dev); 50 extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms); 51 extern int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms); [all …]
|
D | if_vlan.h | 76 static inline bool is_vlan_dev(struct net_device *dev) in is_vlan_dev() 109 extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev, 111 extern struct net_device *vlan_dev_real_dev(const struct net_device *dev); 112 extern u16 vlan_dev_vlan_id(const struct net_device *dev); 113 extern __be16 vlan_dev_vlan_proto(const struct net_device *dev); 154 struct net_device *real_dev; 165 static inline struct vlan_dev_priv *vlan_dev_priv(const struct net_device *dev) in vlan_dev_priv() 171 vlan_dev_get_egress_qos_mask(struct net_device *dev, u32 skprio) in vlan_dev_get_egress_qos_mask() 191 extern int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid); 192 extern void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid); [all …]
|
D | netpoll.h | 24 struct net_device *dev; 50 extern void netpoll_poll_disable(struct net_device *dev); 51 extern void netpoll_poll_enable(struct net_device *dev); 53 static inline void netpoll_poll_disable(struct net_device *dev) { return; } in netpoll_poll_disable() 54 static inline void netpoll_poll_enable(struct net_device *dev) { return; } in netpoll_poll_enable() 60 int __netpoll_setup(struct netpoll *np, struct net_device *ndev); 66 struct net_device *dev); 78 struct net_device *dev = napi->dev; in netpoll_poll_lock() 98 static inline bool netpoll_tx_running(struct net_device *dev) in netpoll_tx_running() 111 static inline void netpoll_netdev_init(struct net_device *dev) in netpoll_netdev_init() [all …]
|
D | rtnetlink.h | 19 void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change, gfp_t flags); 20 struct sk_buff *rtmsg_ifinfo_build_skb(int type, struct net_device *dev, 22 void rtmsg_ifinfo_send(struct sk_buff *skb, struct net_device *dev, 75 static inline struct netdev_queue *dev_ingress_queue(struct net_device *dev) in dev_ingress_queue() 80 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev); 100 struct net_device *dev, 101 struct net_device *filter_dev, 105 struct net_device *dev, 111 struct net_device *dev, 116 struct net_device *dev, u16 mode, [all …]
|
D | if_macvlan.h | 38 struct net_device *dev; 42 struct net_device *lowerdev; 85 extern void macvlan_common_setup(struct net_device *dev); 87 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev, 94 extern void macvlan_dellink(struct net_device *dev, struct list_head *head); 99 static inline struct net_device * 100 macvlan_dev_real_dev(const struct net_device *dev) in macvlan_dev_real_dev() 107 static inline struct net_device * 108 macvlan_dev_real_dev(const struct net_device *dev) in macvlan_dev_real_dev()
|
D | netfilter.h | 54 struct net_device *in; 55 struct net_device *out; 66 struct net_device *indev, in nf_hook_state_init() 67 struct net_device *outdev, in nf_hook_state_init() 92 struct net_device *dev; 175 struct net_device *indev, in nf_hook_thresh() 176 struct net_device *outdev, in nf_hook_thresh() 194 struct net_device *indev, struct net_device *outdev, in nf_hook() 219 struct sk_buff *skb, struct net_device *in, in NF_HOOK_THRESH() 220 struct net_device *out, in NF_HOOK_THRESH() [all …]
|
D | etherdevice.h | 33 __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev); 36 int eth_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, 41 void eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev, 43 int eth_prepare_mac_addr_change(struct net_device *dev, void *p); 44 void eth_commit_mac_addr_change(struct net_device *dev, void *p); 45 int eth_mac_addr(struct net_device *dev, void *p); 46 int eth_change_mtu(struct net_device *dev, int new_mtu); 47 int eth_validate_addr(struct net_device *dev); 49 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, 258 static inline void eth_hw_addr_random(struct net_device *dev) in eth_hw_addr_random() [all …]
|
D | hippidevice.h | 34 __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev); 35 int hippi_change_mtu(struct net_device *dev, int new_mtu); 36 int hippi_mac_addr(struct net_device *dev, void *p); 37 int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p); 38 struct net_device *alloc_hippi_dev(int sizeof_priv);
|
D | if_bridge.h | 57 int br_multicast_list_adjacent(struct net_device *dev, 59 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto); 60 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto); 62 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent() 67 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere() 72 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent()
|
D | atalk.h | 9 struct net_device *dev; 25 struct net_device *dev; 115 static inline struct atalk_iface *atalk_find_dev(struct net_device *dev) in atalk_find_dev() 120 extern struct atalk_addr *atalk_find_dev_addr(struct net_device *dev); 121 extern struct net_device *atrtr_get_dev(struct atalk_addr *sa); 122 extern int aarp_send_ddp(struct net_device *dev, 125 extern void aarp_device_down(struct net_device *dev); 129 extern void aarp_proxy_remove(struct net_device *dev,
|
D | of_mdio.h | 18 extern struct phy_device *of_phy_connect(struct net_device *dev, 20 void (*hndlr)(struct net_device *), 22 struct phy_device *of_phy_attach(struct net_device *dev, 45 static inline struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect() 47 void (*hndlr)(struct net_device *), in of_phy_connect() argument 53 static inline struct phy_device *of_phy_attach(struct net_device *dev, in of_phy_attach()
|
/linux-4.4.14/drivers/net/hyperv/ |
D | netvsc.c | 39 struct netvsc_device *net_device; in alloc_net_device() local 40 struct net_device *ndev = hv_get_drvdata(device); in alloc_net_device() 43 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device() 44 if (!net_device) in alloc_net_device() 47 net_device->cb_buffer = kzalloc(NETVSC_PACKET_SIZE, GFP_KERNEL); in alloc_net_device() 48 if (!net_device->cb_buffer) { in alloc_net_device() 49 kfree(net_device); in alloc_net_device() 53 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device() 54 net_device->start_remove = false; in alloc_net_device() 55 net_device->destroy = false; in alloc_net_device() [all …]
|
D | rndis_filter.c | 129 struct net_device *netdev; in dump_rndis_message() 130 struct netvsc_device *net_device; in dump_rndis_message() local 132 net_device = hv_get_drvdata(hv_dev); in dump_rndis_message() 133 netdev = net_device->ndev; in dump_rndis_message() 269 struct net_device *ndev; in rndis_filter_receive_response() 405 struct net_device *ndev; in rndis_filter_receive() 557 struct net_device *ndev = nvdev->ndev; in rndis_filter_set_device_mac() 636 struct net_device *ndev = nvdev->ndev; in rndis_filter_set_offload_params() 708 struct net_device *ndev = rdev->net_dev->ndev; in rndis_filter_set_rss_param() 804 struct net_device *ndev; in rndis_filter_set_packet_filter() [all …]
|
/linux-4.4.14/net/8021q/ |
D | vlan.h | 24 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM] 29 struct net_device *real_dev; /* The ethernet(like) device 51 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device() 55 struct net_device **array; in __vlan_group_get_device() 62 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device() 71 struct net_device *dev) in vlan_group_set_device() 73 struct net_device **array; in vlan_group_set_device() 82 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev() 100 void vlan_dev_set_ingress_priority(const struct net_device *dev, 102 int vlan_dev_set_egress_priority(const struct net_device *dev, [all …]
|
D | vlan_dev.c | 48 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, in vlan_dev_hard_header() 104 struct net_device *dev) in vlan_dev_hard_start_xmit() 146 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu() 159 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority() 172 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority() 215 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags() 242 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result) in vlan_dev_get_realdev_name() 247 static int vlan_dev_open(struct net_device *dev) in vlan_dev_open() 250 struct net_device *real_dev = vlan->real_dev; in vlan_dev_open() 297 static int vlan_dev_stop(struct net_device *dev) in vlan_dev_stop() [all …]
|
D | vlan_core.c | 13 struct net_device *vlan_dev; in vlan_do_receive() 68 struct net_device *__vlan_find_dev_deep_rcu(struct net_device *dev, in __vlan_find_dev_deep_rcu() 82 struct net_device *upper_dev; in __vlan_find_dev_deep_rcu() 94 struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev() 96 struct net_device *ret = vlan_dev_priv(dev)->real_dev; in vlan_dev_real_dev() 105 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id() 111 __be16 vlan_dev_vlan_proto(const struct net_device *dev) in vlan_dev_vlan_proto() 141 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc() 161 static bool vlan_hw_filter_capable(const struct net_device *dev, in vlan_hw_filter_capable() 201 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_add() [all …]
|
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.h | 26 bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev); 27 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev); 28 bool rtl92e_is_tx_stuck(struct net_device *dev); 29 bool rtl92e_is_rx_stuck(struct net_device *dev); 30 void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb); 31 void rtl92e_enable_rx(struct net_device *dev); 32 void rtl92e_enable_tx(struct net_device *dev); 33 void rtl92e_enable_irq(struct net_device *dev); 34 void rtl92e_disable_irq(struct net_device *dev); 35 void rtl92e_clear_irq(struct net_device *dev); [all …]
|
D | r8192E_phy.h | 66 u8 rtl92e_is_legal_rf_path(struct net_device *dev, u32 eRFPath); 67 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, 69 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask); 70 void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, 72 u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, 74 void rtl92e_config_mac(struct net_device *dev); 75 bool rtl92e_check_bb_and_rf(struct net_device *dev, 78 bool rtl92e_config_bb(struct net_device *dev); 79 void rtl92e_get_tx_power(struct net_device *dev); 80 void rtl92e_set_tx_power(struct net_device *dev, u8 channel); [all …]
|
D | rtl_core.h | 287 void (*get_eeprom_size)(struct net_device *dev); 288 void (*init_adapter_variable)(struct net_device *dev); 289 void (*init_before_adapter_start)(struct net_device *dev); 290 bool (*initialize_adapter)(struct net_device *dev); 291 void (*link_change)(struct net_device *dev); 292 void (*tx_fill_descriptor)(struct net_device *dev, 296 void (*tx_fill_cmd_descriptor)(struct net_device *dev, 300 bool (*rx_query_status_descriptor)(struct net_device *dev, 304 bool (*rx_command_packet_handler)(struct net_device *dev, 307 void (*stop_adapter)(struct net_device *dev, bool reset); [all …]
|
D | rtl_ps.h | 26 struct net_device; 30 void rtl92e_hw_wakeup(struct net_device *dev); 31 void rtl92e_enter_sleep(struct net_device *dev, u64 time); 32 void rtl92e_rtllib_ips_leave_wq(struct net_device *dev); 33 void rtl92e_rtllib_ips_leave(struct net_device *dev); 36 void rtl92e_ips_enter(struct net_device *dev); 37 void rtl92e_ips_leave(struct net_device *dev); 39 void rtl92e_leisure_ps_enter(struct net_device *dev); 40 void rtl92e_leisure_ps_leave(struct net_device *dev);
|
D | rtl_cam.h | 25 struct net_device; 27 void rtl92e_cam_reset(struct net_device *dev); 28 void rtl92e_enable_hw_security_config(struct net_device *dev); 29 void rtl92e_set_key(struct net_device *dev, u8 EntryNo, u8 KeyIndex, 32 void rtl92e_set_swcam(struct net_device *dev, u8 EntryNo, u8 KeyIndex, 35 void rtl92e_cam_restore(struct net_device *dev);
|
D | rtl_dm.h | 187 void rtl92e_dm_init(struct net_device *dev); 188 void rtl92e_dm_deinit(struct net_device *dev); 190 void rtl92e_dm_watchdog(struct net_device *dev); 193 void rtl92e_init_adaptive_rate(struct net_device *dev); 196 void rtl92e_dm_cck_txpower_adjust(struct net_device *dev, bool binch14); 198 void rtl92e_dm_restore_state(struct net_device *dev); 199 void rtl92e_dm_backup_state(struct net_device *dev); 200 void rtl92e_dm_init_edca_turbo(struct net_device *dev); 202 void rtl92e_dm_init_txpower_tracking(struct net_device *dev);
|
D | rtl_dm.c | 165 static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev); 167 static void _rtl92e_dm_init_bandwidth_autoswitch(struct net_device *dev); 168 static void _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev); 171 static void _rtl92e_dm_check_tx_power_tracking(struct net_device *dev); 173 static void _rtl92e_dm_bb_initialgain_restore(struct net_device *dev); 174 static void _rtl92e_dm_dig_init(struct net_device *dev); 175 static void _rtl92e_dm_ctrl_initgain_byrssi(struct net_device *dev); 176 static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev); 177 static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev); 178 static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev); [all …]
|
D | rtl_ps.c | 29 static void _rtl92e_hw_sleep(struct net_device *dev) in _rtl92e_hw_sleep() 51 struct net_device *dev = ieee->dev; in rtl92e_hw_sleep_wq() 56 void rtl92e_hw_wakeup(struct net_device *dev) in rtl92e_hw_wakeup() 80 struct net_device *dev = ieee->dev; in rtl92e_hw_wakeup_wq() 87 void rtl92e_enter_sleep(struct net_device *dev, u64 time) in rtl92e_enter_sleep() 121 static void _rtl92e_ps_update_rf_state(struct net_device *dev) in _rtl92e_ps_update_rf_state() 138 void rtl92e_ips_enter(struct net_device *dev) in rtl92e_ips_enter() 159 void rtl92e_ips_leave(struct net_device *dev) in rtl92e_ips_leave() 182 struct net_device *dev = ieee->dev; in rtl92e_ips_leave_wq() 190 void rtl92e_rtllib_ips_leave_wq(struct net_device *dev) in rtl92e_rtllib_ips_leave_wq() [all …]
|
D | rtl_wx.c | 30 static int _rtl92e_wx_get_freq(struct net_device *dev, in _rtl92e_wx_get_freq() 40 static int _rtl92e_wx_get_mode(struct net_device *dev, in _rtl92e_wx_get_mode() 49 static int _rtl92e_wx_get_rate(struct net_device *dev, in _rtl92e_wx_get_rate() 58 static int _rtl92e_wx_set_rate(struct net_device *dev, in _rtl92e_wx_set_rate() 77 static int _rtl92e_wx_set_rts(struct net_device *dev, in _rtl92e_wx_set_rts() 96 static int _rtl92e_wx_get_rts(struct net_device *dev, in _rtl92e_wx_get_rts() 105 static int _rtl92e_wx_set_power(struct net_device *dev, in _rtl92e_wx_set_power() 126 static int _rtl92e_wx_get_power(struct net_device *dev, in _rtl92e_wx_get_power() 135 static int _rtl92e_wx_set_rawtx(struct net_device *dev, in _rtl92e_wx_set_rawtx() 155 static int _rtl92e_wx_force_reset(struct net_device *dev, in _rtl92e_wx_force_reset() [all …]
|
D | r8190P_rtl8256.h | 20 void rtl92e_set_bandwidth(struct net_device *dev, 22 bool rtl92e_config_rf(struct net_device *dev); 23 void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel); 24 void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel);
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib.h | 165 struct net_device *dev; 229 struct net_device *dev; 239 struct net_device *dev; 314 struct net_device *dev; 376 struct net_device *parent; 396 struct net_device *dev; 404 struct net_device *dev; 428 struct net_device *dev; 446 struct ipoib_neigh *ipoib_neigh_get(struct net_device *dev, u8 *daddr); 448 struct net_device *dev); [all …]
|
/linux-4.4.14/drivers/staging/octeon/ |
D | octeon-ethernet.h | 33 struct net_device *netdev; 48 void (*poll)(struct net_device *dev); 56 int cvm_oct_rgmii_init(struct net_device *dev); 57 void cvm_oct_rgmii_uninit(struct net_device *dev); 58 int cvm_oct_rgmii_open(struct net_device *dev); 60 int cvm_oct_sgmii_init(struct net_device *dev); 61 int cvm_oct_sgmii_open(struct net_device *dev); 63 int cvm_oct_spi_init(struct net_device *dev); 64 void cvm_oct_spi_uninit(struct net_device *dev); 66 int cvm_oct_common_init(struct net_device *dev); [all …]
|
D | ethernet-tx.h | 11 int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev); 12 int cvm_oct_xmit_pow(struct sk_buff *skb, struct net_device *dev); 13 int cvm_oct_transmit_qos(struct net_device *dev, void *work_queue_entry, 17 void cvm_oct_tx_shutdown_dev(struct net_device *dev);
|
D | ethernet-mdio.c | 29 static void cvm_oct_get_drvinfo(struct net_device *dev, in cvm_oct_get_drvinfo() 37 static int cvm_oct_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in cvm_oct_get_settings() 47 static int cvm_oct_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) in cvm_oct_set_settings() 60 static int cvm_oct_nway_reset(struct net_device *dev) in cvm_oct_nway_reset() 89 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in cvm_oct_ioctl() 116 void cvm_oct_adjust_link(struct net_device *dev) in cvm_oct_adjust_link() 133 int cvm_oct_common_stop(struct net_device *dev) in cvm_oct_common_stop() 168 int cvm_oct_phy_setup_device(struct net_device *dev) in cvm_oct_phy_setup_device()
|
/linux-4.4.14/include/linux/can/ |
D | dev.h | 52 int (*do_set_bittiming)(struct net_device *dev); 53 int (*do_set_data_bittiming)(struct net_device *dev); 54 int (*do_set_mode)(struct net_device *dev, enum can_mode mode); 55 int (*do_get_state)(const struct net_device *dev, 57 int (*do_get_berr_counter)(const struct net_device *dev, 84 static inline bool can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb() 115 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode() 135 struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max); 136 void free_candev(struct net_device *dev); 139 struct can_priv *safe_candev_priv(struct net_device *dev); [all …]
|
D | led.h | 30 void can_led_event(struct net_device *netdev, enum can_led_event event); 31 void devm_can_led_init(struct net_device *netdev); 37 static inline void can_led_event(struct net_device *netdev, in can_led_event() 41 static inline void devm_can_led_init(struct net_device *netdev) in devm_can_led_init()
|
/linux-4.4.14/drivers/staging/rtl8192u/ |
D | r819xU_phy.h | 60 u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 eRFPath); 61 void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr, 63 u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask); 64 void rtl8192_phy_SetRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath, 66 u32 rtl8192_phy_QueryRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath, 68 void rtl8192_phy_configmac(struct net_device *dev); 69 void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType); 70 u8 rtl8192_phy_checkBBAndRF(struct net_device *dev, 72 void rtl8192_BBConfig(struct net_device *dev); 73 void rtl8192_phy_getTxPower(struct net_device *dev); [all …]
|
D | r8192U_dm.h | 215 void init_hal_dm(struct net_device *dev); 216 void deinit_hal_dm(struct net_device *dev); 217 void hal_dm_watchdog(struct net_device *dev); 218 void init_rate_adaptive(struct net_device *dev); 220 void dm_restore_dynamic_mechanism_state(struct net_device *dev); 221 void dm_backup_dynamic_mechanism_state(struct net_device *dev); 222 void dm_change_dynamic_initgain_thresh(struct net_device *dev, 224 void dm_force_tx_fw_info(struct net_device *dev, 226 void dm_init_edca_turbo(struct net_device *dev); 230 void dm_cck_txpower_adjust(struct net_device *dev, bool binch14); [all …]
|
D | r8192U.h | 307 struct net_device *dev; 888 short (*rf_set_sens)(struct net_device *dev, short sens); 889 u8 (*rf_set_chan)(struct net_device *dev, u8 ch); 890 void (*rf_close)(struct net_device *dev); 891 void (*rf_init)(struct net_device *dev); 1121 bool init_firmware(struct net_device *dev); 1122 short rtl819xU_tx_cmd(struct net_device *dev, struct sk_buff *skb); 1123 short rtl8192_tx(struct net_device *dev, struct sk_buff *skb); 1125 u32 read_cam(struct net_device *dev, u8 addr); 1126 void write_cam(struct net_device *dev, u8 addr, u32 data); [all …]
|
D | r8190_rtl8256.h | 17 void PHY_SetRF8256Bandwidth(struct net_device *dev, HT_CHANNEL_WIDTH Bandwidth); 18 void PHY_RF8256_Config(struct net_device *dev); 19 void phy_RF8256_Config_ParaFile(struct net_device *dev); 20 void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel); 21 void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
|
D | r8192U_wx.c | 36 static int r8192_wx_get_freq(struct net_device *dev, in r8192_wx_get_freq() 46 static int r8192_wx_get_mode(struct net_device *dev, struct iw_request_info *a, in r8192_wx_get_mode() 56 static int r8192_wx_get_rate(struct net_device *dev, in r8192_wx_get_rate() 67 static int r8192_wx_set_rate(struct net_device *dev, in r8192_wx_set_rate() 84 static int r8192_wx_set_rts(struct net_device *dev, in r8192_wx_set_rts() 100 static int r8192_wx_get_rts(struct net_device *dev, in r8192_wx_get_rts() 109 static int r8192_wx_set_power(struct net_device *dev, in r8192_wx_set_power() 125 static int r8192_wx_get_power(struct net_device *dev, in r8192_wx_get_power() 134 static int r8192_wx_force_reset(struct net_device *dev, in r8192_wx_force_reset() 150 static int r8192_wx_set_rawtx(struct net_device *dev, in r8192_wx_set_rawtx() [all …]
|
/linux-4.4.14/net/mac802154/ |
D | ieee802154_i.h | 88 struct net_device *dev; 111 IEEE802154_DEV_TO_SUB_IF(const struct net_device *dev) in IEEE802154_DEV_TO_SUB_IF() 133 ieee802154_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev); 135 ieee802154_subif_start_xmit(struct sk_buff *skb, struct net_device *dev); 139 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan); 141 int mac802154_get_params(struct net_device *dev, 143 int mac802154_set_params(struct net_device *dev, 147 int mac802154_add_key(struct net_device *dev, 150 int mac802154_del_key(struct net_device *dev, 153 int mac802154_add_dev(struct net_device *dev, [all …]
|
D | mib.c | 29 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan) in mac802154_dev_set_page_channel() 48 int mac802154_get_params(struct net_device *dev, in mac802154_get_params() 63 int mac802154_set_params(struct net_device *dev, in mac802154_set_params() 79 int mac802154_add_key(struct net_device *dev, in mac802154_add_key() 95 int mac802154_del_key(struct net_device *dev, in mac802154_del_key() 110 int mac802154_add_dev(struct net_device *dev, in mac802154_add_dev() 125 int mac802154_del_dev(struct net_device *dev, __le64 dev_addr) in mac802154_del_dev() 139 int mac802154_add_devkey(struct net_device *dev, in mac802154_add_devkey() 155 int mac802154_del_devkey(struct net_device *dev, in mac802154_del_devkey() 171 int mac802154_add_seclevel(struct net_device *dev, in mac802154_add_seclevel() [all …]
|
D | cfg.c | 23 static struct net_device * 29 struct net_device *dev; in ieee802154_add_iface_deprecated() 40 struct net_device *dev) in ieee802154_del_iface_deprecated() 96 struct net_device *err; in ieee802154_add_iface() 275 struct net_device *dev = wpan_dev->netdev; in ieee802154_get_llsec_table() 285 struct net_device *dev = wpan_dev->netdev; in ieee802154_lock_llsec_table() 295 struct net_device *dev = wpan_dev->netdev; in ieee802154_unlock_llsec_table() 307 struct net_device *dev = wpan_dev->netdev; in ieee802154_set_llsec_params() 323 struct net_device *dev = wpan_dev->netdev; in ieee802154_get_llsec_params() 339 struct net_device *dev = wpan_dev->netdev; in ieee802154_add_llsec_key() [all …]
|
/linux-4.4.14/drivers/net/ethernet/8390/ |
D | 8390.h | 25 void ei_poll(struct net_device *dev); 26 void eip_poll(struct net_device *dev); 31 void NS8390_init(struct net_device *dev, int startp); 32 int ei_open(struct net_device *dev); 33 int ei_close(struct net_device *dev); 35 void ei_tx_timeout(struct net_device *dev); 36 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev); 37 void ei_set_multicast_list(struct net_device *dev); 38 struct net_device_stats *ei_get_stats(struct net_device *dev); 42 struct net_device *__alloc_ei_netdev(int size); [all …]
|
D | 8390.c | 8 int ei_open(struct net_device *dev) in ei_open() 14 int ei_close(struct net_device *dev) in ei_close() 20 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev) in ei_start_xmit() 26 struct net_device_stats *ei_get_stats(struct net_device *dev) in ei_get_stats() 32 void ei_set_multicast_list(struct net_device *dev) in ei_set_multicast_list() 38 void ei_tx_timeout(struct net_device *dev) in ei_tx_timeout() 51 void ei_poll(struct net_device *dev) in ei_poll() 74 struct net_device *__alloc_ei_netdev(int size) in __alloc_ei_netdev() 76 struct net_device *dev = ____alloc_ei_netdev(size); in __alloc_ei_netdev() 83 void NS8390_init(struct net_device *dev, int startp) in NS8390_init()
|
D | 8390p.c | 13 int eip_open(struct net_device *dev) in eip_open() 19 int eip_close(struct net_device *dev) in eip_close() 25 netdev_tx_t eip_start_xmit(struct sk_buff *skb, struct net_device *dev) in eip_start_xmit() 31 struct net_device_stats *eip_get_stats(struct net_device *dev) in eip_get_stats() 37 void eip_set_multicast_list(struct net_device *dev) in eip_set_multicast_list() 43 void eip_tx_timeout(struct net_device *dev) in eip_tx_timeout() 56 void eip_poll(struct net_device *dev) in eip_poll() 79 struct net_device *__alloc_eip_netdev(int size) in __alloc_eip_netdev() 81 struct net_device *dev = ____alloc_ei_netdev(size); in __alloc_eip_netdev() 88 void NS8390p_init(struct net_device *dev, int startp) in NS8390p_init()
|
D | mac8390.c | 125 extern int mac8390_memtest(struct net_device *dev); 126 static int mac8390_initdev(struct net_device *dev, struct nubus_dev *ndev, 129 static int mac8390_open(struct net_device *dev); 130 static int mac8390_close(struct net_device *dev); 131 static void mac8390_no_reset(struct net_device *dev); 132 static void interlan_reset(struct net_device *dev); 135 static void sane_get_8390_hdr(struct net_device *dev, 137 static void sane_block_input(struct net_device *dev, int count, 139 static void sane_block_output(struct net_device *dev, int count, 143 static void dayna_memcpy_fromcard(struct net_device *dev, void *to, [all …]
|
D | smc-ultra.c | 81 static int ultra_probe1(struct net_device *dev, int ioaddr); 84 static int ultra_probe_isapnp(struct net_device *dev); 87 static int ultra_open(struct net_device *dev); 88 static void ultra_reset_8390(struct net_device *dev); 89 static void ultra_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, 91 static void ultra_block_input(struct net_device *dev, int count, 93 static void ultra_block_output(struct net_device *dev, int count, 95 static void ultra_pio_get_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, 97 static void ultra_pio_input(struct net_device *dev, int count, 99 static void ultra_pio_output(struct net_device *dev, int count, [all …]
|
D | hydra.c | 59 static int hydra_open(struct net_device *dev); 60 static int hydra_close(struct net_device *dev); 61 static void hydra_reset_8390(struct net_device *dev); 62 static void hydra_get_8390_hdr(struct net_device *dev, 64 static void hydra_block_input(struct net_device *dev, int count, 66 static void hydra_block_output(struct net_device *dev, int count, 116 struct net_device *dev; in hydra_init() 186 static int hydra_open(struct net_device *dev) in hydra_open() 192 static int hydra_close(struct net_device *dev) in hydra_close() 201 static void hydra_reset_8390(struct net_device *dev) in hydra_reset_8390() [all …]
|
D | axnet_cs.c | 79 static int axnet_open(struct net_device *dev); 80 static int axnet_close(struct net_device *dev); 81 static int axnet_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 83 struct net_device *dev); 84 static struct net_device_stats *get_stats(struct net_device *dev); 85 static void set_multicast_list(struct net_device *dev); 86 static void axnet_tx_timeout(struct net_device *dev); 89 static void axnet_reset_8390(struct net_device *dev); 94 static void get_8390_hdr(struct net_device *, 96 static void block_input(struct net_device *dev, int count, [all …]
|
D | wd.c | 51 static int wd_probe1(struct net_device *dev, int ioaddr); 53 static int wd_open(struct net_device *dev); 54 static void wd_reset_8390(struct net_device *dev); 55 static void wd_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, 57 static void wd_block_input(struct net_device *dev, int count, 59 static void wd_block_output(struct net_device *dev, int count, 61 static int wd_close(struct net_device *dev); 87 static int __init do_wd_probe(struct net_device *dev) in do_wd_probe() 129 struct net_device * __init wd_probe(int unit) in wd_probe() 131 struct net_device *dev = alloc_ei_netdev(); in wd_probe() [all …]
|
D | stnic.c | 60 static struct net_device *stnic_dev; 62 static void stnic_reset (struct net_device *dev); 63 static void stnic_get_hdr (struct net_device *dev, struct e8390_pkt_hdr *hdr, 65 static void stnic_block_input (struct net_device *dev, int count, 67 static void stnic_block_output (struct net_device *dev, int count, 70 static void stnic_init (struct net_device *dev); 106 struct net_device *dev; in stnic_probe() 173 stnic_reset (struct net_device *dev) in stnic_reset() 185 stnic_get_hdr (struct net_device *dev, struct e8390_pkt_hdr *hdr, in stnic_get_hdr() 222 stnic_block_input (struct net_device *dev, int length, struct sk_buff *skb, in stnic_block_input() [all …]
|
D | ne2k-pci.c | 167 static int ne2k_pci_open(struct net_device *dev); 168 static int ne2k_pci_close(struct net_device *dev); 170 static void ne2k_pci_reset_8390(struct net_device *dev); 171 static void ne2k_pci_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, 173 static void ne2k_pci_block_input(struct net_device *dev, int count, 175 static void ne2k_pci_block_output(struct net_device *dev, const int count, 184 struct net_device *dev; 221 struct net_device *dev; in ne2k_pci_init_one() 403 static inline int set_realtek_fdx(struct net_device *dev) in set_realtek_fdx() 415 static inline int set_holtek_fdx(struct net_device *dev) in set_holtek_fdx() [all …]
|
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet.h | 76 int (*setup_data)(struct net_device *dev); 77 int (*allocate_bd)(struct net_device *dev); 78 void (*free_bd)(struct net_device *dev); 79 void (*cleanup_data)(struct net_device *dev); 80 void (*set_multicast_list)(struct net_device *dev); 81 void (*adjust_link)(struct net_device *dev); 82 void (*restart)(struct net_device *dev); 83 void (*stop)(struct net_device *dev); 84 void (*napi_clear_rx_event)(struct net_device *dev); 85 void (*napi_enable_rx)(struct net_device *dev); [all …]
|
D | mac-fec.c | 119 static int setup_data(struct net_device *dev) in setup_data() 138 static int allocate_bd(struct net_device *dev) in allocate_bd() 153 static void free_bd(struct net_device *dev) in free_bd() 165 static void cleanup_data(struct net_device *dev) in cleanup_data() 170 static void set_promiscuous_mode(struct net_device *dev) in set_promiscuous_mode() 178 static void set_multicast_start(struct net_device *dev) in set_multicast_start() 186 static void set_multicast_one(struct net_device *dev, const u8 *mac) in set_multicast_one() 218 static void set_multicast_finish(struct net_device *dev) in set_multicast_finish() 235 static void set_multicast_list(struct net_device *dev) in set_multicast_list() 248 static void restart(struct net_device *dev) in restart() [all …]
|
D | mac-scc.c | 124 static int setup_data(struct net_device *dev) in setup_data() 142 static int allocate_bd(struct net_device *dev) in allocate_bd() 158 static void free_bd(struct net_device *dev) in free_bd() 166 static void cleanup_data(struct net_device *dev) in cleanup_data() 171 static void set_promiscuous_mode(struct net_device *dev) in set_promiscuous_mode() 179 static void set_multicast_start(struct net_device *dev) in set_multicast_start() 190 static void set_multicast_one(struct net_device *dev, const u8 * mac) in set_multicast_one() 206 static void set_multicast_finish(struct net_device *dev) in set_multicast_finish() 226 static void set_multicast_list(struct net_device *dev) in set_multicast_list() 244 static void restart(struct net_device *dev) in restart() [all …]
|
D | mac-fcc.c | 133 static int setup_data(struct net_device *dev) in setup_data() 149 static int allocate_bd(struct net_device *dev) in allocate_bd() 164 static void free_bd(struct net_device *dev) in free_bd() 175 static void cleanup_data(struct net_device *dev) in cleanup_data() 180 static void set_promiscuous_mode(struct net_device *dev) in set_promiscuous_mode() 188 static void set_multicast_start(struct net_device *dev) in set_multicast_start() 197 static void set_multicast_one(struct net_device *dev, const u8 *mac) in set_multicast_one() 213 static void set_multicast_finish(struct net_device *dev) in set_multicast_finish() 235 static void set_multicast_list(struct net_device *dev) in set_multicast_list() 248 static void restart(struct net_device *dev) in restart() [all …]
|
/linux-4.4.14/net/wireless/ |
D | wext-compat.h | 13 int cfg80211_ibss_wext_siwfreq(struct net_device *dev, 16 int cfg80211_ibss_wext_giwfreq(struct net_device *dev, 19 int cfg80211_ibss_wext_siwap(struct net_device *dev, 22 int cfg80211_ibss_wext_giwap(struct net_device *dev, 25 int cfg80211_ibss_wext_siwessid(struct net_device *dev, 28 int cfg80211_ibss_wext_giwessid(struct net_device *dev, 32 int cfg80211_mgd_wext_siwfreq(struct net_device *dev, 35 int cfg80211_mgd_wext_giwfreq(struct net_device *dev, 38 int cfg80211_mgd_wext_siwap(struct net_device *dev, 41 int cfg80211_mgd_wext_giwap(struct net_device *dev, [all …]
|
D | nl80211.h | 17 struct net_device *netdev, u32 cmd); 19 struct net_device *netdev); 36 struct net_device *netdev, 39 struct net_device *netdev, 43 struct net_device *netdev, 46 struct net_device *netdev, 49 struct net_device *netdev, 52 struct net_device *netdev, 55 struct net_device *netdev, const u8 *bssid, 60 struct net_device *netdev, const u8 *bssid, [all …]
|
D | core.h | 277 struct net_device *dev, 280 void cfg80211_clear_ibss(struct net_device *dev, bool nowext); 282 struct net_device *dev, bool nowext); 284 struct net_device *dev, bool nowext); 285 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, 294 struct net_device *dev, 298 struct net_device *dev, 302 struct net_device *dev); 304 struct net_device *dev); 311 struct net_device *dev, [all …]
|
D | rdev-ops.h | 63 struct net_device *dev, enum nl80211_iftype type, in rdev_change_virtual_intf() 75 struct net_device *netdev, u8 key_index, in rdev_add_key() 88 rdev_get_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, in rdev_get_key() 101 struct net_device *netdev, u8 key_index, in rdev_del_key() 114 struct net_device *netdev, u8 key_index, bool unicast, in rdev_set_default_key() 128 struct net_device *netdev, u8 key_index) in rdev_set_default_mgmt_key() 139 struct net_device *dev, in rdev_start_ap() 150 struct net_device *dev, in rdev_change_beacon() 161 struct net_device *dev) in rdev_stop_ap() 171 struct net_device *dev, u8 *mac, in rdev_add_station() [all …]
|
D | trace.h | 374 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 392 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, 415 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, 421 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, 427 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, 433 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, 457 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 key_index), 474 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 516 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 561 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev), [all …]
|
/linux-4.4.14/drivers/infiniband/core/ |
D | roce_gid_mgmt.c | 61 struct net_device *ndev; 62 struct net_device *filter_ndev; 91 static enum bonding_slave_state is_eth_active_slave_of_bonding_rcu(struct net_device *dev, in is_eth_active_slave_of_bonding_rcu() 92 struct net_device *upper) in is_eth_active_slave_of_bonding_rcu() 95 struct net_device *pdev = in is_eth_active_slave_of_bonding_rcu() 106 static bool is_upper_dev_rcu(struct net_device *dev, struct net_device *upper) in is_upper_dev_rcu() 108 struct net_device *_upper = NULL; in is_upper_dev_rcu() 121 struct net_device *rdma_ndev, void *cookie) in is_eth_port_of_netdev() 123 struct net_device *event_ndev = (struct net_device *)cookie; in is_eth_port_of_netdev() 124 struct net_device *real_dev; in is_eth_port_of_netdev() [all …]
|
/linux-4.4.14/drivers/net/arcnet/ |
D | arcdevice.h | 201 void (*rx)(struct net_device *dev, int bufnum, 203 int (*build_header)(struct sk_buff *skb, struct net_device *dev, 207 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt, 209 int (*continue_tx)(struct net_device *dev, int bufnum); 210 int (*ack_tx)(struct net_device *dev, int acked); 315 void (*command)(struct net_device *dev, int cmd); 316 int (*status)(struct net_device *dev); 317 void (*intmask)(struct net_device *dev, int mask); 318 int (*reset)(struct net_device *dev, int really_reset); 319 void (*open)(struct net_device *dev); [all …]
|
D | com90io.c | 47 static int com90io_found(struct net_device *dev); 48 static void com90io_command(struct net_device *dev, int command); 49 static int com90io_status(struct net_device *dev); 50 static void com90io_setmask(struct net_device *dev, int mask); 51 static int com90io_reset(struct net_device *dev, int really_reset); 52 static void com90io_copy_to_card(struct net_device *dev, int bufnum, int offset, 54 static void com90io_copy_from_card(struct net_device *dev, int bufnum, 71 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) in get_buffer_byte() 82 static void put_buffer_byte(struct net_device *dev, unsigned offset, in put_buffer_byte() 95 static void get_whole_buffer(struct net_device *dev, unsigned offset, in get_whole_buffer() [all …]
|
D | arc-rimi.c | 46 static int arcrimi_probe(struct net_device *dev); 47 static int arcrimi_found(struct net_device *dev); 48 static void arcrimi_command(struct net_device *dev, int command); 49 static int arcrimi_status(struct net_device *dev); 50 static void arcrimi_setmask(struct net_device *dev, int mask); 51 static int arcrimi_reset(struct net_device *dev, int really_reset); 52 static void arcrimi_copy_to_card(struct net_device *dev, int bufnum, int offset, 54 static void arcrimi_copy_from_card(struct net_device *dev, int bufnum, 67 static int __init arcrimi_probe(struct net_device *dev) in arcrimi_probe() 123 static int __init arcrimi_found(struct net_device *dev) in arcrimi_found() [all …]
|
D | com20020.c | 51 static void com20020_command(struct net_device *dev, int command); 52 static int com20020_status(struct net_device *dev); 53 static void com20020_setmask(struct net_device *dev, int mask); 54 static int com20020_reset(struct net_device *dev, int really_reset); 55 static void com20020_copy_to_card(struct net_device *dev, int bufnum, 57 static void com20020_copy_from_card(struct net_device *dev, int bufnum, 59 static void com20020_set_mc_list(struct net_device *dev); 60 static void com20020_close(struct net_device *); 62 static void com20020_copy_from_card(struct net_device *dev, int bufnum, in com20020_copy_from_card() 77 static void com20020_copy_to_card(struct net_device *dev, int bufnum, in com20020_copy_to_card() [all …]
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | u_ether.h | 122 struct net_device *gether_setup_name_default(const char *netname); 131 int gether_register_netdev(struct net_device *net); 142 static inline struct net_device *gether_setup_default(void) in gether_setup_default() 154 void gether_set_gadget(struct net_device *net, struct usb_gadget *g); 165 int gether_set_dev_addr(struct net_device *net, const char *dev_addr); 176 int gether_get_dev_addr(struct net_device *net, char *dev_addr, int len); 187 int gether_set_host_addr(struct net_device *net, const char *host_addr); 198 int gether_get_host_addr(struct net_device *net, char *host_addr, int len); 210 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len); 220 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]); [all …]
|
D | u_phonet.h | 20 struct net_device *net; 23 struct net_device *gphonet_setup_default(void); 24 void gphonet_set_gadget(struct net_device *net, struct usb_gadget *g); 25 int gphonet_register_netdev(struct net_device *net); 26 int phonet_bind_config(struct usb_configuration *c, struct net_device *dev); 27 void gphonet_cleanup(struct net_device *dev);
|
/linux-4.4.14/include/net/phonet/ |
D | pn_dev.h | 35 struct net_device *netdev; 43 struct net_device *phonet_device_get(struct net *net); 45 int phonet_address_add(struct net_device *dev, u8 addr); 46 int phonet_address_del(struct net_device *dev, u8 addr); 47 u8 phonet_address_get(struct net_device *dev, u8 addr); 49 void phonet_address_notify(int event, struct net_device *dev, u8 addr); 51 int phonet_route_add(struct net_device *dev, u8 daddr); 52 int phonet_route_del(struct net_device *dev, u8 daddr); 53 void rtm_phonet_notify(int event, struct net_device *dev, u8 dst); 54 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr); [all …]
|
/linux-4.4.14/drivers/net/ |
D | veth.c | 36 struct net_device __rcu *peer; 50 static int veth_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in veth_get_settings() 65 static void veth_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) in veth_get_drvinfo() 71 static void veth_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in veth_get_strings() 80 static int veth_get_sset_count(struct net_device *dev, int sset) in veth_get_sset_count() 90 static void veth_get_ethtool_stats(struct net_device *dev, in veth_get_ethtool_stats() 94 struct net_device *peer = rtnl_dereference(priv->peer); in veth_get_ethtool_stats() 108 static netdev_tx_t veth_xmit(struct sk_buff *skb, struct net_device *dev) in veth_xmit() 111 struct net_device *rcv; in veth_xmit() 140 static u64 veth_stats_one(struct pcpu_vstats *result, struct net_device *dev) in veth_stats_one() [all …]
|
D | eql.c | 132 static int eql_open(struct net_device *dev); 133 static int eql_close(struct net_device *dev); 134 static int eql_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); 135 static netdev_tx_t eql_slave_xmit(struct sk_buff *skb, struct net_device *dev); 177 static void __init eql_setup(struct net_device *dev) in eql_setup() 205 static int eql_open(struct net_device *dev) in eql_open() 248 static int eql_close(struct net_device *dev) in eql_close() 264 static int eql_enslave(struct net_device *dev, slaving_request_t __user *srq); 265 static int eql_emancipate(struct net_device *dev, slaving_request_t __user *srq); 267 static int eql_g_slave_cfg(struct net_device *dev, slave_config_t __user *sc); [all …]
|
D | vrf.c | 47 ((struct net_device *)rcu_dereference(dev->rx_handler_data)) 51 struct net_device *dev; 166 static void vrf_tx_error(struct net_device *vrf_dev, struct sk_buff *skb) in vrf_tx_error() 178 struct net_device *dev = vrf_master_get_rcu(skb->dev); in vrf_handle_frame() 193 static struct rtnl_link_stats64 *vrf_get_stats64(struct net_device *dev, in vrf_get_stats64() 223 struct net_device *dev) in vrf_process_v6_outbound() 262 struct net_device *dev) in vrf_process_v6_outbound() 270 struct net_device *vrf_dev) in vrf_send_v4_prep() 293 struct net_device *vrf_dev) in vrf_process_v4_outbound() 328 static netdev_tx_t is_ip_tx_frame(struct sk_buff *skb, struct net_device *dev) in is_ip_tx_frame() [all …]
|
D | nlmon.c | 15 static netdev_tx_t nlmon_xmit(struct sk_buff *skb, struct net_device *dev) in nlmon_xmit() 39 static int nlmon_change_mtu(struct net_device *dev, int new_mtu) in nlmon_change_mtu() 48 static int nlmon_dev_init(struct net_device *dev) in nlmon_dev_init() 54 static void nlmon_dev_uninit(struct net_device *dev) in nlmon_dev_uninit() 63 static int nlmon_open(struct net_device *dev) in nlmon_open() 72 static int nlmon_close(struct net_device *dev) in nlmon_close() 80 nlmon_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) in nlmon_get_stats64() 111 static u32 always_on(struct net_device *dev) in always_on() 130 static void nlmon_setup(struct net_device *dev) in nlmon_setup()
|
D | macvlan.c | 43 struct net_device *dev; 67 static void macvlan_port_destroy(struct net_device *dev); 83 static struct macvlan_port *macvlan_port_get_rcu(const struct net_device *dev) in macvlan_port_get_rcu() 88 static struct macvlan_port *macvlan_port_get_rtnl(const struct net_device *dev) in macvlan_port_get_rtnl() 202 struct net_device *dev = vlan->dev; in macvlan_broadcast_one() 233 struct net_device *src, in macvlan_broadcast() 365 struct net_device *dev; in macvlan_forward_source_one() 408 struct net_device *dev; in macvlan_handle_frame() 471 static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev) in macvlan_queue_xmit() 512 struct net_device *dev) in macvlan_start_xmit() [all …]
|
D | dummy.c | 47 static void set_multicast_list(struct net_device *dev) in set_multicast_list() 57 static struct rtnl_link_stats64 *dummy_get_stats64(struct net_device *dev, in dummy_get_stats64() 79 static netdev_tx_t dummy_xmit(struct sk_buff *skb, struct net_device *dev) in dummy_xmit() 92 static int dummy_dev_init(struct net_device *dev) in dummy_dev_init() 101 static void dummy_dev_uninit(struct net_device *dev) in dummy_dev_uninit() 106 static int dummy_change_carrier(struct net_device *dev, bool new_carrier) in dummy_change_carrier() 126 static void dummy_get_drvinfo(struct net_device *dev, in dummy_get_drvinfo() 137 static void dummy_setup(struct net_device *dev) in dummy_setup() 182 struct net_device *dev_dummy; in dummy_init_one()
|
D | ntb_netdev.c | 76 struct net_device *ndev; 88 struct net_device *ndev = data; in ntb_netdev_event_handler() 105 struct net_device *ndev = qp_data; in ntb_netdev_rx_handler() 149 static int __ntb_netdev_maybe_stop_tx(struct net_device *netdev, in __ntb_netdev_maybe_stop_tx() 169 static int ntb_netdev_maybe_stop_tx(struct net_device *ndev, in ntb_netdev_maybe_stop_tx() 182 struct net_device *ndev = qp_data; in ntb_netdev_tx_handler() 211 struct net_device *ndev) in ntb_netdev_start_xmit() 235 struct net_device *ndev = (struct net_device *)data; in ntb_netdev_tx_timer() 250 static int ntb_netdev_open(struct net_device *ndev) in ntb_netdev_open() 286 static int ntb_netdev_close(struct net_device *ndev) in ntb_netdev_close() [all …]
|
/linux-4.4.14/drivers/net/wan/ |
D | sbni.c | 105 struct net_device *second; /* for ISA/dual cards */ 108 struct net_device *master; 109 struct net_device *link; 115 static int sbni_pci_probe( struct net_device * ); 116 static struct net_device *sbni_probe1(struct net_device *, unsigned long, int); 117 static int sbni_open( struct net_device * ); 118 static int sbni_close( struct net_device * ); 120 struct net_device * ); 121 static int sbni_ioctl( struct net_device *, struct ifreq *, int ); 122 static void set_multicast_list( struct net_device * ); [all …]
|
D | lapbether.c | 57 struct net_device *ethdev; /* link to ethernet device */ 58 struct net_device *axdev; /* lapbeth device (lapb#) */ 68 static struct lapbethdev *lapbeth_get_x25_dev(struct net_device *dev) in lapbeth_get_x25_dev() 79 static __inline__ int dev_is_ethdev(struct net_device *dev) in dev_is_ethdev() 89 …c int lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct n… in lapbeth_rcv() 132 static int lapbeth_data_indication(struct net_device *dev, struct sk_buff *skb) in lapbeth_data_indication() 152 struct net_device *dev) in lapbeth_xmit() 191 static void lapbeth_data_transmit(struct net_device *ndev, struct sk_buff *skb) in lapbeth_data_transmit() 195 struct net_device *dev; in lapbeth_data_transmit() 215 static void lapbeth_connected(struct net_device *dev, int reason) in lapbeth_connected() [all …]
|
D | hdlc.c | 49 int hdlc_change_mtu(struct net_device *dev, int new_mtu) in hdlc_change_mtu() 57 static int hdlc_rcv(struct sk_buff *skb, struct net_device *dev, in hdlc_rcv() 58 struct packet_type *p, struct net_device *orig_dev) in hdlc_rcv() 71 netdev_tx_t hdlc_start_xmit(struct sk_buff *skb, struct net_device *dev) in hdlc_start_xmit() 81 static inline void hdlc_proto_start(struct net_device *dev) in hdlc_proto_start() 90 static inline void hdlc_proto_stop(struct net_device *dev) in hdlc_proto_stop() 102 struct net_device *dev = netdev_notifier_info_to_dev(ptr); in hdlc_device_event() 150 int hdlc_open(struct net_device *dev) in hdlc_open() 184 void hdlc_close(struct net_device *dev) in hdlc_close() 206 int hdlc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in hdlc_ioctl() [all …]
|
D | hdlc_x25.c | 27 static int x25_ioctl(struct net_device *dev, struct ifreq *ifr); 31 static void x25_connect_disconnect(struct net_device *dev, int reason, int code) in x25_connect_disconnect() 50 static void x25_connected(struct net_device *dev, int reason) in x25_connected() 57 static void x25_disconnected(struct net_device *dev, int reason) in x25_disconnected() 64 static int x25_data_indication(struct net_device *dev, struct sk_buff *skb) in x25_data_indication() 82 static void x25_data_transmit(struct net_device *dev, struct sk_buff *skb) in x25_data_transmit() 90 static netdev_tx_t x25_xmit(struct sk_buff *skb, struct net_device *dev) in x25_xmit() 135 static int x25_open(struct net_device *dev) in x25_open() 155 static void x25_close(struct net_device *dev) in x25_close() 164 struct net_device *dev = skb->dev; in x25_rx() [all …]
|
/linux-4.4.14/net/core/ |
D | dev_addr_lists.c | 242 struct net_device *dev, in __hw_addr_sync_dev() 243 int (*sync)(struct net_device *, const unsigned char *), in __hw_addr_sync_dev() argument 244 int (*unsync)(struct net_device *, in __hw_addr_sync_dev() argument 293 struct net_device *dev, in __hw_addr_unsync_dev() 294 int (*unsync)(struct net_device *, in __hw_addr_unsync_dev() argument 343 void dev_addr_flush(struct net_device *dev) in dev_addr_flush() 361 int dev_addr_init(struct net_device *dev) in dev_addr_init() 397 int dev_addr_add(struct net_device *dev, const unsigned char *addr, in dev_addr_add() 422 int dev_addr_del(struct net_device *dev, const unsigned char *addr, in dev_addr_del() 457 int dev_uc_add_excl(struct net_device *dev, const unsigned char *addr) in dev_uc_add_excl() [all …]
|
D | link_watch.c | 40 static unsigned char default_operstate(const struct net_device *dev) in default_operstate() 53 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy() 79 void linkwatch_init_dev(struct net_device *dev) in linkwatch_init_dev() 87 static bool linkwatch_urgent_event(struct net_device *dev) in linkwatch_urgent_event() 102 static void linkwatch_add_event(struct net_device *dev) in linkwatch_add_event() 144 static void linkwatch_do_dev(struct net_device *dev) in linkwatch_do_dev() 171 struct net_device *dev; in __linkwatch_run_queue() 194 dev = list_first_entry(&wrk, struct net_device, link_watch_list); in __linkwatch_run_queue() 211 void linkwatch_forget_dev(struct net_device *dev) in linkwatch_forget_dev() 242 void linkwatch_fire_event(struct net_device *dev) in linkwatch_fire_event()
|
D | dev.c | 157 struct net_device *dev, 222 static void list_netdevice(struct net_device *dev) in list_netdevice() 241 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice() 332 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class() 346 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class() 582 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check() 676 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink() 694 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in dev_fill_metadata_dst() 723 struct net_device *__dev_get_by_name(struct net *net, const char *name) in __dev_get_by_name() 725 struct net_device *dev; in __dev_get_by_name() [all …]
|
D | ethtool.c | 36 u32 ethtool_op_get_link(struct net_device *dev) in ethtool_op_get_link() 42 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info) in ethtool_op_get_ts_info() 116 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features() 154 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features() 194 static int __ethtool_get_sset_count(struct net_device *dev, int sset) in __ethtool_get_sset_count() 213 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings() 262 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature() 276 static int ethtool_set_one_feature(struct net_device *dev, in ethtool_set_one_feature() 306 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags() 324 static int __ethtool_set_flags(struct net_device *dev, u32 data) in __ethtool_set_flags() [all …]
|
D | net-sysfs.c | 37 static inline int dev_isalive(const struct net_device *dev) in dev_isalive() 45 ssize_t (*format)(const struct net_device *, char *)) in netdev_show() argument 47 struct net_device *ndev = to_net_dev(dev); in netdev_show() 60 static ssize_t format_##field(const struct net_device *dev, char *buf) \ 81 int (*set)(struct net_device *, unsigned long)) in netdev_store() argument 83 struct net_device *netdev = to_net_dev(dev); in netdev_store() 118 struct net_device *ndev = to_net_dev(dev); in iflink_show() 124 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type() 133 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show() 147 struct net_device *ndev = to_net_dev(dev); in address_show() [all …]
|
D | net-sysfs.h | 5 int netdev_register_kobject(struct net_device *); 6 void netdev_unregister_kobject(struct net_device *); 7 int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num); 8 int netdev_queue_update_kobjects(struct net_device *net,
|
/linux-4.4.14/net/switchdev/ |
D | switchdev.c | 91 static void switchdev_trans_items_warn_destroy(struct net_device *dev, in switchdev_trans_items_warn_destroy() 102 typedef void switchdev_deferred_func_t(struct net_device *dev, 107 struct net_device *dev; 158 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue() 184 int switchdev_port_attr_get(struct net_device *dev, struct switchdev_attr *attr) in switchdev_port_attr_get() 187 struct net_device *lower_dev; in switchdev_port_attr_get() 220 static int __switchdev_port_attr_set(struct net_device *dev, in __switchdev_port_attr_set() 225 struct net_device *lower_dev; in __switchdev_port_attr_set() 255 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now() 298 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred() [all …]
|
/linux-4.4.14/net/dsa/ |
D | dsa_priv.h | 19 struct sk_buff *(*xmit)(struct sk_buff *skb, struct net_device *dev); 20 int (*rcv)(struct sk_buff *skb, struct net_device *dev, 21 struct packet_type *pt, struct net_device *orig_dev); 29 struct net_device *dev; 31 struct net_device *dev); 50 struct net_device *bridge_dev; 64 int dsa_slave_suspend(struct net_device *slave_dev); 65 int dsa_slave_resume(struct net_device *slave_dev);
|
D | slave.c | 59 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink() 71 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open() 74 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_open() 127 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close() 130 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_close() 155 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags() 158 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_change_rx_flags() 166 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode() 169 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_set_rx_mode() 175 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address() [all …]
|
/linux-4.4.14/drivers/net/cris/ |
D | eth_v10.c | 84 void (*check_speed)(struct net_device* dev); 85 void (*check_duplex)(struct net_device* dev); 188 static int e100_open(struct net_device *dev); 189 static int e100_set_mac_address(struct net_device *dev, void *addr); 190 static int e100_send_packet(struct sk_buff *skb, struct net_device *dev); 193 static void e100_rx(struct net_device *dev); 194 static int e100_close(struct net_device *dev); 195 static int e100_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); 196 static int e100_set_config(struct net_device* dev, struct ifmap* map); 197 static void e100_tx_timeout(struct net_device *dev); [all …]
|
/linux-4.4.14/drivers/net/hamradio/ |
D | bpqether.c | 96 static int bpq_rcv(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *… 111 struct net_device *ethdev; /* link to ethernet device */ 112 struct net_device *axdev; /* bpq device (bpq#) */ 127 static void bpq_set_lockdep_class_one(struct net_device *dev, in bpq_set_lockdep_class_one() 134 static void bpq_set_lockdep_class(struct net_device *dev) in bpq_set_lockdep_class() 146 static inline struct net_device *bpq_get_ether_dev(struct net_device *dev) in bpq_get_ether_dev() 156 static inline struct net_device *bpq_get_ax25_dev(struct net_device *dev) in bpq_get_ax25_dev() 167 static inline int dev_is_ethdev(struct net_device *dev) in dev_is_ethdev() 178 …tatic int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct n… in bpq_rcv() 246 static netdev_tx_t bpq_xmit(struct sk_buff *skb, struct net_device *dev) in bpq_xmit() [all …]
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.h | 276 struct net_device *netdev[GELIC_PORT_MAX]; 322 struct net_device *netdev; 331 static inline struct net_device *port_to_netdev(struct gelic_port *p) in port_to_netdev() 335 static inline struct gelic_card *netdev_card(struct net_device *d) in netdev_card() 339 static inline struct gelic_port *netdev_port(struct net_device *d) in netdev_port() 371 int gelic_net_open(struct net_device *netdev); 372 int gelic_net_stop(struct net_device *netdev); 373 int gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev); 374 void gelic_net_set_multi(struct net_device *netdev); 375 void gelic_net_tx_timeout(struct net_device *netdev); [all …]
|
D | spider_net_ethtool.c | 50 spider_net_ethtool_get_settings(struct net_device *netdev, in spider_net_ethtool_get_settings() 68 spider_net_ethtool_get_drvinfo(struct net_device *netdev, in spider_net_ethtool_get_drvinfo() 85 spider_net_ethtool_get_wol(struct net_device *netdev, in spider_net_ethtool_get_wol() 94 spider_net_ethtool_get_msglevel(struct net_device *netdev) in spider_net_ethtool_get_msglevel() 102 spider_net_ethtool_set_msglevel(struct net_device *netdev, in spider_net_ethtool_set_msglevel() 111 spider_net_ethtool_nway_reset(struct net_device *netdev) in spider_net_ethtool_nway_reset() 121 spider_net_ethtool_get_ringparam(struct net_device *netdev, in spider_net_ethtool_get_ringparam() 132 static int spider_net_get_sset_count(struct net_device *netdev, int sset) in spider_net_get_sset_count() 142 static void spider_net_get_ethtool_stats(struct net_device *netdev, in spider_net_get_ethtool_stats() 162 static void spider_net_get_strings(struct net_device *netdev, u32 stringset, in spider_net_get_strings()
|
/linux-4.4.14/drivers/net/ipvlan/ |
D | ipvlan_main.c | 12 void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev) in ipvlan_adjust_mtu() 32 static int ipvlan_port_create(struct net_device *dev) in ipvlan_port_create() 72 static void ipvlan_port_destroy(struct net_device *dev) in ipvlan_port_destroy() 99 static void ipvlan_set_lockdep_class_one(struct net_device *dev, in ipvlan_set_lockdep_class_one() 106 static void ipvlan_set_lockdep_class(struct net_device *dev) in ipvlan_set_lockdep_class() 112 static int ipvlan_init(struct net_device *dev) in ipvlan_init() 115 const struct net_device *phy_dev = ipvlan->phy_dev; in ipvlan_init() 133 static void ipvlan_uninit(struct net_device *dev) in ipvlan_uninit() 145 static int ipvlan_open(struct net_device *dev) in ipvlan_open() 148 struct net_device *phy_dev = ipvlan->phy_dev; in ipvlan_open() [all …]
|
D | ipvlan.h | 65 struct net_device *dev; 68 struct net_device *phy_dev; 92 struct net_device *dev; 102 static inline struct ipvl_port *ipvlan_port_get_rcu(const struct net_device *d) in ipvlan_port_get_rcu() 107 static inline struct ipvl_port *ipvlan_port_get_rcu_bh(const struct net_device *d) in ipvlan_port_get_rcu_bh() 112 static inline struct ipvl_port *ipvlan_port_get_rtnl(const struct net_device *d) in ipvlan_port_get_rtnl() 117 void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev); 123 int ipvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev);
|
/linux-4.4.14/net/batman-adv/ |
D | soft-interface.c | 63 static int batadv_get_settings(struct net_device *dev, struct ethtool_cmd *cmd); 64 static void batadv_get_drvinfo(struct net_device *dev, 66 static u32 batadv_get_msglevel(struct net_device *dev); 67 static void batadv_set_msglevel(struct net_device *dev, u32 value); 68 static u32 batadv_get_link(struct net_device *dev); 69 static void batadv_get_strings(struct net_device *dev, u32 stringset, u8 *data); 70 static void batadv_get_ethtool_stats(struct net_device *dev, 72 static int batadv_get_sset_count(struct net_device *dev, int stringset); 104 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open() 110 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release() [all …]
|
D | hard-interface.h | 30 struct net_device; 53 bool batadv_is_wifi_netdev(struct net_device *net_device); 56 batadv_hardif_get_by_netdev(const struct net_device *net_dev); 62 int batadv_hardif_min_mtu(struct net_device *soft_iface); 63 void batadv_update_min_mtu(struct net_device *soft_iface);
|
D | debugfs.c | 267 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_open() 281 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_hardif_open() 288 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_gateways_open() 295 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_global_open() 303 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_claim_table_open() 312 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_backbone_table_open() 328 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_dat_cache_open() 336 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_local_open() 349 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_nc_nodes_open() 522 int batadv_debugfs_add_meshif(struct net_device *dev) in batadv_debugfs_add_meshif() [all …]
|
D | debugfs.h | 25 struct net_device; 33 int batadv_debugfs_add_meshif(struct net_device *dev); 34 void batadv_debugfs_del_meshif(struct net_device *dev); 48 static inline int batadv_debugfs_add_meshif(struct net_device *dev) in batadv_debugfs_add_meshif() 53 static inline void batadv_debugfs_del_meshif(struct net_device *dev) in batadv_debugfs_del_meshif()
|
D | soft-interface.h | 25 struct net_device; 29 void batadv_interface_rx(struct net_device *soft_iface, 32 struct net_device *batadv_softif_create(const char *name); 33 void batadv_softif_destroy_sysfs(struct net_device *soft_iface); 34 int batadv_softif_is_valid(const struct net_device *net_dev);
|
D | sysfs.h | 27 struct net_device; 46 int batadv_sysfs_add_meshif(struct net_device *dev); 47 void batadv_sysfs_del_meshif(struct net_device *dev); 49 struct net_device *dev); 51 int batadv_sysfs_add_vlan(struct net_device *dev,
|
/linux-4.4.14/include/net/irda/ |
D | irda_device.h | 110 struct net_device *dev; /* Device we are attached to */ 116 int (*set_mode)(struct net_device *, int mode); 117 int (*read)(struct net_device *dev, __u8 *buf, int len); 118 int (*write)(struct net_device *dev, __u8 *buf, int len); 119 int (*set_dtr_rts)(struct net_device *dev, int dtr, int rts); 214 struct irlap_cb *irlap_open(struct net_device *dev, struct qos_info *qos, 219 void irda_device_set_media_busy(struct net_device *dev, int status); 220 int irda_device_is_media_busy(struct net_device *dev); 221 int irda_device_is_receiving(struct net_device *dev); 224 static inline int irda_device_txqueue_empty(const struct net_device *dev) in irda_device_txqueue_empty() [all …]
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 171 int cxgb4_create_server(const struct net_device *dev, unsigned int stid, 174 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid, 177 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid, 179 int cxgb4_create_server_filter(const struct net_device *dev, unsigned int stid, 183 int cxgb4_remove_server_filter(const struct net_device *dev, unsigned int stid, 212 struct net_device; 242 struct net_device **ports; /* device ports */ 290 int cxgb4_ofld_send(struct net_device *dev, struct sk_buff *skb); 291 unsigned int cxgb4_dbfifo_count(const struct net_device *dev, int lpfifo); 292 unsigned int cxgb4_port_chan(const struct net_device *dev); [all …]
|
D | cxgb4_dcb.c | 46 void cxgb4_dcb_state_init(struct net_device *dev) in cxgb4_dcb_state_init() 61 void cxgb4_dcb_version_init(struct net_device *dev) in cxgb4_dcb_version_init() 72 static void cxgb4_dcb_cleanup_apps(struct net_device *dev) in cxgb4_dcb_cleanup_apps() 111 void cxgb4_dcb_state_fsm(struct net_device *dev, in cxgb4_dcb_state_fsm() 256 struct net_device *dev = adap->port[port]; in cxgb4_dcb_handle_fw_update() 389 static u8 cxgb4_getstate(struct net_device *dev) in cxgb4_getstate() 398 static u8 cxgb4_setstate(struct net_device *dev, u8 enabled) in cxgb4_setstate() 416 static void cxgb4_getpgtccfg(struct net_device *dev, int tc, in cxgb4_getpgtccfg() 460 static void cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, in cxgb4_getpgtccfg_tx() 470 static void cxgb4_getpgtccfg_rx(struct net_device *dev, int tc, in cxgb4_getpgtccfg_rx() [all …]
|
/linux-4.4.14/drivers/net/ethernet/natsemi/ |
D | sonic.h | 329 static int sonic_open(struct net_device *dev); 330 static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev); 332 static void sonic_rx(struct net_device *dev); 333 static int sonic_close(struct net_device *dev); 334 static struct net_device_stats *sonic_get_stats(struct net_device *dev); 335 static void sonic_multicast_list(struct net_device *dev); 336 static int sonic_init(struct net_device *dev); 337 static void sonic_tx_timeout(struct net_device *dev); 371 static inline void sonic_cda_put(struct net_device* dev, int entry, in sonic_cda_put() 379 static inline __u16 sonic_cda_get(struct net_device* dev, int entry, in sonic_cda_get() [all …]
|
D | natsemi.c | 549 struct net_device *dev; 598 static void move_int_phy(struct net_device *dev, int addr); 600 static int mdio_read(struct net_device *dev, int reg); 601 static void mdio_write(struct net_device *dev, int reg, u16 data); 602 static void init_phy_fixup(struct net_device *dev); 603 static int miiport_read(struct net_device *dev, int phy_id, int reg); 604 static void miiport_write(struct net_device *dev, int phy_id, int reg, u16 data); 605 static int find_mii(struct net_device *dev); 606 static void natsemi_reset(struct net_device *dev); 607 static void natsemi_reload_eeprom(struct net_device *dev); [all …]
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.h | 13 int bnxt_get_vf_config(struct net_device *, int, struct ifla_vf_info *); 14 int bnxt_set_vf_mac(struct net_device *, int, u8 *); 15 int bnxt_set_vf_vlan(struct net_device *, int, u16, u8); 16 int bnxt_set_vf_bw(struct net_device *, int, int, int); 17 int bnxt_set_vf_link_state(struct net_device *, int, int); 18 int bnxt_set_vf_spoofchk(struct net_device *, int, bool);
|
/linux-4.4.14/net/bridge/ |
D | br_device.c | 34 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit() 92 static void br_set_lockdep_class(struct net_device *dev) in br_set_lockdep_class() 97 static int br_dev_init(struct net_device *dev) in br_dev_init() 114 static int br_dev_open(struct net_device *dev) in br_dev_open() 126 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list() 130 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags() 136 static int br_dev_stop(struct net_device *dev) in br_dev_stop() 148 static struct rtnl_link_stats64 *br_get_stats64(struct net_device *dev, in br_get_stats64() 177 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu() 194 static int br_set_mac_address(struct net_device *dev, void *p) in br_set_mac_address() [all …]
|
D | br_private.h | 188 struct net_device *dev; 241 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu() 246 static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) in br_port_get_rtnl() 256 struct net_device *dev; 348 struct net_device *brdev; 417 void br_dev_setup(struct net_device *dev); 418 void br_dev_delete(struct net_device *dev, struct list_head *list); 419 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev); 462 int br_fdb_test_addr(struct net_device *dev, unsigned char *addr); 471 struct net_device *dev, const unsigned char *addr, u16 vid); [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | ethtool.c | 74 static int igbvf_get_settings(struct net_device *netdev, in igbvf_get_settings() 111 static int igbvf_set_settings(struct net_device *netdev, in igbvf_set_settings() 117 static void igbvf_get_pauseparam(struct net_device *netdev, in igbvf_get_pauseparam() 122 static int igbvf_set_pauseparam(struct net_device *netdev, in igbvf_set_pauseparam() 128 static u32 igbvf_get_msglevel(struct net_device *netdev) in igbvf_get_msglevel() 135 static void igbvf_set_msglevel(struct net_device *netdev, u32 data) in igbvf_set_msglevel() 142 static int igbvf_get_regs_len(struct net_device *netdev) in igbvf_get_regs_len() 148 static void igbvf_get_regs(struct net_device *netdev, in igbvf_get_regs() 172 static int igbvf_get_eeprom_len(struct net_device *netdev) in igbvf_get_eeprom_len() 177 static int igbvf_get_eeprom(struct net_device *netdev, in igbvf_get_eeprom() [all …]
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | sriov.h | 17 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac); 18 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, 20 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, 22 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, 24 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, 26 int efx_sriov_get_phys_port_id(struct net_device *net_dev,
|
D | sriov.c | 14 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) in efx_sriov_set_vf_mac() 24 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, in efx_sriov_set_vf_vlan() 40 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_spoofchk() 51 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, in efx_sriov_get_vf_config() 62 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_link_state() 74 int efx_sriov_get_phys_port_id(struct net_device *net_dev, in efx_sriov_get_phys_port_id()
|
/linux-4.4.14/arch/ia64/hp/sim/ |
D | simeth.c | 48 static int simeth_open(struct net_device *dev); 49 static int simeth_close(struct net_device *dev); 50 static int simeth_tx(struct sk_buff *skb, struct net_device *dev); 51 static int simeth_rx(struct net_device *dev); 52 static struct net_device_stats *simeth_get_stats(struct net_device *dev); 54 static void set_multicast_list(struct net_device *dev); 183 struct net_device *dev; in simeth_probe1() 235 simeth_open(struct net_device *dev) in simeth_open() 248 static __inline__ int dev_is_ethdev(struct net_device *dev) in dev_is_ethdev() 271 struct net_device *dev = netdev_notifier_info_to_dev(ptr); in simeth_device_event() [all …]
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap.h | 22 int hostap_set_word(struct net_device *dev, int rid, u16 val); 23 int hostap_set_string(struct net_device *dev, int rid, const char *val); 35 struct net_device_stats *hostap_get_stats(struct net_device *dev); 36 void hostap_setup_dev(struct net_device *dev, local_info_t *local, 43 struct net_device * hostap_add_interface(struct local_info *local, 46 void hostap_remove_interface(struct net_device *dev, int rtnl_locked, 48 int prism2_update_comms_qual(struct net_device *dev); 63 int ap_control_kick_mac(struct ap_data *ap, struct net_device *dev, u8 *mac); 70 int prism2_ap_translate_scan(struct net_device *dev, 92 int hostap_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
|
D | hostap_pci.c | 55 static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v) in hfa384x_outb_debug() 72 static inline u8 hfa384x_inb_debug(struct net_device *dev, int a) in hfa384x_inb_debug() 91 static inline void hfa384x_outw_debug(struct net_device *dev, int a, u16 v) in hfa384x_outw_debug() 108 static inline u16 hfa384x_inw_debug(struct net_device *dev, int a) in hfa384x_inw_debug() 136 static inline void hfa384x_outb(struct net_device *dev, int a, u8 v) in hfa384x_outb() 145 static inline u8 hfa384x_inb(struct net_device *dev, int a) in hfa384x_inb() 154 static inline void hfa384x_outw(struct net_device *dev, int a, u16 v) in hfa384x_outw() 163 static inline u16 hfa384x_inw(struct net_device *dev, int a) in hfa384x_inw() 182 static int hfa384x_from_bap(struct net_device *dev, u16 bap, void *buf, in hfa384x_from_bap() 201 static int hfa384x_to_bap(struct net_device *dev, u16 bap, void *buf, int len) in hfa384x_to_bap() [all …]
|
/linux-4.4.14/net/irda/irlan/ |
D | irlan_eth.c | 43 static int irlan_eth_open(struct net_device *dev); 44 static int irlan_eth_close(struct net_device *dev); 46 struct net_device *dev); 47 static void irlan_eth_set_multicast_list(struct net_device *dev); 64 static void irlan_eth_setup(struct net_device *dev) in irlan_eth_setup() 97 struct net_device *alloc_irlandev(const char *name) in alloc_irlandev() 109 static int irlan_eth_open(struct net_device *dev) in irlan_eth_open() 134 static int irlan_eth_close(struct net_device *dev) in irlan_eth_close() 162 struct net_device *dev) in irlan_eth_xmit() 223 struct net_device *dev = self->dev; in irlan_eth_receive() [all …]
|
/linux-4.4.14/drivers/net/appletalk/ |
D | cops.c | 180 static int cops_probe1 (struct net_device *dev, int ioaddr); 183 static int cops_open (struct net_device *dev); 184 static int cops_jumpstart (struct net_device *dev); 185 static void cops_reset (struct net_device *dev, int sleep); 186 static void cops_load (struct net_device *dev); 187 static int cops_nodeid (struct net_device *dev, int nodeid); 191 static void cops_timeout(struct net_device *dev); 192 static void cops_rx (struct net_device *dev); 194 struct net_device *dev); 195 static void set_multicast_list (struct net_device *dev); [all …]
|
/linux-4.4.14/net/l3mdev/ |
D | l3mdev.c | 20 int l3mdev_master_ifindex_rcu(struct net_device *dev) in l3mdev_master_ifindex_rcu() 30 struct net_device *master; in l3mdev_master_ifindex_rcu() 47 u32 l3mdev_fib_table_rcu(const struct net_device *dev) in l3mdev_fib_table_rcu() 61 struct net_device *_dev = (struct net_device *) dev; in l3mdev_fib_table_rcu() 62 const struct net_device *master; in l3mdev_fib_table_rcu() 76 struct net_device *dev; in l3mdev_fib_table_by_index()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | ucc_geth_ethtool.c | 108 uec_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in uec_get_settings() 124 uec_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in uec_set_settings() 136 uec_get_pauseparam(struct net_device *netdev, in uec_get_pauseparam() 150 uec_set_pauseparam(struct net_device *netdev, in uec_set_pauseparam() 181 uec_get_msglevel(struct net_device *netdev) in uec_get_msglevel() 188 uec_set_msglevel(struct net_device *netdev, uint32_t data) in uec_set_msglevel() 195 uec_get_regs_len(struct net_device *netdev) in uec_get_regs_len() 201 uec_get_regs(struct net_device *netdev, in uec_get_regs() 214 uec_get_ringparam(struct net_device *netdev, in uec_get_ringparam() 233 uec_set_ringparam(struct net_device *netdev, in uec_set_ringparam() [all …]
|
D | fec_mpc52xx.c | 55 struct net_device *ndev; 78 static void mpc52xx_fec_stop(struct net_device *dev); 79 static void mpc52xx_fec_start(struct net_device *dev); 80 static void mpc52xx_fec_reset(struct net_device *dev); 88 static void mpc52xx_fec_tx_timeout(struct net_device *dev) in mpc52xx_fec_tx_timeout() 103 static void mpc52xx_fec_set_paddr(struct net_device *dev, u8 *mac) in mpc52xx_fec_set_paddr() 112 static int mpc52xx_fec_set_mac_address(struct net_device *dev, void *addr) in mpc52xx_fec_set_mac_address() 122 static void mpc52xx_fec_free_rx_buffers(struct net_device *dev, struct bcom_task *s) in mpc52xx_fec_free_rx_buffers() 136 mpc52xx_fec_rx_submit(struct net_device *dev, struct sk_buff *rskb) in mpc52xx_fec_rx_submit() 148 static int mpc52xx_fec_alloc_rx_buffers(struct net_device *dev, struct bcom_task *rxtsk) in mpc52xx_fec_alloc_rx_buffers() [all …]
|
/linux-4.4.14/drivers/net/ethernet/dec/tulip/ |
D | tulip.h | 403 struct net_device *next_module; 440 void (*link_change) (struct net_device * dev, int csr5); 457 struct net_device *dev; 473 void t21142_start_nway(struct net_device *dev); 474 void t21142_lnk_change(struct net_device *dev, int csr5); 478 void pnic2_lnk_change(struct net_device *dev, int csr5); 480 void pnic2_start_nway(struct net_device *dev); 481 void pnic2_lnk_change(struct net_device *dev, int csr5); 484 void tulip_parse_eeprom(struct net_device *dev); 485 int tulip_read_eeprom(struct net_device *dev, int location, int addr_len); [all …]
|
D | de4x5.c | 852 int (*infoleaf_fn)(struct net_device *); /* Pointer to infoleaf function */ 897 static int de4x5_open(struct net_device *dev); 899 struct net_device *dev); 901 static int de4x5_close(struct net_device *dev); 902 static struct net_device_stats *de4x5_get_stats(struct net_device *dev); 903 static void de4x5_local_stats(struct net_device *dev, char *buf, int pkt_len); 904 static void set_multicast_list(struct net_device *dev); 905 static int de4x5_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 910 static int de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev); 911 static int de4x5_init(struct net_device *dev); [all …]
|
D | winbond-840.c | 326 static int mdio_read(struct net_device *dev, int phy_id, int location); 327 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 328 static int netdev_open(struct net_device *dev); 329 static int update_link(struct net_device *dev); 331 static void init_rxtx_rings(struct net_device *dev); 333 static void init_registers(struct net_device *dev); 334 static void tx_timeout(struct net_device *dev); 335 static int alloc_ringdesc(struct net_device *dev); 337 static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev); 339 static void netdev_error(struct net_device *dev, int intr_status); [all …]
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | mesh.h | 16 struct net_device; 37 struct net_device *lbs_mesh_set_dev(struct lbs_private *priv, 38 struct net_device *dev, struct rxpd *rxpd); 40 struct net_device *dev, struct txpd *txpd); 54 void lbs_mesh_ethtool_get_stats(struct net_device *dev, 56 int lbs_mesh_ethtool_get_sset_count(struct net_device *dev, int sset); 57 void lbs_mesh_ethtool_get_strings(struct net_device *dev,
|
/linux-4.4.14/drivers/net/ethernet/cirrus/ |
D | mac89x0.c | 124 extern void reset_chip(struct net_device *dev); 126 static int net_open(struct net_device *dev); 127 static int net_send_packet(struct sk_buff *skb, struct net_device *dev); 129 static void set_multicast_list(struct net_device *dev); 130 static void net_rx(struct net_device *dev); 131 static int net_close(struct net_device *dev); 132 static struct net_device_stats *net_get_stats(struct net_device *dev); 133 static int set_mac_address(struct net_device *dev, void *addr); 141 readreg_io(struct net_device *dev, int portno) in readreg_io() 148 writereg_io(struct net_device *dev, int portno, int value) in writereg_io() [all …]
|
/linux-4.4.14/include/linux/usb/ |
D | usbnet.h | 48 struct net_device *net; 247 extern int usbnet_open(struct net_device *net); 248 extern int usbnet_stop(struct net_device *net); 250 struct net_device *net); 251 extern void usbnet_tx_timeout(struct net_device *net); 252 extern int usbnet_change_mtu(struct net_device *net, int new_mtu); 264 extern int usbnet_get_settings(struct net_device *net, 266 extern int usbnet_set_settings(struct net_device *net, 268 extern u32 usbnet_get_link(struct net_device *net); 269 extern u32 usbnet_get_msglevel(struct net_device *); [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.h | 44 int ixgbe_ndo_set_vf_mac(struct net_device *netdev, int queue, u8 *mac); 45 int ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int queue, u16 vlan, 47 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, 49 int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting); 50 int ixgbe_ndo_set_vf_rss_query_en(struct net_device *netdev, int vf, 52 int ixgbe_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting); 53 int ixgbe_ndo_get_vf_config(struct net_device *netdev,
|
D | ixgbe_dcb_nl.c | 146 static u8 ixgbe_dcbnl_get_state(struct net_device *netdev) in ixgbe_dcbnl_get_state() 153 static u8 ixgbe_dcbnl_set_state(struct net_device *netdev, u8 state) in ixgbe_dcbnl_set_state() 169 static void ixgbe_dcbnl_get_perm_hw_addr(struct net_device *netdev, in ixgbe_dcbnl_get_perm_hw_addr() 192 static void ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, in ixgbe_dcbnl_set_pg_tc_cfg_tx() 210 static void ixgbe_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_set_pg_bwg_cfg_tx() 218 static void ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, in ixgbe_dcbnl_set_pg_tc_cfg_rx() 236 static void ixgbe_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_set_pg_bwg_cfg_rx() 244 static void ixgbe_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, in ixgbe_dcbnl_get_pg_tc_cfg_tx() 256 static void ixgbe_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_get_pg_bwg_cfg_tx() 264 static void ixgbe_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int tc, in ixgbe_dcbnl_get_pg_tc_cfg_rx() [all …]
|
/linux-4.4.14/net/phonet/ |
D | pn_dev.c | 39 struct net_device __rcu *table[64]; 63 static struct phonet_device *__phonet_device_alloc(struct net_device *dev) in __phonet_device_alloc() 77 static struct phonet_device *__phonet_get(struct net_device *dev) in __phonet_get() 90 static struct phonet_device *__phonet_get_rcu(struct net_device *dev) in __phonet_get_rcu() 102 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy() 124 struct net_device *phonet_device_get(struct net *net) in phonet_device_get() 128 struct net_device *dev = NULL; in phonet_device_get() 146 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add() 165 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del() 189 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get() [all …]
|
D | pep-gprs.c | 43 struct net_device *dev; 66 struct net_device *dev = gp->dev; in gprs_writeable() 81 struct net_device *dev = gp->dev; in gprs_state_change() 90 struct net_device *dev = gp->dev; in gprs_recv() 172 static int gprs_open(struct net_device *dev) in gprs_open() 180 static int gprs_close(struct net_device *dev) in gprs_close() 186 static netdev_tx_t gprs_xmit(struct sk_buff *skb, struct net_device *dev) in gprs_xmit() 220 static int gprs_set_mtu(struct net_device *dev, int new_mtu) in gprs_set_mtu() 236 static void gprs_setup(struct net_device *dev) in gprs_setup() 262 struct net_device *dev; in gprs_attach() [all …]
|
/linux-4.4.14/drivers/net/ethernet/pasemi/ |
D | pasemi_mac_ethtool.c | 67 pasemi_mac_ethtool_get_settings(struct net_device *netdev, in pasemi_mac_ethtool_get_settings() 80 pasemi_mac_ethtool_set_settings(struct net_device *netdev, in pasemi_mac_ethtool_set_settings() 93 pasemi_mac_ethtool_get_msglevel(struct net_device *netdev) in pasemi_mac_ethtool_get_msglevel() 100 pasemi_mac_ethtool_set_msglevel(struct net_device *netdev, in pasemi_mac_ethtool_set_msglevel() 109 pasemi_mac_ethtool_get_ringparam(struct net_device *netdev, in pasemi_mac_ethtool_get_ringparam() 120 static int pasemi_mac_get_sset_count(struct net_device *netdev, int sset) in pasemi_mac_get_sset_count() 130 static void pasemi_mac_get_ethtool_stats(struct net_device *netdev, in pasemi_mac_get_ethtool_stats() 142 static void pasemi_mac_get_strings(struct net_device *netdev, u32 stringset, in pasemi_mac_get_strings()
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | mon.h | 25 struct net_device; 29 struct net_device *rtl88eu_mon_init(void); 30 void rtl88eu_mon_deinit(struct net_device *dev); 32 void rtl88eu_mon_recv_hook(struct net_device *dev, struct recv_frame *frame); 33 void rtl88eu_mon_xmit_hook(struct net_device *dev, struct xmit_frame *frame,
|
D | osdep_intf.h | 37 int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 39 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname); 40 struct net_device *rtw_init_netdev(struct adapter *padapter); 42 void rtw_proc_remove_one(struct net_device *dev); 44 int pm_netdev_open(struct net_device *pnetdev, u8 bnormal);
|
/linux-4.4.14/drivers/net/ethernet/apple/ |
D | macmace.c | 90 static int mace_open(struct net_device *dev); 91 static int mace_close(struct net_device *dev); 92 static int mace_xmit_start(struct sk_buff *skb, struct net_device *dev); 93 static void mace_set_multicast(struct net_device *dev); 94 static int mace_set_address(struct net_device *dev, void *addr); 95 static void mace_reset(struct net_device *dev); 98 static void mace_tx_timeout(struct net_device *dev); 99 static void __mace_set_address(struct net_device *dev, void *addr); 105 static void mace_load_rxdma_base(struct net_device *dev, int set) in mace_load_rxdma_base() 120 static void mace_rxdma_reset(struct net_device *dev) in mace_rxdma_reset() [all …]
|
D | bmac.c | 146 static int bmac_open(struct net_device *dev); 147 static int bmac_close(struct net_device *dev); 148 static int bmac_transmit_packet(struct sk_buff *skb, struct net_device *dev); 149 static void bmac_set_multicast(struct net_device *dev); 150 static void bmac_reset_and_enable(struct net_device *dev); 151 static void bmac_start_chip(struct net_device *dev); 152 static void bmac_init_chip(struct net_device *dev); 153 static void bmac_init_registers(struct net_device *dev); 154 static void bmac_enable_and_reset_chip(struct net_device *dev); 155 static int bmac_set_address(struct net_device *dev, void *addr); [all …]
|
/linux-4.4.14/drivers/net/ethernet/3com/ |
D | 3c589_cs.c | 165 static void tc589_reset(struct net_device *dev); 167 static int el3_config(struct net_device *dev, struct ifmap *map); 168 static int el3_open(struct net_device *dev); 170 struct net_device *dev); 172 static void update_stats(struct net_device *dev); 173 static struct net_device_stats *el3_get_stats(struct net_device *dev); 174 static int el3_rx(struct net_device *dev); 175 static int el3_close(struct net_device *dev); 176 static void el3_tx_timeout(struct net_device *dev); 177 static void set_rx_mode(struct net_device *dev); [all …]
|
D | 3c509.c | 176 static struct net_device *el3_devs[EL3_MAX_CARDS]; 187 static int el3_common_init(struct net_device *dev); 188 static void el3_common_remove(struct net_device *dev); 191 static int el3_open(struct net_device *dev); 192 static netdev_tx_t el3_start_xmit(struct sk_buff *skb, struct net_device *dev); 194 static void update_stats(struct net_device *dev); 195 static struct net_device_stats *el3_get_stats(struct net_device *dev); 196 static int el3_rx(struct net_device *dev); 197 static int el3_close(struct net_device *dev); 198 static void set_multicast_list(struct net_device *dev); [all …]
|
D | 3c574_cs.c | 225 static void tc574_wait_for_completion(struct net_device *dev, int cmd); 227 static void tc574_reset(struct net_device *dev); 229 static int el3_open(struct net_device *dev); 231 struct net_device *dev); 233 static void update_stats(struct net_device *dev); 234 static struct net_device_stats *el3_get_stats(struct net_device *dev); 235 static int el3_rx(struct net_device *dev, int worklimit); 236 static int el3_close(struct net_device *dev); 237 static void el3_tx_timeout(struct net_device *dev); 238 static int el3_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); [all …]
|
/linux-4.4.14/net/ieee802154/6lowpan/ |
D | core.c | 64 static void lowpan_set_lockdep_class_one(struct net_device *ldev, in lowpan_set_lockdep_class_one() 72 static int lowpan_dev_init(struct net_device *ldev) in lowpan_dev_init() 79 static int lowpan_open(struct net_device *dev) in lowpan_open() 87 static int lowpan_stop(struct net_device *dev) in lowpan_stop() 102 static void lowpan_setup(struct net_device *ldev) in lowpan_setup() 124 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, in lowpan_newlink() 127 struct net_device *wdev; in lowpan_newlink() 176 static void lowpan_dellink(struct net_device *ldev, struct list_head *head) in lowpan_dellink() 178 struct net_device *wdev = lowpan_dev_info(ldev)->wdev; in lowpan_dellink() 209 struct net_device *wdev = netdev_notifier_info_to_dev(ptr); in lowpan_device_event()
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
D | orinoco.h | 86 struct net_device *ndev; 197 void __orinoco_ev_info(struct net_device *dev, struct hermes *hw); 198 void __orinoco_ev_rx(struct net_device *dev, struct hermes *hw); 201 struct net_device *dev, 207 int orinoco_open(struct net_device *dev); 208 int orinoco_stop(struct net_device *dev); 209 struct net_device_stats *orinoco_get_stats(struct net_device *dev); 210 void orinoco_set_multicast_list(struct net_device *dev); 211 int orinoco_change_mtu(struct net_device *dev, int new_mtu); 212 void orinoco_tx_timeout(struct net_device *dev); [all …]
|
/linux-4.4.14/drivers/net/can/ |
D | dev.c | 102 static int can_calc_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() 203 static int can_calc_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() 217 static int can_fixup_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_fixup_bittiming() 251 static int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_get_bittiming() 276 static void can_update_state_error_stats(struct net_device *dev, in can_update_state_error_stats() 299 static int can_tx_state_to_frame(struct net_device *dev, enum can_state state) in can_tx_state_to_frame() 313 static int can_rx_state_to_frame(struct net_device *dev, enum can_state state) in can_rx_state_to_frame() 327 void can_change_state(struct net_device *dev, struct can_frame *cf, in can_change_state() 366 static void can_flush_echo_skb(struct net_device *dev) in can_flush_echo_skb() 389 void can_put_echo_skb(struct sk_buff *skb, struct net_device *dev, in can_put_echo_skb() [all …]
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.h | 50 struct net_device *netdev; 76 void hns_ethtool_set_ops(struct net_device *ndev); 77 void hns_nic_net_reset(struct net_device *ndev); 78 void hns_nic_net_reinit(struct net_device *netdev); 79 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h); 80 int hns_nic_net_xmit_hw(struct net_device *ndev,
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_log.h | 40 const struct net_device *in, 41 const struct net_device *out, 77 const struct net_device *in, 78 const struct net_device *out, 87 const struct net_device *in, 88 const struct net_device *out, 107 const struct net_device *in, 108 const struct net_device *out,
|
/linux-4.4.14/drivers/net/usb/ |
D | asix.h | 216 void asix_set_multicast(struct net_device *net); 218 int asix_mdio_read(struct net_device *netdev, int phy_id, int loc); 219 void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val); 221 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo); 222 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo); 224 int asix_get_eeprom_len(struct net_device *net); 225 int asix_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, 227 int asix_set_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, 230 void asix_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *info); 232 int asix_set_mac_address(struct net_device *net, void *p);
|
/linux-4.4.14/drivers/net/ethernet/nuvoton/ |
D | w90p910_ether.c | 124 static int w90p910_mdio_read(struct net_device *dev, int phy_id, int reg); 176 static void update_linkspeed_register(struct net_device *dev, in update_linkspeed_register() 205 static void update_linkspeed(struct net_device *dev) in update_linkspeed() 258 struct net_device *dev = (struct net_device *) dev_id; in w90p910_check_link() 265 static void w90p910_write_cam(struct net_device *dev, in w90p910_write_cam() 279 static int w90p910_init_desc(struct net_device *dev) in w90p910_init_desc() 343 static void w90p910_set_fifo_threshold(struct net_device *dev) in w90p910_set_fifo_threshold() 352 static void w90p910_return_default_idle(struct net_device *dev) in w90p910_return_default_idle() 362 static void w90p910_trigger_rx(struct net_device *dev) in w90p910_trigger_rx() 369 static void w90p910_trigger_tx(struct net_device *dev) in w90p910_trigger_tx() [all …]
|
/linux-4.4.14/drivers/net/plip/ |
D | plip.c | 149 static int plip_tx_packet(struct sk_buff *skb, struct net_device *dev); 150 static int plip_hard_header(struct sk_buff *skb, struct net_device *dev, 155 static int plip_open(struct net_device *dev); 156 static int plip_close(struct net_device *dev); 157 static int plip_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); 208 struct net_device *dev; 227 static inline void enable_parport_interrupts (struct net_device *dev) in enable_parport_interrupts() 237 static inline void disable_parport_interrupts (struct net_device *dev) in disable_parport_interrupts() 247 static inline void write_data (struct net_device *dev, unsigned char data) in write_data() 255 static inline unsigned char read_status (struct net_device *dev) in read_status() [all …]
|
/linux-4.4.14/include/scsi/ |
D | libfcoe.h | 263 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type); 265 struct net_device *netdev); 312 bool (*match) (struct net_device *device); 313 int (*alloc) (struct net_device *device); 314 int (*create) (struct net_device *device, enum fip_state fip_mode); 315 int (*destroy) (struct net_device *device); 316 int (*enable) (struct net_device *device); 317 int (*disable) (struct net_device *device); 362 struct net_device * (*get_netdev)(const struct fc_lport *lport); 369 static inline struct net_device *fcoe_get_netdev(const struct fc_lport *lport) in fcoe_get_netdev() [all …]
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | mon.c | 48 static void mon_recv_decrypted(struct net_device *dev, const u8 *data, in mon_recv_decrypted() 69 static void mon_recv_encrypted(struct net_device *dev, const u8 *data, in mon_recv_encrypted() 82 void rtl88eu_mon_recv_hook(struct net_device *dev, struct recv_frame *frame) in rtl88eu_mon_recv_hook() 114 void rtl88eu_mon_xmit_hook(struct net_device *dev, struct xmit_frame *frame, in rtl88eu_mon_xmit_hook() 140 static netdev_tx_t mon_xmit(struct sk_buff *skb, struct net_device *dev) in mon_xmit() 153 static void mon_setup(struct net_device *dev) in mon_setup() 168 struct net_device *rtl88eu_mon_init(void) in rtl88eu_mon_init() 170 struct net_device *dev; in rtl88eu_mon_init() 189 void rtl88eu_mon_deinit(struct net_device *dev) in rtl88eu_mon_deinit()
|
/linux-4.4.14/net/decnet/ |
D | dn_dev.c | 73 static struct net_device *decnet_default_device; 76 static struct dn_dev *dn_dev_create(struct net_device *dev, int *err); 77 static void dn_dev_delete(struct net_device *dev); 80 static int dn_eth_up(struct net_device *); 81 static void dn_eth_down(struct net_device *); 82 static void dn_send_brd_hello(struct net_device *dev, struct dn_ifaddr *ifa); 83 static void dn_send_ptp_hello(struct net_device *dev, struct dn_ifaddr *ifa); 208 static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms *parms) in dn_dev_sysctl_register() 251 struct net_device *dev = table->extra1; in dn_forwarding_proc() 294 static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms *parms) in dn_dev_sysctl_register() [all …]
|
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_ethtool.c | 138 static int sxgbe_get_eee(struct net_device *dev, in sxgbe_get_eee() 153 static int sxgbe_set_eee(struct net_device *dev, in sxgbe_set_eee() 178 static void sxgbe_getdrvinfo(struct net_device *dev, in sxgbe_getdrvinfo() 185 static int sxgbe_getsettings(struct net_device *dev, in sxgbe_getsettings() 196 static int sxgbe_setsettings(struct net_device *dev, struct ethtool_cmd *cmd) in sxgbe_setsettings() 206 static u32 sxgbe_getmsglevel(struct net_device *dev) in sxgbe_getmsglevel() 212 static void sxgbe_setmsglevel(struct net_device *dev, u32 level) in sxgbe_setmsglevel() 218 static void sxgbe_get_strings(struct net_device *dev, u32 stringset, u8 *data) in sxgbe_get_strings() 237 static int sxgbe_get_sset_count(struct net_device *netdev, int sset) in sxgbe_get_sset_count() 250 static void sxgbe_get_ethtool_stats(struct net_device *dev, in sxgbe_get_ethtool_stats() [all …]
|
/linux-4.4.14/drivers/net/can/c_can/ |
D | c_can.c | 251 static void c_can_obj_update(struct net_device *dev, int iface, u32 cmd, u32 obj) in c_can_obj_update() 267 static inline void c_can_object_get(struct net_device *dev, int iface, in c_can_object_get() 273 static inline void c_can_object_put(struct net_device *dev, int iface, in c_can_object_put() 284 static void c_can_inval_tx_object(struct net_device *dev, int iface, int obj) in c_can_inval_tx_object() 292 static void c_can_inval_msg_object(struct net_device *dev, int iface, int obj) in c_can_inval_msg_object() 301 static void c_can_setup_tx_object(struct net_device *dev, int iface, in c_can_setup_tx_object() 341 static inline void c_can_activate_all_lower_rx_msg_obj(struct net_device *dev, in c_can_activate_all_lower_rx_msg_obj() 350 static int c_can_handle_lost_msg_obj(struct net_device *dev, in c_can_handle_lost_msg_obj() 377 static int c_can_read_msg_object(struct net_device *dev, int iface, u32 ctrl) in c_can_read_msg_object() 419 static void c_can_setup_receive_object(struct net_device *dev, int iface, in c_can_setup_receive_object() [all …]
|
/linux-4.4.14/drivers/net/ethernet/altera/ |
D | altera_tse_ethtool.c | 74 static void tse_get_drvinfo(struct net_device *dev, in tse_get_drvinfo() 90 static void tse_gstrings(struct net_device *dev, u32 stringset, u8 *buf) in tse_gstrings() 95 static void tse_fill_stats(struct net_device *dev, struct ethtool_stats *dummy, in tse_fill_stats() 184 static int tse_sset_count(struct net_device *dev, int sset) in tse_sset_count() 194 static u32 tse_get_msglevel(struct net_device *dev) in tse_get_msglevel() 200 static void tse_set_msglevel(struct net_device *dev, uint32_t data) in tse_set_msglevel() 206 static int tse_reglen(struct net_device *dev) in tse_reglen() 211 static void tse_get_regs(struct net_device *dev, struct ethtool_regs *regs, in tse_get_regs() 236 static int tse_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in tse_get_settings() 247 static int tse_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) in tse_set_settings() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_dcbnl.c | 29 static int fm10k_dcbnl_ieee_getets(struct net_device *dev, struct ieee_ets *ets) in fm10k_dcbnl_ieee_getets() 54 static int fm10k_dcbnl_ieee_setets(struct net_device *dev, struct ieee_ets *ets) in fm10k_dcbnl_ieee_setets() 95 static int fm10k_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc) in fm10k_dcbnl_ieee_getpfc() 111 static int fm10k_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) in fm10k_dcbnl_ieee_setpfc() 131 static u8 fm10k_dcbnl_getdcbx(struct net_device __always_unused *dev) in fm10k_dcbnl_getdcbx() 143 static u8 fm10k_dcbnl_setdcbx(struct net_device __always_unused *dev, u8 mode) in fm10k_dcbnl_setdcbx() 165 void fm10k_dcbnl_set_ops(struct net_device *dev) in fm10k_dcbnl_set_ops()
|
D | fm10k.h | 63 struct net_device *macvlan[0]; 121 struct net_device *netdev; /* netdev ring belongs to */ 250 struct net_device *netdev; 483 void fm10k_netpoll(struct net_device *netdev); 487 struct net_device *fm10k_alloc_netdev(void); 498 int fm10k_setup_tc(struct net_device *dev, u8 tc); 499 int fm10k_open(struct net_device *netdev); 500 int fm10k_close(struct net_device *netdev); 503 void fm10k_set_ethtool_ops(struct net_device *dev); 513 int fm10k_ndo_set_vf_mac(struct net_device *netdev, int vf_idx, u8 *mac); [all …]
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac.h | 84 struct net_device *dev; 136 int stmmac_mdio_unregister(struct net_device *ndev); 137 int stmmac_mdio_register(struct net_device *ndev); 139 void stmmac_set_ethtool_ops(struct net_device *netdev); 143 int stmmac_resume(struct net_device *ndev); 144 int stmmac_suspend(struct net_device *ndev); 145 int stmmac_dvr_remove(struct net_device *ndev);
|
/linux-4.4.14/drivers/net/ethernet/alteon/ |
D | acenic.h | 682 struct net_device *next; 739 static inline void ace_mask_irq(struct net_device *dev) in ace_mask_irq() 753 static inline void ace_unmask_irq(struct net_device *dev) in ace_unmask_irq() 768 static int ace_init(struct net_device *dev); 769 static void ace_load_std_rx_ring(struct net_device *dev, int nr_bufs); 770 static void ace_load_mini_rx_ring(struct net_device *dev, int nr_bufs); 771 static void ace_load_jumbo_rx_ring(struct net_device *dev, int nr_bufs); 773 static int ace_load_firmware(struct net_device *dev); 774 static int ace_open(struct net_device *dev); 776 struct net_device *dev); [all …]
|
/linux-4.4.14/net/openvswitch/ |
D | vport-internal_dev.c | 41 static struct internal_dev *internal_dev_priv(struct net_device *netdev) in internal_dev_priv() 47 static int internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) in internal_dev_xmit() 69 static int internal_dev_open(struct net_device *netdev) in internal_dev_open() 75 static int internal_dev_stop(struct net_device *netdev) in internal_dev_stop() 81 static void internal_dev_getinfo(struct net_device *netdev, in internal_dev_getinfo() 92 static int internal_dev_change_mtu(struct net_device *netdev, int new_mtu) in internal_dev_change_mtu() 101 static void internal_dev_destructor(struct net_device *dev) in internal_dev_destructor() 110 internal_get_stats(struct net_device *dev, struct rtnl_link_stats64 *stats) in internal_get_stats() 154 static void do_setup(struct net_device *netdev) in do_setup() 247 struct net_device *netdev = skb->dev; in internal_dev_recv() [all …]
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
D | tlan.c | 51 static struct net_device *tlan_eisa_devices; 152 static int tlan_init(struct net_device *); 153 static int tlan_open(struct net_device *dev); 154 static netdev_tx_t tlan_start_tx(struct sk_buff *, struct net_device *); 156 static int tlan_close(struct net_device *); 157 static struct net_device_stats *tlan_get_stats(struct net_device *); 158 static void tlan_set_multicast_list(struct net_device *); 159 static int tlan_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 162 static void tlan_tx_timeout(struct net_device *dev); 167 static u32 tlan_handle_tx_eof(struct net_device *, u16); [all …]
|
/linux-4.4.14/drivers/net/ethernet/seeq/ |
D | ether3.c | 76 static void ether3_setmulticastlist(struct net_device *dev); 77 static int ether3_rx(struct net_device *dev, unsigned int maxcnt); 78 static void ether3_tx(struct net_device *dev); 79 static int ether3_open (struct net_device *dev); 80 static int ether3_sendpacket (struct sk_buff *skb, struct net_device *dev); 82 static int ether3_close (struct net_device *dev); 83 static void ether3_setmulticastlist (struct net_device *dev); 84 static void ether3_timeout(struct net_device *dev); 117 ether3_setbuffer(struct net_device *dev, buffer_rw_t read, int start) in ether3_setbuffer() 175 struct net_device *dev = (struct net_device *)data; in ether3_ledoff() [all …]
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | wilc_wfi_netdevice.h | 122 struct net_device *dev; 131 struct net_device *real_ndev; 155 struct net_device *ndev; 200 struct net_device *wilc_netdev; 206 struct net_device *real_ndev; 210 extern struct net_device *WILC_WFI_devs[]; 218 void wilc1000_wlan_deinit(struct net_device *dev); 220 u16 Set_machw_change_vir_if(struct net_device *dev, bool bValue);
|
D | wilc_wfi_cfgoperations.h | 94 struct wireless_dev *wilc_create_wiphy(struct net_device *net); 95 void wilc_free_wiphy(struct net_device *net); 97 int wilc_deinit_host_int(struct net_device *net); 98 int wilc_init_host_int(struct net_device *net); 101 struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_device *real_dev);
|
/linux-4.4.14/net/hsr/ |
D | hsr_device.h | 18 void hsr_dev_setup(struct net_device *dev); 19 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2], 22 bool is_hsr_master(struct net_device *dev);
|
D | hsr_slave.h | 20 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev, 23 bool hsr_port_exists(const struct net_device *dev); 25 static inline struct hsr_port *hsr_port_get_rtnl(const struct net_device *dev) in hsr_port_get_rtnl() 32 static inline struct hsr_port *hsr_port_get_rcu(const struct net_device *dev) in hsr_port_get_rcu()
|
/linux-4.4.14/drivers/net/ethernet/smsc/ |
D | smc91c92_cs.c | 270 static int smc_open(struct net_device *dev); 271 static int smc_close(struct net_device *dev); 272 static int smc_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 273 static void smc_tx_timeout(struct net_device *dev); 275 struct net_device *dev); 277 static void smc_rx(struct net_device *dev); 278 static void set_rx_mode(struct net_device *dev); 279 static int s9k_config(struct net_device *dev, struct ifmap *map); 280 static void smc_set_xcvr(struct net_device *dev, int if_port); 281 static void smc_reset(struct net_device *dev); [all …]
|
D | epic100.c | 289 static int epic_open(struct net_device *dev); 291 static int mdio_read(struct net_device *dev, int phy_id, int location); 292 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val); 293 static void epic_restart(struct net_device *dev); 295 static void epic_tx_timeout(struct net_device *dev); 296 static void epic_init_ring(struct net_device *dev); 298 struct net_device *dev); 299 static int epic_rx(struct net_device *dev, int budget); 302 static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 304 static int epic_close(struct net_device *dev); [all …]
|
/linux-4.4.14/drivers/net/ethernet/dlink/ |
D | sundance.c | 427 static int change_mtu(struct net_device *dev, int new_mtu); 429 static int mdio_read(struct net_device *dev, int phy_id, int location); 430 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 431 static int mdio_wait_link(struct net_device *dev, int wait); 432 static int netdev_open(struct net_device *dev); 433 static void check_duplex(struct net_device *dev); 435 static void tx_timeout(struct net_device *dev); 436 static void init_ring(struct net_device *dev); 437 static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev); 438 static int reset_tx (struct net_device *dev); [all …]
|
D | dl2k.c | 70 static int rio_open (struct net_device *dev); 72 static void rio_tx_timeout (struct net_device *dev); 73 static void alloc_list (struct net_device *dev); 74 static netdev_tx_t start_xmit (struct sk_buff *skb, struct net_device *dev); 76 static void rio_free_tx (struct net_device *dev, int irq); 77 static void tx_error (struct net_device *dev, int tx_status); 78 static int receive_packet (struct net_device *dev); 79 static void rio_error (struct net_device *dev, int int_status); 80 static int change_mtu (struct net_device *dev, int new_mtu); 81 static void set_multicast (struct net_device *dev); [all …]
|
/linux-4.4.14/drivers/net/ethernet/sis/ |
D | sis900.c | 119 static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex); 213 static void sis900_poll(struct net_device *dev); 215 static int sis900_open(struct net_device *net_dev); 216 static int sis900_mii_probe (struct net_device * net_dev); 217 static void sis900_init_rxfilter (struct net_device * net_dev); 219 static int mdio_read(struct net_device *net_dev, int phy_id, int location); 220 static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val); 222 static void sis900_check_mode (struct net_device *net_dev, struct mii_phy *mii_phy); 223 static void sis900_tx_timeout(struct net_device *net_dev); 224 static void sis900_init_tx_ring(struct net_device *net_dev); [all …]
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_ethtool.c | 29 static int atl1c_get_settings(struct net_device *netdev, in atl1c_get_settings() 67 static int atl1c_set_settings(struct net_device *netdev, in atl1c_set_settings() 117 static u32 atl1c_get_msglevel(struct net_device *netdev) in atl1c_get_msglevel() 123 static void atl1c_set_msglevel(struct net_device *netdev, u32 data) in atl1c_set_msglevel() 129 static int atl1c_get_regs_len(struct net_device *netdev) in atl1c_get_regs_len() 134 static void atl1c_get_regs(struct net_device *netdev, in atl1c_get_regs() 174 static int atl1c_get_eeprom_len(struct net_device *netdev) in atl1c_get_eeprom_len() 184 static int atl1c_get_eeprom(struct net_device *netdev, in atl1c_get_eeprom() 226 static void atl1c_get_drvinfo(struct net_device *netdev, in atl1c_get_drvinfo() 238 static void atl1c_get_wol(struct net_device *netdev, in atl1c_get_wol() [all …]
|
/linux-4.4.14/drivers/net/ethernet/wiznet/ |
D | w5300.c | 99 struct net_device *ndev; 236 struct net_device *ndev = priv->ndev; in w5300_write_macaddr() 295 static void w5300_get_drvinfo(struct net_device *ndev, in w5300_get_drvinfo() 304 static u32 w5300_get_link(struct net_device *ndev) in w5300_get_link() 314 static u32 w5300_get_msglevel(struct net_device *ndev) in w5300_get_msglevel() 321 static void w5300_set_msglevel(struct net_device *ndev, u32 value) in w5300_set_msglevel() 328 static int w5300_get_regs_len(struct net_device *ndev) in w5300_get_regs_len() 333 static void w5300_get_regs(struct net_device *ndev, in w5300_get_regs() 357 static void w5300_tx_timeout(struct net_device *ndev) in w5300_tx_timeout() 369 static int w5300_start_tx(struct sk_buff *skb, struct net_device *ndev) in w5300_start_tx() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | netdev.c | 21 static int wil_open(struct net_device *ndev) in wil_open() 35 static int wil_stop(struct net_device *ndev) in wil_stop() 44 static int wil_change_mtu(struct net_device *ndev, int new_mtu) in wil_change_mtu() 59 static int wil_do_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) in wil_do_ioctl() 129 static void wil_dev_setup(struct net_device *dev) in wil_dev_setup() 137 struct net_device *ndev; in wil_if_alloc() 204 struct net_device *ndev = wil_to_ndev(wil); in wil_if_free() 221 struct net_device *ndev = wil_to_ndev(wil); in wil_if_add() 237 struct net_device *ndev = wil_to_ndev(wil); in wil_if_remove()
|
/linux-4.4.14/net/802/ |
D | hippi.c | 46 static int hippi_header(struct sk_buff *skb, struct net_device *dev, in hippi_header() 97 __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev) in hippi_type_trans() 119 int hippi_change_mtu(struct net_device *dev, int new_mtu) in hippi_change_mtu() 135 int hippi_mac_addr(struct net_device *dev, void *p) in hippi_mac_addr() 145 int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p) in hippi_neigh_setup_dev() 165 static void hippi_setup(struct net_device *dev) in hippi_setup() 201 struct net_device *alloc_hippi_dev(int sizeof_priv) in alloc_hippi_dev()
|
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/ |
D | ehea_ethtool.c | 34 static int ehea_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in ehea_get_settings() 90 static int ehea_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) in ehea_set_settings() 149 static int ehea_nway_reset(struct net_device *dev) in ehea_nway_reset() 164 static void ehea_get_drvinfo(struct net_device *dev, in ehea_get_drvinfo() 171 static u32 ehea_get_msglevel(struct net_device *dev) in ehea_get_msglevel() 177 static void ehea_set_msglevel(struct net_device *dev, u32 value) in ehea_set_msglevel() 210 static void ehea_get_strings(struct net_device *dev, u32 stringset, u8 *data) in ehea_get_strings() 218 static int ehea_get_sset_count(struct net_device *dev, int sset) in ehea_get_sset_count() 228 static void ehea_get_ethtool_stats(struct net_device *dev, in ehea_get_ethtool_stats() 279 void ehea_set_ethtool_ops(struct net_device *netdev) in ehea_set_ethtool_ops()
|
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 83 static int pch_gbe_get_settings(struct net_device *netdev, in pch_gbe_get_settings() 106 static int pch_gbe_set_settings(struct net_device *netdev, in pch_gbe_set_settings() 148 static int pch_gbe_get_regs_len(struct net_device *netdev) in pch_gbe_get_regs_len() 158 static void pch_gbe_get_drvinfo(struct net_device *netdev, in pch_gbe_get_drvinfo() 175 static void pch_gbe_get_regs(struct net_device *netdev, in pch_gbe_get_regs() 199 static void pch_gbe_get_wol(struct net_device *netdev, in pch_gbe_get_wol() 225 static int pch_gbe_set_wol(struct net_device *netdev, in pch_gbe_set_wol() 253 static int pch_gbe_nway_reset(struct net_device *netdev) in pch_gbe_nway_reset() 265 static void pch_gbe_get_ringparam(struct net_device *netdev, in pch_gbe_get_ringparam() 286 static int pch_gbe_set_ringparam(struct net_device *netdev, in pch_gbe_set_ringparam() [all …]
|
/linux-4.4.14/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 74 struct net_device *ndev; 89 static void emac_update_speed(struct net_device *dev) in emac_update_speed() 102 static void emac_update_duplex(struct net_device *dev) in emac_update_duplex() 115 static void emac_handle_link_change(struct net_device *dev) in emac_handle_link_change() 154 static int emac_mdio_probe(struct net_device *dev) in emac_mdio_probe() 180 static void emac_mdio_remove(struct net_device *dev) in emac_mdio_remove() 209 static int emac_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in emac_ioctl() 224 static void emac_get_drvinfo(struct net_device *dev, in emac_get_drvinfo() 232 static int emac_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in emac_get_settings() 243 static int emac_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) in emac_set_settings() [all …]
|
/linux-4.4.14/net/rose/ |
D | rose_dev.c | 38 static int rose_header(struct sk_buff *skb, struct net_device *dev, in rose_header() 59 static int rose_set_mac_address(struct net_device *dev, void *addr) in rose_set_mac_address() 80 static int rose_open(struct net_device *dev) in rose_open() 93 static int rose_close(struct net_device *dev) in rose_close() 100 static netdev_tx_t rose_xmit(struct sk_buff *skb, struct net_device *dev) in rose_xmit() 132 void rose_setup(struct net_device *dev) in rose_setup()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 121 int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac); 122 int i40e_ndo_set_vf_port_vlan(struct net_device *netdev, 124 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, 126 int i40e_ndo_get_vf_config(struct net_device *netdev, 128 int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link); 129 int i40e_ndo_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool enable);
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 187 static void xgbe_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in xgbe_get_strings() 202 static void xgbe_get_ethtool_stats(struct net_device *netdev, in xgbe_get_ethtool_stats() 216 static int xgbe_get_sset_count(struct net_device *netdev, int stringset) in xgbe_get_sset_count() 232 static void xgbe_get_pauseparam(struct net_device *netdev, in xgbe_get_pauseparam() 242 static int xgbe_set_pauseparam(struct net_device *netdev, in xgbe_set_pauseparam() 275 static int xgbe_get_settings(struct net_device *netdev, in xgbe_get_settings() 296 static int xgbe_set_settings(struct net_device *netdev, in xgbe_set_settings() 364 static void xgbe_get_drvinfo(struct net_device *netdev, in xgbe_get_drvinfo() 380 static u32 xgbe_get_msglevel(struct net_device *netdev) in xgbe_get_msglevel() 387 static void xgbe_set_msglevel(struct net_device *netdev, u32 msglevel) in xgbe_set_msglevel() [all …]
|
/linux-4.4.14/drivers/net/ethernet/ezchip/ |
D | nps_enet.c | 27 static void nps_enet_clean_rx_fifo(struct net_device *ndev, u32 frame_len) in nps_enet_clean_rx_fifo() 37 static void nps_enet_read_rx_fifo(struct net_device *ndev, in nps_enet_read_rx_fifo() 63 static u32 nps_enet_rx_handler(struct net_device *ndev) in nps_enet_rx_handler() 136 static void nps_enet_tx_handler(struct net_device *ndev) in nps_enet_tx_handler() 174 struct net_device *ndev = napi->dev; in nps_enet_poll() 206 struct net_device *ndev = dev_instance; in nps_enet_irq_handler() 223 static void nps_enet_set_hw_mac_address(struct net_device *ndev) in nps_enet_set_hw_mac_address() 254 static void nps_enet_hw_reset(struct net_device *ndev) in nps_enet_hw_reset() 280 static void nps_enet_hw_enable_control(struct net_device *ndev) in nps_enet_hw_enable_control() 346 static void nps_enet_hw_disable_control(struct net_device *ndev) in nps_enet_hw_disable_control() [all …]
|