/linux-4.1.27/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 | 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 | switchdev.h | 34 int (*swdev_parent_id_get)(struct net_device *dev, 36 int (*swdev_port_stp_update)(struct net_device *dev, u8 state); 37 int (*swdev_fib_ipv4_add)(struct net_device *dev, __be32 dst, 41 int (*swdev_fib_ipv4_del)(struct net_device *dev, __be32 dst, 52 struct net_device *dev; 61 static inline struct net_device * 69 int netdev_switch_parent_id_get(struct net_device *dev, 71 int netdev_switch_port_stp_update(struct net_device *dev, u8 state); 74 int call_netdev_switch_notifiers(unsigned long val, struct net_device *dev, 76 int netdev_switch_port_bridge_setlink(struct net_device *dev, [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 | 361 int (*get_params)(struct net_device *dev, 363 int (*set_params)(struct net_device *dev, 367 int (*add_key)(struct net_device *dev, 370 int (*del_key)(struct net_device *dev, 373 int (*add_dev)(struct net_device *dev, 375 int (*del_dev)(struct net_device *dev, __le64 dev_addr); 377 int (*add_devkey)(struct net_device *dev, 380 int (*del_devkey)(struct net_device *dev, 384 int (*add_seclevel)(struct net_device *dev, 386 int (*del_seclevel)(struct net_device *dev, [all …]
|
D | cfg80211.h | 818 struct net_device *vlan; 1116 int cfg80211_get_station(struct net_device *dev, const u8 *mac_addr, 1553 struct net_device *dev; 2466 struct net_device *dev, 2470 int (*add_key)(struct wiphy *wiphy, struct net_device *netdev, 2473 int (*get_key)(struct wiphy *wiphy, struct net_device *netdev, 2477 int (*del_key)(struct wiphy *wiphy, struct net_device *netdev, 2480 struct net_device *netdev, 2483 struct net_device *netdev, 2486 int (*start_ap)(struct wiphy *wiphy, struct net_device *dev, [all …]
|
D | ax25.h | 189 struct net_device *dev; 217 struct net_device *dev; 218 struct net_device *forward; 265 static inline __be16 ax25_type_trans(struct sk_buff *skb, struct net_device *dev) in ax25_type_trans() 277 struct sock *ax25_find_listener(ax25_address *, int, struct net_device *, int); 280 struct net_device *); 306 static inline ax25_dev *ax25_dev_ax25dev(struct net_device *dev) in ax25_dev_ax25dev() 312 void ax25_dev_device_up(struct net_device *); 313 void ax25_dev_device_down(struct net_device *); 315 struct net_device *ax25_fwd_dev(struct net_device *); [all …]
|
D | ip_tunnels.h | 57 struct net_device *dev; 119 struct net_device *fb_tunnel_dev; 141 int ip_tunnel_init(struct net_device *dev); 142 void ip_tunnel_uninit(struct net_device *dev); 143 void ip_tunnel_dellink(struct net_device *dev, struct list_head *head); 144 struct net *ip_tunnel_get_link_net(const struct net_device *dev); 145 int ip_tunnel_get_iflink(const struct net_device *dev); 151 void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev, 153 int ip_tunnel_ioctl(struct net_device *dev, struct ip_tunnel_parm *p, int cmd); 156 int ip_tunnel_change_mtu(struct net_device *dev, int new_mtu); [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); 136 int ipv6_dev_mc_inc(struct net_device *dev, const struct in6_addr *addr); 138 int ipv6_dev_mc_dec(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, struct neighbour *neigh, 187 void ndisc_send_rs(struct net_device *dev, 189 void ndisc_send_na(struct net_device *dev, struct neighbour *neigh, 196 int ndisc_mc_map(const struct in6_addr *addr, char *buf, struct net_device *dev,
|
D | neighbour.h | 70 struct net_device *dev; 155 struct net_device *dev; 170 struct net_device *dev; 195 const struct net_device *dev, 273 const struct net_device *dev, in ___neigh_lookup_noref() 276 struct net_device *dev) in ___neigh_lookup_noref() 295 struct net_device *dev) in __neigh_lookup_noref() 303 struct net_device *dev); 307 struct net_device *dev, bool want_ref); 310 struct net_device *dev) in neigh_create() [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,
|
D | rose.h | 95 struct net_device *dev; 133 struct net_device *device; 170 int rose_rx_call_request(struct sk_buff *, struct net_device *, 175 void rose_setup(struct net_device *); 209 void rose_rt_device_down(struct net_device *); 210 void rose_link_device_down(struct net_device *); 211 struct net_device *rose_dev_first(void); 212 struct net_device *rose_dev_get(rose_address *);
|
/linux-4.1.27/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, 316 struct net_device *dev; 560 struct net_device *dev; 682 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id, 694 struct net_device *dev; 769 typedef u16 (*select_queue_fallback_t)(struct net_device *dev, 1046 int (*ndo_init)(struct net_device *dev); 1047 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 | arcdevice.h | 192 void (*rx) (struct net_device * dev, int bufnum, 194 int (*build_header) (struct sk_buff * skb, struct net_device *dev, 198 int (*prepare_tx) (struct net_device * dev, struct archdr * pkt, int length, 200 int (*continue_tx) (struct net_device * dev, int bufnum); 201 int (*ack_tx) (struct net_device * dev, int acked); 301 void (*command) (struct net_device * dev, int cmd); 302 int (*status) (struct net_device * dev); 303 void (*intmask) (struct net_device * dev, int mask); 304 int (*reset) (struct net_device * dev, int really_reset); 305 void (*open) (struct net_device * dev); [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); 108 struct net_device *dev, 109 struct net_device *filter_dev, 113 struct net_device *dev, 119 struct net_device *dev, 124 struct net_device *dev, u16 mode,
|
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 | 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, 218 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 | 55 int br_multicast_list_adjacent(struct net_device *dev, 57 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto); 58 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto); 60 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent() 65 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere() 70 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 | netfilter.h | 54 struct net_device *in; 55 struct net_device *out; 63 struct net_device *indev, in nf_hook_state_init() 64 struct net_device *outdev, in nf_hook_state_init() 161 struct net_device *indev, in nf_hook_thresh() 162 struct net_device *outdev, in nf_hook_thresh() 177 struct sk_buff *skb, struct net_device *indev, in nf_hook() 178 struct net_device *outdev, in nf_hook() 203 struct sk_buff *skb, struct net_device *in, in NF_HOOK_THRESH() 204 struct net_device *out, in NF_HOOK_THRESH() [all …]
|
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.1.27/drivers/net/hyperv/ |
D | netvsc.c | 38 struct netvsc_device *net_device; in alloc_net_device() local 39 struct net_device *ndev = hv_get_drvdata(device); in alloc_net_device() 42 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device() 43 if (!net_device) in alloc_net_device() 46 net_device->cb_buffer = kzalloc(NETVSC_PACKET_SIZE, GFP_KERNEL); in alloc_net_device() 47 if (!net_device->cb_buffer) { in alloc_net_device() 48 kfree(net_device); in alloc_net_device() 52 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device() 53 net_device->start_remove = false; in alloc_net_device() 54 net_device->destroy = false; in alloc_net_device() [all …]
|
D | rndis_filter.c | 128 struct net_device *netdev; in dump_rndis_message() 129 struct netvsc_device *net_device; in dump_rndis_message() local 131 net_device = hv_get_drvdata(hv_dev); in dump_rndis_message() 132 netdev = net_device->ndev; in dump_rndis_message() 268 struct net_device *ndev; in rndis_filter_receive_response() 404 struct net_device *ndev; in rndis_filter_receive() 556 struct net_device *ndev = nvdev->ndev; in rndis_filter_set_device_mac() 635 struct net_device *ndev = nvdev->ndev; in rndis_filter_set_offload_params() 707 struct net_device *ndev = rdev->net_dev->ndev; in rndis_filter_set_rss_param() 803 struct net_device *ndev; in rndis_filter_set_packet_filter() [all …]
|
D | netvsc_drv.c | 83 static void netvsc_set_multicast_list(struct net_device *net) in netvsc_set_multicast_list() 90 static int netvsc_open(struct net_device *net) in netvsc_open() 117 static int netvsc_close(struct net_device *net) in netvsc_close() 214 static u16 netvsc_select_queue(struct net_device *ndev, struct sk_buff *skb, in netvsc_select_queue() 374 static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) in netvsc_start_xmit() 602 struct net_device *net; in netvsc_linkstatus_callback() 604 struct netvsc_device *net_device; in netvsc_linkstatus_callback() local 607 net_device = hv_get_drvdata(device_obj); in netvsc_linkstatus_callback() 608 rdev = net_device->extension; in netvsc_linkstatus_callback() 624 net = net_device->ndev; in netvsc_linkstatus_callback() [all …]
|
/linux-4.1.27/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() 66 struct net_device *__vlan_find_dev_deep_rcu(struct net_device *dev, in __vlan_find_dev_deep_rcu() 80 struct net_device *upper_dev; in __vlan_find_dev_deep_rcu() 92 struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev() 94 struct net_device *ret = vlan_dev_priv(dev)->real_dev; in vlan_dev_real_dev() 103 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id() 109 __be16 vlan_dev_vlan_proto(const struct net_device *dev) in vlan_dev_vlan_proto() 139 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc() 159 static bool vlan_hw_filter_capable(const struct net_device *dev, in vlan_hw_filter_capable() 199 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_add() [all …]
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.h | 31 bool rtl8192_GetHalfNmodeSupportByAPs(struct net_device *dev); 32 bool rtl8192_GetNmodeSupportBySecCfg(struct net_device *dev); 33 bool rtl8192_HalTxCheckStuck(struct net_device *dev); 34 bool rtl8192_HalRxCheckStuck(struct net_device *dev); 35 void rtl8192_interrupt_recognized(struct net_device *dev, u32 *p_inta, 37 void rtl8192_enable_rx(struct net_device *dev); 38 void rtl8192_enable_tx(struct net_device *dev); 39 void rtl8192_EnableInterrupt(struct net_device *dev); 40 void rtl8192_DisableInterrupt(struct net_device *dev); 41 void rtl8192_ClearInterrupt(struct net_device *dev); [all …]
|
D | r8192E_phy.h | 76 extern u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, 78 extern void rtl8192_setBBreg(struct net_device *dev, u32 dwRegAddr, 80 extern u32 rtl8192_QueryBBReg(struct net_device *dev, u32 dwRegAddr, 82 extern void rtl8192_phy_SetRFReg(struct net_device *dev, 85 extern u32 rtl8192_phy_QueryRFReg(struct net_device *dev, 88 extern void rtl8192_phy_configmac(struct net_device *dev); 89 extern void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType); 90 extern bool rtl8192_phy_checkBBAndRF(struct net_device *dev, 93 extern bool rtl8192_BBConfig(struct net_device *dev); 94 extern void rtl8192_phy_getTxPower(struct net_device *dev); [all …]
|
D | rtl_dm.h | 260 extern void init_hal_dm(struct net_device *dev); 261 extern void deinit_hal_dm(struct net_device *dev); 263 extern void hal_dm_watchdog(struct net_device *dev); 266 extern void init_rate_adaptive(struct net_device *dev); 269 extern void dm_cck_txpower_adjust(struct net_device *dev, bool binch14); 271 extern void dm_restore_dynamic_mechanism_state(struct net_device *dev); 272 extern void dm_backup_dynamic_mechanism_state(struct net_device *dev); 273 extern void dm_change_dynamic_initgain_thresh(struct net_device *dev, 276 extern void DM_ChangeFsyncSetting(struct net_device *dev, 279 extern void dm_force_tx_fw_info(struct net_device *dev, [all …]
|
D | rtl_core.h | 490 void (*get_eeprom_size)(struct net_device *dev); 491 void (*init_adapter_variable)(struct net_device *dev); 492 void (*init_before_adapter_start)(struct net_device *dev); 493 bool (*initialize_adapter)(struct net_device *dev); 494 void (*link_change)(struct net_device *dev); 495 void (*tx_fill_descriptor)(struct net_device *dev, 499 void (*tx_fill_cmd_descriptor)(struct net_device *dev, 503 bool (*rx_query_status_descriptor)(struct net_device *dev, 507 bool (*rx_command_packet_handler)(struct net_device *dev, 510 void (*stop_adapter)(struct net_device *dev, bool reset); [all …]
|
D | rtl_ps.h | 30 struct net_device; 35 void rtl8192_hw_wakeup(struct net_device *dev); 36 void rtl8192_hw_to_sleep(struct net_device *dev, u64 time); 37 void rtllib_ips_leave_wq(struct net_device *dev); 38 void rtllib_ips_leave(struct net_device *dev); 41 void IPSEnter(struct net_device *dev); 42 void IPSLeave(struct net_device *dev); 44 void LeisurePSEnter(struct net_device *dev); 45 void LeisurePSLeave(struct net_device *dev);
|
D | rtl_cam.h | 29 struct net_device; 31 void CamResetAllEntry(struct net_device *dev); 32 void EnableHWSecurityConfig8192(struct net_device *dev); 33 void setKey(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType, 35 void set_swcam(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType, 37 void CamPrintDbgReg(struct net_device *dev); 39 u32 read_cam(struct net_device *dev, u8 addr); 40 void write_cam(struct net_device *dev, u8 addr, u32 data); 42 void CamRestoreAllEntry(struct net_device *dev);
|
D | r8190P_rtl8256.h | 24 extern void PHY_SetRF8256Bandwidth(struct net_device *dev, 26 extern bool PHY_RF8256_Config(struct net_device *dev); 27 extern bool phy_RF8256_Config_ParaFile(struct net_device *dev); 28 extern void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel); 29 extern void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
|
D | rtl_wx.c | 34 static int r8192_wx_get_freq(struct net_device *dev, in r8192_wx_get_freq() 44 static int r8192_wx_get_mode(struct net_device *dev, struct iw_request_info *a, in r8192_wx_get_mode() 52 static int r8192_wx_get_rate(struct net_device *dev, in r8192_wx_get_rate() 63 static int r8192_wx_set_rate(struct net_device *dev, in r8192_wx_set_rate() 83 static int r8192_wx_set_rts(struct net_device *dev, in r8192_wx_set_rts() 102 static int r8192_wx_get_rts(struct net_device *dev, in r8192_wx_get_rts() 111 static int r8192_wx_set_power(struct net_device *dev, in r8192_wx_set_power() 133 static int r8192_wx_get_power(struct net_device *dev, in r8192_wx_get_power() 142 static int r8192_wx_set_rawtx(struct net_device *dev, in r8192_wx_set_rawtx() 162 static int r8192_wx_force_reset(struct net_device *dev, in r8192_wx_force_reset() [all …]
|
D | rtl_ps.c | 32 static void rtl8192_hw_sleep_down(struct net_device *dev) in rtl8192_hw_sleep_down() 54 struct net_device *dev = ieee->dev; in rtl8192_hw_sleep_wq() 59 void rtl8192_hw_wakeup(struct net_device *dev) in rtl8192_hw_wakeup() 83 struct net_device *dev = ieee->dev; in rtl8192_hw_wakeup_wq() 90 void rtl8192_hw_to_sleep(struct net_device *dev, u64 time) in rtl8192_hw_to_sleep() 122 static void InactivePsWorkItemCallback(struct net_device *dev) in InactivePsWorkItemCallback() 140 void IPSEnter(struct net_device *dev) in IPSEnter() 161 void IPSLeave(struct net_device *dev) in IPSLeave() 184 struct net_device *dev = ieee->dev; in IPSLeave_wq() 192 void rtllib_ips_leave_wq(struct net_device *dev) in rtllib_ips_leave_wq() [all …]
|
D | rtl_dm.c | 82 static void dm_check_rate_adaptive(struct net_device *dev); 84 static void dm_init_bandwidth_autoswitch(struct net_device *dev); 85 static void dm_bandwidth_autoswitch(struct net_device *dev); 88 static void dm_check_txpower_tracking(struct net_device *dev); 94 static void dm_bb_initialgain_restore(struct net_device *dev); 97 static void dm_bb_initialgain_backup(struct net_device *dev); 99 static void dm_dig_init(struct net_device *dev); 100 static void dm_ctrl_initgain_byrssi(struct net_device *dev); 101 static void dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev); 102 static void dm_ctrl_initgain_byrssi_by_driverrssi(struct net_device *dev); [all …]
|
D | rtl_eeprom.c | 28 static void eprom_cs(struct net_device *dev, short bit) in eprom_cs() 42 static void eprom_ck_cycle(struct net_device *dev) in eprom_ck_cycle() 53 static void eprom_w(struct net_device *dev, short bit) in eprom_w() 66 static short eprom_r(struct net_device *dev) in eprom_r() 78 static void eprom_send_bits_string(struct net_device *dev, short b[], int len) in eprom_send_bits_string() 88 u32 eprom_read(struct net_device *dev, u32 addr) in eprom_read()
|
/linux-4.1.27/drivers/staging/octeon/ |
D | octeon-ethernet.h | 48 struct net_device *netdev; 63 void (*poll)(struct net_device *dev); 71 extern int cvm_oct_rgmii_init(struct net_device *dev); 72 extern void cvm_oct_rgmii_uninit(struct net_device *dev); 73 extern int cvm_oct_rgmii_open(struct net_device *dev); 74 extern int cvm_oct_rgmii_stop(struct net_device *dev); 76 extern int cvm_oct_sgmii_init(struct net_device *dev); 77 extern void cvm_oct_sgmii_uninit(struct net_device *dev); 78 extern int cvm_oct_sgmii_open(struct net_device *dev); 79 extern int cvm_oct_sgmii_stop(struct net_device *dev); [all …]
|
D | ethernet-mdio.c | 46 static void cvm_oct_get_drvinfo(struct net_device *dev, in cvm_oct_get_drvinfo() 54 static int cvm_oct_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in cvm_oct_get_settings() 64 static int cvm_oct_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) in cvm_oct_set_settings() 77 static int cvm_oct_nway_reset(struct net_device *dev) in cvm_oct_nway_reset() 106 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in cvm_oct_ioctl() 133 void cvm_oct_adjust_link(struct net_device *dev) in cvm_oct_adjust_link() 150 int cvm_oct_common_stop(struct net_device *dev) in cvm_oct_common_stop() 178 int cvm_oct_phy_setup_device(struct net_device *dev) in cvm_oct_phy_setup_device()
|
D | ethernet-tx.h | 28 int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev); 29 int cvm_oct_xmit_pow(struct sk_buff *skb, struct net_device *dev); 30 int cvm_oct_transmit_qos(struct net_device *dev, void *work_queue_entry, 34 void cvm_oct_tx_shutdown_dev(struct net_device *dev);
|
/linux-4.1.27/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; 377 struct net_device *parent; 397 struct net_device *dev; 405 struct net_device *dev; 429 struct net_device *dev; 447 struct ipoib_neigh *ipoib_neigh_get(struct net_device *dev, u8 *daddr); 449 struct net_device *dev); [all …]
|
/linux-4.1.27/net/mac802154/ |
D | ieee802154_i.h | 84 struct net_device *dev; 113 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_short_addr(struct net_device *dev, __le16 val); 140 __le16 mac802154_dev_get_short_addr(const struct net_device *dev); 141 __le16 mac802154_dev_get_pan_id(const struct net_device *dev); 142 void mac802154_dev_set_pan_id(struct net_device *dev, __le16 val); 143 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan); 144 u8 mac802154_dev_get_dsn(const struct net_device *dev); [all …]
|
D | mib.c | 29 void mac802154_dev_set_short_addr(struct net_device *dev, __le16 val) in mac802154_dev_set_short_addr() 40 __le16 mac802154_dev_get_short_addr(const struct net_device *dev) in mac802154_dev_get_short_addr() 54 __le16 mac802154_dev_get_pan_id(const struct net_device *dev) in mac802154_dev_get_pan_id() 68 void mac802154_dev_set_pan_id(struct net_device *dev, __le16 val) in mac802154_dev_set_pan_id() 79 u8 mac802154_dev_get_dsn(const struct net_device *dev) in mac802154_dev_get_dsn() 88 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan) in mac802154_dev_set_page_channel() 107 int mac802154_get_params(struct net_device *dev, in mac802154_get_params() 122 int mac802154_set_params(struct net_device *dev, in mac802154_set_params() 138 int mac802154_add_key(struct net_device *dev, in mac802154_add_key() 154 int mac802154_del_key(struct net_device *dev, in mac802154_del_key() [all …]
|
/linux-4.1.27/include/linux/can/ |
D | dev.h | 51 int (*do_set_bittiming)(struct net_device *dev); 52 int (*do_set_data_bittiming)(struct net_device *dev); 53 int (*do_set_mode)(struct net_device *dev, enum can_mode mode); 54 int (*do_get_state)(const struct net_device *dev, 56 int (*do_get_berr_counter)(const struct net_device *dev, 83 static inline int can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb() 114 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode() 134 struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max); 135 void free_candev(struct net_device *dev); 138 struct can_priv *safe_candev_priv(struct net_device *dev); [all …]
|
D | led.h | 29 void can_led_event(struct net_device *netdev, enum can_led_event event); 30 void devm_can_led_init(struct net_device *netdev); 36 static inline void can_led_event(struct net_device *netdev, in can_led_event() 40 static inline void devm_can_led_init(struct net_device *netdev) in devm_can_led_init()
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
D | r819xU_phy.h | 60 extern u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 eRFPath); 61 extern void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr, 63 extern u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, 65 extern void rtl8192_phy_SetRFReg(struct net_device *dev, 67 extern u32 rtl8192_phy_QueryRFReg(struct net_device *dev, 69 extern void rtl8192_phy_configmac(struct net_device *dev); 70 extern void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType); 71 extern u8 rtl8192_phy_checkBBAndRF(struct net_device *dev, 73 extern void rtl8192_BBConfig(struct net_device *dev); 74 extern void rtl8192_phy_getTxPower(struct net_device *dev); [all …]
|
D | r8192U_dm.h | 215 extern void init_hal_dm(struct net_device *dev); 216 extern void deinit_hal_dm(struct net_device *dev); 217 extern void hal_dm_watchdog(struct net_device *dev); 218 extern void init_rate_adaptive(struct net_device *dev); 220 extern void dm_restore_dynamic_mechanism_state(struct net_device *dev); 221 extern void dm_backup_dynamic_mechanism_state(struct net_device *dev); 222 extern void dm_change_dynamic_initgain_thresh(struct net_device *dev, 224 extern void dm_force_tx_fw_info(struct net_device *dev, 226 extern void dm_init_edca_turbo(struct net_device *dev); 230 extern void dm_cck_txpower_adjust(struct net_device *dev, bool binch14); [all …]
|
D | r8192U.h | 340 struct net_device *dev; 921 short (*rf_set_sens)(struct net_device *dev, short sens); 922 u8 (*rf_set_chan)(struct net_device *dev, u8 ch); 923 void (*rf_close)(struct net_device *dev); 924 void (*rf_init)(struct net_device *dev); 1154 bool init_firmware(struct net_device *dev); 1155 short rtl819xU_tx_cmd(struct net_device *dev, struct sk_buff *skb); 1156 short rtl8192_tx(struct net_device *dev, struct sk_buff *skb); 1158 u32 read_cam(struct net_device *dev, u8 addr); 1159 void write_cam(struct net_device *dev, u8 addr, u32 data); [all …]
|
D | r8190_rtl8256.h | 17 extern void PHY_SetRF8256Bandwidth(struct net_device *dev, 19 extern void PHY_RF8256_Config(struct net_device *dev); 20 extern void phy_RF8256_Config_ParaFile(struct net_device *dev); 21 extern void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel); 22 extern 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.1.27/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 | 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 | 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 | 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 …]
|
D | lib8390.c | 103 static void ei_tx_intr(struct net_device *dev); 104 static void ei_tx_err(struct net_device *dev); 105 static void ei_receive(struct net_device *dev); 106 static void ei_rx_overrun(struct net_device *dev); 109 static void NS8390_trigger_send(struct net_device *dev, unsigned int length, 111 static void do_set_multicast_list(struct net_device *dev); 112 static void __NS8390_init(struct net_device *dev, int startp); 201 static int __ei_open(struct net_device *dev) in __ei_open() 230 static int __ei_close(struct net_device *dev) in __ei_close() 254 static void __ei_tx_timeout(struct net_device *dev) in __ei_tx_timeout() [all …]
|
/linux-4.1.27/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.1.27/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 | 271 struct net_device *dev, 274 void cfg80211_clear_ibss(struct net_device *dev, bool nowext); 276 struct net_device *dev, bool nowext); 278 struct net_device *dev, bool nowext); 279 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, 288 struct net_device *dev, 292 struct net_device *dev, 296 struct net_device *dev); 298 struct net_device *dev); 305 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.1.27/drivers/staging/ft1000/ft1000-pcmcia/ |
D | ft1000.h | 44 struct net_device; 45 extern struct net_device *init_ft1000_card(struct pcmcia_device *link, 47 extern void stop_ft1000_card(struct net_device *dev); 48 extern int card_download(struct net_device *dev, const u8 *pFileStart, 51 extern u16 ft1000_read_dpram(struct net_device *dev, int offset); 52 extern void card_bootload(struct net_device *dev); 53 extern u16 ft1000_read_dpram_mag_16(struct net_device *dev, int offset, 55 extern u32 ft1000_read_dpram_mag_32(struct net_device *dev, int offset); 56 void ft1000_write_dpram_mag_32(struct net_device *dev, int offset, u32 value); 59 static inline u16 ft1000_read_reg(struct net_device *dev, u16 offset) in ft1000_read_reg() [all …]
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | u_ether.h | 124 struct net_device *gether_setup_name_default(const char *netname); 133 int gether_register_netdev(struct net_device *net); 144 static inline struct net_device *gether_setup_default(void) in gether_setup_default() 156 void gether_set_gadget(struct net_device *net, struct usb_gadget *g); 167 int gether_set_dev_addr(struct net_device *net, const char *dev_addr); 178 int gether_get_dev_addr(struct net_device *net, char *dev_addr, int len); 189 int gether_set_host_addr(struct net_device *net, const char *host_addr); 200 int gether_get_host_addr(struct net_device *net, char *host_addr, int len); 212 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len); 222 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.1.27/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.1.27/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 | 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() 469 static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev) in macvlan_queue_xmit() 510 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() 179 struct net_device *dev_dummy; in dummy_init_one()
|
D | ifb.c | 59 static netdev_tx_t ifb_xmit(struct sk_buff *skb, struct net_device *dev); 60 static int ifb_open(struct net_device *dev); 61 static int ifb_close(struct net_device *dev); 65 struct net_device *_dev = (struct net_device *)dev; in ri_tasklet() 132 static struct rtnl_link_stats64 *ifb_stats64(struct net_device *dev, in ifb_stats64() 172 static void ifb_setup(struct net_device *dev) in ifb_setup() 193 static netdev_tx_t ifb_xmit(struct sk_buff *skb, struct net_device *dev) in ifb_xmit() 222 static int ifb_close(struct net_device *dev) in ifb_close() 233 static int ifb_open(struct net_device *dev) in ifb_open() 269 struct net_device *dev_ifb; in ifb_init_one()
|
/linux-4.1.27/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 | 58 struct net_device *ethdev; /* link to ethernet device */ 59 struct net_device *axdev; /* lapbeth device (lapb#) */ 69 static struct lapbethdev *lapbeth_get_x25_dev(struct net_device *dev) in lapbeth_get_x25_dev() 80 static __inline__ int dev_is_ethdev(struct net_device *dev) in dev_is_ethdev() 90 …c int lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct n… in lapbeth_rcv() 133 static int lapbeth_data_indication(struct net_device *dev, struct sk_buff *skb) in lapbeth_data_indication() 153 struct net_device *dev) in lapbeth_xmit() 192 static void lapbeth_data_transmit(struct net_device *ndev, struct sk_buff *skb) in lapbeth_data_transmit() 196 struct net_device *dev; in lapbeth_data_transmit() 216 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.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 162 int cxgb4_create_server(const struct net_device *dev, unsigned int stid, 165 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid, 168 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid, 170 int cxgb4_create_server_filter(const struct net_device *dev, unsigned int stid, 174 int cxgb4_remove_server_filter(const struct net_device *dev, unsigned int stid, 203 struct net_device; 233 struct net_device **ports; /* device ports */ 280 int cxgb4_ofld_send(struct net_device *dev, struct sk_buff *skb); 281 unsigned int cxgb4_dbfifo_count(const struct net_device *dev, int lpfifo); 282 unsigned int cxgb4_port_chan(const struct net_device *dev); [all …]
|
D | cxgb4_ethtool.c | 27 static u32 get_msglevel(struct net_device *dev) in get_msglevel() 32 static void set_msglevel(struct net_device *dev, u32 val) in set_msglevel() 115 static int get_sset_count(struct net_device *dev, int sset) in get_sset_count() 125 static int get_regs_len(struct net_device *dev) in get_regs_len() 132 static int get_eeprom_len(struct net_device *dev) in get_eeprom_len() 137 static void get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) in get_drvinfo() 169 static void get_strings(struct net_device *dev, u32 stringset, u8 *data) in get_strings() 208 static void get_stats(struct net_device *dev, struct ethtool_stats *stats, in get_stats() 234 static void get_regs(struct net_device *dev, struct ethtool_regs *regs, in get_regs() 245 static int restart_autoneg(struct net_device *dev) in restart_autoneg() [all …]
|
D | cxgb4_dcb.c | 37 void cxgb4_dcb_state_init(struct net_device *dev) in cxgb4_dcb_state_init() 52 void cxgb4_dcb_version_init(struct net_device *dev) in cxgb4_dcb_version_init() 63 static void cxgb4_dcb_cleanup_apps(struct net_device *dev) in cxgb4_dcb_cleanup_apps() 102 void cxgb4_dcb_state_fsm(struct net_device *dev, in cxgb4_dcb_state_fsm() 247 struct net_device *dev = adap->port[port]; in cxgb4_dcb_handle_fw_update() 380 static u8 cxgb4_getstate(struct net_device *dev) in cxgb4_getstate() 389 static u8 cxgb4_setstate(struct net_device *dev, u8 enabled) in cxgb4_setstate() 407 static void cxgb4_getpgtccfg(struct net_device *dev, int tc, in cxgb4_getpgtccfg() 451 static void cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, in cxgb4_getpgtccfg_tx() 461 static void cxgb4_getpgtccfg_rx(struct net_device *dev, int tc, in cxgb4_getpgtccfg_rx() [all …]
|
/linux-4.1.27/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 | 155 struct net_device *dev, 220 static void list_netdevice(struct net_device *dev) in list_netdevice() 239 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice() 330 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class() 344 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class() 576 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check() 670 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink() 691 struct net_device *__dev_get_by_name(struct net *net, const char *name) in __dev_get_by_name() 693 struct net_device *dev; in __dev_get_by_name() 716 struct net_device *dev_get_by_name_rcu(struct net *net, const char *name) in dev_get_by_name_rcu() [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() 110 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features() 148 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features() 188 static int __ethtool_get_sset_count(struct net_device *dev, int sset) in __ethtool_get_sset_count() 204 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings() 251 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature() 265 static int ethtool_set_one_feature(struct net_device *dev, in ethtool_set_one_feature() 295 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags() 313 static int __ethtool_set_flags(struct net_device *dev, u32 data) in __ethtool_set_flags() [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,
|
D | net-sysfs.c | 38 static inline int dev_isalive(const struct net_device *dev) in dev_isalive() 46 ssize_t (*format)(const struct net_device *, char *)) in netdev_show() argument 48 struct net_device *ndev = to_net_dev(dev); in netdev_show() 61 static ssize_t format_##field(const struct net_device *dev, char *buf) \ 82 int (*set)(struct net_device *, unsigned long)) in netdev_store() argument 84 struct net_device *netdev = to_net_dev(dev); in netdev_store() 119 struct net_device *ndev = to_net_dev(dev); in iflink_show() 125 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type() 134 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show() 148 struct net_device *ndev = to_net_dev(dev); in address_show() [all …]
|
/linux-4.1.27/drivers/net/arcnet/ |
D | com90io.c | 46 static int com90io_found(struct net_device *dev); 47 static void com90io_command(struct net_device *dev, int command); 48 static int com90io_status(struct net_device *dev); 49 static void com90io_setmask(struct net_device *dev, int mask); 50 static int com90io_reset(struct net_device *dev, int really_reset); 51 static void com90io_copy_to_card(struct net_device *dev, int bufnum, int offset, 53 static void com90io_copy_from_card(struct net_device *dev, int bufnum, int offset, 91 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) in get_buffer_byte() 102 static void put_buffer_byte(struct net_device *dev, unsigned offset, u_char datum) in put_buffer_byte() 115 static void get_whole_buffer(struct net_device *dev, unsigned offset, unsigned length, char *dest) in get_whole_buffer() [all …]
|
D | com20020.c | 49 static void com20020_command(struct net_device *dev, int command); 50 static int com20020_status(struct net_device *dev); 51 static void com20020_setmask(struct net_device *dev, int mask); 52 static int com20020_reset(struct net_device *dev, int really_reset); 53 static void com20020_copy_to_card(struct net_device *dev, int bufnum, 55 static void com20020_copy_from_card(struct net_device *dev, int bufnum, 57 static void com20020_set_mc_list(struct net_device *dev); 58 static void com20020_close(struct net_device *); 60 static void com20020_copy_from_card(struct net_device *dev, int bufnum, in com20020_copy_from_card() 74 static void com20020_copy_to_card(struct net_device *dev, int bufnum, in com20020_copy_to_card() [all …]
|
D | arc-rimi.c | 45 static int arcrimi_probe(struct net_device *dev); 46 static int arcrimi_found(struct net_device *dev); 47 static void arcrimi_command(struct net_device *dev, int command); 48 static int arcrimi_status(struct net_device *dev); 49 static void arcrimi_setmask(struct net_device *dev, int mask); 50 static int arcrimi_reset(struct net_device *dev, int really_reset); 51 static void arcrimi_copy_to_card(struct net_device *dev, int bufnum, int offset, 53 static void arcrimi_copy_from_card(struct net_device *dev, int bufnum, int offset, 87 static int __init arcrimi_probe(struct net_device *dev) in arcrimi_probe() 143 static int __init arcrimi_found(struct net_device *dev) in arcrimi_found() [all …]
|
/linux-4.1.27/net/switchdev/ |
D | switchdev.c | 29 int netdev_switch_parent_id_get(struct net_device *dev, in netdev_switch_parent_id_get() 48 int netdev_switch_port_stp_update(struct net_device *dev, u8 state) in netdev_switch_port_stp_update() 51 struct net_device *lower_dev; in netdev_switch_port_stp_update() 118 int call_netdev_switch_notifiers(unsigned long val, struct net_device *dev, in call_netdev_switch_notifiers() 141 int netdev_switch_port_bridge_setlink(struct net_device *dev, in netdev_switch_port_bridge_setlink() 166 int netdev_switch_port_bridge_dellink(struct net_device *dev, in netdev_switch_port_bridge_dellink() 191 int ndo_dflt_netdev_switch_port_bridge_setlink(struct net_device *dev, in ndo_dflt_netdev_switch_port_bridge_setlink() 194 struct net_device *lower_dev; in ndo_dflt_netdev_switch_port_bridge_setlink() 221 int ndo_dflt_netdev_switch_port_bridge_dellink(struct net_device *dev, in ndo_dflt_netdev_switch_port_bridge_dellink() 224 struct net_device *lower_dev; in ndo_dflt_netdev_switch_port_bridge_dellink() [all …]
|
/linux-4.1.27/net/dsa/ |
D | dsa_priv.h | 18 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev); 19 int (*rcv)(struct sk_buff *skb, struct net_device *dev, 20 struct packet_type *pt, struct net_device *orig_dev); 28 struct net_device *dev; 30 struct net_device *dev); 49 struct net_device *bridge_dev; 60 int dsa_slave_suspend(struct net_device *slave_dev); 61 int dsa_slave_resume(struct net_device *slave_dev);
|
D | slave.c | 58 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink() 70 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open() 73 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_open() 126 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close() 129 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_close() 154 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags() 157 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_change_rx_flags() 165 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode() 168 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_set_rx_mode() 174 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address() [all …]
|
/linux-4.1.27/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.1.27/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() 69 static void ipvlan_port_destroy(struct net_device *dev) in ipvlan_port_destroy() 94 static void ipvlan_set_lockdep_class_one(struct net_device *dev, in ipvlan_set_lockdep_class_one() 101 static void ipvlan_set_lockdep_class(struct net_device *dev) in ipvlan_set_lockdep_class() 107 static int ipvlan_init(struct net_device *dev) in ipvlan_init() 110 const struct net_device *phy_dev = ipvlan->phy_dev; in ipvlan_init() 128 static void ipvlan_uninit(struct net_device *dev) in ipvlan_uninit() 140 static int ipvlan_open(struct net_device *dev) in ipvlan_open() 143 struct net_device *phy_dev = ipvlan->phy_dev; in ipvlan_open() [all …]
|
D | ipvlan.h | 63 struct net_device *dev; 66 struct net_device *phy_dev; 92 struct net_device *dev; 100 static inline struct ipvl_port *ipvlan_port_get_rcu(const struct net_device *d) in ipvlan_port_get_rcu() 105 static inline struct ipvl_port *ipvlan_port_get_rtnl(const struct net_device *d) in ipvlan_port_get_rtnl() 110 void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev); 115 int ipvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev);
|
/linux-4.1.27/drivers/net/hamradio/ |
D | bpqether.c | 97 static int bpq_rcv(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *… 112 struct net_device *ethdev; /* link to ethernet device */ 113 struct net_device *axdev; /* bpq device (bpq#) */ 128 static void bpq_set_lockdep_class_one(struct net_device *dev, in bpq_set_lockdep_class_one() 135 static void bpq_set_lockdep_class(struct net_device *dev) in bpq_set_lockdep_class() 147 static inline struct net_device *bpq_get_ether_dev(struct net_device *dev) in bpq_get_ether_dev() 157 static inline struct net_device *bpq_get_ax25_dev(struct net_device *dev) in bpq_get_ax25_dev() 168 static inline int dev_is_ethdev(struct net_device *dev) in dev_is_ethdev() 179 …tatic int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct n… in bpq_rcv() 247 static netdev_tx_t bpq_xmit(struct sk_buff *skb, struct net_device *dev) in bpq_xmit() [all …]
|
/linux-4.1.27/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.1.27/net/batman-adv/ |
D | soft-interface.c | 39 static int batadv_get_settings(struct net_device *dev, struct ethtool_cmd *cmd); 40 static void batadv_get_drvinfo(struct net_device *dev, 42 static u32 batadv_get_msglevel(struct net_device *dev); 43 static void batadv_set_msglevel(struct net_device *dev, u32 value); 44 static u32 batadv_get_link(struct net_device *dev); 45 static void batadv_get_strings(struct net_device *dev, u32 stringset, u8 *data); 46 static void batadv_get_ethtool_stats(struct net_device *dev, 48 static int batadv_get_sset_count(struct net_device *dev, int stringset); 80 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open() 86 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release() [all …]
|
D | debugfs.c | 246 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_open() 260 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_hardif_open() 267 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_gateways_open() 274 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_global_open() 282 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_claim_table_open() 291 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_backbone_table_open() 307 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_dat_cache_open() 315 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_local_open() 328 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_nc_nodes_open() 505 int batadv_debugfs_add_meshif(struct net_device *dev) in batadv_debugfs_add_meshif() [all …]
|
D | hard-interface.h | 42 bool batadv_is_wifi_netdev(struct net_device *net_device); 45 batadv_hardif_get_by_netdev(const struct net_device *net_dev); 51 int batadv_hardif_min_mtu(struct net_device *soft_iface); 52 void batadv_update_min_mtu(struct net_device *soft_iface);
|
D | soft-interface.h | 22 void batadv_interface_rx(struct net_device *soft_iface, 25 struct net_device *batadv_softif_create(const char *name); 26 void batadv_softif_destroy_sysfs(struct net_device *soft_iface); 27 int batadv_softif_is_valid(const struct net_device *net_dev);
|
/linux-4.1.27/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.1.27/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.1.27/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 | 143 struct net_device *dev; 196 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu() 201 static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) in br_port_get_rtnl() 211 struct net_device *dev; 300 struct net_device *brdev; 345 void br_dev_setup(struct net_device *dev); 346 void br_dev_delete(struct net_device *dev, struct list_head *list); 347 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev); 390 int br_fdb_test_addr(struct net_device *dev, unsigned char *addr); 399 struct net_device *dev, const unsigned char *addr, u16 vid); [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/net/ieee802154/6lowpan/ |
D | core.c | 58 static __le16 lowpan_get_pan_id(const struct net_device *dev) in lowpan_get_pan_id() 60 struct net_device *real_dev = lowpan_dev_info(dev)->real_dev; in lowpan_get_pan_id() 65 static __le16 lowpan_get_short_addr(const struct net_device *dev) in lowpan_get_short_addr() 67 struct net_device *real_dev = lowpan_dev_info(dev)->real_dev; in lowpan_get_short_addr() 72 static u8 lowpan_get_dsn(const struct net_device *dev) in lowpan_get_dsn() 74 struct net_device *real_dev = lowpan_dev_info(dev)->real_dev; in lowpan_get_dsn() 86 static void lowpan_set_lockdep_class_one(struct net_device *dev, in lowpan_set_lockdep_class_one() 94 static int lowpan_dev_init(struct net_device *dev) in lowpan_dev_init() 112 static void lowpan_setup(struct net_device *dev) in lowpan_setup() 141 static int lowpan_newlink(struct net *src_net, struct net_device *dev, in lowpan_newlink() [all …]
|
D | 6lowpan_i.h | 41 struct net_device *ldev; 47 struct net_device *real_dev; /* real WPAN device ptr */ 53 lowpan_dev_info *lowpan_dev_info(const struct net_device *dev) in lowpan_dev_info() 67 int lowpan_header_create(struct sk_buff *skb, struct net_device *dev, 70 netdev_tx_t lowpan_xmit(struct sk_buff *skb, struct net_device *dev);
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/staging/rtl8188eu/include/ |
D | osdep_intf.h | 38 int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 40 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname); 41 struct net_device *rtw_init_netdev(struct adapter *padapter); 43 void rtw_proc_init_one(struct net_device *dev); 44 void rtw_proc_remove_one(struct net_device *dev); 46 int pm_netdev_open(struct net_device *pnetdev, u8 bnormal);
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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_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.1.27/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.1.27/include/linux/netfilter_bridge/ |
D | ebtables.h | 26 bool (*match)(const struct sk_buff *skb, const struct net_device *in, 27 const struct net_device *out, const struct xt_match *match, 44 const struct net_device *in, const struct net_device *out, 62 const struct net_device *in, const struct net_device *out, 115 const struct net_device *in, const struct net_device *out,
|
/linux-4.1.27/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.1.27/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 struct rtnl_link_stats64 *internal_dev_get_stats(struct net_device *netdev, in internal_dev_get_stats() 70 static int internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) in internal_dev_xmit() 78 static int internal_dev_open(struct net_device *netdev) in internal_dev_open() 84 static int internal_dev_stop(struct net_device *netdev) in internal_dev_stop() 90 static void internal_dev_getinfo(struct net_device *netdev, in internal_dev_getinfo() 101 static int internal_dev_change_mtu(struct net_device *netdev, int new_mtu) in internal_dev_change_mtu() 110 static void internal_dev_destructor(struct net_device *dev) in internal_dev_destructor() 131 static void do_setup(struct net_device *netdev) in do_setup() 224 struct net_device *netdev = netdev_vport_priv(vport)->dev; in internal_dev_recv() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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]; 114 struct net_device *netdev; /* netdev ring belongs to */ 243 struct net_device *netdev; 464 void fm10k_netpoll(struct net_device *netdev); 468 struct net_device *fm10k_alloc_netdev(void); 479 int fm10k_setup_tc(struct net_device *dev, u8 tc); 480 int fm10k_open(struct net_device *netdev); 481 int fm10k_close(struct net_device *netdev); 484 void fm10k_set_ethtool_ops(struct net_device *dev); 494 int fm10k_ndo_set_vf_mac(struct net_device *netdev, int vf_idx, u8 *mac); [all …]
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac.h | 76 struct net_device *dev; 128 int stmmac_mdio_unregister(struct net_device *ndev); 129 int stmmac_mdio_register(struct net_device *ndev); 131 void stmmac_set_ethtool_ops(struct net_device *netdev); 135 int stmmac_resume(struct net_device *ndev); 136 int stmmac_suspend(struct net_device *ndev); 137 int stmmac_dvr_remove(struct net_device *ndev);
|
/linux-4.1.27/drivers/net/ethernet/dlink/ |
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 …]
|
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 …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 117 int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac); 118 int i40e_ndo_set_vf_port_vlan(struct net_device *netdev, 120 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, 122 int i40e_ndo_get_vf_config(struct net_device *netdev, 124 int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link); 125 int i40e_ndo_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool enable);
|
/linux-4.1.27/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.1.27/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() 242 static void atl1c_get_wol(struct net_device *netdev, in atl1c_get_wol() [all …]
|
/linux-4.1.27/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.1.27/drivers/net/wireless/ath/wil6210/ |
D | netdev.c | 21 static int wil_open(struct net_device *ndev) in wil_open() 30 static int wil_stop(struct net_device *ndev) in wil_stop() 39 static int wil_change_mtu(struct net_device *ndev, int new_mtu) in wil_change_mtu() 54 static int wil_do_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) in wil_do_ioctl() 124 static void wil_dev_setup(struct net_device *dev) in wil_dev_setup() 132 struct net_device *ndev; in wil_if_alloc() 197 struct net_device *ndev = wil_to_ndev(wil); in wil_if_free() 214 struct net_device *ndev = wil_to_ndev(wil); in wil_if_add() 230 struct net_device *ndev = wil_to_ndev(wil); in wil_if_remove()
|
/linux-4.1.27/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.1.27/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.1.27/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() 176 static void pch_gbe_get_regs(struct net_device *netdev, in pch_gbe_get_regs() 200 static void pch_gbe_get_wol(struct net_device *netdev, in pch_gbe_get_wol() 226 static int pch_gbe_set_wol(struct net_device *netdev, in pch_gbe_set_wol() 254 static int pch_gbe_nway_reset(struct net_device *netdev) in pch_gbe_nway_reset() 266 static void pch_gbe_get_ringparam(struct net_device *netdev, in pch_gbe_get_ringparam() 287 static int pch_gbe_set_ringparam(struct net_device *netdev, in pch_gbe_set_ringparam() [all …]
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 178 static void xgbe_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in xgbe_get_strings() 197 static void xgbe_get_ethtool_stats(struct net_device *netdev, in xgbe_get_ethtool_stats() 215 static int xgbe_get_sset_count(struct net_device *netdev, int stringset) in xgbe_get_sset_count() 235 static void xgbe_get_pauseparam(struct net_device *netdev, in xgbe_get_pauseparam() 249 static int xgbe_set_pauseparam(struct net_device *netdev, in xgbe_set_pauseparam() 282 static int xgbe_get_settings(struct net_device *netdev, in xgbe_get_settings() 300 static int xgbe_set_settings(struct net_device *netdev, in xgbe_set_settings() 359 static void xgbe_get_drvinfo(struct net_device *netdev, in xgbe_get_drvinfo() 376 static int xgbe_get_coalesce(struct net_device *netdev, in xgbe_get_coalesce() 395 static int xgbe_set_coalesce(struct net_device *netdev, in xgbe_set_coalesce() [all …]
|
/linux-4.1.27/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 73 struct net_device *ndev; 88 static void emac_update_speed(struct net_device *dev) in emac_update_speed() 101 static void emac_update_duplex(struct net_device *dev) in emac_update_duplex() 114 static void emac_handle_link_change(struct net_device *dev) in emac_handle_link_change() 153 static int emac_mdio_probe(struct net_device *dev) in emac_mdio_probe() 179 static void emac_mdio_remove(struct net_device *dev) in emac_mdio_remove() 208 static int emac_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in emac_ioctl() 223 static void emac_get_drvinfo(struct net_device *dev, in emac_get_drvinfo() 231 static int emac_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in emac_get_settings() 242 static int emac_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) in emac_set_settings() [all …]
|
/linux-4.1.27/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.1.27/net/netrom/ |
D | nr_dev.c | 43 int nr_rx_ip(struct sk_buff *skb, struct net_device *dev) in nr_rx_ip() 68 static int nr_header(struct sk_buff *skb, struct net_device *dev, in nr_header() 101 static int __must_check nr_set_mac_address(struct net_device *dev, void *addr) in nr_set_mac_address() 122 static int nr_open(struct net_device *dev) in nr_open() 135 static int nr_close(struct net_device *dev) in nr_close() 142 static netdev_tx_t nr_xmit(struct sk_buff *skb, struct net_device *dev) in nr_xmit() 170 void nr_setup(struct net_device *dev) in nr_setup()
|
/linux-4.1.27/drivers/net/ethernet/realtek/ |
D | atp.c | 171 struct net_device *next_module; 193 static void get_node_ID(struct net_device *dev); 195 static int net_open(struct net_device *dev); 196 static void hardware_init(struct net_device *dev); 200 struct net_device *dev); 202 static void net_rx(struct net_device *dev); 204 static int net_close(struct net_device *dev); 205 static void set_rx_mode(struct net_device *dev); 206 static void tx_timeout(struct net_device *dev); 210 static struct net_device *root_atp_dev; [all …]
|
/linux-4.1.27/drivers/net/ethernet/xircom/ |
D | xirc2ps_cs.c | 270 struct net_device *dev; 290 struct net_device *dev); 291 static void xirc_tx_timeout(struct net_device *dev); 293 static void set_addresses(struct net_device *dev); 294 static void set_multicast_list(struct net_device *dev); 296 static int do_config(struct net_device *dev, struct ifmap *map); 297 static int do_open(struct net_device *dev); 298 static int do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 300 static void hardreset(struct net_device *dev); 301 static void do_reset(struct net_device *dev, int full); [all …]
|
/linux-4.1.27/drivers/net/ethernet/ |
D | lantiq_etop.c | 92 struct net_device *netdev; 99 struct net_device *netdev; 220 ltq_etop_free_channel(struct net_device *dev, struct ltq_etop_chan *ch) in ltq_etop_free_channel() 235 ltq_etop_hw_exit(struct net_device *dev) in ltq_etop_hw_exit() 247 ltq_etop_hw_init(struct net_device *dev) in ltq_etop_hw_init() 300 ltq_etop_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) in ltq_etop_get_drvinfo() 308 ltq_etop_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in ltq_etop_get_settings() 316 ltq_etop_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) in ltq_etop_set_settings() 324 ltq_etop_nway_reset(struct net_device *dev) in ltq_etop_nway_reset() 369 ltq_etop_mdio_link(struct net_device *dev) in ltq_etop_mdio_link() [all …]
|
/linux-4.1.27/drivers/net/ethernet/atheros/alx/ |
D | ethtool.c | 128 static int alx_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in alx_get_settings() 171 static int alx_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in alx_set_settings() 195 static void alx_get_pauseparam(struct net_device *netdev, in alx_get_pauseparam() 208 static int alx_set_pauseparam(struct net_device *netdev, in alx_set_pauseparam() 250 static u32 alx_get_msglevel(struct net_device *netdev) in alx_get_msglevel() 257 static void alx_set_msglevel(struct net_device *netdev, u32 data) in alx_set_msglevel() 264 static void alx_get_ethtool_stats(struct net_device *netdev, in alx_get_ethtool_stats() 280 static void alx_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) in alx_get_strings() 292 static int alx_get_sset_count(struct net_device *netdev, int sset) in alx_get_sset_count()
|
/linux-4.1.27/drivers/isdn/hysdn/ |
D | hysdn_net.c | 43 struct net_device *dev; 60 net_open(struct net_device *dev) in net_open() 105 net_close(struct net_device *dev) in net_close() 120 net_send_packet(struct sk_buff *skb, struct net_device *dev) in net_send_packet() 177 netif_start_queue((struct net_device *) lp); in hysdn_tx_netack() 187 struct net_device *dev; in hysdn_rx_netpkt() 249 struct net_device *dev; in hysdn_net_create() 296 struct net_device *dev = card->netif; in hysdn_net_release() 321 struct net_device *dev = card->netif; in hysdn_net_getname()
|
/linux-4.1.27/drivers/net/ethernet/qualcomm/ |
D | qca_debug.c | 179 qcaspi_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *p) in qcaspi_get_drvinfo() 191 qcaspi_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in qcaspi_get_settings() 204 qcaspi_get_ethtool_stats(struct net_device *dev, struct ethtool_stats *estats, u64 *data) in qcaspi_get_ethtool_stats() 213 qcaspi_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in qcaspi_get_strings() 227 qcaspi_get_sset_count(struct net_device *dev, int sset) in qcaspi_get_sset_count() 238 qcaspi_get_regs_len(struct net_device *dev) in qcaspi_get_regs_len() 244 qcaspi_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *p) in qcaspi_get_regs() 263 qcaspi_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ring) in qcaspi_get_ringparam() 274 qcaspi_set_ringparam(struct net_device *dev, struct ethtool_ringparam *ring) in qcaspi_set_ringparam() 308 void qcaspi_set_ethtool_ops(struct net_device *dev) in qcaspi_set_ethtool_ops()
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | nmclan_cs.c | 405 static void nmclan_reset(struct net_device *dev); 406 static int mace_config(struct net_device *dev, struct ifmap *map); 407 static int mace_open(struct net_device *dev); 408 static int mace_close(struct net_device *dev); 410 struct net_device *dev); 411 static void mace_tx_timeout(struct net_device *dev); 413 static struct net_device_stats *mace_get_stats(struct net_device *dev); 414 static int mace_rx(struct net_device *dev, unsigned char RxCnt); 415 static void restore_multicast_list(struct net_device *dev); 416 static void set_multicast_list(struct net_device *dev); [all …]
|