/linux-4.4.14/net/core/ |
H A 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,
|
H A D | link_watch.c | 40 static unsigned char default_operstate(const struct net_device *dev) default_operstate() 53 static void rfc2863_policy(struct net_device *dev) rfc2863_policy() 79 void linkwatch_init_dev(struct net_device *dev) linkwatch_init_dev() 87 static bool linkwatch_urgent_event(struct net_device *dev) linkwatch_urgent_event() 102 static void linkwatch_add_event(struct net_device *dev) linkwatch_add_event() 144 static void linkwatch_do_dev(struct net_device *dev) linkwatch_do_dev() 171 struct net_device *dev; __linkwatch_run_queue() 194 dev = list_first_entry(&wrk, struct net_device, link_watch_list); __linkwatch_run_queue() 211 void linkwatch_forget_dev(struct net_device *dev) linkwatch_forget_dev() 242 void linkwatch_fire_event(struct net_device *dev) linkwatch_fire_event()
|
H A D | dev_addr_lists.c | 242 struct net_device *dev, __hw_addr_sync_dev() 243 int (*sync)(struct net_device *, const unsigned char *), __hw_addr_sync_dev() 244 int (*unsync)(struct net_device *, __hw_addr_sync_dev() 293 struct net_device *dev, __hw_addr_unsync_dev() 294 int (*unsync)(struct net_device *, __hw_addr_unsync_dev() 343 void dev_addr_flush(struct net_device *dev) dev_addr_flush() 361 int dev_addr_init(struct net_device *dev) dev_addr_init() 397 int dev_addr_add(struct net_device *dev, const unsigned char *addr, dev_addr_add() 422 int dev_addr_del(struct net_device *dev, const unsigned char *addr, dev_addr_del() 457 int dev_uc_add_excl(struct net_device *dev, const unsigned char *addr) dev_uc_add_excl() 488 int dev_uc_add(struct net_device *dev, const unsigned char *addr) dev_uc_add() 510 int dev_uc_del(struct net_device *dev, const unsigned char *addr) dev_uc_del() 537 int dev_uc_sync(struct net_device *to, struct net_device *from) dev_uc_sync() 567 int dev_uc_sync_multiple(struct net_device *to, struct net_device *from) dev_uc_sync_multiple() 592 void dev_uc_unsync(struct net_device *to, struct net_device *from) dev_uc_unsync() 612 void dev_uc_flush(struct net_device *dev) dev_uc_flush() 626 void dev_uc_init(struct net_device *dev) dev_uc_init() 641 int dev_mc_add_excl(struct net_device *dev, const unsigned char *addr) dev_mc_add_excl() 664 static int __dev_mc_add(struct net_device *dev, const unsigned char *addr, __dev_mc_add() 685 int dev_mc_add(struct net_device *dev, const unsigned char *addr) dev_mc_add() 698 int dev_mc_add_global(struct net_device *dev, const unsigned char *addr) dev_mc_add_global() 704 static int __dev_mc_del(struct net_device *dev, const unsigned char *addr, __dev_mc_del() 726 int dev_mc_del(struct net_device *dev, const unsigned char *addr) dev_mc_del() 740 int dev_mc_del_global(struct net_device *dev, const unsigned char *addr) dev_mc_del_global() 758 int dev_mc_sync(struct net_device *to, struct net_device *from) dev_mc_sync() 788 int dev_mc_sync_multiple(struct net_device *to, struct net_device *from) dev_mc_sync_multiple() 813 void dev_mc_unsync(struct net_device *to, struct net_device *from) dev_mc_unsync() 833 void dev_mc_flush(struct net_device *dev) dev_mc_flush() 847 void dev_mc_init(struct net_device *dev) dev_mc_init()
|
H A D | net-sysfs.c | 37 static inline int dev_isalive(const struct net_device *dev) dev_isalive() 45 ssize_t (*format)(const struct net_device *, char *)) netdev_show() 47 struct net_device *ndev = to_net_dev(dev); netdev_show() 60 static ssize_t format_##field(const struct net_device *dev, char *buf) \ 81 int (*set)(struct net_device *, unsigned long)) netdev_store() 83 struct net_device *netdev = to_net_dev(dev); netdev_store() 118 struct net_device *ndev = to_net_dev(dev); iflink_show() 124 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) format_name_assign_type() 133 struct net_device *ndev = to_net_dev(dev); name_assign_type_show() 147 struct net_device *ndev = to_net_dev(dev); address_show() 161 struct net_device *ndev = to_net_dev(dev); broadcast_show() 168 static int change_carrier(struct net_device *dev, unsigned long new_carrier) change_carrier() 184 struct net_device *netdev = to_net_dev(dev); carrier_show() 195 struct net_device *netdev = to_net_dev(dev); speed_show() 214 struct net_device *netdev = to_net_dev(dev); duplex_show() 246 struct net_device *netdev = to_net_dev(dev); dormant_show() 268 const struct net_device *netdev = to_net_dev(dev); operstate_show() 288 struct net_device *netdev = to_net_dev(dev); carrier_changes_show() 296 static int change_mtu(struct net_device *dev, unsigned long new_mtu) change_mtu() 308 static int change_flags(struct net_device *dev, unsigned long new_flags) change_flags() 320 static int change_tx_queue_len(struct net_device *dev, unsigned long new_len) change_tx_queue_len() 337 static int change_gro_flush_timeout(struct net_device *dev, unsigned long val) change_gro_flush_timeout() 357 struct net_device *netdev = to_net_dev(dev); ifalias_store() 380 const struct net_device *netdev = to_net_dev(dev); ifalias_show() 392 static int change_group(struct net_device *dev, unsigned long new_group) change_group() 406 static int change_proto_down(struct net_device *dev, unsigned long proto_down) change_proto_down() 422 struct net_device *netdev = to_net_dev(dev); phys_port_id_show() 444 struct net_device *netdev = to_net_dev(dev); phys_port_name_show() 466 struct net_device *netdev = to_net_dev(dev); phys_switch_id_show() 526 struct net_device *dev = to_net_dev(d); netstat_show() 886 static int rx_queue_add_kobject(struct net_device *dev, int index) rx_queue_add_kobject() 915 net_rx_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) net_rx_queue_update_kobjects() 1008 struct net_device *dev = queue->dev; get_netdev_queue_index() 1028 struct net_device *dev = queue->dev; set_tx_maxrate() 1173 struct net_device *dev = queue->dev; show_xps_map() 1212 struct net_device *dev = queue->dev; store_xps_map() 1278 static int netdev_queue_add_kobject(struct net_device *dev, int index) netdev_queue_add_kobject() 1307 netdev_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) netdev_queue_update_kobjects() 1336 static int register_queue_kobjects(struct net_device *dev) register_queue_kobjects() 1367 static void remove_queue_kobjects(struct net_device *dev) remove_queue_kobjects() 1422 struct net_device *dev = to_net_dev(d); netdev_uevent() 1445 struct net_device *dev = to_net_dev(d); netdev_release() 1455 struct net_device *dev; net_namespace() 1456 dev = container_of(d, struct net_device, dev); net_namespace() 1484 * Looks up the net_device structure corresponding with the device node. 1485 * If successful, returns a pointer to the net_device with the embedded 1487 * refcount must be dropped when done with the net_device. 1489 struct net_device *of_find_net_device_by_node(struct device_node *np) of_find_net_device_by_node() 1505 void netdev_unregister_kobject(struct net_device *ndev) netdev_unregister_kobject() 1519 int netdev_register_kobject(struct net_device *ndev) netdev_register_kobject()
|
H A D | ethtool.c | 36 u32 ethtool_op_get_link(struct net_device *dev) ethtool_op_get_link() 42 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info) ethtool_op_get_ts_info() 116 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) ethtool_get_features() 154 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) ethtool_set_features() 194 static int __ethtool_get_sset_count(struct net_device *dev, int sset) __ethtool_get_sset_count() 213 static void __ethtool_get_strings(struct net_device *dev, __ethtool_get_strings() 262 static int ethtool_get_one_feature(struct net_device *dev, ethtool_get_one_feature() 276 static int ethtool_set_one_feature(struct net_device *dev, ethtool_set_one_feature() 306 static u32 __ethtool_get_flags(struct net_device *dev) __ethtool_get_flags() 324 static int __ethtool_set_flags(struct net_device *dev, u32 data) __ethtool_set_flags() 355 int __ethtool_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) __ethtool_get_settings() 368 static int ethtool_get_settings(struct net_device *dev, void __user *useraddr) ethtool_get_settings() 382 static int ethtool_set_settings(struct net_device *dev, void __user *useraddr) ethtool_set_settings() 395 static noinline_for_stack int ethtool_get_drvinfo(struct net_device *dev, ethtool_get_drvinfo() 441 static noinline_for_stack int ethtool_get_sset_info(struct net_device *dev, ethtool_get_sset_info() 497 static noinline_for_stack int ethtool_set_rxnfc(struct net_device *dev, ethtool_set_rxnfc() 529 static noinline_for_stack int ethtool_get_rxnfc(struct net_device *dev, ethtool_get_rxnfc() 611 static noinline_for_stack int ethtool_get_rxfh_indir(struct net_device *dev, ethtool_get_rxfh_indir() 659 static noinline_for_stack int ethtool_set_rxfh_indir(struct net_device *dev, ethtool_set_rxfh_indir() 713 static noinline_for_stack int ethtool_get_rxfh(struct net_device *dev, ethtool_get_rxfh() 785 static noinline_for_stack int ethtool_set_rxfh(struct net_device *dev, ethtool_set_rxfh() 872 static int ethtool_get_regs(struct net_device *dev, char __user *useraddr) ethtool_get_regs() 908 static int ethtool_reset(struct net_device *dev, char __user *useraddr) ethtool_reset() 928 static int ethtool_get_wol(struct net_device *dev, char __user *useraddr) ethtool_get_wol() 942 static int ethtool_set_wol(struct net_device *dev, char __user *useraddr) ethtool_set_wol() 955 static int ethtool_get_eee(struct net_device *dev, char __user *useraddr) ethtool_get_eee() 976 static int ethtool_set_eee(struct net_device *dev, char __user *useraddr) ethtool_set_eee() 989 static int ethtool_nway_reset(struct net_device *dev) ethtool_nway_reset() 997 static int ethtool_get_link(struct net_device *dev, char __user *useraddr) ethtool_get_link() 1011 static int ethtool_get_any_eeprom(struct net_device *dev, void __user *useraddr, ethtool_get_any_eeprom() 1012 int (*getter)(struct net_device *, ethtool_get_any_eeprom() 1062 static int ethtool_get_eeprom(struct net_device *dev, void __user *useraddr) ethtool_get_eeprom() 1074 static int ethtool_set_eeprom(struct net_device *dev, void __user *useraddr) ethtool_set_eeprom() 1122 static noinline_for_stack int ethtool_get_coalesce(struct net_device *dev, ethtool_get_coalesce() 1137 static noinline_for_stack int ethtool_set_coalesce(struct net_device *dev, ethtool_set_coalesce() 1151 static int ethtool_get_ringparam(struct net_device *dev, void __user *useraddr) ethtool_get_ringparam() 1165 static int ethtool_set_ringparam(struct net_device *dev, void __user *useraddr) ethtool_set_ringparam() 1178 static noinline_for_stack int ethtool_get_channels(struct net_device *dev, ethtool_get_channels() 1193 static noinline_for_stack int ethtool_set_channels(struct net_device *dev, ethtool_set_channels() 1207 static int ethtool_get_pauseparam(struct net_device *dev, void __user *useraddr) ethtool_get_pauseparam() 1221 static int ethtool_set_pauseparam(struct net_device *dev, void __user *useraddr) ethtool_set_pauseparam() 1234 static int ethtool_self_test(struct net_device *dev, char __user *useraddr) ethtool_self_test() 1272 static int ethtool_get_strings(struct net_device *dev, void __user *useraddr) ethtool_get_strings() 1306 static int ethtool_phys_id(struct net_device *dev, void __user *useraddr) ethtool_phys_id() 1366 static int ethtool_get_stats(struct net_device *dev, void __user *useraddr) ethtool_get_stats() 1404 static int ethtool_get_perm_addr(struct net_device *dev, void __user *useraddr) ethtool_get_perm_addr() 1423 static int ethtool_get_value(struct net_device *dev, char __user *useraddr, ethtool_get_value() 1424 u32 cmd, u32 (*actor)(struct net_device *)) ethtool_get_value() 1438 static int ethtool_set_value_void(struct net_device *dev, char __user *useraddr, ethtool_set_value_void() 1439 void (*actor)(struct net_device *, u32)) ethtool_set_value_void() 1453 static int ethtool_set_value(struct net_device *dev, char __user *useraddr, ethtool_set_value() 1454 int (*actor)(struct net_device *, u32)) ethtool_set_value() 1467 static noinline_for_stack int ethtool_flash_device(struct net_device *dev, ethtool_flash_device() 1483 static int ethtool_set_dump(struct net_device *dev, ethtool_set_dump() 1497 static int ethtool_get_dump_flag(struct net_device *dev, ethtool_get_dump_flag() 1519 static int ethtool_get_dump_data(struct net_device *dev, ethtool_get_dump_data() 1582 static int ethtool_get_ts_info(struct net_device *dev, void __user *useraddr) ethtool_get_ts_info() 1612 static int __ethtool_get_module_info(struct net_device *dev, __ethtool_get_module_info() 1627 static int ethtool_get_module_info(struct net_device *dev, ethtool_get_module_info() 1646 static int __ethtool_get_module_eeprom(struct net_device *dev, __ethtool_get_module_eeprom() 1661 static int ethtool_get_module_eeprom(struct net_device *dev, ethtool_get_module_eeprom() 1692 static int ethtool_get_tunable(struct net_device *dev, void __user *useraddr) ethtool_get_tunable() 1723 static int ethtool_set_tunable(struct net_device *dev, void __user *useraddr) ethtool_set_tunable() 1755 struct net_device *dev = __dev_get_by_name(net, ifr->ifr_name); dev_ethtool()
|
/linux-4.4.14/include/net/ |
H A 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 *); 51 int (*ieee_setmaxrate) (struct net_device *, struct ieee_maxrate *); 52 int (*ieee_getqcn) (struct net_device *, struct ieee_qcn *); 53 int (*ieee_setqcn) (struct net_device *, struct ieee_qcn *); 54 int (*ieee_getqcnstats) (struct net_device *, struct ieee_qcn_stats *); 55 int (*ieee_getpfc) (struct net_device *, struct ieee_pfc *); 56 int (*ieee_setpfc) (struct net_device *, struct ieee_pfc *); 57 int (*ieee_getapp) (struct net_device *, struct dcb_app *); 58 int (*ieee_setapp) (struct net_device *, struct dcb_app *); 59 int (*ieee_delapp) (struct net_device *, struct dcb_app *); 60 int (*ieee_peer_getets) (struct net_device *, struct ieee_ets *); 61 int (*ieee_peer_getpfc) (struct net_device *, struct ieee_pfc *); 64 u8 (*getstate)(struct net_device *); 65 u8 (*setstate)(struct net_device *, u8); 66 void (*getpermhwaddr)(struct net_device *, u8 *); 67 void (*setpgtccfgtx)(struct net_device *, int, u8, u8, u8, u8); 68 void (*setpgbwgcfgtx)(struct net_device *, int, u8); 69 void (*setpgtccfgrx)(struct net_device *, int, u8, u8, u8, u8); 70 void (*setpgbwgcfgrx)(struct net_device *, int, u8); 71 void (*getpgtccfgtx)(struct net_device *, int, u8 *, u8 *, u8 *, u8 *); 72 void (*getpgbwgcfgtx)(struct net_device *, int, u8 *); 73 void (*getpgtccfgrx)(struct net_device *, int, u8 *, u8 *, u8 *, u8 *); 74 void (*getpgbwgcfgrx)(struct net_device *, int, u8 *); 75 void (*setpfccfg)(struct net_device *, int, u8); 76 void (*getpfccfg)(struct net_device *, int, u8 *); 77 u8 (*setall)(struct net_device *); 78 u8 (*getcap)(struct net_device *, int, u8 *); 79 int (*getnumtcs)(struct net_device *, int, u8 *); 80 int (*setnumtcs)(struct net_device *, int, u8); 81 u8 (*getpfcstate)(struct net_device *); 82 void (*setpfcstate)(struct net_device *, u8); 83 void (*getbcncfg)(struct net_device *, int, u32 *); 84 void (*setbcncfg)(struct net_device *, int, u32); 85 void (*getbcnrp)(struct net_device *, int, u8 *); 86 void (*setbcnrp)(struct net_device *, int, u8); 87 int (*setapp)(struct net_device *, u8, u16, u8); 88 int (*getapp)(struct net_device *, u8, u16); 89 u8 (*getfeatcfg)(struct net_device *, int, u8 *); 90 u8 (*setfeatcfg)(struct net_device *, int, u8); 93 u8 (*getdcbx)(struct net_device *); 94 u8 (*setdcbx)(struct net_device *, u8); 97 int (*peer_getappinfo)(struct net_device *, struct dcb_peer_app_info *, 99 int (*peer_getapptable)(struct net_device *, struct dcb_app *); 102 int (*cee_peer_getpg) (struct net_device *, struct cee_pg *); 103 int (*cee_peer_getpfc) (struct net_device *, struct cee_pfc *);
|
H A D | psnap.h | 6 int (*rcvfunc)(struct sk_buff *, struct net_device *, 8 struct net_device *orig_dev));
|
H A D | p8022.h | 6 struct net_device *dev, 8 struct net_device *orig_dev));
|
H A 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, 51 int cfg80211_wext_giwretry(struct net_device *dev,
|
H A D | rtnetlink.h | 34 * @priv_size: sizeof net_device private space 35 * @setup: net_device setup function 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, 92 size_t (*get_slave_size)(const struct net_device *dev, 93 const struct net_device *slave_dev); 95 const struct net_device *dev, 96 const struct net_device *slave_dev); 97 struct net *(*get_link_net)(const struct net_device *dev); 118 * net_device accordingly. 125 const struct net_device *dev, 127 size_t (*get_link_af_size)(const struct net_device *dev, 130 int (*validate_link_af)(const struct net_device *dev, 132 int (*set_link_af)(struct net_device *dev, 142 struct net_device *rtnl_create_link(struct net *net, const char *ifname, 146 int rtnl_delete_link(struct net_device *dev); 147 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm);
|
H A D | switchdev.h | 133 int (*switchdev_port_attr_get)(struct net_device *dev, 135 int (*switchdev_port_attr_set)(struct net_device *dev, 138 int (*switchdev_port_obj_add)(struct net_device *dev, 141 int (*switchdev_port_obj_del)(struct net_device *dev, 143 int (*switchdev_port_obj_dump)(struct net_device *dev, 154 struct net_device *dev; 163 static inline struct net_device * switchdev_notifier_info_to_dev() 172 int switchdev_port_attr_get(struct net_device *dev, 174 int switchdev_port_attr_set(struct net_device *dev, 176 int switchdev_port_obj_add(struct net_device *dev, 178 int switchdev_port_obj_del(struct net_device *dev, 180 int switchdev_port_obj_dump(struct net_device *dev, struct switchdev_obj *obj, 184 int call_switchdev_notifiers(unsigned long val, struct net_device *dev, 187 struct net_device *dev, u32 filter_mask, 189 int switchdev_port_bridge_setlink(struct net_device *dev, 191 int switchdev_port_bridge_dellink(struct net_device *dev, 199 struct net_device *dev, const unsigned char *addr, 202 struct net_device *dev, const unsigned char *addr, 205 struct net_device *dev, 206 struct net_device *filter_dev, int idx); 207 void switchdev_port_fwd_mark_set(struct net_device *dev, 208 struct net_device *group_dev, 217 static inline int switchdev_port_attr_get(struct net_device *dev, switchdev_port_attr_get() 223 static inline int switchdev_port_attr_set(struct net_device *dev, switchdev_port_attr_set() 229 static inline int switchdev_port_obj_add(struct net_device *dev, switchdev_port_obj_add() 235 static inline int switchdev_port_obj_del(struct net_device *dev, switchdev_port_obj_del() 241 static inline int switchdev_port_obj_dump(struct net_device *dev, switchdev_port_obj_dump() 259 struct net_device *dev, call_switchdev_notifiers() 266 u32 seq, struct net_device *dev, switchdev_port_bridge_getlink() 272 static inline int switchdev_port_bridge_setlink(struct net_device *dev, switchdev_port_bridge_setlink() 279 static inline int switchdev_port_bridge_dellink(struct net_device *dev, switchdev_port_bridge_dellink() 306 struct net_device *dev, switchdev_port_fdb_add() 314 struct net_device *dev, switchdev_port_fdb_del() 322 struct net_device *dev, switchdev_port_fdb_dump() 323 struct net_device *filter_dev, switchdev_port_fdb_dump() 329 static inline void switchdev_port_fwd_mark_set(struct net_device *dev, switchdev_port_fwd_mark_set() 330 struct net_device *group_dev, switchdev_port_fwd_mark_set()
|
H A D | l3mdev.h | 27 u32 (*l3mdev_fib_table)(const struct net_device *dev); 30 struct rtable * (*l3mdev_get_rtable)(const struct net_device *dev, 32 int (*l3mdev_get_saddr)(struct net_device *dev, 36 struct dst_entry * (*l3mdev_get_rt6_dst)(const struct net_device *dev, 42 int l3mdev_master_ifindex_rcu(struct net_device *dev); l3mdev_master_ifindex() 43 static inline int l3mdev_master_ifindex(struct net_device *dev) l3mdev_master_ifindex() 58 static inline int l3mdev_fib_oif_rcu(struct net_device *dev) l3mdev_fib_oif_rcu() 63 static inline int l3mdev_fib_oif(struct net_device *dev) l3mdev_fib_oif() 74 u32 l3mdev_fib_table_rcu(const struct net_device *dev); 76 static inline u32 l3mdev_fib_table(const struct net_device *dev) l3mdev_fib_table() 87 static inline struct rtable *l3mdev_get_rtable(const struct net_device *dev, l3mdev_get_rtable() 98 struct net_device *dev; netif_index_is_l3_master() 118 struct net_device *dev; l3mdev_get_saddr() 137 static inline struct dst_entry *l3mdev_get_rt6_dst(const struct net_device *dev, l3mdev_get_rt6_dst() 151 struct net_device *dev; l3mdev_rt6_dst_by_oif() 164 static inline int l3mdev_master_ifindex_rcu(struct net_device *dev) l3mdev_master_ifindex_rcu() 168 static inline int l3mdev_master_ifindex(struct net_device *dev) l3mdev_master_ifindex() 173 static inline int l3mdev_fib_oif_rcu(struct net_device *dev) l3mdev_fib_oif_rcu() 177 static inline int l3mdev_fib_oif(struct net_device *dev) l3mdev_fib_oif() 182 static inline u32 l3mdev_fib_table_rcu(const struct net_device *dev) l3mdev_fib_table_rcu() 186 static inline u32 l3mdev_fib_table(const struct net_device *dev) l3mdev_fib_table() 195 static inline struct rtable *l3mdev_get_rtable(const struct net_device *dev, l3mdev_get_rtable() 213 struct dst_entry *l3mdev_get_rt6_dst(const struct net_device *dev, l3mdev_get_rt6_dst()
|
H A D | datalink.h | 11 int (*rcvfunc)(struct sk_buff *, struct net_device *, 12 struct packet_type *, struct net_device *);
|
H A D | arp.h | 12 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd) arp_hashfn() 20 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) __ipv4_neigh_lookup_noref() 25 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) __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,
|
H A D | stp.h | 7 struct net_device *);
|
H A D | x25device.h | 9 static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev) x25_type_trans()
|
H A D | ieee802154_netdev.h | 277 int (*get_params)(struct net_device *dev, 279 int (*set_params)(struct net_device *dev, 283 int (*add_key)(struct net_device *dev, 286 int (*del_key)(struct net_device *dev, 289 int (*add_dev)(struct net_device *dev, 291 int (*del_dev)(struct net_device *dev, __le64 dev_addr); 293 int (*add_devkey)(struct net_device *dev, 296 int (*del_devkey)(struct net_device *dev, 300 int (*add_seclevel)(struct net_device *dev, 302 int (*del_seclevel)(struct net_device *dev, 305 void (*lock_table)(struct net_device *dev); 306 void (*get_table)(struct net_device *dev, 308 void (*unlock_table)(struct net_device *dev); 311 * This should be located at net_device->ml_priv 319 int (*assoc_req)(struct net_device *dev, 322 int (*assoc_resp)(struct net_device *dev, 325 int (*disassoc_req)(struct net_device *dev, 328 int (*start_req)(struct net_device *dev, 332 int (*scan_req)(struct net_device *dev, 335 int (*set_mac_params)(struct net_device *dev, 337 void (*get_mac_params)(struct net_device *dev, 344 ieee802154_mlme_ops(const struct net_device *dev) ieee802154_mlme_ops()
|
H A D | garp.h | 100 struct net_device *dev; 118 int garp_init_applicant(struct net_device *dev, struct garp_application *app); 119 void garp_uninit_applicant(struct net_device *dev, 122 int garp_request_join(const struct net_device *dev, 125 void garp_request_leave(const struct net_device *dev,
|
H A 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,
|
H A D | ndisc.h | 58 struct net_device; 130 static inline int ndisc_opt_addr_space(struct net_device *dev) ndisc_opt_addr_space() 137 struct net_device *dev) ndisc_opt_addr_data() 147 static inline u32 ndisc_hashfn(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) ndisc_hashfn() 157 static inline struct neighbour *__ipv6_neigh_lookup_noref(struct net_device *dev, const void *pkey) __ipv6_neigh_lookup_noref() 162 static inline struct neighbour *__ipv6_neigh_lookup(struct net_device *dev, const void *pkey) __ipv6_neigh_lookup() 183 void ndisc_send_ns(struct net_device *dev, const struct in6_addr *solicit, 186 void ndisc_send_rs(struct net_device *dev, 188 void ndisc_send_na(struct net_device *dev, const struct in6_addr *daddr, 194 int ndisc_mc_map(const struct in6_addr *addr, char *buf, struct net_device *dev,
|
H A D | mrp.h | 113 struct net_device *dev; 132 int mrp_init_applicant(struct net_device *dev, struct mrp_application *app); 133 void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *app); 135 int mrp_request_join(const struct net_device *dev, 138 void mrp_request_leave(const struct net_device *dev,
|
H A D | addrconf.h | 64 const struct net_device *dev, int strict); 66 const struct net_device *dev, int strict, 75 struct net_device *dev); 77 int ipv6_chk_prefix(const struct in6_addr *addr, struct net_device *dev); 81 struct net_device *dev, int strict); 83 int ipv6_dev_get_saddr(struct net *net, const struct net_device *dev, 88 int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr, 91 void addrconf_join_solict(struct net_device *dev, const struct in6_addr *addr); 94 static inline int addrconf_ifid_eui48(u8 *eui, struct net_device *dev) addrconf_ifid_eui48() 167 int ipv6_dev_mc_inc(struct net_device *dev, const struct in6_addr *addr); 169 int ipv6_dev_mc_dec(struct net_device *dev, const struct in6_addr *addr); 179 bool ipv6_chk_mcast_addr(struct net_device *dev, const struct in6_addr *group, 195 void (*ndisc_send_na)(struct net_device *dev, const struct in6_addr *daddr, 227 void addrconf_prefix_rcv(struct net_device *dev, 242 bool ipv6_chk_acast_addr(struct net *net, struct net_device *dev, 244 bool ipv6_chk_acast_addr_src(struct net *net, struct net_device *dev, 262 static inline struct inet6_dev *__in6_dev_get(const struct net_device *dev) __in6_dev_get() 275 static inline struct inet6_dev *in6_dev_get(const struct net_device *dev) in6_dev_get() 287 static inline struct neigh_parms *__in6_dev_nd_parms_get_rcu(const struct net_device *dev) __in6_dev_nd_parms_get_rcu()
|
H A 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) dn_dev_islocal()
|
H A D | llc_sap.h | 18 struct net_device; 25 struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
|
H A D | neighbour.h | 70 struct net_device *dev; 156 struct net_device *dev; 171 struct net_device *dev; 196 const struct net_device *dev, 274 const struct net_device *dev, ___neigh_lookup_noref() 277 struct net_device *dev) ___neigh_lookup_noref() 296 struct net_device *dev) __neigh_lookup_noref() 304 struct net_device *dev); 308 struct net_device *dev, bool want_ref); neigh_create() 311 struct net_device *dev) neigh_create() 319 void neigh_changeaddr(struct neigh_table *tbl, struct net_device *dev); 320 int neigh_ifdown(struct neigh_table *tbl, struct net_device *dev); 326 struct net_device *dev); 328 struct neigh_parms *neigh_parms_alloc(struct net_device *dev, 343 const void *key, struct net_device *dev, 346 const void *key, struct net_device *dev); 348 struct net_device *dev); 360 int neigh_xmit(int fam, struct net_device *, const void *, struct sk_buff *); 390 int neigh_sysctl_register(struct net_device *dev, struct neigh_parms *p, 472 __neigh_lookup(struct neigh_table *tbl, const void *pkey, struct net_device *dev, int creat) __neigh_lookup() 485 struct net_device *dev) __neigh_lookup_errno() 505 const struct net_device *dev) neigh_ha_snapshot()
|
H A D | gre.h | 26 struct net_device *gretap_fb_dev_create(struct net *net, const char *name,
|
H A 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 *); 261 struct net_device *x25_dev_get(char *); 262 void x25_route_device_down(struct net_device *dev);
|
H A D | ax25.h | 190 struct net_device *dev; 218 struct net_device *dev; 219 struct net_device *forward; 279 static inline __be16 ax25_type_trans(struct sk_buff *skb, struct net_device *dev) ax25_type_trans() 291 struct sock *ax25_find_listener(ax25_address *, int, struct net_device *, int); 294 struct net_device *); 320 static inline ax25_dev *ax25_dev_ax25dev(struct net_device *dev) ax25_dev_ax25dev() 326 void ax25_dev_device_up(struct net_device *); 327 void ax25_dev_device_down(struct net_device *); 329 struct net_device *ax25_fwd_dev(struct net_device *); 371 int __must_check ax25_listen_register(ax25_address *, struct net_device *); 372 void ax25_listen_release(ax25_address *, struct net_device *); 374 int ax25_listen_mine(ax25_address *, struct net_device *); 380 int ax25_kiss_rcv(struct sk_buff *, struct net_device *, struct packet_type *, 381 struct net_device *); 389 ax25_digi *, struct net_device *); 393 void ax25_queue_xmit(struct sk_buff *skb, struct net_device *dev); 397 void ax25_rt_device_down(struct net_device *); 400 ax25_route *ax25_get_route(ax25_address *addr, struct net_device *dev); 430 void ax25_return_dm(struct net_device *, ax25_address *, ax25_address *,
|
/linux-4.4.14/drivers/net/wireless/ |
H A D | airo.h | 4 struct net_device *init_airo_card(unsigned short irq, int port, int is_pcmcia, 6 int reset_airo_card(struct net_device *dev); 7 void stop_airo_card(struct net_device *dev, int freeres);
|
H A D | atmel.h | 38 struct net_device *init_atmel_card(unsigned short, unsigned long, const AtmelFWType, struct device *, 40 void stop_atmel_card( struct net_device *); 41 int atmel_open( struct net_device * );
|
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_dev.h | 26 bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev); 27 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev); 28 bool rtl92e_is_tx_stuck(struct net_device *dev); 29 bool rtl92e_is_rx_stuck(struct net_device *dev); 30 void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb); 31 void rtl92e_enable_rx(struct net_device *dev); 32 void rtl92e_enable_tx(struct net_device *dev); 33 void rtl92e_enable_irq(struct net_device *dev); 34 void rtl92e_disable_irq(struct net_device *dev); 35 void rtl92e_clear_irq(struct net_device *dev); 36 void rtl92e_init_variables(struct net_device *dev); 37 void rtl92e_start_beacon(struct net_device *dev); 38 void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val); 39 void rtl92e_get_eeprom_size(struct net_device *dev); 40 bool rtl92e_start_adapter(struct net_device *dev); 41 void rtl92e_link_change(struct net_device *dev); 42 void rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA, 44 void rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc, 46 void rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry, 48 bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats, 50 void rtl92e_stop_adapter(struct net_device *dev, bool reset); 51 void rtl92e_update_ratr_table(struct net_device *dev);
|
H A D | r8192E_phy.h | 66 u8 rtl92e_is_legal_rf_path(struct net_device *dev, u32 eRFPath); 67 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, 69 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask); 70 void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, 72 u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, 74 void rtl92e_config_mac(struct net_device *dev); 75 bool rtl92e_check_bb_and_rf(struct net_device *dev, 78 bool rtl92e_config_bb(struct net_device *dev); 79 void rtl92e_get_tx_power(struct net_device *dev); 80 void rtl92e_set_tx_power(struct net_device *dev, u8 channel); 81 bool rtl92e_config_phy(struct net_device *dev); 82 u8 rtl92e_config_rf_path(struct net_device *dev, enum rf90_radio_path eRFPath); 84 u8 rtl92e_set_channel(struct net_device *dev, u8 channel); 85 void rtl92e_set_bw_mode(struct net_device *dev, 88 void rtl92e_init_gain(struct net_device *dev, u8 Operation); 90 void rtl92e_set_rf_off(struct net_device *dev); 92 bool rtl92e_set_rf_power_state(struct net_device *dev, 96 void rtl92e_scan_op_backup(struct net_device *dev, u8 Operation);
|
H A D | r8190P_rtl8256.h | 20 void rtl92e_set_bandwidth(struct net_device *dev, 22 bool rtl92e_config_rf(struct net_device *dev); 23 void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel); 24 void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel);
|
H A D | rtl_ps.h | 26 struct net_device; 30 void rtl92e_hw_wakeup(struct net_device *dev); 31 void rtl92e_enter_sleep(struct net_device *dev, u64 time); 32 void rtl92e_rtllib_ips_leave_wq(struct net_device *dev); 33 void rtl92e_rtllib_ips_leave(struct net_device *dev); 36 void rtl92e_ips_enter(struct net_device *dev); 37 void rtl92e_ips_leave(struct net_device *dev); 39 void rtl92e_leisure_ps_enter(struct net_device *dev); 40 void rtl92e_leisure_ps_leave(struct net_device *dev);
|
H A D | rtl_core.h | 287 void (*get_eeprom_size)(struct net_device *dev); 288 void (*init_adapter_variable)(struct net_device *dev); 289 void (*init_before_adapter_start)(struct net_device *dev); 290 bool (*initialize_adapter)(struct net_device *dev); 291 void (*link_change)(struct net_device *dev); 292 void (*tx_fill_descriptor)(struct net_device *dev, 296 void (*tx_fill_cmd_descriptor)(struct net_device *dev, 300 bool (*rx_query_status_descriptor)(struct net_device *dev, 304 bool (*rx_command_packet_handler)(struct net_device *dev, 307 void (*stop_adapter)(struct net_device *dev, bool reset); 308 void (*update_ratr_table)(struct net_device *dev); 309 void (*irq_enable)(struct net_device *dev); 310 void (*irq_disable)(struct net_device *dev); 311 void (*irq_clear)(struct net_device *dev); 312 void (*rx_enable)(struct net_device *dev); 313 void (*tx_enable)(struct net_device *dev); 314 void (*interrupt_recognized)(struct net_device *dev, 316 bool (*TxCheckStuckHandler)(struct net_device *dev); 317 bool (*RxCheckStuckHandler)(struct net_device *dev); 387 short (*rf_set_sens)(struct net_device *dev, short sens); 388 u8 (*rf_set_chan)(struct net_device *dev, u8 ch); 579 u8 rtl92e_readb(struct net_device *dev, int x); 580 u32 rtl92e_readl(struct net_device *dev, int x); 581 u16 rtl92e_readw(struct net_device *dev, int x); 582 void rtl92e_writeb(struct net_device *dev, int x, u8 y); 583 void rtl92e_writew(struct net_device *dev, int x, u16 y); 584 void rtl92e_writel(struct net_device *dev, int x, u32 y); 586 void force_pci_posting(struct net_device *dev); 588 void rtl92e_rx_enable(struct net_device *); 589 void rtl92e_tx_enable(struct net_device *); 592 void rtl92e_commit(struct net_device *dev); 598 void rtl92e_reset_desc_ring(struct net_device *dev); 599 void rtl92e_set_wireless_mode(struct net_device *dev, u8 wireless_mode); 600 void rtl92e_irq_enable(struct net_device *dev); 601 void rtl92e_config_rate(struct net_device *dev, u16 *rate_config); 602 void rtl92e_irq_disable(struct net_device *dev); 604 void rtl92e_update_rx_pkt_timestamp(struct net_device *dev, 613 bool rtl92e_enable_nic(struct net_device *dev); 614 bool rtl92e_disable_nic(struct net_device *dev); 616 bool rtl92e_set_rf_state(struct net_device *dev,
|
H A D | rtl_cam.h | 25 struct net_device; 27 void rtl92e_cam_reset(struct net_device *dev); 28 void rtl92e_enable_hw_security_config(struct net_device *dev); 29 void rtl92e_set_key(struct net_device *dev, u8 EntryNo, u8 KeyIndex, 32 void rtl92e_set_swcam(struct net_device *dev, u8 EntryNo, u8 KeyIndex, 35 void rtl92e_cam_restore(struct net_device *dev);
|
H A D | rtl_dm.h | 187 void rtl92e_dm_init(struct net_device *dev); 188 void rtl92e_dm_deinit(struct net_device *dev); 190 void rtl92e_dm_watchdog(struct net_device *dev); 193 void rtl92e_init_adaptive_rate(struct net_device *dev); 196 void rtl92e_dm_cck_txpower_adjust(struct net_device *dev, bool binch14); 198 void rtl92e_dm_restore_state(struct net_device *dev); 199 void rtl92e_dm_backup_state(struct net_device *dev); 200 void rtl92e_dm_init_edca_turbo(struct net_device *dev); 202 void rtl92e_dm_init_txpower_tracking(struct net_device *dev);
|
H A D | rtl_eeprom.c | 24 static void _rtl92e_gpio_write_bit(struct net_device *dev, int no, bool val) _rtl92e_gpio_write_bit() 37 static bool _rtl92e_gpio_get_bit(struct net_device *dev, int no) _rtl92e_gpio_get_bit() 44 static void _rtl92e_eeprom_ck_cycle(struct net_device *dev) _rtl92e_eeprom_ck_cycle() 50 static u16 _rtl92e_eeprom_xfer(struct net_device *dev, u16 data, int tx_len) _rtl92e_eeprom_xfer() 77 u32 rtl92e_eeprom_read(struct net_device *dev, u32 addr) rtl92e_eeprom_read()
|
H A D | rtl_ps.c | 29 static void _rtl92e_hw_sleep(struct net_device *dev) _rtl92e_hw_sleep() 51 struct net_device *dev = ieee->dev; rtl92e_hw_sleep_wq() 56 void rtl92e_hw_wakeup(struct net_device *dev) rtl92e_hw_wakeup() 80 struct net_device *dev = ieee->dev; rtl92e_hw_wakeup_wq() 87 void rtl92e_enter_sleep(struct net_device *dev, u64 time) rtl92e_enter_sleep() 121 static void _rtl92e_ps_update_rf_state(struct net_device *dev) _rtl92e_ps_update_rf_state() 138 void rtl92e_ips_enter(struct net_device *dev) rtl92e_ips_enter() 159 void rtl92e_ips_leave(struct net_device *dev) rtl92e_ips_leave() 182 struct net_device *dev = ieee->dev; rtl92e_ips_leave_wq() 190 void rtl92e_rtllib_ips_leave_wq(struct net_device *dev) rtl92e_rtllib_ips_leave_wq() 212 void rtl92e_rtllib_ips_leave(struct net_device *dev) rtl92e_rtllib_ips_leave() 221 static bool _rtl92e_ps_set_mode(struct net_device *dev, u8 rtPsMode) _rtl92e_ps_set_mode() 248 void rtl92e_leisure_ps_enter(struct net_device *dev) rtl92e_leisure_ps_enter() 287 void rtl92e_leisure_ps_leave(struct net_device *dev) rtl92e_leisure_ps_leave()
|
H A D | rtl_dm.c | 165 static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev); 167 static void _rtl92e_dm_init_bandwidth_autoswitch(struct net_device *dev); 168 static void _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev); 171 static void _rtl92e_dm_check_tx_power_tracking(struct net_device *dev); 173 static void _rtl92e_dm_bb_initialgain_restore(struct net_device *dev); 174 static void _rtl92e_dm_dig_init(struct net_device *dev); 175 static void _rtl92e_dm_ctrl_initgain_byrssi(struct net_device *dev); 176 static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev); 177 static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev); 178 static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev); 179 static void _rtl92e_dm_initial_gain(struct net_device *dev); 180 static void _rtl92e_dm_pd_th(struct net_device *dev); 181 static void _rtl92e_dm_cs_ratio(struct net_device *dev); 183 static void _rtl92e_dm_init_cts_to_self(struct net_device *dev); 184 static void _rtl92e_dm_init_wa_broadcom_iot(struct net_device *dev); 186 static void _rtl92e_dm_check_edca_turbo(struct net_device *dev); 187 static void _rtl92e_dm_check_rx_path_selection(struct net_device *dev); 188 static void _rtl92e_dm_init_rx_path_selection(struct net_device *dev); 189 static void _rtl92e_dm_rx_path_sel_byrssi(struct net_device *dev); 192 static void _rtl92e_dm_init_fsync(struct net_device *dev); 193 static void _rtl92e_dm_deinit_fsync(struct net_device *dev); 195 static void _rtl92e_dm_check_txrateandretrycount(struct net_device *dev); 196 static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev); 197 static void _rtl92e_dm_check_fsync(struct net_device *dev); 203 static void _rtl92e_dm_init_dynamic_tx_power(struct net_device *dev); 204 static void _rtl92e_dm_dynamic_tx_power(struct net_device *dev); 206 static void _rtl92e_dm_send_rssi_to_fw(struct net_device *dev); 207 static void _rtl92e_dm_cts_to_self(struct net_device *dev); 210 void rtl92e_dm_init(struct net_device *dev) rtl92e_dm_init() 235 void rtl92e_dm_deinit(struct net_device *dev) rtl92e_dm_deinit() 242 void rtl92e_dm_watchdog(struct net_device *dev) rtl92e_dm_watchdog() 268 static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev) _rtl92e_dm_check_ac_dc_power() 292 void rtl92e_init_adaptive_rate(struct net_device *dev) rtl92e_init_adaptive_rate() 333 static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev) _rtl92e_dm_check_rate_adaptive() 450 static void _rtl92e_dm_init_bandwidth_autoswitch(struct net_device *dev) _rtl92e_dm_init_bandwidth_autoswitch() 460 static void _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev) _rtl92e_dm_bandwidth_autoswitch() 536 static void _rtl92e_dm_tx_update_tssi_weak_signal(struct net_device *dev, _rtl92e_dm_tx_update_tssi_weak_signal() 585 static void _rtl92e_dm_tx_update_tssi_strong_signal(struct net_device *dev, _rtl92e_dm_tx_update_tssi_strong_signal() 626 static void _rtl92e_dm_tx_power_tracking_callback_tssi(struct net_device *dev) _rtl92e_dm_tx_power_tracking_callback_tssi() 832 static void _rtl92e_dm_tx_power_tracking_cb_thermal(struct net_device *dev) _rtl92e_dm_tx_power_tracking_cb_thermal() 939 struct net_device *dev = priv->rtllib->dev; rtl92e_dm_txpower_tracking_wq() 947 static void _rtl92e_dm_initialize_tx_power_tracking_tssi(struct net_device *dev) _rtl92e_dm_initialize_tx_power_tracking_tssi() 958 static void _rtl92e_dm_init_tx_power_tracking_thermal(struct net_device *dev) _rtl92e_dm_init_tx_power_tracking_thermal() 973 void rtl92e_dm_init_txpower_tracking(struct net_device *dev) rtl92e_dm_init_txpower_tracking() 983 static void _rtl92e_dm_check_tx_power_tracking_tssi(struct net_device *dev) _rtl92e_dm_check_tx_power_tracking_tssi() 1004 static void _rtl92e_dm_check_tx_power_tracking_thermal(struct net_device *dev) _rtl92e_dm_check_tx_power_tracking_thermal() 1036 static void _rtl92e_dm_check_tx_power_tracking(struct net_device *dev) _rtl92e_dm_check_tx_power_tracking() 1046 static void _rtl92e_dm_cck_tx_power_adjust_tssi(struct net_device *dev, _rtl92e_dm_cck_tx_power_adjust_tssi() 1085 static void _rtl92e_dm_cck_tx_power_adjust_thermal_meter(struct net_device *dev, _rtl92e_dm_cck_tx_power_adjust_thermal_meter() 1137 void rtl92e_dm_cck_txpower_adjust(struct net_device *dev, bool binch14) rtl92e_dm_cck_txpower_adjust() 1147 static void _rtl92e_dm_tx_power_reset_recovery(struct net_device *dev) _rtl92e_dm_tx_power_reset_recovery() 1179 void rtl92e_dm_restore_state(struct net_device *dev) rtl92e_dm_restore_state() 1208 static void _rtl92e_dm_bb_initialgain_restore(struct net_device *dev) _rtl92e_dm_bb_initialgain_restore() 1243 void rtl92e_dm_backup_state(struct net_device *dev) rtl92e_dm_backup_state() 1274 static void _rtl92e_dm_dig_init(struct net_device *dev) _rtl92e_dm_dig_init() 1304 static void _rtl92e_dm_ctrl_initgain_byrssi(struct net_device *dev) _rtl92e_dm_ctrl_initgain_byrssi() 1336 static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev) _rtl92e_dm_ctrl_initgain_byrssi_driver() 1370 static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev) _rtl92e_dm_ctrl_initgain_byrssi_false_alarm() 1458 static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev) _rtl92e_dm_ctrl_initgain_byrssi_highpwr() 1499 static void _rtl92e_dm_initial_gain(struct net_device *dev) _rtl92e_dm_initial_gain() 1556 static void _rtl92e_dm_pd_th(struct net_device *dev) _rtl92e_dm_pd_th() 1624 static void _rtl92e_dm_cs_ratio(struct net_device *dev) _rtl92e_dm_cs_ratio() 1668 void rtl92e_dm_init_edca_turbo(struct net_device *dev) rtl92e_dm_init_edca_turbo() 1677 static void _rtl92e_dm_check_edca_turbo(struct net_device *dev) _rtl92e_dm_check_edca_turbo() 1775 static void _rtl92e_dm_init_cts_to_self(struct net_device *dev) _rtl92e_dm_init_cts_to_self() 1777 struct r8192_priv *priv = rtllib_priv((struct net_device *)dev); _rtl92e_dm_init_cts_to_self() 1782 static void _rtl92e_dm_cts_to_self(struct net_device *dev) _rtl92e_dm_cts_to_self() 1784 struct r8192_priv *priv = rtllib_priv((struct net_device *)dev); _rtl92e_dm_cts_to_self() 1809 static void _rtl92e_dm_init_wa_broadcom_iot(struct net_device *dev) _rtl92e_dm_init_wa_broadcom_iot() 1811 struct r8192_priv *priv = rtllib_priv((struct net_device *)dev); _rtl92e_dm_init_wa_broadcom_iot() 1822 struct net_device *dev = priv->rtllib->dev; _rtl92e_dm_check_rf_ctrl_gpio() 1877 struct net_device *dev = priv->rtllib->dev; rtl92e_dm_rf_pathcheck_wq() 1894 static void _rtl92e_dm_init_rx_path_selection(struct net_device *dev) _rtl92e_dm_init_rx_path_selection() 1917 static void _rtl92e_dm_rx_path_sel_byrssi(struct net_device *dev) _rtl92e_dm_rx_path_sel_byrssi() 2120 static void _rtl92e_dm_check_rx_path_selection(struct net_device *dev) _rtl92e_dm_check_rx_path_selection() 2128 static void _rtl92e_dm_init_fsync(struct net_device *dev) _rtl92e_dm_init_fsync() 2147 static void _rtl92e_dm_deinit_fsync(struct net_device *dev) _rtl92e_dm_deinit_fsync() 2156 struct net_device *dev = (struct net_device *)data; _rtl92e_dm_fsync_timer_callback() 2157 struct r8192_priv *priv = rtllib_priv((struct net_device *)data); _rtl92e_dm_fsync_timer_callback() 2259 static void _rtl92e_dm_start_hw_fsync(struct net_device *dev) _rtl92e_dm_start_hw_fsync() 2271 static void _rtl92e_dm_end_hw_fsync(struct net_device *dev) _rtl92e_dm_end_hw_fsync() 2283 static void _rtl92e_dm_end_sw_fsync(struct net_device *dev) _rtl92e_dm_end_sw_fsync() 2302 static void _rtl92e_dm_start_sw_fsync(struct net_device *dev) _rtl92e_dm_start_sw_fsync() 2338 static void _rtl92e_dm_check_fsync(struct net_device *dev) _rtl92e_dm_check_fsync() 2462 static void _rtl92e_dm_init_dynamic_tx_power(struct net_device *dev) _rtl92e_dm_init_dynamic_tx_power() 2473 static void _rtl92e_dm_dynamic_tx_power(struct net_device *dev) _rtl92e_dm_dynamic_tx_power() 2526 static void _rtl92e_dm_check_txrateandretrycount(struct net_device *dev) _rtl92e_dm_check_txrateandretrycount() 2541 static void _rtl92e_dm_send_rssi_to_fw(struct net_device *dev) _rtl92e_dm_send_rssi_to_fw()
|
H A D | rtl_pci.h | 27 struct net_device; 28 bool rtl92e_check_adapter(struct pci_dev *pdev, struct net_device *dev);
|
H A D | r8192E_cmdpkt.h | 18 bool rtl92e_send_cmd_pkt(struct net_device *dev, u32 type, const void *data,
|
/linux-4.4.14/include/linux/ |
H A D | if_ltalk.h | 6 extern struct net_device *alloc_ltalkdev(int sizeof_priv);
|
H A 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); 52 extern int lapb_connect_request(struct net_device *dev); 53 extern int lapb_disconnect_request(struct net_device *dev); 54 extern int lapb_data_request(struct net_device *dev, struct sk_buff *skb); 55 extern int lapb_data_received(struct net_device *dev, struct sk_buff *skb);
|
H A 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); 60 int hdlc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); 64 void unregister_hdlc_device(struct net_device *dev); 70 struct net_device *alloc_hdlcdev(void *priv); 72 static inline struct hdlc_device* dev_to_hdlc(struct net_device *dev) dev_to_hdlc() 93 int hdlc_open(struct net_device *dev); 95 void hdlc_close(struct net_device *dev); 97 int hdlc_change_mtu(struct net_device *dev, int new_mtu); 99 netdev_tx_t hdlc_start_xmit(struct sk_buff *skb, struct net_device *dev); 101 int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto, 104 void detach_hdlc_protocol(struct net_device *dev); 107 struct net_device *dev) hdlc_type_trans()
|
H A 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);
|
H A D | of_net.h | 13 struct net_device; 16 extern struct net_device *of_find_net_device_by_node(struct device_node *np); 28 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) of_find_net_device_by_node()
|
H A 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; } netpoll_poll_enable() 54 static inline void netpoll_poll_enable(struct net_device *dev) { return; } netpoll_poll_enable() 60 int __netpoll_setup(struct netpoll *np, struct net_device *ndev); netpoll_poll_enable() 66 struct net_device *dev); netpoll_send_skb() 78 struct net_device *dev = napi->dev; netpoll_poll_lock() 98 static inline bool netpoll_tx_running(struct net_device *dev) netpoll_tx_running() 111 static inline void netpoll_netdev_init(struct net_device *dev) netpoll_netdev_init() 114 static inline bool netpoll_tx_running(struct net_device *dev) netpoll_tx_running()
|
H A 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); 214 * See &struct net_device and &struct net_device_ops for documentation 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 *); 224 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *); 225 u32 (*get_msglevel)(struct net_device *); 226 void (*set_msglevel)(struct net_device *, u32); 227 int (*nway_reset)(struct net_device *); 228 u32 (*get_link)(struct net_device *); 229 int (*get_eeprom_len)(struct net_device *); 230 int (*get_eeprom)(struct net_device *, 232 int (*set_eeprom)(struct net_device *, 234 int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *); 235 int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *); 236 void (*get_ringparam)(struct net_device *, 238 int (*set_ringparam)(struct net_device *, 240 void (*get_pauseparam)(struct net_device *, 242 int (*set_pauseparam)(struct net_device *, 244 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *); 245 void (*get_strings)(struct net_device *, u32 stringset, u8 *); 246 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state); 247 void (*get_ethtool_stats)(struct net_device *, 249 int (*begin)(struct net_device *); 250 void (*complete)(struct net_device *); 251 u32 (*get_priv_flags)(struct net_device *); 252 int (*set_priv_flags)(struct net_device *, u32); 253 int (*get_sset_count)(struct net_device *, int); 254 int (*get_rxnfc)(struct net_device *, 256 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *); 257 int (*flash_device)(struct net_device *, struct ethtool_flash *); 258 int (*reset)(struct net_device *, u32 *); 259 u32 (*get_rxfh_key_size)(struct net_device *); 260 u32 (*get_rxfh_indir_size)(struct net_device *); 261 int (*get_rxfh)(struct net_device *, u32 *indir, u8 *key, 263 int (*set_rxfh)(struct net_device *, const u32 *indir, 265 void (*get_channels)(struct net_device *, struct ethtool_channels *); 266 int (*set_channels)(struct net_device *, struct ethtool_channels *); 267 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *); 268 int (*get_dump_data)(struct net_device *, 270 int (*set_dump)(struct net_device *, struct ethtool_dump *); 271 int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *); 272 int (*get_module_info)(struct net_device *, 274 int (*get_module_eeprom)(struct net_device *, 276 int (*get_eee)(struct net_device *, struct ethtool_eee *); 277 int (*set_eee)(struct net_device *, struct ethtool_eee *); 278 int (*get_tunable)(struct net_device *, 280 int (*set_tunable)(struct net_device *,
|
H A 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 * macvlan_dev_real_dev() 100 macvlan_dev_real_dev(const struct net_device *dev) macvlan_dev_real_dev() 107 static inline struct net_device * macvlan_dev_real_dev() 108 macvlan_dev_real_dev(const struct net_device *dev) macvlan_dev_real_dev()
|
H A D | netdevice.h | 64 void netdev_set_default_ethtool_ops(struct net_device *dev, 260 int (*create) (struct sk_buff *skb, struct net_device *dev, 266 const struct net_device *dev, 317 struct net_device *dev; 354 * Currently, a net_device can only have a single rx_handler registered. Trying 357 * To register a rx_handler on a net_device, use netdev_rx_handler_register(). 358 * To unregister a rx_handler on a net_device, use 369 * net_device, it should return RX_HANDLER_ANOTHER. The rx_handler for the 562 struct net_device *dev; 684 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id, 696 struct net_device *dev; 778 typedef u16 (*select_queue_fallback_t)(struct net_device *dev, 786 * int (*ndo_init)(struct net_device *dev); 792 * void (*ndo_uninit)(struct net_device *dev); 796 * int (*ndo_open)(struct net_device *dev); 800 * int (*ndo_stop)(struct net_device *dev); 805 * struct net_device *dev); 814 * u16 (*ndo_select_queue)(struct net_device *dev, struct sk_buff *skb, 819 * void (*ndo_change_rx_flags)(struct net_device *dev, int flags); 823 * void (*ndo_set_rx_mode)(struct net_device *dev); 828 * int (*ndo_set_mac_address)(struct net_device *dev, void *addr); 833 * int (*ndo_validate_addr)(struct net_device *dev); 836 * int (*ndo_do_ioctl)(struct net_device *dev, struct ifreq *ifr, int cmd); 841 * int (*ndo_set_config)(struct net_device *dev, struct ifmap *map); 846 * int (*ndo_change_mtu)(struct net_device *dev, int new_mtu); 851 * void (*ndo_tx_timeout)(struct net_device *dev); 855 * struct rtnl_link_stats64* (*ndo_get_stats64)(struct net_device *dev, 857 * struct net_device_stats* (*ndo_get_stats)(struct net_device *dev); 869 * int (*ndo_vlan_rx_add_vid)(struct net_device *dev, __be16 proto, u16 vid); 873 * int (*ndo_vlan_rx_kill_vid)(struct net_device *dev, __be16 proto, u16 vid); 877 * void (*ndo_poll_controller)(struct net_device *dev); 880 * int (*ndo_set_vf_mac)(struct net_device *dev, int vf, u8* mac); 881 * int (*ndo_set_vf_vlan)(struct net_device *dev, int vf, u16 vlan, u8 qos); 882 * int (*ndo_set_vf_rate)(struct net_device *dev, int vf, int min_tx_rate, 884 * int (*ndo_set_vf_spoofchk)(struct net_device *dev, int vf, bool setting); 885 * int (*ndo_set_vf_trust)(struct net_device *dev, int vf, bool setting); 886 * int (*ndo_get_vf_config)(struct net_device *dev, 888 * int (*ndo_set_vf_link_state)(struct net_device *dev, int vf, int link_state); 889 * int (*ndo_set_vf_port)(struct net_device *dev, int vf, 895 * int (*ndo_set_vf_rss_query_en)(struct net_device *dev, int vf, bool setting); 896 * int (*ndo_get_vf_port)(struct net_device *dev, int vf, struct sk_buff *skb); 897 * int (*ndo_setup_tc)(struct net_device *dev, u8 tc) 904 * int (*ndo_fcoe_enable)(struct net_device *dev); 909 * int (*ndo_fcoe_disable)(struct net_device *dev); 914 * int (*ndo_fcoe_ddp_setup)(struct net_device *dev, u16 xid, 921 * int (*ndo_fcoe_ddp_done)(struct net_device *dev, u16 xid); 926 * int (*ndo_fcoe_ddp_target)(struct net_device *dev, u16 xid, 933 * int (*ndo_fcoe_get_hbainfo)(struct net_device *dev, 940 * int (*ndo_fcoe_get_wwn)(struct net_device *dev, u64 *wwn, int type); 947 * int (*ndo_rx_flow_steer)(struct net_device *dev, const struct sk_buff *skb, 954 * int (*ndo_add_slave)(struct net_device *dev, struct net_device *slave_dev); 957 * int (*ndo_del_slave)(struct net_device *dev, struct net_device *slave_dev); 961 * netdev_features_t (*ndo_fix_features)(struct net_device *dev, 967 * int (*ndo_set_features)(struct net_device *dev, netdev_features_t features); 973 * struct net_device *dev, 977 * struct net_device *dev, 981 * struct net_device *dev, struct net_device *filter_dev, 986 * int (*ndo_bridge_setlink)(struct net_device *dev, struct nlmsghdr *nlh, 989 * struct net_device *dev, u32 filter_mask, 991 * int (*ndo_bridge_dellink)(struct net_device *dev, struct nlmsghdr *nlh, 994 * int (*ndo_change_carrier)(struct net_device *dev, bool new_carrier); 1002 * int (*ndo_get_phys_port_id)(struct net_device *dev, 1008 * void (*ndo_add_vxlan_port)(struct net_device *dev, 1015 * void (*ndo_del_vxlan_port)(struct net_device *dev, 1021 * void* (*ndo_dfwd_add_station)(struct net_device *pdev, 1022 * struct net_device *dev) 1028 * void (*ndo_dfwd_del_station)(struct net_device *pdev, void *priv) 1034 * struct net_device *dev, 1040 * struct net_device *dev 1048 * int (*ndo_set_tx_maxrate)(struct net_device *dev, 1052 * int (*ndo_get_iflink)(const struct net_device *dev); 1054 * void (*ndo_change_proto_down)(struct net_device *dev, 1059 * int (*ndo_fill_metadata_dst)(struct net_device *dev, struct sk_buff *skb); 1066 int (*ndo_init)(struct net_device *dev); 1067 void (*ndo_uninit)(struct net_device *dev); 1068 int (*ndo_open)(struct net_device *dev); 1069 int (*ndo_stop)(struct net_device *dev); 1071 struct net_device *dev); 1072 u16 (*ndo_select_queue)(struct net_device *dev, 1076 void (*ndo_change_rx_flags)(struct net_device *dev, 1078 void (*ndo_set_rx_mode)(struct net_device *dev); 1079 int (*ndo_set_mac_address)(struct net_device *dev, 1081 int (*ndo_validate_addr)(struct net_device *dev); 1082 int (*ndo_do_ioctl)(struct net_device *dev, 1084 int (*ndo_set_config)(struct net_device *dev, 1086 int (*ndo_change_mtu)(struct net_device *dev, 1088 int (*ndo_neigh_setup)(struct net_device *dev, 1090 void (*ndo_tx_timeout) (struct net_device *dev); 1092 struct rtnl_link_stats64* (*ndo_get_stats64)(struct net_device *dev, 1094 struct net_device_stats* (*ndo_get_stats)(struct net_device *dev); 1096 int (*ndo_vlan_rx_add_vid)(struct net_device *dev, 1098 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev, 1101 void (*ndo_poll_controller)(struct net_device *dev); 1102 int (*ndo_netpoll_setup)(struct net_device *dev, 1104 void (*ndo_netpoll_cleanup)(struct net_device *dev); 1109 int (*ndo_set_vf_mac)(struct net_device *dev, 1111 int (*ndo_set_vf_vlan)(struct net_device *dev, 1113 int (*ndo_set_vf_rate)(struct net_device *dev, 1116 int (*ndo_set_vf_spoofchk)(struct net_device *dev, 1118 int (*ndo_set_vf_trust)(struct net_device *dev, 1120 int (*ndo_get_vf_config)(struct net_device *dev, 1123 int (*ndo_set_vf_link_state)(struct net_device *dev, 1125 int (*ndo_get_vf_stats)(struct net_device *dev, 1129 int (*ndo_set_vf_port)(struct net_device *dev, 1132 int (*ndo_get_vf_port)(struct net_device *dev, 1135 struct net_device *dev, 1137 int (*ndo_setup_tc)(struct net_device *dev, u8 tc); 1139 int (*ndo_fcoe_enable)(struct net_device *dev); 1140 int (*ndo_fcoe_disable)(struct net_device *dev); 1141 int (*ndo_fcoe_ddp_setup)(struct net_device *dev, 1145 int (*ndo_fcoe_ddp_done)(struct net_device *dev, 1147 int (*ndo_fcoe_ddp_target)(struct net_device *dev, 1151 int (*ndo_fcoe_get_hbainfo)(struct net_device *dev, 1158 int (*ndo_fcoe_get_wwn)(struct net_device *dev, 1163 int (*ndo_rx_flow_steer)(struct net_device *dev, 1168 int (*ndo_add_slave)(struct net_device *dev, 1169 struct net_device *slave_dev); 1170 int (*ndo_del_slave)(struct net_device *dev, 1171 struct net_device *slave_dev); 1172 netdev_features_t (*ndo_fix_features)(struct net_device *dev, 1174 int (*ndo_set_features)(struct net_device *dev, 1181 struct net_device *dev, 1187 struct net_device *dev, 1192 struct net_device *dev, 1193 struct net_device *filter_dev, 1196 int (*ndo_bridge_setlink)(struct net_device *dev, 1201 struct net_device *dev, 1204 int (*ndo_bridge_dellink)(struct net_device *dev, 1207 int (*ndo_change_carrier)(struct net_device *dev, 1209 int (*ndo_get_phys_port_id)(struct net_device *dev, 1211 int (*ndo_get_phys_port_name)(struct net_device *dev, 1213 void (*ndo_add_vxlan_port)(struct net_device *dev, 1216 void (*ndo_del_vxlan_port)(struct net_device *dev, 1220 void* (*ndo_dfwd_add_station)(struct net_device *pdev, 1221 struct net_device *dev); 1222 void (*ndo_dfwd_del_station)(struct net_device *pdev, 1226 struct net_device *dev, 1228 int (*ndo_get_lock_subclass)(struct net_device *dev); 1230 struct net_device *dev, 1232 int (*ndo_set_tx_maxrate)(struct net_device *dev, 1235 int (*ndo_get_iflink)(const struct net_device *dev); 1236 int (*ndo_change_proto_down)(struct net_device *dev, 1238 int (*ndo_fill_metadata_dst)(struct net_device *dev, 1243 * enum net_device_priv_flags - &struct net_device priv_flags 1245 * These are the &struct net_device, they are only set internally 1329 * struct net_device - The DEVICE structure. 1534 * FIXME: cleanup struct net_device such that network protocol info 1538 struct net_device { struct 1754 void (*destructor)(struct net_device *dev); 1803 #define to_net_dev(d) container_of(d, struct net_device, dev) 1808 int netdev_get_prio_tc_map(const struct net_device *dev, u32 prio) netdev_get_prio_tc_map() 1814 int netdev_set_prio_tc_map(struct net_device *dev, u8 prio, u8 tc) netdev_set_prio_tc_map() 1824 void netdev_reset_tc(struct net_device *dev) netdev_reset_tc() 1832 int netdev_set_tc_queue(struct net_device *dev, u8 tc, u16 count, u16 offset) netdev_set_tc_queue() 1843 int netdev_set_num_tc(struct net_device *dev, u8 num_tc) netdev_set_num_tc() 1853 int netdev_get_num_tc(struct net_device *dev) netdev_get_num_tc() 1859 struct netdev_queue *netdev_get_tx_queue(const struct net_device *dev, netdev_get_tx_queue() 1865 static inline struct netdev_queue *skb_get_tx_queue(const struct net_device *dev, skb_get_tx_queue() 1871 static inline void netdev_for_each_tx_queue(struct net_device *dev, netdev_for_each_tx_queue() 1872 void (*f)(struct net_device *, netdev_for_each_tx_queue() 1883 struct netdev_queue *netdev_pick_tx(struct net_device *dev, 1891 struct net *dev_net(const struct net_device *dev) dev_net() 1897 void dev_net_set(struct net_device *dev, struct net *net) dev_net_set() 1902 static inline bool netdev_uses_dsa(struct net_device *dev) netdev_uses_dsa() 1917 static inline void *netdev_priv(const struct net_device *dev) netdev_priv() 1919 return (char *)dev + ALIGN(sizeof(struct net_device), NETDEV_ALIGN); netdev_priv() 1948 void netif_napi_add(struct net_device *dev, struct napi_struct *napi, 2020 struct net_device *dev; /* NULL is wildcarded here */ 2022 struct net_device *, 2024 struct net_device *); 2129 struct net_device *dev; 2139 struct net_device *upper_dev; /* new upper dev */ 2145 struct net_device *dev) netdev_notifier_info_init() 2150 static inline struct net_device * netdev_notifier_info_to_dev() 2156 int call_netdevice_notifiers(unsigned long val, struct net_device *dev); 2176 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list) 2178 static inline struct net_device *next_net_device(struct net_device *dev) next_net_device() 2188 static inline struct net_device *next_net_device_rcu(struct net_device *dev) next_net_device_rcu() 2198 static inline struct net_device *first_net_device(struct net *net) first_net_device() 2204 static inline struct net_device *first_net_device_rcu(struct net *net) first_net_device_rcu() 2211 int netdev_boot_setup_check(struct net_device *dev); 2213 struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type, 2215 struct net_device *dev_getfirstbyhwtype(struct net *net, unsigned short type); 2216 struct net_device *__dev_getfirstbyhwtype(struct net *net, unsigned short type); 2223 int dev_get_iflink(const struct net_device *dev); 2224 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb); 2225 struct net_device *__dev_get_by_flags(struct net *net, unsigned short flags, 2227 struct net_device *dev_get_by_name(struct net *net, const char *name); 2228 struct net_device *dev_get_by_name_rcu(struct net *net, const char *name); 2229 struct net_device *__dev_get_by_name(struct net *net, const char *name); 2230 int dev_alloc_name(struct net_device *dev, const char *name); 2231 int dev_open(struct net_device *dev); 2232 int dev_close(struct net_device *dev); 2234 void dev_disable_lro(struct net_device *dev); 2238 int register_netdevice(struct net_device *dev); 2239 void unregister_netdevice_queue(struct net_device *dev, struct list_head *head); 2241 static inline void unregister_netdevice(struct net_device *dev) unregister_netdevice() 2246 int netdev_refcnt_read(const struct net_device *dev); 2247 void free_netdev(struct net_device *dev); 2248 void netdev_freemem(struct net_device *dev); 2250 int init_dummy_netdev(struct net_device *dev); 2258 struct net_device *dev_get_by_index(struct net *net, int ifindex); 2259 struct net_device *__dev_get_by_index(struct net *net, int ifindex); 2260 struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex); 2262 int dev_restart(struct net_device *dev); 2475 static inline int dev_hard_header(struct sk_buff *skb, struct net_device *dev, dev_hard_header() 2489 const struct net_device *dev = skb->dev; dev_parse_header() 2497 static inline bool dev_validate_header(const struct net_device *dev, dev_validate_header() 2514 typedef int gifconf_func_t(struct net_device * dev, char __user * bufptr, int len); 2590 static inline void netif_tx_schedule_all(struct net_device *dev) netif_tx_schedule_all() 2609 static inline void netif_start_queue(struct net_device *dev) netif_start_queue() 2614 static inline void netif_tx_start_all_queues(struct net_device *dev) netif_tx_start_all_queues() 2633 static inline void netif_wake_queue(struct net_device *dev) netif_wake_queue() 2638 static inline void netif_tx_wake_all_queues(struct net_device *dev) netif_tx_wake_all_queues() 2660 static inline void netif_stop_queue(struct net_device *dev) netif_stop_queue() 2665 void netif_tx_stop_all_queues(struct net_device *dev); 2678 static inline bool netif_queue_stopped(const struct net_device *dev) netif_queue_stopped() 2761 static inline void netdev_sent_queue(struct net_device *dev, unsigned int bytes) netdev_sent_queue() 2800 static inline void netdev_completed_queue(struct net_device *dev, netdev_completed_queue() 2821 static inline void netdev_reset_queue(struct net_device *dev_queue) netdev_reset_queue() 2834 static inline u16 netdev_cap_txqueue(struct net_device *dev, u16 queue_index) netdev_cap_txqueue() 2852 static inline bool netif_running(const struct net_device *dev) netif_running() 2871 static inline void netif_start_subqueue(struct net_device *dev, u16 queue_index) netif_start_subqueue() 2885 static inline void netif_stop_subqueue(struct net_device *dev, u16 queue_index) netif_stop_subqueue() 2898 static inline bool __netif_subqueue_stopped(const struct net_device *dev, __netif_subqueue_stopped() 2906 static inline bool netif_subqueue_stopped(const struct net_device *dev, netif_subqueue_stopped() 2912 void netif_wake_subqueue(struct net_device *dev, u16 queue_index); 2915 int netif_set_xps_queue(struct net_device *dev, const struct cpumask *mask, 2918 static inline int netif_set_xps_queue(struct net_device *dev, netif_set_xps_queue() 2926 u16 __skb_tx_hash(const struct net_device *dev, struct sk_buff *skb, 2933 static inline u16 skb_tx_hash(const struct net_device *dev, skb_tx_hash() 2945 static inline bool netif_is_multiqueue(const struct net_device *dev) netif_is_multiqueue() 2950 int netif_set_real_num_tx_queues(struct net_device *dev, unsigned int txq); 2953 int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq); 2955 static inline int netif_set_real_num_rx_queues(struct net_device *dev, netif_set_real_num_rx_queues() 2966 struct net_device *dev = queue->dev; get_netdev_rx_queue_index() 3040 int netdev_rx_handler_register(struct net_device *dev, 3043 void netdev_rx_handler_unregister(struct net_device *dev); 3048 unsigned int dev_get_flags(const struct net_device *); 3049 int __dev_change_flags(struct net_device *, unsigned int flags); 3050 int dev_change_flags(struct net_device *, unsigned int); 3051 void __dev_notify_flags(struct net_device *, unsigned int old_flags, 3053 int dev_change_name(struct net_device *, const char *); 3054 int dev_set_alias(struct net_device *, const char *, size_t); 3055 int dev_change_net_namespace(struct net_device *, struct net *, const char *); 3056 int dev_set_mtu(struct net_device *, int); 3057 void dev_set_group(struct net_device *, int); 3058 int dev_set_mac_address(struct net_device *, struct sockaddr *); 3059 int dev_change_carrier(struct net_device *, bool new_carrier); 3060 int dev_get_phys_port_id(struct net_device *dev, 3062 int dev_get_phys_port_name(struct net_device *dev, 3064 int dev_change_proto_down(struct net_device *dev, bool proto_down); 3065 struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev); 3066 struct sk_buff *dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev, 3068 int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb); 3069 int dev_forward_skb(struct net_device *dev, struct sk_buff *skb); 3070 bool is_skb_forwardable(struct net_device *dev, struct sk_buff *skb); 3083 static inline void dev_put(struct net_device *dev) dev_put() 3094 static inline void dev_hold(struct net_device *dev) dev_hold() 3108 void linkwatch_init_dev(struct net_device *dev); 3109 void linkwatch_fire_event(struct net_device *dev); 3110 void linkwatch_forget_dev(struct net_device *dev); 3118 static inline bool netif_carrier_ok(const struct net_device *dev) netif_carrier_ok() 3123 unsigned long dev_trans_start(struct net_device *dev); 3125 void __netdev_watchdog_up(struct net_device *dev); 3127 void netif_carrier_on(struct net_device *dev); 3129 void netif_carrier_off(struct net_device *dev); 3144 static inline void netif_dormant_on(struct net_device *dev) netif_dormant_on() 3156 static inline void netif_dormant_off(struct net_device *dev) netif_dormant_off() 3168 static inline bool netif_dormant(const struct net_device *dev) netif_dormant() 3180 static inline bool netif_oper_up(const struct net_device *dev) netif_oper_up() 3192 static inline bool netif_device_present(struct net_device *dev) netif_device_present() 3197 void netif_device_detach(struct net_device *dev); 3199 void netif_device_attach(struct net_device *dev); 3294 static inline void netif_tx_lock(struct net_device *dev) netif_tx_lock() 3316 static inline void netif_tx_lock_bh(struct net_device *dev) netif_tx_lock_bh() 3322 static inline void netif_tx_unlock(struct net_device *dev) netif_tx_unlock() 3339 static inline void netif_tx_unlock_bh(struct net_device *dev) netif_tx_unlock_bh() 3362 static inline void netif_tx_disable(struct net_device *dev) netif_tx_disable() 3379 static inline void netif_addr_lock(struct net_device *dev) netif_addr_lock() 3384 static inline void netif_addr_lock_nested(struct net_device *dev) netif_addr_lock_nested() 3394 static inline void netif_addr_lock_bh(struct net_device *dev) netif_addr_lock_bh() 3399 static inline void netif_addr_unlock(struct net_device *dev) netif_addr_unlock() 3404 static inline void netif_addr_unlock_bh(struct net_device *dev) netif_addr_unlock_bh() 3418 void ether_setup(struct net_device *dev); 3421 struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name, 3423 void (*setup)(struct net_device *), 3432 int register_netdev(struct net_device *dev); 3433 void unregister_netdev(struct net_device *dev); 3441 struct net_device *dev, 3442 int (*sync)(struct net_device *, const unsigned char *), 3443 int (*unsync)(struct net_device *, 3446 struct net_device *dev, 3447 int (*unsync)(struct net_device *, 3452 int dev_addr_add(struct net_device *dev, const unsigned char *addr, 3454 int dev_addr_del(struct net_device *dev, const unsigned char *addr, 3456 void dev_addr_flush(struct net_device *dev); 3457 int dev_addr_init(struct net_device *dev); 3460 int dev_uc_add(struct net_device *dev, const unsigned char *addr); 3461 int dev_uc_add_excl(struct net_device *dev, const unsigned char *addr); 3462 int dev_uc_del(struct net_device *dev, const unsigned char *addr); 3463 int dev_uc_sync(struct net_device *to, struct net_device *from); 3464 int dev_uc_sync_multiple(struct net_device *to, struct net_device *from); 3465 void dev_uc_unsync(struct net_device *to, struct net_device *from); 3466 void dev_uc_flush(struct net_device *dev); 3467 void dev_uc_init(struct net_device *dev); 3478 static inline int __dev_uc_sync(struct net_device *dev, __dev_uc_sync() 3479 int (*sync)(struct net_device *, __dev_uc_sync() 3481 int (*unsync)(struct net_device *, __dev_uc_sync() 3494 static inline void __dev_uc_unsync(struct net_device *dev, __dev_uc_unsync() 3495 int (*unsync)(struct net_device *, __dev_uc_unsync() 3502 int dev_mc_add(struct net_device *dev, const unsigned char *addr); 3503 int dev_mc_add_global(struct net_device *dev, const unsigned char *addr); 3504 int dev_mc_add_excl(struct net_device *dev, const unsigned char *addr); 3505 int dev_mc_del(struct net_device *dev, const unsigned char *addr); 3506 int dev_mc_del_global(struct net_device *dev, const unsigned char *addr); 3507 int dev_mc_sync(struct net_device *to, struct net_device *from); 3508 int dev_mc_sync_multiple(struct net_device *to, struct net_device *from); 3509 void dev_mc_unsync(struct net_device *to, struct net_device *from); 3510 void dev_mc_flush(struct net_device *dev); 3511 void dev_mc_init(struct net_device *dev); 3522 static inline int __dev_mc_sync(struct net_device *dev, __dev_mc_sync() 3523 int (*sync)(struct net_device *, __dev_mc_sync() 3525 int (*unsync)(struct net_device *, __dev_mc_sync() 3538 static inline void __dev_mc_unsync(struct net_device *dev, __dev_mc_unsync() 3539 int (*unsync)(struct net_device *, __dev_mc_unsync() 3546 void dev_set_rx_mode(struct net_device *dev); 3547 void __dev_set_rx_mode(struct net_device *dev); 3548 int dev_set_promiscuity(struct net_device *dev, int inc); 3549 int dev_set_allmulti(struct net_device *dev, int inc); 3550 void netdev_state_change(struct net_device *dev); 3551 void netdev_notify_peers(struct net_device *dev); 3552 void netdev_features_change(struct net_device *dev); 3555 struct rtnl_link_stats64 *dev_get_stats(struct net_device *dev, 3565 bool netdev_has_upper_dev(struct net_device *dev, struct net_device *upper_dev); 3566 struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, 3568 struct net_device *netdev_all_upper_get_next_dev_rcu(struct net_device *dev, 3585 void *netdev_lower_get_next_private(struct net_device *dev, 3587 void *netdev_lower_get_next_private_rcu(struct net_device *dev, 3602 void *netdev_lower_get_next(struct net_device *dev, 3611 void *netdev_lower_get_first_private_rcu(struct net_device *dev); 3612 struct net_device *netdev_master_upper_dev_get(struct net_device *dev); 3613 struct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev); 3614 int netdev_upper_dev_link(struct net_device *dev, struct net_device *upper_dev); 3615 int netdev_master_upper_dev_link(struct net_device *dev, 3616 struct net_device *upper_dev); 3617 int netdev_master_upper_dev_link_private(struct net_device *dev, 3618 struct net_device *upper_dev, 3620 void netdev_upper_dev_unlink(struct net_device *dev, 3621 struct net_device *upper_dev); 3622 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname); 3623 void *netdev_lower_dev_get_private(struct net_device *dev, 3624 struct net_device *lower_dev); 3631 int dev_get_nest_level(struct net_device *dev, 3632 bool (*type_check)(struct net_device *dev)); 3649 void netdev_bonding_info_change(struct net_device *dev, 3672 void netdev_rx_csum_fault(struct net_device *dev); 3674 static inline void netdev_rx_csum_fault(struct net_device *dev) netdev_rx_csum_fault() 3689 struct sk_buff *skb, struct net_device *dev, __netdev_start_xmit() 3696 static inline netdev_tx_t netdev_start_xmit(struct sk_buff *skb, struct net_device *dev, netdev_start_xmit() 3726 const char *netdev_drivername(const struct net_device *dev); 3745 struct net_device *dev) netdev_get_wanted_features() 3762 int __netdev_update_features(struct net_device *dev); 3763 void netdev_update_features(struct net_device *dev); 3764 void netdev_change_features(struct net_device *dev); 3766 void netif_stacked_transfer_operstate(const struct net_device *rootdev, 3767 struct net_device *dev); 3770 struct net_device *dev, 3810 static inline void netif_set_gso_max_size(struct net_device *dev, netif_set_gso_max_size() 3829 static inline bool netif_is_macvlan(struct net_device *dev) netif_is_macvlan() 3834 static inline bool netif_is_macvlan_port(struct net_device *dev) netif_is_macvlan_port() 3839 static inline bool netif_is_ipvlan(struct net_device *dev) netif_is_ipvlan() 3844 static inline bool netif_is_ipvlan_port(struct net_device *dev) netif_is_ipvlan_port() 3849 static inline bool netif_is_bond_master(struct net_device *dev) netif_is_bond_master() 3854 static inline bool netif_is_bond_slave(struct net_device *dev) netif_is_bond_slave() 3859 static inline bool netif_supports_nofcs(struct net_device *dev) netif_supports_nofcs() 3864 static inline bool netif_is_l3_master(const struct net_device *dev) netif_is_l3_master() 3869 static inline bool netif_is_l3_slave(const struct net_device *dev) netif_is_l3_slave() 3874 static inline bool netif_is_bridge_master(const struct net_device *dev) netif_is_bridge_master() 3879 static inline bool netif_is_bridge_port(const struct net_device *dev) netif_is_bridge_port() 3884 static inline bool netif_is_ovs_master(const struct net_device *dev) netif_is_ovs_master() 3890 static inline void netif_keep_dst(struct net_device *dev) netif_keep_dst() 3901 static inline const char *netdev_name(const struct net_device *dev) netdev_name() 3904 return "(unnamed net_device)"; netdev_name() 3908 static inline const char *netdev_reg_state(const struct net_device *dev) netdev_reg_state() 3924 void netdev_printk(const char *level, const struct net_device *dev, 3927 void netdev_emerg(const struct net_device *dev, const char *format, ...); 3929 void netdev_alert(const struct net_device *dev, const char *format, ...); 3931 void netdev_crit(const struct net_device *dev, const char *format, ...); 3933 void netdev_err(const struct net_device *dev, const char *format, ...); 3935 void netdev_warn(const struct net_device *dev, const char *format, ...); 3937 void netdev_notice(const struct net_device *dev, const char *format, ...); 3939 void netdev_info(const struct net_device *dev, const char *format, ...);
|
H A 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) dev_ingress_queue() 80 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev); 100 struct net_device *dev, 101 struct net_device *filter_dev, 105 struct net_device *dev, 111 struct net_device *dev, 116 struct net_device *dev, u16 mode, 120 struct net_device *dev,
|
H A 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, of_phy_connect() 47 void (*hndlr)(struct net_device *), of_phy_connect() 53 static inline struct phy_device *of_phy_attach(struct net_device *dev, of_phy_attach()
|
H A D | if_bridge.h | 57 int br_multicast_list_adjacent(struct net_device *dev, 59 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto); 60 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto); 62 static inline int br_multicast_list_adjacent(struct net_device *dev, br_multicast_list_adjacent() 67 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, br_multicast_has_querier_anywhere() 72 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, br_multicast_has_querier_adjacent()
|
H A 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);
|
H A D | fddidevice.h | 28 __be16 fddi_type_trans(struct sk_buff *skb, struct net_device *dev); 29 int fddi_change_mtu(struct net_device *dev, int new_mtu); 30 struct net_device *alloc_fddidev(int sizeof_priv);
|
H A D | netfilter_ingress.h | 27 static inline void nf_hook_ingress_init(struct net_device *dev) nf_hook_ingress_init() 42 static inline void nf_hook_ingress_init(struct net_device *dev) {}
|
H A D | if_vlan.h | 76 static inline bool is_vlan_dev(struct net_device *dev) 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) vlan_dev_priv() 171 vlan_dev_get_egress_qos_mask(struct net_device *dev, u32 skprio) 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); 194 extern int vlan_vids_add_by_dev(struct net_device *dev, 195 const struct net_device *by_dev); 196 extern void vlan_vids_del_by_dev(struct net_device *dev, 197 const struct net_device *by_dev); 199 extern bool vlan_uses_dev(const struct net_device *dev); 201 static inline int vlan_get_encap_level(struct net_device *dev) vlan_get_encap_level() 207 static inline struct net_device * __vlan_find_dev_deep_rcu() 208 __vlan_find_dev_deep_rcu(struct net_device *real_dev, __vlan_find_dev_deep_rcu() 214 static inline struct net_device *vlan_dev_real_dev(const struct net_device *dev) vlan_dev_real_dev() 220 static inline u16 vlan_dev_vlan_id(const struct net_device *dev) vlan_dev_vlan_id() 226 static inline __be16 vlan_dev_vlan_proto(const struct net_device *dev) vlan_dev_vlan_proto() 232 static inline u16 vlan_dev_get_egress_qos_mask(struct net_device *dev, vlan_dev_get_egress_qos_mask() 243 static inline int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) vlan_vid_add() 248 static inline void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid) vlan_vid_del() 252 static inline int vlan_vids_add_by_dev(struct net_device *dev, vlan_vids_add_by_dev() 253 const struct net_device *by_dev) vlan_vids_add_by_dev() 258 static inline void vlan_vids_del_by_dev(struct net_device *dev, vlan_vids_del_by_dev() 259 const struct net_device *by_dev) vlan_vids_del_by_dev() 263 static inline bool vlan_uses_dev(const struct net_device *dev) vlan_uses_dev() 267 static inline int vlan_get_encap_level(struct net_device *dev) vlan_get_encap_level()
|
H A 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) 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,
|
H A D | phy_fixed.h | 24 int (*link_update)(struct net_device *, 48 int (*link_update)(struct net_device *, fixed_phy_set_link_update()
|
H A D | hdlcdrv.h | 79 int (*open)(struct net_device *); 80 int (*close)(struct net_device *); 81 int (*ioctl)(struct net_device *, struct ifreq *, 262 void hdlcdrv_receiver(struct net_device *, struct hdlcdrv_state *); 263 void hdlcdrv_transmitter(struct net_device *, struct hdlcdrv_state *); 264 void hdlcdrv_arbitrate(struct net_device *, struct hdlcdrv_state *); 265 struct net_device *hdlcdrv_register(const struct hdlcdrv_ops *ops, 269 void hdlcdrv_unregister(struct net_device *dev);
|
H A D | if_eql.h | 28 struct net_device *dev; 39 struct net_device *master_dev;
|
H A D | netfilter.h | 54 struct net_device *in; 55 struct net_device *out; 66 struct net_device *indev, nf_hook_state_init() 67 struct net_device *outdev, nf_hook_state_init() 92 struct net_device *dev; 175 struct net_device *indev, nf_hook_thresh() 176 struct net_device *outdev, nf_hook_thresh() 194 struct net_device *indev, struct net_device *outdev, nf_hook() 219 struct sk_buff *skb, struct net_device *in, NF_HOOK_THRESH() 220 struct net_device *out, NF_HOOK_THRESH() 232 struct sk_buff *skb, struct net_device *in, struct net_device *out, NF_HOOK_COND() 246 struct net_device *in, struct net_device *out, NF_HOOK() 351 struct sk_buff *skb, struct net_device *in, struct net_device *out, NF_HOOK_COND() 360 struct sk_buff *skb, struct net_device *in, struct net_device *out, NF_HOOK() 368 struct net_device *indev, struct net_device *outdev, nf_hook()
|
/linux-4.4.14/drivers/staging/rtl8192u/ |
H A D | r8190_rtl8256.h | 17 void PHY_SetRF8256Bandwidth(struct net_device *dev, HT_CHANNEL_WIDTH Bandwidth); 18 void PHY_RF8256_Config(struct net_device *dev); 19 void phy_RF8256_Config_ParaFile(struct net_device *dev); 20 void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel); 21 void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
|
H A D | r819xU_phy.h | 60 u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 eRFPath); 61 void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr, 63 u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask); 64 void rtl8192_phy_SetRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath, 66 u32 rtl8192_phy_QueryRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath, 68 void rtl8192_phy_configmac(struct net_device *dev); 69 void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType); 70 u8 rtl8192_phy_checkBBAndRF(struct net_device *dev, 72 void rtl8192_BBConfig(struct net_device *dev); 73 void rtl8192_phy_getTxPower(struct net_device *dev); 74 void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel); 75 void rtl8192_phy_RFConfig(struct net_device *dev); 76 void rtl8192_phy_updateInitGain(struct net_device *dev); 77 u8 rtl8192_phy_ConfigRFWithHeaderFile(struct net_device *dev, 80 u8 rtl8192_phy_SwChnl(struct net_device *dev, u8 channel); 81 void rtl8192_SetBWMode(struct net_device *dev, HT_CHANNEL_WIDTH bandwidth, 83 void rtl8192_SwChnl_WorkItem(struct net_device *dev); 84 void rtl8192_SetBWModeWorkItem(struct net_device *dev); 85 bool rtl8192_SetRFPowerState(struct net_device *dev, 87 void InitialGain819xUsb(struct net_device *dev, u8 Operation);
|
H A D | r8192U_dm.h | 215 void init_hal_dm(struct net_device *dev); 216 void deinit_hal_dm(struct net_device *dev); 217 void hal_dm_watchdog(struct net_device *dev); 218 void init_rate_adaptive(struct net_device *dev); 220 void dm_restore_dynamic_mechanism_state(struct net_device *dev); 221 void dm_backup_dynamic_mechanism_state(struct net_device *dev); 222 void dm_change_dynamic_initgain_thresh(struct net_device *dev, 224 void dm_force_tx_fw_info(struct net_device *dev, 226 void dm_init_edca_turbo(struct net_device *dev); 230 void dm_cck_txpower_adjust(struct net_device *dev, bool binch14); 231 void dm_shadow_init(struct net_device *dev); 232 void dm_initialize_txpower_tracking(struct net_device *dev);
|
H A D | r8192U_wx.c | 36 static int r8192_wx_get_freq(struct net_device *dev, r8192_wx_get_freq() 46 static int r8192_wx_get_mode(struct net_device *dev, struct iw_request_info *a, r8192_wx_get_mode() 56 static int r8192_wx_get_rate(struct net_device *dev, r8192_wx_get_rate() 67 static int r8192_wx_set_rate(struct net_device *dev, r8192_wx_set_rate() 84 static int r8192_wx_set_rts(struct net_device *dev, r8192_wx_set_rts() 100 static int r8192_wx_get_rts(struct net_device *dev, r8192_wx_get_rts() 109 static int r8192_wx_set_power(struct net_device *dev, r8192_wx_set_power() 125 static int r8192_wx_get_power(struct net_device *dev, r8192_wx_get_power() 134 static int r8192_wx_force_reset(struct net_device *dev, r8192_wx_force_reset() 150 static int r8192_wx_set_rawtx(struct net_device *dev, r8192_wx_set_rawtx() 167 static int r8192_wx_set_crcmon(struct net_device *dev, r8192_wx_set_crcmon() 190 static int r8192_wx_set_mode(struct net_device *dev, struct iw_request_info *a, r8192_wx_set_mode() 227 static int rtl8180_wx_get_range(struct net_device *dev, rtl8180_wx_get_range() 328 static int r8192_wx_set_scan(struct net_device *dev, struct iw_request_info *a, r8192_wx_set_scan() 362 static int r8192_wx_get_scan(struct net_device *dev, struct iw_request_info *a, r8192_wx_get_scan() 381 static int r8192_wx_set_essid(struct net_device *dev, r8192_wx_set_essid() 400 static int r8192_wx_get_essid(struct net_device *dev, r8192_wx_get_essid() 417 static int r8192_wx_set_freq(struct net_device *dev, struct iw_request_info *a, r8192_wx_set_freq() 431 static int r8192_wx_get_name(struct net_device *dev, r8192_wx_get_name() 441 static int r8192_wx_set_frag(struct net_device *dev, r8192_wx_set_frag() 461 static int r8192_wx_get_frag(struct net_device *dev, r8192_wx_get_frag() 475 static int r8192_wx_set_wap(struct net_device *dev, r8192_wx_set_wap() 495 static int r8192_wx_get_wap(struct net_device *dev, r8192_wx_get_wap() 505 static int r8192_wx_get_enc(struct net_device *dev, r8192_wx_get_enc() 514 static int r8192_wx_set_enc(struct net_device *dev, r8192_wx_set_enc() 615 static int r8192_wx_set_scan_type(struct net_device *dev, struct iw_request_info *aa, r8192_wx_set_scan_type() 630 static int r8192_wx_set_retry(struct net_device *dev, r8192_wx_set_retry() 675 static int r8192_wx_get_retry(struct net_device *dev, r8192_wx_get_retry() 700 static int r8192_wx_get_sens(struct net_device *dev, r8192_wx_get_sens() 713 static int r8192_wx_set_sens(struct net_device *dev, r8192_wx_set_sens() 738 static int r8192_wx_set_enc_ext(struct net_device *dev, r8192_wx_set_enc_ext() 814 static int r8192_wx_set_auth(struct net_device *dev, r8192_wx_set_auth() 827 static int r8192_wx_set_mlme(struct net_device *dev, r8192_wx_set_mlme() 842 static int r8192_wx_set_gen_ie(struct net_device *dev, r8192_wx_set_gen_ie() 857 static int dummy(struct net_device *dev, struct iw_request_info *a, dummy() 958 struct iw_statistics *r8192_get_wireless_stats(struct net_device *dev) r8192_get_wireless_stats()
|
H A D | r8180_93cx6.c | 23 static void eprom_cs(struct net_device *dev, short bit) eprom_cs() 40 static void eprom_ck_cycle(struct net_device *dev) eprom_ck_cycle() 56 static void eprom_w(struct net_device *dev, short bit) eprom_w() 71 static short eprom_r(struct net_device *dev) eprom_r() 85 static void eprom_send_bits_string(struct net_device *dev, short b[], int len) eprom_send_bits_string() 96 u32 eprom_read(struct net_device *dev, u32 addr) eprom_read()
|
/linux-4.4.14/net/wireless/ |
H A 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, 44 int cfg80211_mgd_wext_siwessid(struct net_device *dev, 47 int cfg80211_mgd_wext_giwessid(struct net_device *dev, 51 int cfg80211_wext_siwmlme(struct net_device *dev, 54 int cfg80211_wext_siwgenie(struct net_device *dev,
|
H A 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, 64 struct net_device *netdev, u16 reason, 69 struct net_device *netdev, const u8 *addr, 79 struct net_device *netdev, const u8 *bssid, 91 struct net_device *netdev, gfp_t gfp);
|
H A D | ap.c | 10 struct net_device *dev, bool notify) __cfg80211_stop_ap() 41 struct net_device *dev, bool notify) cfg80211_stop_ap()
|
H A D | ocb.c | 21 struct net_device *dev, __cfg80211_join_ocb() 43 struct net_device *dev, cfg80211_join_ocb() 57 struct net_device *dev) __cfg80211_leave_ocb() 78 struct net_device *dev) cfg80211_leave_ocb()
|
H A D | rdev-ops.h | 63 struct net_device *dev, enum nl80211_iftype type, rdev_change_virtual_intf() 75 struct net_device *netdev, u8 key_index, rdev_add_key() 88 rdev_get_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, rdev_get_key() 101 struct net_device *netdev, u8 key_index, rdev_del_key() 114 struct net_device *netdev, u8 key_index, bool unicast, rdev_set_default_key() 128 struct net_device *netdev, u8 key_index) rdev_set_default_mgmt_key() 139 struct net_device *dev, rdev_start_ap() 150 struct net_device *dev, rdev_change_beacon() 161 struct net_device *dev) rdev_stop_ap() 171 struct net_device *dev, u8 *mac, rdev_add_station() 182 struct net_device *dev, rdev_del_station() 193 struct net_device *dev, u8 *mac, rdev_change_station() 204 struct net_device *dev, const u8 *mac, rdev_get_station() 215 struct net_device *dev, int idx, u8 *mac, rdev_dump_station() 226 struct net_device *dev, u8 *dst, u8 *next_hop) rdev_add_mpath() 236 struct net_device *dev, u8 *dst) rdev_del_mpath() 246 struct net_device *dev, u8 *dst, rdev_change_mpath() 257 struct net_device *dev, u8 *dst, u8 *next_hop, rdev_get_mpath() 269 struct net_device *dev, u8 *dst, u8 *mpp, rdev_get_mpp() 281 struct net_device *dev, int idx, u8 *dst, rdev_dump_mpath() 294 struct net_device *dev, int idx, u8 *dst, rdev_dump_mpp() 308 struct net_device *dev, struct mesh_config *conf) rdev_get_mesh_config() 319 struct net_device *dev, u32 mask, rdev_update_mesh_config() 330 struct net_device *dev, rdev_join_mesh() 343 struct net_device *dev) rdev_leave_mesh() 353 struct net_device *dev, rdev_join_ocb() 364 struct net_device *dev) rdev_leave_ocb() 374 struct net_device *dev, rdev_change_bss() 386 struct net_device *dev, rdev_set_txq_params() 399 struct net_device *dev, rdev_libertas_set_mesh_channel() 431 struct net_device *dev, rdev_auth() 442 struct net_device *dev, rdev_assoc() 453 struct net_device *dev, rdev_deauth() 464 struct net_device *dev, rdev_disassoc() 475 struct net_device *dev, rdev_connect() 486 struct net_device *dev, u16 reason_code) rdev_disconnect() 496 struct net_device *dev, rdev_join_ibss() 507 struct net_device *dev) rdev_leave_ibss() 548 struct net_device *dev, const u8 *addr) rdev_set_wds_peer() 592 struct net_device *dev, const u8 *peer, rdev_set_bitrate_mask() 603 struct net_device *netdev, int idx, rdev_dump_survey() 617 struct net_device *netdev, rdev_set_pmksa() 628 struct net_device *netdev, rdev_del_pmksa() 639 struct net_device *netdev) rdev_flush_pmksa() 697 struct net_device *dev, bool enabled, rdev_set_power_mgmt() 709 struct net_device *dev, s32 rssi_thold, u32 rssi_hyst) rdev_set_cqm_rssi_config() 722 struct net_device *dev, u32 rate, u32 pkts, u32 intvl) rdev_set_cqm_txe_config() 769 struct net_device *dev, rdev_sched_scan_start() 780 struct net_device *dev) rdev_sched_scan_stop() 790 struct net_device *dev, rdev_set_rekey_data() 801 struct net_device *dev, u8 *peer, rdev_tdls_mgmt() 818 struct net_device *dev, u8 *peer, rdev_tdls_oper() 829 struct net_device *dev, const u8 *peer, rdev_probe_client() 840 struct net_device *dev, u16 noack_map) rdev_set_noack_map() 883 struct net_device *dev, rdev_set_mac_acl() 895 struct net_device *dev, rdev_update_ft_ies() 929 struct net_device *dev, rdev_channel_switch() 941 struct net_device *dev, rdev_set_qos_map() 957 struct net_device *dev, struct cfg80211_chan_def *chandef) rdev_set_ap_chanwidth() 970 struct net_device *dev, u8 tsid, const u8 *peer, rdev_add_tx_ts() 987 struct net_device *dev, u8 tsid, const u8 *peer) rdev_del_tx_ts() 1001 struct net_device *dev, const u8 *addr, rdev_tdls_channel_switch() 1016 struct net_device *dev, const u8 *addr) rdev_tdls_cancel_channel_switch()
|
H A D | core.h | 277 struct net_device *dev, 280 void cfg80211_clear_ibss(struct net_device *dev, bool nowext); 282 struct net_device *dev, bool nowext); 284 struct net_device *dev, bool nowext); 285 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, 294 struct net_device *dev, 298 struct net_device *dev, 302 struct net_device *dev); 304 struct net_device *dev); 311 struct net_device *dev, 314 struct net_device *dev, 317 struct net_device *dev); 319 struct net_device *dev); 323 struct net_device *dev, bool notify); 325 struct net_device *dev, bool notify); 329 struct net_device *dev, 338 struct net_device *dev, 344 struct net_device *dev, const u8 *bssid, 348 struct net_device *dev, const u8 *bssid, 352 struct net_device *dev); 370 struct net_device *dev, 374 void __cfg80211_connect_result(struct net_device *dev, const u8 *bssid, 379 void __cfg80211_disconnected(struct net_device *dev, const u8 *ie, 382 struct net_device *dev, u16 reason, 393 void cfg80211_sme_scan_done(struct net_device *dev); 414 struct net_device *dev, enum nl80211_iftype ntype,
|
H A 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), 575 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev), 580 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev), 585 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev), 590 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev), 595 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev), 600 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev), 605 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev), 610 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev), 615 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *mac, 665 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *mac, 671 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *mac, 677 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, const u8 *mac), 694 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 718 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 724 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, const u8 *mac), 729 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, const u8 *mac), 734 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, const u8 *mac), 739 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int idx, 777 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *dst, 798 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *dst, 804 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *dst, 810 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *dst, 816 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int idx, 840 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 861 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int idx, 940 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u32 mask, 960 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 979 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1009 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1036 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1070 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1094 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1124 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1145 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1191 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1212 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1246 struct net_device *netdev, s32 rssi_thold, 1268 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u32 rate, 1291 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1309 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1330 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1431 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1534 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1550 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1589 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int idx), 1646 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1666 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1684 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1702 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1708 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1799 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1853 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1871 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1926 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1963 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1981 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 1999 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 2024 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 2044 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 2068 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 2102 TP_PROTO(struct net_device *netdev, const u8 *macaddr), 2117 TP_PROTO(struct net_device *netdev, const u8 *macaddr), 2122 TP_PROTO(struct net_device *netdev), 2134 TP_PROTO(struct net_device *netdev), 2139 TP_PROTO(struct net_device *netdev, struct cfg80211_bss *bss), 2156 TP_PROTO(struct net_device *netdev, const u8 *buf, int len), 2172 TP_PROTO(struct net_device *netdev, const u8 *buf, int len), 2177 TP_PROTO(struct net_device *netdev, const u8 *buf, int len), 2182 TP_PROTO(struct net_device *netdev, const u8 *buf, int len), 2198 TP_PROTO(struct net_device *netdev, const u8 *mac), 2213 TP_PROTO(struct net_device *netdev, const u8 *mac), 2218 TP_PROTO(struct net_device *netdev, const u8 *mac), 2223 TP_PROTO(struct net_device *netdev, const u8 *addr, 2287 TP_PROTO(struct net_device *netdev, const u8 *mac_addr, 2305 TP_PROTO(struct net_device *netdev, const u8 *macaddr), 2344 TP_PROTO(struct net_device *netdev, 2396 TP_PROTO(struct net_device *netdev, 2412 TP_PROTO(struct net_device *netdev, 2443 TP_PROTO(struct net_device *netdev, enum nl80211_radar_event evt), 2458 TP_PROTO(struct net_device *netdev, const u8 *addr), 2472 TP_PROTO(struct net_device *netdev, const u8 *addr), 2477 TP_PROTO(struct net_device *netdev, const u8 *addr), 2482 TP_PROTO(struct net_device *netdev, const u8 *bssid, 2500 TP_PROTO(struct net_device *netdev, const u8 *addr, u64 cookie, 2521 TP_PROTO(struct net_device *netdev, const u8 *peer, u32 num_packets), 2538 TP_PROTO(struct net_device *netdev, const u8 *macaddr), 2543 TP_PROTO(struct net_device *netdev, int index, const u8 *bssid, 2582 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, const u8 *peer, 2781 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev,
|
H A D | ethtool.c | 6 void cfg80211_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) cfg80211_get_drvinfo()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A 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);
|
H A D | u_rndis.h | 25 struct net_device *net; 42 void rndis_borrow_net(struct usb_function_instance *f, struct net_device *net);
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
H A D | sriov.h | 17 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac); 18 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, 20 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, 22 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, 24 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, 26 int efx_sriov_get_phys_port_id(struct net_device *net_dev,
|
H A D | sriov.c | 14 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) efx_sriov_set_vf_mac() 24 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, efx_sriov_set_vf_vlan() 40 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, efx_sriov_set_vf_spoofchk() 51 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, efx_sriov_get_vf_config() 62 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, efx_sriov_set_vf_link_state() 74 int efx_sriov_get_phys_port_id(struct net_device *net_dev, efx_sriov_get_phys_port_id()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_sriov.h | 13 int bnxt_get_vf_config(struct net_device *, int, struct ifla_vf_info *); 14 int bnxt_set_vf_mac(struct net_device *, int, u8 *); 15 int bnxt_set_vf_vlan(struct net_device *, int, u16, u8); 16 int bnxt_set_vf_bw(struct net_device *, int, int, int); 17 int bnxt_set_vf_link_state(struct net_device *, int, int); 18 int bnxt_set_vf_spoofchk(struct net_device *, int, bool);
|
/linux-4.4.14/net/8021q/ |
H A 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, __vlan_group_get_device() 55 struct net_device **array; __vlan_group_get_device() 62 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, vlan_group_get_device() 71 struct net_device *dev) vlan_group_set_device() 73 struct net_device **array; vlan_group_set_device() 82 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, 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, 104 int vlan_dev_change_flags(const struct net_device *dev, u32 flag, u32 mask); 105 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); 107 int vlan_check_real_dev(struct net_device *real_dev, 109 void vlan_setup(struct net_device *dev); 110 int register_vlan_dev(struct net_device *dev); 111 void unregister_vlan_dev(struct net_device *dev, struct list_head *head); 113 static inline u32 vlan_get_ingress_priority(struct net_device *dev, vlan_get_ingress_priority() 122 int vlan_gvrp_request_join(const struct net_device *dev); 123 void vlan_gvrp_request_leave(const struct net_device *dev); 124 int vlan_gvrp_init_applicant(struct net_device *dev); 125 void vlan_gvrp_uninit_applicant(struct net_device *dev); 129 static inline int vlan_gvrp_request_join(const struct net_device *dev) { return 0; } vlan_gvrp_request_leave() 130 static inline void vlan_gvrp_request_leave(const struct net_device *dev) {} vlan_gvrp_init_applicant() 131 static inline int vlan_gvrp_init_applicant(struct net_device *dev) { return 0; } vlan_gvrp_uninit_applicant() 132 static inline void vlan_gvrp_uninit_applicant(struct net_device *dev) {} vlan_gvrp_init() 138 int vlan_mvrp_request_join(const struct net_device *dev); vlan_gvrp_uninit() 139 void vlan_mvrp_request_leave(const struct net_device *dev); vlan_gvrp_uninit() 140 int vlan_mvrp_init_applicant(struct net_device *dev); vlan_gvrp_uninit() 141 void vlan_mvrp_uninit_applicant(struct net_device *dev); vlan_gvrp_uninit() 145 static inline int vlan_mvrp_request_join(const struct net_device *dev) { return 0; } vlan_mvrp_request_leave() 146 static inline void vlan_mvrp_request_leave(const struct net_device *dev) {} vlan_mvrp_init_applicant() 147 static inline int vlan_mvrp_init_applicant(struct net_device *dev) { return 0; } vlan_mvrp_uninit_applicant() 148 static inline void vlan_mvrp_uninit_applicant(struct net_device *dev) {} vlan_mvrp_init()
|
H A D | vlanproc.h | 8 int vlan_proc_rem_dev(struct net_device *vlandev); 9 int vlan_proc_add_dev(struct net_device *vlandev);
|
H A D | vlan_dev.c | 48 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, vlan_dev_hard_header() 104 struct net_device *dev) vlan_dev_hard_start_xmit() 146 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) vlan_dev_change_mtu() 159 void vlan_dev_set_ingress_priority(const struct net_device *dev, vlan_dev_set_ingress_priority() 172 int vlan_dev_set_egress_priority(const struct net_device *dev, vlan_dev_set_egress_priority() 215 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) vlan_dev_change_flags() 242 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result) vlan_dev_get_realdev_name() 247 static int vlan_dev_open(struct net_device *dev) vlan_dev_open() 250 struct net_device *real_dev = vlan->real_dev; vlan_dev_open() 297 static int vlan_dev_stop(struct net_device *dev) vlan_dev_stop() 300 struct net_device *real_dev = vlan->real_dev; vlan_dev_stop() 316 static int vlan_dev_set_mac_address(struct net_device *dev, void *p) vlan_dev_set_mac_address() 318 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_set_mac_address() 342 static int vlan_dev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) vlan_dev_ioctl() 344 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_ioctl() 369 static int vlan_dev_neigh_setup(struct net_device *dev, struct neigh_parms *pa) vlan_dev_neigh_setup() 371 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_neigh_setup() 382 static int vlan_dev_fcoe_ddp_setup(struct net_device *dev, u16 xid, vlan_dev_fcoe_ddp_setup() 385 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_fcoe_ddp_setup() 395 static int vlan_dev_fcoe_ddp_done(struct net_device *dev, u16 xid) vlan_dev_fcoe_ddp_done() 397 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_fcoe_ddp_done() 407 static int vlan_dev_fcoe_enable(struct net_device *dev) vlan_dev_fcoe_enable() 409 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_fcoe_enable() 418 static int vlan_dev_fcoe_disable(struct net_device *dev) vlan_dev_fcoe_disable() 420 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_fcoe_disable() 429 static int vlan_dev_fcoe_get_wwn(struct net_device *dev, u64 *wwn, int type) vlan_dev_fcoe_get_wwn() 431 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_fcoe_get_wwn() 440 static int vlan_dev_fcoe_ddp_target(struct net_device *dev, u16 xid, vlan_dev_fcoe_ddp_target() 443 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_fcoe_ddp_target() 454 static void vlan_dev_change_rx_flags(struct net_device *dev, int change) vlan_dev_change_rx_flags() 456 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_change_rx_flags() 466 static void vlan_dev_set_rx_mode(struct net_device *vlan_dev) vlan_dev_set_rx_mode() 480 static void vlan_dev_set_lockdep_one(struct net_device *dev, vlan_dev_set_lockdep_one() 489 static void vlan_dev_set_lockdep_class(struct net_device *dev, int subclass) vlan_dev_set_lockdep_class() 497 static int vlan_dev_get_lock_subclass(struct net_device *dev) vlan_dev_get_lock_subclass() 507 static int vlan_passthru_hard_header(struct sk_buff *skb, struct net_device *dev, vlan_passthru_hard_header() 513 struct net_device *real_dev = vlan->real_dev; vlan_passthru_hard_header() 532 static int vlan_dev_init(struct net_device *dev) vlan_dev_init() 534 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_init() 593 static void vlan_dev_uninit(struct net_device *dev) vlan_dev_uninit() 607 static netdev_features_t vlan_dev_fix_features(struct net_device *dev, vlan_dev_fix_features() 610 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_fix_features() 623 static int vlan_ethtool_get_settings(struct net_device *dev, vlan_ethtool_get_settings() 631 static void vlan_ethtool_get_drvinfo(struct net_device *dev, vlan_ethtool_get_drvinfo() 639 static int vlan_ethtool_get_ts_info(struct net_device *dev, vlan_ethtool_get_ts_info() 656 static struct rtnl_link_stats64 *vlan_dev_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) vlan_dev_get_stats64() 692 static void vlan_dev_poll_controller(struct net_device *dev) vlan_dev_poll_controller() 697 static int vlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *npinfo) vlan_dev_netpoll_setup() 700 struct net_device *real_dev = vlan->real_dev; vlan_dev_netpoll_setup() 721 static void vlan_dev_netpoll_cleanup(struct net_device *dev) vlan_dev_netpoll_cleanup() 735 static int vlan_dev_get_iflink(const struct net_device *dev) vlan_dev_get_iflink() 737 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; vlan_dev_get_iflink() 781 static void vlan_dev_free(struct net_device *dev) vlan_dev_free() 790 void vlan_setup(struct net_device *dev) vlan_setup()
|
H A D | vlan_core.c | 13 struct net_device *vlan_dev; vlan_do_receive() 68 struct net_device *__vlan_find_dev_deep_rcu(struct net_device *dev, __vlan_find_dev_deep_rcu() 82 struct net_device *upper_dev; __vlan_find_dev_deep_rcu() 94 struct net_device *vlan_dev_real_dev(const struct net_device *dev) vlan_dev_real_dev() 96 struct net_device *ret = vlan_dev_priv(dev)->real_dev; vlan_dev_real_dev() 105 u16 vlan_dev_vlan_id(const struct net_device *dev) vlan_dev_vlan_id() 111 __be16 vlan_dev_vlan_proto(const struct net_device *dev) vlan_dev_vlan_proto() 141 static struct vlan_info *vlan_info_alloc(struct net_device *dev) vlan_info_alloc() 161 static bool vlan_hw_filter_capable(const struct net_device *dev, vlan_hw_filter_capable() 201 struct net_device *dev = vlan_info->real_dev; __vlan_vid_add() 226 int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) vlan_vid_add() 265 struct net_device *dev = vlan_info->real_dev; __vlan_vid_del() 286 void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid) vlan_vid_del() 311 int vlan_vids_add_by_dev(struct net_device *dev, vlan_vids_add_by_dev() 312 const struct net_device *by_dev) vlan_vids_add_by_dev() 342 void vlan_vids_del_by_dev(struct net_device *dev, vlan_vids_del_by_dev() 343 const struct net_device *by_dev) vlan_vids_del_by_dev() 359 bool vlan_uses_dev(const struct net_device *dev) vlan_uses_dev()
|
H A D | vlan_gvrp.c | 30 int vlan_gvrp_request_join(const struct net_device *dev) vlan_gvrp_request_join() 41 void vlan_gvrp_request_leave(const struct net_device *dev) vlan_gvrp_request_leave() 52 int vlan_gvrp_init_applicant(struct net_device *dev) vlan_gvrp_init_applicant() 57 void vlan_gvrp_uninit_applicant(struct net_device *dev) vlan_gvrp_uninit_applicant()
|
H A D | vlan_mvrp.c | 36 int vlan_mvrp_request_join(const struct net_device *dev) vlan_mvrp_request_join() 47 void vlan_mvrp_request_leave(const struct net_device *dev) vlan_mvrp_request_leave() 58 int vlan_mvrp_init_applicant(struct net_device *dev) vlan_mvrp_init_applicant() 63 void vlan_mvrp_uninit_applicant(struct net_device *dev) vlan_mvrp_uninit_applicant()
|
/linux-4.4.14/drivers/staging/octeon/ |
H A D | octeon-ethernet.h | 33 struct net_device *netdev; 48 void (*poll)(struct net_device *dev); 56 int cvm_oct_rgmii_init(struct net_device *dev); 57 void cvm_oct_rgmii_uninit(struct net_device *dev); 58 int cvm_oct_rgmii_open(struct net_device *dev); 60 int cvm_oct_sgmii_init(struct net_device *dev); 61 int cvm_oct_sgmii_open(struct net_device *dev); 63 int cvm_oct_spi_init(struct net_device *dev); 64 void cvm_oct_spi_uninit(struct net_device *dev); 66 int cvm_oct_common_init(struct net_device *dev); 67 void cvm_oct_common_uninit(struct net_device *dev); 68 void cvm_oct_adjust_link(struct net_device *dev); 69 int cvm_oct_common_stop(struct net_device *dev); 70 int cvm_oct_common_open(struct net_device *dev, 71 void (*link_poll)(struct net_device *)); 74 void cvm_oct_link_poll(struct net_device *dev); 80 extern struct net_device *cvm_oct_device[];
|
H A D | ethernet-sgmii.c | 28 int cvm_oct_sgmii_open(struct net_device *dev) cvm_oct_sgmii_open() 33 int cvm_oct_sgmii_init(struct net_device *dev) cvm_oct_sgmii_init()
|
H A D | ethernet-mdio.c | 29 static void cvm_oct_get_drvinfo(struct net_device *dev, cvm_oct_get_drvinfo() 37 static int cvm_oct_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) cvm_oct_get_settings() 47 static int cvm_oct_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) cvm_oct_set_settings() 60 static int cvm_oct_nway_reset(struct net_device *dev) cvm_oct_nway_reset() 89 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) cvm_oct_ioctl() 116 void cvm_oct_adjust_link(struct net_device *dev) cvm_oct_adjust_link() 133 int cvm_oct_common_stop(struct net_device *dev) cvm_oct_common_stop() 168 int cvm_oct_phy_setup_device(struct net_device *dev) cvm_oct_phy_setup_device()
|
/linux-4.4.14/drivers/net/hyperv/ |
H A D | netvsc.c | 39 struct netvsc_device *net_device; alloc_net_device() local 40 struct net_device *ndev = hv_get_drvdata(device); alloc_net_device() 43 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); alloc_net_device() 44 if (!net_device) alloc_net_device() 47 net_device->cb_buffer = kzalloc(NETVSC_PACKET_SIZE, GFP_KERNEL); alloc_net_device() 48 if (!net_device->cb_buffer) { alloc_net_device() 49 kfree(net_device); alloc_net_device() 53 init_waitqueue_head(&net_device->wait_drain); alloc_net_device() 54 net_device->start_remove = false; alloc_net_device() 55 net_device->destroy = false; alloc_net_device() 56 net_device->dev = device; alloc_net_device() 57 net_device->ndev = ndev; alloc_net_device() 58 net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT; alloc_net_device() 59 net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT; alloc_net_device() 62 spin_lock_init(&net_device->msd[i].lock); alloc_net_device() 64 hv_set_drvdata(device, net_device); alloc_net_device() 65 return net_device; alloc_net_device() 76 struct netvsc_device *net_device; get_outbound_net_device() local 78 net_device = hv_get_drvdata(device); get_outbound_net_device() 79 if (net_device && net_device->destroy) get_outbound_net_device() 80 net_device = NULL; get_outbound_net_device() 82 return net_device; get_outbound_net_device() 87 struct netvsc_device *net_device; get_inbound_net_device() local 89 net_device = hv_get_drvdata(device); get_inbound_net_device() 91 if (!net_device) get_inbound_net_device() 94 if (net_device->destroy && get_inbound_net_device() 95 atomic_read(&net_device->num_outstanding_sends) == 0) get_inbound_net_device() 96 net_device = NULL; get_inbound_net_device() 99 return net_device; get_inbound_net_device() 103 static int netvsc_destroy_buf(struct netvsc_device *net_device) netvsc_destroy_buf() argument 107 struct net_device *ndev = net_device->ndev; netvsc_destroy_buf() 115 if (net_device->recv_section_cnt) { netvsc_destroy_buf() 117 revoke_packet = &net_device->revoke_packet; netvsc_destroy_buf() 125 ret = vmbus_sendpacket(net_device->dev->channel, netvsc_destroy_buf() 142 if (net_device->recv_buf_gpadl_handle) { netvsc_destroy_buf() 143 ret = vmbus_teardown_gpadl(net_device->dev->channel, netvsc_destroy_buf() 144 net_device->recv_buf_gpadl_handle); netvsc_destroy_buf() 154 net_device->recv_buf_gpadl_handle = 0; netvsc_destroy_buf() 157 if (net_device->recv_buf) { netvsc_destroy_buf() 159 vfree(net_device->recv_buf); netvsc_destroy_buf() 160 net_device->recv_buf = NULL; netvsc_destroy_buf() 163 if (net_device->recv_section) { netvsc_destroy_buf() 164 net_device->recv_section_cnt = 0; netvsc_destroy_buf() 165 kfree(net_device->recv_section); netvsc_destroy_buf() 166 net_device->recv_section = NULL; netvsc_destroy_buf() 175 if (net_device->send_section_size) { netvsc_destroy_buf() 177 revoke_packet = &net_device->revoke_packet; netvsc_destroy_buf() 185 ret = vmbus_sendpacket(net_device->dev->channel, netvsc_destroy_buf() 200 if (net_device->send_buf_gpadl_handle) { netvsc_destroy_buf() 201 ret = vmbus_teardown_gpadl(net_device->dev->channel, netvsc_destroy_buf() 202 net_device->send_buf_gpadl_handle); netvsc_destroy_buf() 212 net_device->send_buf_gpadl_handle = 0; netvsc_destroy_buf() 214 if (net_device->send_buf) { netvsc_destroy_buf() 216 vfree(net_device->send_buf); netvsc_destroy_buf() 217 net_device->send_buf = NULL; netvsc_destroy_buf() 219 kfree(net_device->send_section_map); netvsc_destroy_buf() 228 struct netvsc_device *net_device; netvsc_init_buf() local 230 struct net_device *ndev; netvsc_init_buf() 233 net_device = get_outbound_net_device(device); netvsc_init_buf() 234 if (!net_device) netvsc_init_buf() 236 ndev = net_device->ndev; netvsc_init_buf() 239 net_device->recv_buf = vzalloc_node(net_device->recv_buf_size, node); netvsc_init_buf() 240 if (!net_device->recv_buf) netvsc_init_buf() 241 net_device->recv_buf = vzalloc(net_device->recv_buf_size); netvsc_init_buf() 243 if (!net_device->recv_buf) { netvsc_init_buf() 245 "buffer of size %d\n", net_device->recv_buf_size); netvsc_init_buf() 255 ret = vmbus_establish_gpadl(device->channel, net_device->recv_buf, netvsc_init_buf() 256 net_device->recv_buf_size, netvsc_init_buf() 257 &net_device->recv_buf_gpadl_handle); netvsc_init_buf() 266 init_packet = &net_device->channel_init_pkt; netvsc_init_buf() 272 gpadl_handle = net_device->recv_buf_gpadl_handle; netvsc_init_buf() 288 t = wait_for_completion_timeout(&net_device->channel_init_wait, 5*HZ); netvsc_init_buf() 305 net_device->recv_section_cnt = init_packet->msg. netvsc_init_buf() 308 net_device->recv_section = kmemdup( netvsc_init_buf() 310 net_device->recv_section_cnt * netvsc_init_buf() 313 if (net_device->recv_section == NULL) { netvsc_init_buf() 322 if (net_device->recv_section_cnt != 1 || netvsc_init_buf() 323 net_device->recv_section->offset != 0) { netvsc_init_buf() 330 net_device->send_buf = vzalloc_node(net_device->send_buf_size, node); netvsc_init_buf() 331 if (!net_device->send_buf) netvsc_init_buf() 332 net_device->send_buf = vzalloc(net_device->send_buf_size); netvsc_init_buf() 333 if (!net_device->send_buf) { netvsc_init_buf() 335 "buffer of size %d\n", net_device->send_buf_size); netvsc_init_buf() 344 ret = vmbus_establish_gpadl(device->channel, net_device->send_buf, netvsc_init_buf() 345 net_device->send_buf_size, netvsc_init_buf() 346 &net_device->send_buf_gpadl_handle); netvsc_init_buf() 354 init_packet = &net_device->channel_init_pkt; netvsc_init_buf() 358 net_device->send_buf_gpadl_handle; netvsc_init_buf() 373 t = wait_for_completion_timeout(&net_device->channel_init_wait, 5*HZ); netvsc_init_buf() 388 net_device->send_section_size = init_packet->msg. netvsc_init_buf() 393 net_device->send_section_cnt = netvsc_init_buf() 394 net_device->send_buf_size/net_device->send_section_size; netvsc_init_buf() 397 net_device->send_section_size, net_device->send_section_cnt); netvsc_init_buf() 400 net_device->map_words = DIV_ROUND_UP(net_device->send_section_cnt, netvsc_init_buf() 403 net_device->send_section_map = netvsc_init_buf() 404 kzalloc(net_device->map_words * sizeof(ulong), GFP_KERNEL); netvsc_init_buf() 405 if (net_device->send_section_map == NULL) { netvsc_init_buf() 413 netvsc_destroy_buf(net_device); netvsc_init_buf() 422 struct netvsc_device *net_device, negotiate_nvsp_ver() 444 t = wait_for_completion_timeout(&net_device->channel_init_wait, 5*HZ); negotiate_nvsp_ver() 459 init_packet->msg.v2_msg.send_ndis_config.mtu = net_device->ndev->mtu + negotiate_nvsp_ver() 477 struct netvsc_device *net_device; netvsc_connect_vsp() local 480 struct net_device *ndev; netvsc_connect_vsp() 485 net_device = get_outbound_net_device(device); netvsc_connect_vsp() 486 if (!net_device) netvsc_connect_vsp() 488 ndev = net_device->ndev; netvsc_connect_vsp() 490 init_packet = &net_device->channel_init_pkt; netvsc_connect_vsp() 494 if (negotiate_nvsp_ver(device, net_device, init_packet, netvsc_connect_vsp() 496 net_device->nvsp_version = ver_list[i]; netvsc_connect_vsp() 505 pr_debug("Negotiated NVSP version:%x\n", net_device->nvsp_version); netvsc_connect_vsp() 510 if (net_device->nvsp_version <= NVSP_PROTOCOL_VERSION_4) netvsc_connect_vsp() 532 if (net_device->nvsp_version <= NVSP_PROTOCOL_VERSION_2) netvsc_connect_vsp() 533 net_device->recv_buf_size = NETVSC_RECEIVE_BUFFER_SIZE_LEGACY; netvsc_connect_vsp() 535 net_device->recv_buf_size = NETVSC_RECEIVE_BUFFER_SIZE; netvsc_connect_vsp() 536 net_device->send_buf_size = NETVSC_SEND_BUFFER_SIZE; netvsc_connect_vsp() 544 static void netvsc_disconnect_vsp(struct netvsc_device *net_device) netvsc_disconnect_vsp() argument 546 netvsc_destroy_buf(net_device); netvsc_disconnect_vsp() 554 struct netvsc_device *net_device; netvsc_device_remove() local 557 net_device = hv_get_drvdata(device); netvsc_device_remove() 559 netvsc_disconnect_vsp(net_device); netvsc_device_remove() 574 * At this point, no one should be accessing net_device netvsc_device_remove() 583 vfree(net_device->sub_cb_buf); netvsc_device_remove() 584 free_netvsc_device(net_device); netvsc_device_remove() 606 static inline void netvsc_free_send_slot(struct netvsc_device *net_device, netvsc_free_send_slot() argument 609 sync_change_bit(index, net_device->send_section_map); netvsc_free_send_slot() 612 static void netvsc_send_completion(struct netvsc_device *net_device, netvsc_send_completion() argument 618 struct net_device *ndev; netvsc_send_completion() 621 ndev = net_device->ndev; netvsc_send_completion() 634 memcpy(&net_device->channel_init_pkt, nvsp_packet, netvsc_send_completion() 636 complete(&net_device->channel_init_wait); netvsc_send_completion() 652 netvsc_free_send_slot(net_device, send_index); netvsc_send_completion() 660 atomic_dec_return(&net_device->num_outstanding_sends); netvsc_send_completion() 661 queue_sends = atomic_dec_return(&net_device-> netvsc_send_completion() 664 if (net_device->destroy && num_outstanding_sends == 0) netvsc_send_completion() 665 wake_up(&net_device->wait_drain); netvsc_send_completion() 668 !net_device->start_remove && netvsc_send_completion() 680 static u32 netvsc_get_next_send_section(struct netvsc_device *net_device) netvsc_get_next_send_section() argument 683 u32 max_words = net_device->map_words; netvsc_get_next_send_section() 684 unsigned long *map_addr = (unsigned long *)net_device->send_section_map; netvsc_get_next_send_section() 685 u32 section_cnt = net_device->send_section_cnt; netvsc_get_next_send_section() 705 static u32 netvsc_copy_to_send_buf(struct netvsc_device *net_device, netvsc_copy_to_send_buf() argument 710 char *start = net_device->send_buf; netvsc_copy_to_send_buf() 711 char *dest = start + (section_index * net_device->send_section_size) netvsc_copy_to_send_buf() 716 u32 remain = packet->total_data_buflen % net_device->pkt_align; netvsc_copy_to_send_buf() 723 padding = net_device->pkt_align - remain; netvsc_copy_to_send_buf() 748 struct netvsc_device *net_device) netvsc_send_pkt() 753 struct net_device *ndev = net_device->ndev; netvsc_send_pkt() 815 atomic_inc(&net_device->num_outstanding_sends); netvsc_send_pkt() 816 atomic_inc(&net_device->queue_sends[q_idx]); netvsc_send_pkt() 821 if (atomic_read(&net_device-> netvsc_send_pkt() 829 if (atomic_read(&net_device->queue_sends[q_idx]) < 1) { netvsc_send_pkt() 845 struct netvsc_device *net_device; netvsc_send() local 856 net_device = get_outbound_net_device(device); netvsc_send() 857 if (!net_device) netvsc_send() 860 out_channel = net_device->chn_table[q_idx]; netvsc_send() 870 msdp = &net_device->msd[q_idx]; netvsc_send() 878 net_device->max_pkt; netvsc_send() 880 if (try_batch && msd_len + pktlen + net_device->pkt_align < netvsc_send() 881 net_device->send_section_size) { netvsc_send() 885 net_device->send_section_size) { netvsc_send() 889 } else if (packet->is_data_pkt && pktlen + net_device->pkt_align < netvsc_send() 890 net_device->send_section_size) { netvsc_send() 891 section_index = netvsc_get_next_send_section(net_device); netvsc_send() 901 netvsc_copy_to_send_buf(net_device, netvsc_send() 936 m_ret = netvsc_send_pkt(msd_send, net_device); netvsc_send() 939 netvsc_free_send_slot(net_device, netvsc_send() 946 ret = netvsc_send_pkt(cur_send, net_device); netvsc_send() 949 netvsc_free_send_slot(net_device, section_index); netvsc_send() 956 struct netvsc_device *net_device, netvsc_send_recv_completion() 962 struct net_device *ndev; netvsc_send_recv_completion() 964 ndev = net_device->ndev; netvsc_send_recv_completion() 999 static void netvsc_receive(struct netvsc_device *net_device, netvsc_receive() argument 1011 struct net_device *ndev; netvsc_receive() 1013 ndev = net_device->ndev; netvsc_receive() 1052 netvsc_packet->data = (void *)((unsigned long)net_device-> netvsc_receive() 1064 netvsc_send_recv_completion(device, channel, net_device, netvsc_receive() 1073 struct net_device *ndev; netvsc_send_table() 1122 struct netvsc_device *net_device; netvsc_channel_cb() local 1128 struct net_device *ndev; netvsc_channel_cb() 1136 net_device = get_inbound_net_device(device); netvsc_channel_cb() 1137 if (!net_device) netvsc_channel_cb() 1139 ndev = net_device->ndev; netvsc_channel_cb() 1152 netvsc_send_completion(net_device, netvsc_channel_cb() 1157 netvsc_receive(net_device, channel, netvsc_channel_cb() 1163 net_device, netvsc_channel_cb() 1214 struct netvsc_device *net_device; netvsc_device_add() local 1215 struct net_device *ndev; netvsc_device_add() 1217 net_device = alloc_net_device(device); netvsc_device_add() 1218 if (!net_device) netvsc_device_add() 1221 net_device->ring_size = ring_size; netvsc_device_add() 1224 * Coming into this function, struct net_device * is netvsc_device_add() 1227 * as the driver private data and stash away struct net_device * netvsc_device_add() 1230 ndev = net_device->ndev; netvsc_device_add() 1233 net_device->nd_ctx = netdev_priv(ndev); netvsc_device_add() 1236 init_completion(&net_device->channel_init_wait); netvsc_device_add() 1238 set_per_channel_state(device->channel, net_device->cb_buffer); netvsc_device_add() 1253 net_device->chn_table[0] = device->channel; netvsc_device_add() 1270 free_netvsc_device(net_device); netvsc_device_add() 421 negotiate_nvsp_ver(struct hv_device *device, struct netvsc_device *net_device, struct nvsp_message *init_packet, u32 nvsp_ver) negotiate_nvsp_ver() argument 746 netvsc_send_pkt( struct hv_netvsc_packet *packet, struct netvsc_device *net_device) netvsc_send_pkt() argument 954 netvsc_send_recv_completion(struct hv_device *device, struct vmbus_channel *channel, struct netvsc_device *net_device, u64 transaction_id, u32 status) netvsc_send_recv_completion() argument
|
H A D | rndis_filter.c | 129 struct net_device *netdev; dump_rndis_message() 130 struct netvsc_device *net_device; dump_rndis_message() local 132 net_device = hv_get_drvdata(hv_dev); dump_rndis_message() 133 netdev = net_device->ndev; dump_rndis_message() 269 struct net_device *ndev; rndis_filter_receive_response() 405 struct net_device *ndev; rndis_filter_receive() 557 struct net_device *ndev = nvdev->ndev; rndis_filter_set_device_mac() 636 struct net_device *ndev = nvdev->ndev; rndis_filter_set_offload_params() 708 struct net_device *ndev = rdev->net_dev->ndev; rndis_filter_set_rss_param() 804 struct net_device *ndev; rndis_filter_set_packet_filter() 1015 struct netvsc_device *net_device; rndis_filter_device_add() local 1047 net_device = hv_get_drvdata(dev); rndis_filter_device_add() 1048 net_device->max_chn = 1; rndis_filter_device_add() 1049 net_device->num_chn = 1; rndis_filter_device_add() 1051 spin_lock_init(&net_device->sc_lock); rndis_filter_device_add() 1053 net_device->extension = rndis_device; rndis_filter_device_add() 1054 rndis_device->net_dev = net_device; rndis_filter_device_add() 1068 if (ret == 0 && size == sizeof(u32) && mtu < net_device->ndev->mtu) rndis_filter_device_add() 1069 net_device->ndev->mtu = mtu; rndis_filter_device_add() 1107 if (net_device->nvsp_version < NVSP_PROTOCOL_VERSION_5) rndis_filter_device_add() 1120 net_device->max_chn = rsscap.num_recv_que; rndis_filter_device_add() 1130 if (device_info->num_chn && device_info->num_chn < net_device->max_chn) rndis_filter_device_add() 1131 net_device->num_chn = device_info->num_chn; rndis_filter_device_add() 1133 net_device->num_chn = min(num_possible_rss_qs, num_rss_qs); rndis_filter_device_add() 1135 num_rss_qs = net_device->num_chn - 1; rndis_filter_device_add() 1136 net_device->num_sc_offered = num_rss_qs; rndis_filter_device_add() 1138 if (net_device->num_chn == 1) rndis_filter_device_add() 1141 net_device->sub_cb_buf = vzalloc((net_device->num_chn - 1) * rndis_filter_device_add() 1143 if (!net_device->sub_cb_buf) { rndis_filter_device_add() 1144 net_device->num_chn = 1; rndis_filter_device_add() 1151 init_packet = &net_device->channel_init_pkt; rndis_filter_device_add() 1156 net_device->num_chn - 1; rndis_filter_device_add() 1164 t = wait_for_completion_timeout(&net_device->channel_init_wait, 5*HZ); rndis_filter_device_add() 1174 net_device->num_chn = 1 + rndis_filter_device_add() 1177 ret = rndis_filter_set_rss_param(rndis_device, net_device->num_chn); rndis_filter_device_add() 1182 spin_lock_irqsave(&net_device->sc_lock, flags); rndis_filter_device_add() 1183 sc_delta = num_rss_qs - (net_device->num_chn - 1); rndis_filter_device_add() 1184 net_device->num_sc_offered -= sc_delta; rndis_filter_device_add() 1185 spin_unlock_irqrestore(&net_device->sc_lock, flags); rndis_filter_device_add() 1187 while (net_device->num_sc_offered != 0) { rndis_filter_device_add() 1188 t = wait_for_completion_timeout(&net_device->channel_init_wait, 10*HZ); rndis_filter_device_add() 1194 net_device->max_chn = 1; rndis_filter_device_add() 1195 net_device->num_chn = 1; rndis_filter_device_add() 1222 struct netvsc_device *net_device = hv_get_drvdata(dev); rndis_filter_open() local 1224 if (!net_device) rndis_filter_open() 1227 return rndis_filter_open_device(net_device->extension); rndis_filter_open()
|
/linux-4.4.14/include/net/netfilter/ |
H A D | nfnetlink_log.h | 9 const struct net_device *in, 10 const struct net_device *out,
|
H A D | nf_log.h | 40 const struct net_device *in, 41 const struct net_device *out, 77 const struct net_device *in, 78 const struct net_device *out, 87 const struct net_device *in, 88 const struct net_device *out, 107 const struct net_device *in, 108 const struct net_device *out,
|
/linux-4.4.14/include/net/phonet/ |
H A 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); 55 struct net_device *phonet_route_output(struct net *net, u8 daddr);
|
/linux-4.4.14/drivers/net/ethernet/8390/ |
H A D | 8390.c | 8 int ei_open(struct net_device *dev) ei_open() 14 int ei_close(struct net_device *dev) ei_close() 20 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev) ei_start_xmit() 26 struct net_device_stats *ei_get_stats(struct net_device *dev) ei_get_stats() 32 void ei_set_multicast_list(struct net_device *dev) ei_set_multicast_list() 38 void ei_tx_timeout(struct net_device *dev) ei_tx_timeout() 51 void ei_poll(struct net_device *dev) ei_poll() 74 struct net_device *__alloc_ei_netdev(int size) __alloc_ei_netdev() 76 struct net_device *dev = ____alloc_ei_netdev(size); __alloc_ei_netdev() 83 void NS8390_init(struct net_device *dev, int startp) NS8390_init()
|
H A D | 8390p.c | 13 int eip_open(struct net_device *dev) eip_open() 19 int eip_close(struct net_device *dev) eip_close() 25 netdev_tx_t eip_start_xmit(struct sk_buff *skb, struct net_device *dev) eip_start_xmit() 31 struct net_device_stats *eip_get_stats(struct net_device *dev) eip_get_stats() 37 void eip_set_multicast_list(struct net_device *dev) eip_set_multicast_list() 43 void eip_tx_timeout(struct net_device *dev) eip_tx_timeout() 56 void eip_poll(struct net_device *dev) eip_poll() 79 struct net_device *__alloc_eip_netdev(int size) __alloc_eip_netdev() 81 struct net_device *dev = ____alloc_ei_netdev(size); __alloc_eip_netdev() 88 void NS8390p_init(struct net_device *dev, int startp) NS8390p_init()
|
H A 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); alloc_ei_netdev() 43 static inline struct net_device *alloc_ei_netdev(void) alloc_ei_netdev() 49 void NS8390p_init(struct net_device *dev, int startp); 50 int eip_open(struct net_device *dev); 51 int eip_close(struct net_device *dev); 53 void eip_tx_timeout(struct net_device *dev); 54 netdev_tx_t eip_start_xmit(struct sk_buff *skb, struct net_device *dev); 55 void eip_set_multicast_list(struct net_device *dev); 56 struct net_device_stats *eip_get_stats(struct net_device *dev); 60 struct net_device *__alloc_eip_netdev(int size); alloc_eip_netdev() 61 static inline struct net_device *alloc_eip_netdev(void) alloc_eip_netdev() 69 void (*reset_8390)(struct net_device *); 70 void (*get_8390_hdr)(struct net_device *, struct e8390_pkt_hdr *, int); 71 void (*block_output)(struct net_device *, int, const unsigned char *, int); 72 void (*block_input)(struct net_device *, int, struct sk_buff *, int);
|
H A 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, 145 static void dayna_memcpy_tocard(struct net_device *dev, int to, 149 static void dayna_get_8390_hdr(struct net_device *dev, 151 static void dayna_block_input(struct net_device *dev, int count, 153 static void dayna_block_output(struct net_device *dev, int count, 162 static void slow_sane_get_8390_hdr(struct net_device *dev, 164 static void slow_sane_block_input(struct net_device *dev, int count, 166 static void slow_sane_block_output(struct net_device *dev, int count, 292 static bool __init mac8390_init(struct net_device *dev, struct nubus_dev *ndev, mac8390_init() 394 struct net_device * __init mac8390_probe(int unit) mac8390_probe() 396 struct net_device *dev; mac8390_probe() 457 static struct net_device *dev_mac8390; 492 static int __init mac8390_initdev(struct net_device *dev, mac8390_initdev() 629 static int mac8390_open(struct net_device *dev) mac8390_open() 640 static int mac8390_close(struct net_device *dev) mac8390_close() 647 static void mac8390_no_reset(struct net_device *dev) mac8390_no_reset() 655 static void interlan_reset(struct net_device *dev) interlan_reset() 670 static void dayna_memcpy_fromcard(struct net_device *dev, void *to, int from, dayna_memcpy_fromcard() 694 static void dayna_memcpy_tocard(struct net_device *dev, int to, dayna_memcpy_tocard() 721 static void sane_get_8390_hdr(struct net_device *dev, sane_get_8390_hdr() 730 static void sane_block_input(struct net_device *dev, int count, sane_block_input() 749 static void sane_block_output(struct net_device *dev, int count, sane_block_output() 758 static void dayna_get_8390_hdr(struct net_device *dev, dayna_get_8390_hdr() 768 static void dayna_block_input(struct net_device *dev, int count, dayna_block_input() 790 static void dayna_block_output(struct net_device *dev, int count, dayna_block_output() 800 static void slow_sane_get_8390_hdr(struct net_device *dev, slow_sane_get_8390_hdr() 810 static void slow_sane_block_input(struct net_device *dev, int count, slow_sane_block_input() 830 static void slow_sane_block_output(struct net_device *dev, int count, slow_sane_block_output()
|
H A 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; hydra_init() 186 static int hydra_open(struct net_device *dev) hydra_open() 192 static int hydra_close(struct net_device *dev) hydra_close() 201 static void hydra_reset_8390(struct net_device *dev) hydra_reset_8390() 206 static void hydra_get_8390_hdr(struct net_device *dev, hydra_get_8390_hdr() 222 static void hydra_block_input(struct net_device *dev, int count, hydra_block_input() 243 static void hydra_block_output(struct net_device *dev, int count, hydra_block_output() 257 struct net_device *dev = zorro_get_drvdata(z); hydra_remove_one()
|
H A 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; stnic_probe() 173 stnic_reset (struct net_device *dev) stnic_reset() 185 stnic_get_hdr (struct net_device *dev, struct e8390_pkt_hdr *hdr, stnic_get_hdr() 222 stnic_block_input (struct net_device *dev, int length, struct sk_buff *skb, stnic_block_input() 255 stnic_block_output (struct net_device *dev, int length, stnic_block_output() 288 stnic_init (struct net_device *dev) stnic_init()
|
/linux-4.4.14/include/linux/can/ |
H A D | dev.h | 52 int (*do_set_bittiming)(struct net_device *dev); 53 int (*do_set_data_bittiming)(struct net_device *dev); 54 int (*do_set_mode)(struct net_device *dev, enum can_mode mode); 55 int (*do_get_state)(const struct net_device *dev, 57 int (*do_get_berr_counter)(const struct net_device *dev, 84 static inline bool can_dropped_invalid_skb(struct net_device *dev, can_dropped_invalid_skb() 115 static inline void can_set_static_ctrlmode(struct net_device *dev, can_set_static_ctrlmode() 135 struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max); 136 void free_candev(struct net_device *dev); 139 struct can_priv *safe_candev_priv(struct net_device *dev); 141 int open_candev(struct net_device *dev); 142 void close_candev(struct net_device *dev); 143 int can_change_mtu(struct net_device *dev, int new_mtu); 145 int register_candev(struct net_device *dev); 146 void unregister_candev(struct net_device *dev); 148 int can_restart_now(struct net_device *dev); 149 void can_bus_off(struct net_device *dev); 151 void can_change_state(struct net_device *dev, struct can_frame *cf, 154 void can_put_echo_skb(struct sk_buff *skb, struct net_device *dev, 156 unsigned int can_get_echo_skb(struct net_device *dev, unsigned int idx); 157 void can_free_echo_skb(struct net_device *dev, unsigned int idx); 159 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf); 160 struct sk_buff *alloc_canfd_skb(struct net_device *dev, 162 struct sk_buff *alloc_can_err_skb(struct net_device *dev,
|
H A D | led.h | 30 void can_led_event(struct net_device *netdev, enum can_led_event event); 31 void devm_can_led_init(struct net_device *netdev); 37 static inline void can_led_event(struct net_device *netdev, can_led_event() 41 static inline void devm_can_led_init(struct net_device *netdev) devm_can_led_init()
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
H A D | debugfs.h | 7 void lbs_debugfs_init_one(struct lbs_private *priv, struct net_device *dev);
|
H A 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,
|
H A D | decl.h | 27 struct net_device; 38 struct net_device *dev); 57 int lbs_set_mac_address(struct net_device *dev, void *addr); 58 void lbs_set_multicast_list(struct net_device *dev);
|
H A D | ethtool.c | 11 static void lbs_ethtool_get_drvinfo(struct net_device *dev, lbs_ethtool_get_drvinfo() 32 static int lbs_ethtool_get_eeprom_len(struct net_device *dev) lbs_ethtool_get_eeprom_len() 37 static int lbs_ethtool_get_eeprom(struct net_device *dev, lbs_ethtool_get_eeprom() 66 static void lbs_ethtool_get_wol(struct net_device *dev, lbs_ethtool_get_wol() 86 static int lbs_ethtool_set_wol(struct net_device *dev, lbs_ethtool_set_wol()
|
/linux-4.4.14/net/hsr/ |
H A 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);
|
H A 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) hsr_port_get_rtnl() 32 static inline struct hsr_port *hsr_port_get_rcu(const struct net_device *dev) hsr_port_get_rcu()
|
/linux-4.4.14/include/net/netfilter/ipv6/ |
H A D | nf_nat_masquerade.h | 6 const struct net_device *out);
|
/linux-4.4.14/net/dsa/ |
H A D | dsa_priv.h | 19 struct sk_buff *(*xmit)(struct sk_buff *skb, struct net_device *dev); 20 int (*rcv)(struct sk_buff *skb, struct net_device *dev, 21 struct packet_type *pt, struct net_device *orig_dev); 29 struct net_device *dev; 31 struct net_device *dev); 50 struct net_device *bridge_dev; 64 int dsa_slave_suspend(struct net_device *slave_dev); 65 int dsa_slave_resume(struct net_device *slave_dev);
|
H A D | slave.c | 59 static int dsa_slave_get_iflink(const struct net_device *dev) dsa_slave_get_iflink() 71 static int dsa_slave_open(struct net_device *dev) dsa_slave_open() 74 struct net_device *master = p->parent->dst->master_netdev; dsa_slave_open() 127 static int dsa_slave_close(struct net_device *dev) dsa_slave_close() 130 struct net_device *master = p->parent->dst->master_netdev; dsa_slave_close() 155 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) dsa_slave_change_rx_flags() 158 struct net_device *master = p->parent->dst->master_netdev; dsa_slave_change_rx_flags() 166 static void dsa_slave_set_rx_mode(struct net_device *dev) dsa_slave_set_rx_mode() 169 struct net_device *master = p->parent->dst->master_netdev; dsa_slave_set_rx_mode() 175 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) dsa_slave_set_mac_address() 178 struct net_device *master = p->parent->dst->master_netdev; dsa_slave_set_mac_address() 204 const struct net_device *bridge, dsa_bridge_check_vlan_range() 208 struct net_device *dev, *vlan_br; dsa_bridge_check_vlan_range() 244 static int dsa_slave_port_vlan_add(struct net_device *dev, dsa_slave_port_vlan_add() 277 static int dsa_slave_port_vlan_del(struct net_device *dev, dsa_slave_port_vlan_del() 289 static int dsa_slave_port_vlan_dump(struct net_device *dev, dsa_slave_port_vlan_dump() 332 static int dsa_slave_port_fdb_add(struct net_device *dev, dsa_slave_port_fdb_add() 351 static int dsa_slave_port_fdb_del(struct net_device *dev, dsa_slave_port_fdb_del() 364 static int dsa_slave_port_fdb_dump(struct net_device *dev, dsa_slave_port_fdb_dump() 377 static int dsa_slave_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) dsa_slave_ioctl() 392 struct net_device *bridge) dsa_slave_br_port_mask() 412 static int dsa_slave_stp_update(struct net_device *dev, u8 state) dsa_slave_stp_update() 424 static int dsa_slave_port_attr_set(struct net_device *dev, dsa_slave_port_attr_set() 448 static int dsa_slave_port_obj_add(struct net_device *dev, dsa_slave_port_obj_add() 478 static int dsa_slave_port_obj_del(struct net_device *dev, dsa_slave_port_obj_del() 500 static int dsa_slave_port_obj_dump(struct net_device *dev, dsa_slave_port_obj_dump() 525 static int dsa_slave_bridge_port_join(struct net_device *dev, dsa_slave_bridge_port_join() 526 struct net_device *br) dsa_slave_bridge_port_join() 541 static int dsa_slave_bridge_port_leave(struct net_device *dev) dsa_slave_bridge_port_leave() 562 static int dsa_slave_port_attr_get(struct net_device *dev, dsa_slave_port_attr_get() 592 static netdev_tx_t dsa_slave_xmit(struct sk_buff *skb, struct net_device *dev) dsa_slave_xmit() 621 struct net_device *dev) dsa_slave_notag_xmit() 630 dsa_slave_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) dsa_slave_get_settings() 646 dsa_slave_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) dsa_slave_set_settings() 656 static void dsa_slave_get_drvinfo(struct net_device *dev, dsa_slave_get_drvinfo() 665 static int dsa_slave_get_regs_len(struct net_device *dev) dsa_slave_get_regs_len() 677 dsa_slave_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *_p) dsa_slave_get_regs() 686 static int dsa_slave_nway_reset(struct net_device *dev) dsa_slave_nway_reset() 696 static u32 dsa_slave_get_link(struct net_device *dev) dsa_slave_get_link() 708 static int dsa_slave_get_eeprom_len(struct net_device *dev) dsa_slave_get_eeprom_len() 722 static int dsa_slave_get_eeprom(struct net_device *dev, dsa_slave_get_eeprom() 734 static int dsa_slave_set_eeprom(struct net_device *dev, dsa_slave_set_eeprom() 746 static void dsa_slave_get_strings(struct net_device *dev, dsa_slave_get_strings() 764 static void dsa_slave_get_ethtool_stats(struct net_device *dev, dsa_slave_get_ethtool_stats() 779 static int dsa_slave_get_sset_count(struct net_device *dev, int sset) dsa_slave_get_sset_count() 797 static void dsa_slave_get_wol(struct net_device *dev, struct ethtool_wolinfo *w) dsa_slave_get_wol() 806 static int dsa_slave_set_wol(struct net_device *dev, struct ethtool_wolinfo *w) dsa_slave_set_wol() 818 static int dsa_slave_set_eee(struct net_device *dev, struct ethtool_eee *e) dsa_slave_set_eee() 837 static int dsa_slave_get_eee(struct net_device *dev, struct ethtool_eee *e) dsa_slave_get_eee() 857 static int dsa_slave_netpoll_setup(struct net_device *dev, dsa_slave_netpoll_setup() 862 struct net_device *master = ds->dst->master_netdev; dsa_slave_netpoll_setup() 881 static void dsa_slave_netpoll_cleanup(struct net_device *dev) dsa_slave_netpoll_cleanup() 894 static void dsa_slave_poll_controller(struct net_device *dev) dsa_slave_poll_controller() 953 static void dsa_slave_adjust_link(struct net_device *dev) dsa_slave_adjust_link() 981 static int dsa_slave_fixed_link_update(struct net_device *dev, dsa_slave_fixed_link_update() 995 struct net_device *slave_dev, dsa_slave_phy_connect() 1016 struct net_device *slave_dev) dsa_slave_phy_setup() 1092 static void dsa_slave_set_lockdep_class_one(struct net_device *dev, dsa_slave_set_lockdep_class_one() 1100 int dsa_slave_suspend(struct net_device *slave_dev) dsa_slave_suspend() 1115 int dsa_slave_resume(struct net_device *slave_dev) dsa_slave_resume() 1132 struct net_device *master = ds->dst->master_netdev; dsa_slave_create() 1133 struct net_device *slave_dev; dsa_slave_create() 1215 static bool dsa_slave_dev_check(struct net_device *dev) dsa_slave_dev_check() 1220 static int dsa_slave_master_changed(struct net_device *dev) dsa_slave_master_changed() 1222 struct net_device *master = netdev_master_upper_dev_get(dev); dsa_slave_master_changed() 1238 struct net_device *dev; dsa_slave_netdevice_event()
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
H A D | mon.h | 25 struct net_device; 29 struct net_device *rtl88eu_mon_init(void); 30 void rtl88eu_mon_deinit(struct net_device *dev); 32 void rtl88eu_mon_recv_hook(struct net_device *dev, struct recv_frame *frame); 33 void rtl88eu_mon_xmit_hook(struct net_device *dev, struct xmit_frame *frame,
|
H A D | osdep_intf.h | 37 int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 39 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname); 40 struct net_device *rtw_init_netdev(struct adapter *padapter); 42 void rtw_proc_remove_one(struct net_device *dev); 44 int pm_netdev_open(struct net_device *pnetdev, u8 bnormal);
|
/linux-4.4.14/net/mac802154/ |
H A D | ieee802154_i.h | 88 struct net_device *dev; 111 IEEE802154_DEV_TO_SUB_IF(const struct net_device *dev) IEEE802154_DEV_TO_SUB_IF() 133 ieee802154_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev); 135 ieee802154_subif_start_xmit(struct sk_buff *skb, struct net_device *dev); 139 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan); 141 int mac802154_get_params(struct net_device *dev, 143 int mac802154_set_params(struct net_device *dev, 147 int mac802154_add_key(struct net_device *dev, 150 int mac802154_del_key(struct net_device *dev, 153 int mac802154_add_dev(struct net_device *dev, 155 int mac802154_del_dev(struct net_device *dev, __le64 dev_addr); 157 int mac802154_add_devkey(struct net_device *dev, 160 int mac802154_del_devkey(struct net_device *dev, 164 int mac802154_add_seclevel(struct net_device *dev, 166 int mac802154_del_seclevel(struct net_device *dev, 169 void mac802154_lock_table(struct net_device *dev); 170 void mac802154_get_table(struct net_device *dev, 172 void mac802154_unlock_table(struct net_device *dev); 174 int mac802154_wpan_update_llsec(struct net_device *dev); 180 struct net_device *
|
H A D | mib.c | 29 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan) mac802154_dev_set_page_channel() 48 int mac802154_get_params(struct net_device *dev, mac802154_get_params() 63 int mac802154_set_params(struct net_device *dev, mac802154_set_params() 79 int mac802154_add_key(struct net_device *dev, mac802154_add_key() 95 int mac802154_del_key(struct net_device *dev, mac802154_del_key() 110 int mac802154_add_dev(struct net_device *dev, mac802154_add_dev() 125 int mac802154_del_dev(struct net_device *dev, __le64 dev_addr) mac802154_del_dev() 139 int mac802154_add_devkey(struct net_device *dev, mac802154_add_devkey() 155 int mac802154_del_devkey(struct net_device *dev, mac802154_del_devkey() 171 int mac802154_add_seclevel(struct net_device *dev, mac802154_add_seclevel() 186 int mac802154_del_seclevel(struct net_device *dev, mac802154_del_seclevel() 201 void mac802154_lock_table(struct net_device *dev) mac802154_lock_table() 210 void mac802154_get_table(struct net_device *dev, mac802154_get_table() 220 void mac802154_unlock_table(struct net_device *dev) mac802154_unlock_table()
|
H A D | cfg.c | 23 static struct net_device * ieee802154_add_iface_deprecated() 29 struct net_device *dev; ieee802154_add_iface_deprecated() 40 struct net_device *dev) ieee802154_del_iface_deprecated() 96 struct net_device *err; ieee802154_add_iface() 275 struct net_device *dev = wpan_dev->netdev; ieee802154_get_llsec_table() 285 struct net_device *dev = wpan_dev->netdev; ieee802154_lock_llsec_table() 295 struct net_device *dev = wpan_dev->netdev; ieee802154_unlock_llsec_table() 307 struct net_device *dev = wpan_dev->netdev; ieee802154_set_llsec_params() 323 struct net_device *dev = wpan_dev->netdev; ieee802154_get_llsec_params() 339 struct net_device *dev = wpan_dev->netdev; ieee802154_add_llsec_key() 354 struct net_device *dev = wpan_dev->netdev; ieee802154_del_llsec_key() 369 struct net_device *dev = wpan_dev->netdev; ieee802154_add_seclevel() 384 struct net_device *dev = wpan_dev->netdev; ieee802154_del_seclevel() 399 struct net_device *dev = wpan_dev->netdev; ieee802154_add_device() 414 struct net_device *dev = wpan_dev->netdev; ieee802154_del_device() 430 struct net_device *dev = wpan_dev->netdev; ieee802154_add_devkey() 446 struct net_device *dev = wpan_dev->netdev; ieee802154_del_devkey()
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib.h | 165 struct net_device *dev; 229 struct net_device *dev; 239 struct net_device *dev; 314 struct net_device *dev; 376 struct net_device *parent; 396 struct net_device *dev; 404 struct net_device *dev; 428 struct net_device *dev; 446 struct ipoib_neigh *ipoib_neigh_get(struct net_device *dev, u8 *daddr); 448 struct net_device *dev); 450 void ipoib_del_neighs_by_gid(struct net_device *dev, u8 *gid); 460 struct ipoib_ah *ipoib_create_ah(struct net_device *dev, 467 int ipoib_open(struct net_device *dev); 468 int ipoib_add_pkey_attr(struct net_device *dev); 469 int ipoib_add_umcast_attr(struct net_device *dev); 471 void ipoib_send(struct net_device *dev, struct sk_buff *skb, 475 void ipoib_mark_paths_invalid(struct net_device *dev); 476 void ipoib_flush_paths(struct net_device *dev); 479 int ipoib_ib_dev_init(struct net_device *dev, struct ib_device *ca, int port); 484 void ipoib_ib_dev_cleanup(struct net_device *dev); 486 int ipoib_ib_dev_open(struct net_device *dev); 487 int ipoib_ib_dev_up(struct net_device *dev); 488 int ipoib_ib_dev_down(struct net_device *dev); 489 int ipoib_ib_dev_stop(struct net_device *dev); 490 void ipoib_pkey_dev_check_presence(struct net_device *dev); 492 int ipoib_dev_init(struct net_device *dev, struct ib_device *ca, int port); 493 void ipoib_dev_cleanup(struct net_device *dev); 497 void ipoib_mcast_send(struct net_device *dev, u8 *daddr, struct sk_buff *skb); 501 int ipoib_mcast_start_thread(struct net_device *dev); 502 int ipoib_mcast_stop_thread(struct net_device *dev); 504 void ipoib_mcast_dev_down(struct net_device *dev); 505 void ipoib_mcast_dev_flush(struct net_device *dev); 535 struct ipoib_mcast_iter *ipoib_mcast_iter_init(struct net_device *dev); 544 struct ipoib_path_iter *ipoib_path_iter_init(struct net_device *dev); 550 int ipoib_mcast_attach(struct net_device *dev, u16 mlid, 552 int ipoib_mcast_leave(struct net_device *dev, struct ipoib_mcast *mcast); 553 struct ipoib_mcast *__ipoib_mcast_find(struct net_device *dev, void *mgid); 555 int ipoib_init_qp(struct net_device *dev); 556 int ipoib_transport_dev_init(struct net_device *dev, struct ib_device *ca); 557 void ipoib_transport_dev_cleanup(struct net_device *dev); 562 int ipoib_vlan_add(struct net_device *pdev, unsigned short pkey); 563 int ipoib_vlan_delete(struct net_device *pdev, unsigned short pkey); 571 void ipoib_set_umcast(struct net_device *ndev, int umcast_val); 572 int ipoib_set_mode(struct net_device *dev, const char *buf); 574 void ipoib_setup(struct net_device *dev); 577 void ipoib_drain_cq(struct net_device *dev); 579 void ipoib_set_ethtool_ops(struct net_device *dev); 592 static inline int ipoib_cm_admin_enabled(struct net_device *dev) ipoib_cm_admin_enabled() 599 static inline int ipoib_cm_enabled(struct net_device *dev, u8 *hwaddr) ipoib_cm_enabled() 622 static inline int ipoib_cm_has_srq(struct net_device *dev) ipoib_cm_has_srq() 628 static inline unsigned int ipoib_cm_max_mtu(struct net_device *dev) ipoib_cm_max_mtu() 634 void ipoib_cm_send(struct net_device *dev, struct sk_buff *skb, struct ipoib_cm_tx *tx); 635 int ipoib_cm_dev_open(struct net_device *dev); 636 void ipoib_cm_dev_stop(struct net_device *dev); 637 int ipoib_cm_dev_init(struct net_device *dev); 638 int ipoib_cm_add_mode_attr(struct net_device *dev); 639 void ipoib_cm_dev_cleanup(struct net_device *dev); 640 struct ipoib_cm_tx *ipoib_cm_create_tx(struct net_device *dev, struct ipoib_path *path, 643 void ipoib_cm_skb_too_long(struct net_device *dev, struct sk_buff *skb, 645 void ipoib_cm_handle_rx_wc(struct net_device *dev, struct ib_wc *wc); 646 void ipoib_cm_handle_tx_wc(struct net_device *dev, struct ib_wc *wc); 653 static inline int ipoib_cm_admin_enabled(struct net_device *dev) ipoib_cm_admin_enabled() 657 static inline int ipoib_cm_enabled(struct net_device *dev, u8 *hwaddr) ipoib_cm_enabled() 678 static inline int ipoib_cm_has_srq(struct net_device *dev) ipoib_cm_has_srq() 683 static inline unsigned int ipoib_cm_max_mtu(struct net_device *dev) ipoib_cm_max_mtu() 689 void ipoib_cm_send(struct net_device *dev, struct sk_buff *skb, struct ipoib_cm_tx *tx) ipoib_cm_send() 695 int ipoib_cm_dev_open(struct net_device *dev) ipoib_cm_dev_open() 701 void ipoib_cm_dev_stop(struct net_device *dev) ipoib_cm_dev_stop() 707 int ipoib_cm_dev_init(struct net_device *dev) ipoib_cm_dev_init() 713 void ipoib_cm_dev_cleanup(struct net_device *dev) ipoib_cm_dev_cleanup() 719 struct ipoib_cm_tx *ipoib_cm_create_tx(struct net_device *dev, struct ipoib_path *path, ipoib_cm_create_tx() 732 int ipoib_cm_add_mode_attr(struct net_device *dev) ipoib_cm_add_mode_attr() 737 static inline void ipoib_cm_skb_too_long(struct net_device *dev, struct sk_buff *skb, ipoib_cm_skb_too_long() 743 static inline void ipoib_cm_handle_rx_wc(struct net_device *dev, struct ib_wc *wc) ipoib_cm_handle_rx_wc() 747 static inline void ipoib_cm_handle_tx_wc(struct net_device *dev, struct ib_wc *wc) ipoib_cm_handle_tx_wc() 753 void ipoib_create_debug_files(struct net_device *dev); 754 void ipoib_delete_debug_files(struct net_device *dev); 758 static inline void ipoib_create_debug_files(struct net_device *dev) { } ipoib_delete_debug_files() 759 static inline void ipoib_delete_debug_files(struct net_device *dev) { } ipoib_register_debugfs()
|
H A D | ipoib_main.c | 80 struct net_device *dev; 97 static struct net_device *ipoib_get_net_dev_by_params( 109 int ipoib_open(struct net_device *dev) ipoib_open() 158 static int ipoib_stop(struct net_device *dev) ipoib_stop() 191 static void ipoib_uninit(struct net_device *dev) ipoib_uninit() 196 static netdev_features_t ipoib_fix_features(struct net_device *dev, netdev_features_t features) ipoib_fix_features() 206 static int ipoib_change_mtu(struct net_device *dev, int new_mtu) ipoib_change_mtu() 235 struct net_device *dev) ipoib_is_dev_match_addr_rcu() 268 * Find the master net_device on top of the given net_device. 269 * @dev: base IPoIB net_device 271 * Returns the master net_device with a reference held, or the same net_device 274 static struct net_device *ipoib_get_master_net_dev(struct net_device *dev) ipoib_get_master_net_dev() 276 struct net_device *master; ipoib_get_master_net_dev() 292 * Find a net_device matching the given address, which is an upper device of 293 * the given net_device. 295 * @dev: base IPoIB net_device 297 * If found, returns the net_device with a reference held. Otherwise return 300 static struct net_device *ipoib_get_net_dev_match_addr( ipoib_get_net_dev_match_addr() 301 const struct sockaddr *addr, struct net_device *dev) ipoib_get_net_dev_match_addr() 303 struct net_device *upper, ipoib_get_net_dev_match_addr() 329 * @found_net_dev: contains a matching net_device if the return value >= 1, 336 struct net_device **found_net_dev) ipoib_match_gid_pkey_addr() 339 struct net_device *net_dev = NULL; ipoib_match_gid_pkey_addr() 347 /* Verify the net_device matches the IP address, as ipoib_match_gid_pkey_addr() 376 * return the matching net_device in the @net_dev parameter, holding a 377 * reference to the net_device, if the number of matches >= 1 */ __ipoib_get_net_dev_by_params() 382 struct net_device **net_dev) __ipoib_get_net_dev_by_params() 402 static struct net_device *ipoib_get_net_dev_by_params( ipoib_get_net_dev_by_params() 407 struct net_device *net_dev; ipoib_get_net_dev_by_params() 452 int ipoib_set_mode(struct net_device *dev, const char *buf) ipoib_set_mode() 484 static struct ipoib_path *__path_find(struct net_device *dev, void *gid) __path_find() 508 static int __path_add(struct net_device *dev, struct ipoib_path *path) __path_add() 538 static void path_free(struct net_device *dev, struct ipoib_path *path) path_free() 558 struct ipoib_path_iter *ipoib_path_iter_init(struct net_device *dev) ipoib_path_iter_init() 614 void ipoib_mark_paths_invalid(struct net_device *dev) ipoib_mark_paths_invalid() 631 void ipoib_flush_paths(struct net_device *dev) ipoib_flush_paths() 666 struct net_device *dev = path->dev; path_rec_completion() 756 static struct ipoib_path *path_rec_create(struct net_device *dev, void *gid) path_rec_create() 783 static int path_rec_start(struct net_device *dev, path_rec_start() 815 struct net_device *dev) neigh_add_path() 891 static void unicast_arp_send(struct sk_buff *skb, struct net_device *dev, unicast_arp_send() 950 static int ipoib_start_xmit(struct sk_buff *skb, struct net_device *dev) ipoib_start_xmit() 1033 static void ipoib_timeout(struct net_device *dev) ipoib_timeout() 1046 struct net_device *dev, ipoib_hard_header() 1068 static void ipoib_set_mcast_list(struct net_device *dev) ipoib_set_mcast_list() 1080 static int ipoib_get_iflink(const struct net_device *dev) ipoib_get_iflink() 1108 struct ipoib_neigh *ipoib_neigh_get(struct net_device *dev, u8 *daddr) ipoib_neigh_get() 1154 struct net_device *dev = priv->dev; __ipoib_reap_neigh() 1230 struct net_device *dev) ipoib_neigh_ctor() 1250 struct net_device *dev) ipoib_neigh_alloc() 1308 struct net_device *dev = neigh->dev; ipoib_neigh_dtor() 1340 struct net_device *dev = neigh->dev; ipoib_neigh_free() 1422 void ipoib_del_neighs_by_gid(struct net_device *dev, u8 *gid) ipoib_del_neighs_by_gid() 1508 static void ipoib_neigh_hash_uninit(struct net_device *dev) ipoib_neigh_hash_uninit() 1528 int ipoib_dev_init(struct net_device *dev, struct ib_device *ca, int port) ipoib_dev_init() 1575 void ipoib_dev_cleanup(struct net_device *dev) ipoib_dev_cleanup() 1624 void ipoib_setup(struct net_device *dev) ipoib_setup() 1672 struct net_device *dev; ipoib_intf_alloc() 1699 void ipoib_set_umcast(struct net_device *ndev, int umcast_val) ipoib_set_umcast() 1723 int ipoib_add_umcast_attr(struct net_device *dev) ipoib_add_umcast_attr() 1773 int ipoib_add_pkey_attr(struct net_device *dev) ipoib_add_pkey_attr() 1814 static struct net_device *ipoib_add_port(const char *format, ipoib_add_port() 1935 struct net_device *dev; ipoib_add_one()
|
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/ |
H A 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); 86 void (*napi_disable_rx)(struct net_device *dev); 87 void (*napi_clear_tx_event)(struct net_device *dev); 88 void (*napi_enable_tx)(struct net_device *dev); 89 void (*napi_disable_tx)(struct net_device *dev); 90 void (*rx_bd_done)(struct net_device *dev); 91 void (*tx_kickstart)(struct net_device *dev); 92 u32 (*get_int_events)(struct net_device *dev); 93 void (*clear_int_events)(struct net_device *dev, u32 int_events); 94 void (*ev_error)(struct net_device *dev, u32 int_events); 95 int (*get_regs)(struct net_device *dev, void *p, int *sizep); 96 int (*get_regs_len)(struct net_device *dev); 97 void (*tx_restart)(struct net_device *dev); 103 void (*startup) (struct net_device * dev); 104 void (*shutdown) (struct net_device * dev); 105 void (*ack_int) (struct net_device * dev); 127 struct net_device *ndev; 193 void fs_init_bds(struct net_device *dev); 194 void fs_cleanup_bds(struct net_device *dev);
|
H A D | mac-fec.c | 119 static int setup_data(struct net_device *dev) setup_data() 138 static int allocate_bd(struct net_device *dev) allocate_bd() 153 static void free_bd(struct net_device *dev) free_bd() 165 static void cleanup_data(struct net_device *dev) cleanup_data() 170 static void set_promiscuous_mode(struct net_device *dev) set_promiscuous_mode() 178 static void set_multicast_start(struct net_device *dev) set_multicast_start() 186 static void set_multicast_one(struct net_device *dev, const u8 *mac) set_multicast_one() 218 static void set_multicast_finish(struct net_device *dev) set_multicast_finish() 235 static void set_multicast_list(struct net_device *dev) set_multicast_list() 248 static void restart(struct net_device *dev) restart() 360 static void stop(struct net_device *dev) stop() 399 static void napi_clear_rx_event(struct net_device *dev) napi_clear_rx_event() 407 static void napi_enable_rx(struct net_device *dev) napi_enable_rx() 415 static void napi_disable_rx(struct net_device *dev) napi_disable_rx() 423 static void napi_clear_tx_event(struct net_device *dev) napi_clear_tx_event() 431 static void napi_enable_tx(struct net_device *dev) napi_enable_tx() 439 static void napi_disable_tx(struct net_device *dev) napi_disable_tx() 447 static void rx_bd_done(struct net_device *dev) rx_bd_done() 455 static void tx_kickstart(struct net_device *dev) tx_kickstart() 463 static u32 get_int_events(struct net_device *dev) get_int_events() 471 static void clear_int_events(struct net_device *dev, u32 int_events) clear_int_events() 479 static void ev_error(struct net_device *dev, u32 int_events) ev_error() 486 static int get_regs(struct net_device *dev, void *p, int *sizep) get_regs() 498 static int get_regs_len(struct net_device *dev) get_regs_len() 503 static void tx_restart(struct net_device *dev) tx_restart()
|
H A D | mac-scc.c | 124 static int setup_data(struct net_device *dev) setup_data() 142 static int allocate_bd(struct net_device *dev) allocate_bd() 158 static void free_bd(struct net_device *dev) free_bd() 166 static void cleanup_data(struct net_device *dev) cleanup_data() 171 static void set_promiscuous_mode(struct net_device *dev) set_promiscuous_mode() 179 static void set_multicast_start(struct net_device *dev) set_multicast_start() 190 static void set_multicast_one(struct net_device *dev, const u8 * mac) set_multicast_one() 206 static void set_multicast_finish(struct net_device *dev) set_multicast_finish() 226 static void set_multicast_list(struct net_device *dev) set_multicast_list() 244 static void restart(struct net_device *dev) restart() 364 static void stop(struct net_device *dev) stop() 382 static void napi_clear_rx_event(struct net_device *dev) napi_clear_rx_event() 390 static void napi_enable_rx(struct net_device *dev) napi_enable_rx() 398 static void napi_disable_rx(struct net_device *dev) napi_disable_rx() 406 static void napi_clear_tx_event(struct net_device *dev) napi_clear_tx_event() 414 static void napi_enable_tx(struct net_device *dev) napi_enable_tx() 422 static void napi_disable_tx(struct net_device *dev) napi_disable_tx() 430 static void rx_bd_done(struct net_device *dev) rx_bd_done() 435 static void tx_kickstart(struct net_device *dev) tx_kickstart() 440 static u32 get_int_events(struct net_device *dev) get_int_events() 448 static void clear_int_events(struct net_device *dev, u32 int_events) clear_int_events() 456 static void ev_error(struct net_device *dev, u32 int_events) ev_error() 463 static int get_regs(struct net_device *dev, void *p, int *sizep) get_regs() 478 static int get_regs_len(struct net_device *dev) get_regs_len() 483 static void tx_restart(struct net_device *dev) tx_restart()
|
/linux-4.4.14/net/l3mdev/ |
H A D | l3mdev.c | 20 int l3mdev_master_ifindex_rcu(struct net_device *dev) l3mdev_master_ifindex_rcu() 30 struct net_device *master; l3mdev_master_ifindex_rcu() 47 u32 l3mdev_fib_table_rcu(const struct net_device *dev) l3mdev_fib_table_rcu() 61 struct net_device *_dev = (struct net_device *) dev; l3mdev_fib_table_rcu() 62 const struct net_device *master; l3mdev_fib_table_rcu() 76 struct net_device *dev; l3mdev_fib_table_by_index()
|
/linux-4.4.14/include/net/netfilter/ipv4/ |
H A D | nf_nat_masquerade.h | 9 const struct net_device *out);
|
/linux-4.4.14/include/net/tc_act/ |
H A D | tc_mirred.h | 11 struct net_device __rcu *tcfm_dev;
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_enet.h | 50 struct net_device *netdev; 76 void hns_ethtool_set_ops(struct net_device *ndev); 77 void hns_nic_net_reset(struct net_device *ndev); 78 void hns_nic_net_reinit(struct net_device *netdev); 79 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h); 80 int hns_nic_net_xmit_hw(struct net_device *ndev,
|
/linux-4.4.14/drivers/net/ |
H A D | veth.c | 36 struct net_device __rcu *peer; 50 static int veth_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) veth_get_settings() 65 static void veth_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) veth_get_drvinfo() 71 static void veth_get_strings(struct net_device *dev, u32 stringset, u8 *buf) veth_get_strings() 80 static int veth_get_sset_count(struct net_device *dev, int sset) veth_get_sset_count() 90 static void veth_get_ethtool_stats(struct net_device *dev, veth_get_ethtool_stats() 94 struct net_device *peer = rtnl_dereference(priv->peer); veth_get_ethtool_stats() 108 static netdev_tx_t veth_xmit(struct sk_buff *skb, struct net_device *dev) veth_xmit() 111 struct net_device *rcv; veth_xmit() 140 static u64 veth_stats_one(struct pcpu_vstats *result, struct net_device *dev) veth_stats_one() 163 static struct rtnl_link_stats64 *veth_get_stats64(struct net_device *dev, veth_get_stats64() 167 struct net_device *peer; veth_get_stats64() 187 static void veth_set_multicast_list(struct net_device *dev) veth_set_multicast_list() 191 static int veth_open(struct net_device *dev) veth_open() 194 struct net_device *peer = rtnl_dereference(priv->peer); veth_open() 206 static int veth_close(struct net_device *dev) veth_close() 209 struct net_device *peer = rtnl_dereference(priv->peer); veth_close() 223 static int veth_change_mtu(struct net_device *dev, int new_mtu) veth_change_mtu() 231 static int veth_dev_init(struct net_device *dev) veth_dev_init() 239 static void veth_dev_free(struct net_device *dev) veth_dev_free() 246 static void veth_poll_controller(struct net_device *dev) veth_poll_controller() 260 static int veth_get_iflink(const struct net_device *dev) veth_get_iflink() 263 struct net_device *peer; veth_get_iflink() 297 static void veth_setup(struct net_device *dev) veth_setup() 341 static int veth_newlink(struct net *src_net, struct net_device *dev, veth_newlink() 345 struct net_device *peer; veth_newlink() 457 static void veth_dellink(struct net_device *dev, struct list_head *head) veth_dellink() 460 struct net_device *peer; veth_dellink() 483 static struct net *veth_get_link_net(const struct net_device *dev) veth_get_link_net() 486 struct net_device *peer = rtnl_dereference(priv->peer); veth_get_link_net()
|
H A D | nlmon.c | 15 static netdev_tx_t nlmon_xmit(struct sk_buff *skb, struct net_device *dev) nlmon_xmit() 39 static int nlmon_change_mtu(struct net_device *dev, int new_mtu) nlmon_change_mtu() 48 static int nlmon_dev_init(struct net_device *dev) nlmon_dev_init() 54 static void nlmon_dev_uninit(struct net_device *dev) nlmon_dev_uninit() 63 static int nlmon_open(struct net_device *dev) nlmon_open() 72 static int nlmon_close(struct net_device *dev) nlmon_close() 80 nlmon_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) nlmon_get_stats64() 111 static u32 always_on(struct net_device *dev) always_on() 130 static void nlmon_setup(struct net_device *dev) nlmon_setup()
|
H A D | vrf.c | 47 ((struct net_device *)rcu_dereference(dev->rx_handler_data)) 51 struct net_device *dev; 166 static void vrf_tx_error(struct net_device *vrf_dev, struct sk_buff *skb) vrf_tx_error() 178 struct net_device *dev = vrf_master_get_rcu(skb->dev); vrf_handle_frame() 193 static struct rtnl_link_stats64 *vrf_get_stats64(struct net_device *dev, vrf_get_stats64() 223 struct net_device *dev) vrf_process_v6_outbound() 262 struct net_device *dev) vrf_process_v6_outbound() 270 struct net_device *vrf_dev) vrf_send_v4_prep() 293 struct net_device *vrf_dev) vrf_process_v4_outbound() 328 static netdev_tx_t is_ip_tx_frame(struct sk_buff *skb, struct net_device *dev) is_ip_tx_frame() 344 static netdev_tx_t vrf_xmit(struct sk_buff *skb, struct net_device *dev) vrf_xmit() 408 struct net_device *dev = dst->dev; vrf_finish_output6() 450 static int vrf_rt6_create(struct net_device *dev) vrf_rt6_create() 507 static int vrf_rt6_create(struct net_device *dev) vrf_rt6_create() 518 struct net_device *dev = dst->dev; vrf_finish_output() 558 struct net_device *dev = skb_dst(skb)->dev; vrf_output() 579 static struct rtable *vrf_rtable_create(struct net_device *dev) vrf_rtable_create() 608 static void cycle_netdev(struct net_device *dev) cycle_netdev() 628 struct net_device *dev) __vrf_find_slave_dev() 652 static int do_vrf_add_slave(struct net_device *dev, struct net_device *port_dev) do_vrf_add_slave() 690 static int vrf_add_slave(struct net_device *dev, struct net_device *port_dev) vrf_add_slave() 699 static int do_vrf_del_slave(struct net_device *dev, struct net_device *port_dev) do_vrf_del_slave() 721 static int vrf_del_slave(struct net_device *dev, struct net_device *port_dev) vrf_del_slave() 726 static void vrf_dev_uninit(struct net_device *dev) vrf_dev_uninit() 743 static int vrf_dev_init(struct net_device *dev) vrf_dev_init() 783 static u32 vrf_fib_table(const struct net_device *dev) vrf_fib_table() 790 static struct rtable *vrf_get_rtable(const struct net_device *dev, vrf_get_rtable() 806 static int vrf_get_saddr(struct net_device *dev, struct flowi4 *fl4) vrf_get_saddr() 841 static struct dst_entry *vrf_get_rt6_dst(const struct net_device *dev, vrf_get_rt6_dst() 866 static void vrf_get_drvinfo(struct net_device *dev, vrf_get_drvinfo() 877 static void vrf_setup(struct net_device *dev) vrf_setup() 908 static void vrf_dellink(struct net_device *dev, struct list_head *head) vrf_dellink() 913 static int vrf_newlink(struct net *src_net, struct net_device *dev, vrf_newlink() 928 static size_t vrf_nl_getsize(const struct net_device *dev) vrf_nl_getsize() 934 const struct net_device *dev) vrf_fillinfo() 963 struct net_device *dev = netdev_notifier_info_to_dev(ptr); vrf_device_event() 967 struct net_device *vrf_dev; vrf_device_event()
|
H A 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) eql_setup() 205 static int eql_open(struct net_device *dev) eql_open() 248 static int eql_close(struct net_device *dev) 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); 268 static int eql_s_slave_cfg(struct net_device *dev, slave_config_t __user *sc); 270 static int eql_g_master_cfg(struct net_device *dev, master_config_t __user *mc); 271 static int eql_s_master_cfg(struct net_device *dev, master_config_t __user *mc); 273 static int eql_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) eql_ioctl() 333 static netdev_tx_t eql_slave_xmit(struct sk_buff *skb, struct net_device *dev) eql_slave_xmit() 342 struct net_device *slave_dev = slave->dev; eql_slave_xmit() 364 static slave_t *__eql_find_slave_dev(slave_queue_t *queue, struct net_device *dev) __eql_find_slave_dev() 409 static int eql_enslave(struct net_device *master_dev, slaving_request_t __user *srqp) eql_enslave() 411 struct net_device *slave_dev; eql_enslave() 451 static int eql_emancipate(struct net_device *master_dev, slaving_request_t __user *srqp) eql_emancipate() 454 struct net_device *slave_dev; eql_emancipate() 479 static int eql_g_slave_cfg(struct net_device *dev, slave_config_t __user *scp) eql_g_slave_cfg() 483 struct net_device *slave_dev; eql_g_slave_cfg() 512 static int eql_s_slave_cfg(struct net_device *dev, slave_config_t __user *scp) eql_s_slave_cfg() 516 struct net_device *slave_dev; eql_s_slave_cfg() 545 static int eql_g_master_cfg(struct net_device *dev, master_config_t __user *mcp) eql_g_master_cfg() 563 static int eql_s_master_cfg(struct net_device *dev, master_config_t __user *mcp) eql_s_master_cfg() 580 static struct net_device *dev_eql;
|
H A 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) macvlan_port_get_rcu() 88 static struct macvlan_port *macvlan_port_get_rtnl(const struct net_device *dev) macvlan_port_get_rtnl() 202 struct net_device *dev = vlan->dev; macvlan_broadcast_one() 233 struct net_device *src, macvlan_broadcast() 365 struct net_device *dev; macvlan_forward_source_one() 408 struct net_device *dev; macvlan_handle_frame() 471 static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev) macvlan_queue_xmit() 512 struct net_device *dev) macvlan_start_xmit() 542 static int macvlan_hard_header(struct sk_buff *skb, struct net_device *dev, macvlan_hard_header() 547 struct net_device *lowerdev = vlan->lowerdev; macvlan_hard_header() 562 static int macvlan_open(struct net_device *dev) macvlan_open() 565 struct net_device *lowerdev = vlan->lowerdev; macvlan_open() 627 static int macvlan_stop(struct net_device *dev) macvlan_stop() 630 struct net_device *lowerdev = vlan->lowerdev; macvlan_stop() 661 static int macvlan_sync_address(struct net_device *dev, unsigned char *addr) macvlan_sync_address() 664 struct net_device *lowerdev = vlan->lowerdev; macvlan_sync_address() 688 static int macvlan_set_mac_address(struct net_device *dev, void *p) macvlan_set_mac_address() 704 static void macvlan_change_rx_flags(struct net_device *dev, int change) macvlan_change_rx_flags() 707 struct net_device *lowerdev = vlan->lowerdev; macvlan_change_rx_flags() 719 static void macvlan_set_mac_lists(struct net_device *dev) macvlan_set_mac_lists() 742 static int macvlan_change_mtu(struct net_device *dev, int new_mtu) macvlan_change_mtu() 773 static int macvlan_get_nest_level(struct net_device *dev) macvlan_get_nest_level() 778 static void macvlan_set_lockdep_class_one(struct net_device *dev, macvlan_set_lockdep_class_one() 786 static void macvlan_set_lockdep_class(struct net_device *dev) macvlan_set_lockdep_class() 794 static int macvlan_init(struct net_device *dev) macvlan_init() 797 const struct net_device *lowerdev = vlan->lowerdev; macvlan_init() 817 static void macvlan_uninit(struct net_device *dev) macvlan_uninit() 830 static struct rtnl_link_stats64 *macvlan_dev_get_stats64(struct net_device *dev, macvlan_dev_get_stats64() 871 static int macvlan_vlan_rx_add_vid(struct net_device *dev, macvlan_vlan_rx_add_vid() 875 struct net_device *lowerdev = vlan->lowerdev; macvlan_vlan_rx_add_vid() 880 static int macvlan_vlan_rx_kill_vid(struct net_device *dev, macvlan_vlan_rx_kill_vid() 884 struct net_device *lowerdev = vlan->lowerdev; macvlan_vlan_rx_kill_vid() 891 struct net_device *dev, macvlan_fdb_add() 916 struct net_device *dev, macvlan_fdb_del() 936 static void macvlan_ethtool_get_drvinfo(struct net_device *dev, macvlan_ethtool_get_drvinfo() 943 static int macvlan_ethtool_get_settings(struct net_device *dev, macvlan_ethtool_get_settings() 951 static netdev_features_t macvlan_fix_features(struct net_device *dev, macvlan_fix_features() 971 static void macvlan_dev_poll_controller(struct net_device *dev) macvlan_dev_poll_controller() 976 static int macvlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *npinfo) macvlan_dev_netpoll_setup() 979 struct net_device *real_dev = vlan->lowerdev; macvlan_dev_netpoll_setup() 1000 static void macvlan_dev_netpoll_cleanup(struct net_device *dev) macvlan_dev_netpoll_cleanup() 1014 static int macvlan_dev_get_iflink(const struct net_device *dev) macvlan_dev_get_iflink() 1055 void macvlan_common_setup(struct net_device *dev) macvlan_common_setup() 1069 static void macvlan_setup(struct net_device *dev) macvlan_setup() 1075 static int macvlan_port_create(struct net_device *dev) macvlan_port_create() 1110 static void macvlan_port_destroy(struct net_device *dev) macvlan_port_destroy() 1244 int macvlan_common_newlink(struct net *src_net, struct net_device *dev, macvlan_common_newlink() 1249 struct net_device *lowerdev; macvlan_common_newlink() 1340 static int macvlan_newlink(struct net *src_net, struct net_device *dev, macvlan_newlink() 1346 void macvlan_dellink(struct net_device *dev, struct list_head *head) macvlan_dellink() 1358 static int macvlan_changelink(struct net_device *dev, macvlan_changelink() 1416 static size_t macvlan_get_size(const struct net_device *dev) macvlan_get_size() 1445 const struct net_device *dev) macvlan_fill_info() 1498 static struct net *macvlan_get_link_net(const struct net_device *dev) macvlan_get_link_net() 1514 struct net_device *dev = netdev_notifier_info_to_dev(ptr); macvlan_device_event()
|
H A D | dummy.c | 47 static void set_multicast_list(struct net_device *dev) set_multicast_list() 57 static struct rtnl_link_stats64 *dummy_get_stats64(struct net_device *dev, dummy_get_stats64() 79 static netdev_tx_t dummy_xmit(struct sk_buff *skb, struct net_device *dev) dummy_xmit() 92 static int dummy_dev_init(struct net_device *dev) dummy_dev_init() 101 static void dummy_dev_uninit(struct net_device *dev) dummy_dev_uninit() 106 static int dummy_change_carrier(struct net_device *dev, bool new_carrier) dummy_change_carrier() 126 static void dummy_get_drvinfo(struct net_device *dev, dummy_get_drvinfo() 137 static void dummy_setup(struct net_device *dev) dummy_setup() 182 struct net_device *dev_dummy; dummy_init_one()
|
H A D | ifb.c | 42 struct net_device *dev; 61 static netdev_tx_t ifb_xmit(struct sk_buff *skb, struct net_device *dev); 62 static int ifb_open(struct net_device *dev); 63 static int ifb_close(struct net_device *dev); 132 static struct rtnl_link_stats64 *ifb_stats64(struct net_device *dev, ifb_stats64() 164 static int ifb_dev_init(struct net_device *dev) ifb_dev_init() 202 static void ifb_dev_free(struct net_device *dev) ifb_dev_free() 217 static void ifb_setup(struct net_device *dev) ifb_setup() 238 static netdev_tx_t ifb_xmit(struct sk_buff *skb, struct net_device *dev) ifb_xmit() 267 static int ifb_close(struct net_device *dev) ifb_close() 273 static int ifb_open(struct net_device *dev) ifb_open() 307 struct net_device *dev_ifb; ifb_init_one()
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
H A 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);
|
H A D | hostap_80211.h | 81 int prism2_rx_80211(struct net_device *dev, struct sk_buff *skb, 83 void hostap_80211_rx(struct net_device *dev, struct sk_buff *skb, 90 struct net_device *dev); 92 struct net_device *dev); 94 struct net_device *dev);
|
H A D | hostap_pci.c | 55 static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v) hfa384x_outb_debug() 72 static inline u8 hfa384x_inb_debug(struct net_device *dev, int a) hfa384x_inb_debug() 91 static inline void hfa384x_outw_debug(struct net_device *dev, int a, u16 v) hfa384x_outw_debug() 108 static inline u16 hfa384x_inw_debug(struct net_device *dev, int a) hfa384x_inw_debug() 136 static inline void hfa384x_outb(struct net_device *dev, int a, u8 v) hfa384x_outb() 145 static inline u8 hfa384x_inb(struct net_device *dev, int a) hfa384x_inb() 154 static inline void hfa384x_outw(struct net_device *dev, int a, u16 v) hfa384x_outw() 163 static inline u16 hfa384x_inw(struct net_device *dev, int a) hfa384x_inw() 182 static int hfa384x_from_bap(struct net_device *dev, u16 bap, void *buf, hfa384x_from_bap() 201 static int hfa384x_to_bap(struct net_device *dev, u16 bap, void *buf, int len) hfa384x_to_bap() 224 struct net_device *dev = local->dev; prism2_pci_cor_sreset() 269 struct net_device *dev = local->dev; prism2_pci_genesis_reset() 295 struct net_device *dev = NULL; prism2_pci_probe() 378 struct net_device *dev; prism2_pci_remove() 409 struct net_device *dev = pci_get_drvdata(pdev); prism2_pci_suspend() 425 struct net_device *dev = pci_get_drvdata(pdev); prism2_pci_resume()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.h | 44 int ixgbe_ndo_set_vf_mac(struct net_device *netdev, int queue, u8 *mac); 45 int ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int queue, u16 vlan, 47 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, 49 int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting); 50 int ixgbe_ndo_set_vf_rss_query_en(struct net_device *netdev, int vf, 52 int ixgbe_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting); 53 int ixgbe_ndo_get_vf_config(struct net_device *netdev,
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | roce_gid_mgmt.c | 61 struct net_device *ndev; 62 struct net_device *filter_ndev; 91 static enum bonding_slave_state is_eth_active_slave_of_bonding_rcu(struct net_device *dev, is_eth_active_slave_of_bonding_rcu() 92 struct net_device *upper) is_eth_active_slave_of_bonding_rcu() 95 struct net_device *pdev = is_eth_active_slave_of_bonding_rcu() 106 static bool is_upper_dev_rcu(struct net_device *dev, struct net_device *upper) is_upper_dev_rcu() 108 struct net_device *_upper = NULL; is_upper_dev_rcu() 121 struct net_device *rdma_ndev, void *cookie) is_eth_port_of_netdev() 123 struct net_device *event_ndev = (struct net_device *)cookie; is_eth_port_of_netdev() 124 struct net_device *real_dev; is_eth_port_of_netdev() 145 struct net_device *rdma_ndev, void *cookie) is_eth_port_inactive_slave() 147 struct net_device *master_dev; is_eth_port_inactive_slave() 163 struct net_device *rdma_ndev, void *cookie) pass_all_filter() 169 struct net_device *rdma_ndev, void *cookie) upper_device_filter() 171 struct net_device *event_ndev = (struct net_device *)cookie; upper_device_filter() 189 u8 port, struct net_device *ndev, update_gid_ip() 203 u8 port, struct net_device *event_ndev, enum_netdev_default_gids() 204 struct net_device *rdma_ndev) enum_netdev_default_gids() 224 struct net_device *event_ndev, bond_delete_netdev_default_gids() 225 struct net_device *rdma_ndev) bond_delete_netdev_default_gids() 227 struct net_device *real_dev = rdma_vlan_dev_real_dev(event_ndev); bond_delete_netdev_default_gids() 250 u8 port, struct net_device *ndev) enum_netdev_ipv4_ips() 294 u8 port, struct net_device *ndev) enum_netdev_ipv6_ips() 342 struct net_device *ndev) _add_netdev_ips() 350 struct net_device *rdma_ndev, void *cookie) add_netdev_ips() 352 struct net_device *event_ndev = (struct net_device *)cookie; add_netdev_ips() 359 struct net_device *rdma_ndev, void *cookie) del_netdev_ips() 361 struct net_device *event_ndev = (struct net_device *)cookie; del_netdev_ips() 368 struct net_device *rdma_ndev, enum_all_gids_of_dev_cb() 372 struct net_device *ndev; enum_all_gids_of_dev_cb() 397 struct net_device *rdma_ndev, callback_for_addr_gid_device_scan() 411 struct net_device *ndev)) handle_netdev_upper() 413 struct net_device *ndev = (struct net_device *)cookie; handle_netdev_upper() 416 struct net_device *upper; handle_netdev_upper() 418 struct net_device *upper; handle_netdev_upper() 451 struct net_device *event_ndev) _roce_del_all_netdev_gids() 457 struct net_device *rdma_ndev, void *cookie) del_netdev_upper_ips() 463 struct net_device *rdma_ndev, void *cookie) add_netdev_upper_ips() 469 struct net_device *rdma_ndev, del_netdev_default_ips_join() 472 struct net_device *master_ndev; del_netdev_default_ips_join() 488 struct net_device *rdma_ndev, void *cookie) del_netdev_default_ips() 490 struct net_device *event_ndev = (struct net_device *)cookie; del_netdev_default_ips() 519 struct net_device *ndev) netdevice_queue_work() 583 struct net_device *ndev = netdev_notifier_info_to_dev(ptr); netdevice_event() 640 struct sockaddr *sa, struct net_device *ndev) addr_event() 685 struct net_device *ndev; inetaddr_event() 699 struct net_device *ndev; inet6addr_event()
|
/linux-4.4.14/net/bridge/ |
H A D | br_device.c | 34 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) br_dev_xmit() 92 static void br_set_lockdep_class(struct net_device *dev) br_set_lockdep_class() 97 static int br_dev_init(struct net_device *dev) br_dev_init() 114 static int br_dev_open(struct net_device *dev) br_dev_open() 126 static void br_dev_set_multicast_list(struct net_device *dev) br_dev_set_multicast_list() 130 static void br_dev_change_rx_flags(struct net_device *dev, int change) br_dev_change_rx_flags() 136 static int br_dev_stop(struct net_device *dev) br_dev_stop() 148 static struct rtnl_link_stats64 *br_get_stats64(struct net_device *dev, br_get_stats64() 177 static int br_change_mtu(struct net_device *dev, int new_mtu) br_change_mtu() 194 static int br_set_mac_address(struct net_device *dev, void *p) br_set_mac_address() 212 static void br_getinfo(struct net_device *dev, struct ethtool_drvinfo *info) br_getinfo() 220 static netdev_features_t br_fix_features(struct net_device *dev, br_fix_features() 229 static void br_poll_controller(struct net_device *br_dev) br_poll_controller() 233 static void br_netpoll_cleanup(struct net_device *dev) br_netpoll_cleanup() 269 static int br_netpoll_setup(struct net_device *dev, struct netpoll_info *ni) br_netpoll_setup() 305 static int br_add_slave(struct net_device *dev, struct net_device *slave_dev) br_add_slave() 313 static int br_del_slave(struct net_device *dev, struct net_device *slave_dev) br_del_slave() 353 static void br_dev_free(struct net_device *dev) br_dev_free() 365 void br_dev_setup(struct net_device *dev) br_dev_setup()
|
/linux-4.4.14/net/batman-adv/ |
H A D | debugfs.h | 25 struct net_device; 33 int batadv_debugfs_add_meshif(struct net_device *dev); 34 void batadv_debugfs_del_meshif(struct net_device *dev); 48 static inline int batadv_debugfs_add_meshif(struct net_device *dev) batadv_debugfs_add_meshif() 53 static inline void batadv_debugfs_del_meshif(struct net_device *dev) batadv_debugfs_del_meshif()
|
H A D | soft-interface.h | 25 struct net_device; 29 void batadv_interface_rx(struct net_device *soft_iface, 32 struct net_device *batadv_softif_create(const char *name); 33 void batadv_softif_destroy_sysfs(struct net_device *soft_iface); 34 int batadv_softif_is_valid(const struct net_device *net_dev);
|
H A D | sysfs.h | 27 struct net_device; 46 int batadv_sysfs_add_meshif(struct net_device *dev); 47 void batadv_sysfs_del_meshif(struct net_device *dev); 49 struct net_device *dev); 51 int batadv_sysfs_add_vlan(struct net_device *dev,
|
H A D | hard-interface.h | 30 struct net_device; 53 bool batadv_is_wifi_netdev(struct net_device *net_device); 56 batadv_hardif_get_by_netdev(const struct net_device *net_dev); 62 int batadv_hardif_min_mtu(struct net_device *soft_iface); 63 void batadv_update_min_mtu(struct net_device *soft_iface);
|
H A D | debugfs.c | 267 struct net_device *net_dev = (struct net_device *)inode->i_private; batadv_originators_open() 281 struct net_device *net_dev = (struct net_device *)inode->i_private; batadv_originators_hardif_open() 288 struct net_device *net_dev = (struct net_device *)inode->i_private; batadv_gateways_open() 295 struct net_device *net_dev = (struct net_device *)inode->i_private; batadv_transtable_global_open() 303 struct net_device *net_dev = (struct net_device *)inode->i_private; batadv_bla_claim_table_open() 312 struct net_device *net_dev = (struct net_device *)inode->i_private; batadv_bla_backbone_table_open() 328 struct net_device *net_dev = (struct net_device *)inode->i_private; batadv_dat_cache_open() 336 struct net_device *net_dev = (struct net_device *)inode->i_private; batadv_transtable_local_open() 349 struct net_device *net_dev = (struct net_device *)inode->i_private; batadv_nc_nodes_open() 522 int batadv_debugfs_add_meshif(struct net_device *dev) batadv_debugfs_add_meshif() 564 void batadv_debugfs_del_meshif(struct net_device *dev) batadv_debugfs_del_meshif()
|
H A D | gateway_common.h | 25 struct net_device; 47 ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff,
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
H A D | osdep_intf.h | 28 int rtw_init_netdev23a_name23a(struct net_device *pnetdev, const char *ifname); 29 struct net_device *rtw_init_netdev23a(struct rtw_adapter *padapter); 39 void rtw_ndev_destructor(struct net_device *ndev);
|
H A D | xmit_osdep.h | 24 int rtw_xmit23a_entry23a(struct sk_buff *pkt, struct net_device *pnetdev); 36 int netdev_open23a(struct net_device *pnetdev);
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
H A 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); 247 /*** Navigate from net_device to orinoco_private ***/ ndev_priv() 248 static inline struct orinoco_private *ndev_priv(struct net_device *dev) ndev_priv()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | clip_tbl.h | 39 int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6); 40 void cxgb4_clip_release(const struct net_device *dev, const u32 *lip, u8 v6); 42 int cxgb4_update_root_dev_clip(struct net_device *dev);
|
H A D | cxgb4_uld.h | 171 int cxgb4_create_server(const struct net_device *dev, unsigned int stid, 174 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid, 177 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid, 179 int cxgb4_create_server_filter(const struct net_device *dev, unsigned int stid, 183 int cxgb4_remove_server_filter(const struct net_device *dev, unsigned int stid, 212 struct net_device; 242 struct net_device **ports; /* device ports */ 290 int cxgb4_ofld_send(struct net_device *dev, struct sk_buff *skb); 291 unsigned int cxgb4_dbfifo_count(const struct net_device *dev, int lpfifo); 292 unsigned int cxgb4_port_chan(const struct net_device *dev); 293 unsigned int cxgb4_port_viid(const struct net_device *dev); 295 unsigned int cxgb4_port_idx(const struct net_device *dev); 305 void cxgb4_iscsi_init(struct net_device *dev, unsigned int tag_mask, 309 int cxgb4_sync_txq_pidx(struct net_device *dev, u16 qid, u16 pidx, u16 size); 310 int cxgb4_flush_eq_cache(struct net_device *dev); 311 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte); 312 u64 cxgb4_read_sge_timestamp(struct net_device *dev); 315 int cxgb4_bar2_sge_qregs(struct net_device *dev,
|
/linux-4.4.14/drivers/staging/wilc1000/ |
H A D | wilc_wfi_cfgoperations.h | 94 struct wireless_dev *wilc_create_wiphy(struct net_device *net); 95 void wilc_free_wiphy(struct net_device *net); 97 int wilc_deinit_host_int(struct net_device *net); 98 int wilc_init_host_int(struct net_device *net); 101 struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_device *real_dev);
|
H A D | wilc_wfi_netdevice.h | 122 struct net_device *dev; 131 struct net_device *real_ndev; 155 struct net_device *ndev; 200 struct net_device *wilc_netdev; 206 struct net_device *real_ndev; 210 extern struct net_device *WILC_WFI_devs[]; 218 void wilc1000_wlan_deinit(struct net_device *dev); 220 u16 Set_machw_change_vir_if(struct net_device *dev, bool bValue);
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
H A D | ethtool.c | 74 static int igbvf_get_settings(struct net_device *netdev, igbvf_get_settings() 111 static int igbvf_set_settings(struct net_device *netdev, igbvf_set_settings() 117 static void igbvf_get_pauseparam(struct net_device *netdev, igbvf_get_pauseparam() 122 static int igbvf_set_pauseparam(struct net_device *netdev, igbvf_set_pauseparam() 128 static u32 igbvf_get_msglevel(struct net_device *netdev) igbvf_get_msglevel() 135 static void igbvf_set_msglevel(struct net_device *netdev, u32 data) igbvf_set_msglevel() 142 static int igbvf_get_regs_len(struct net_device *netdev) igbvf_get_regs_len() 148 static void igbvf_get_regs(struct net_device *netdev, igbvf_get_regs() 172 static int igbvf_get_eeprom_len(struct net_device *netdev) igbvf_get_eeprom_len() 177 static int igbvf_get_eeprom(struct net_device *netdev, igbvf_get_eeprom() 183 static int igbvf_set_eeprom(struct net_device *netdev, igbvf_set_eeprom() 189 static void igbvf_get_drvinfo(struct net_device *netdev, igbvf_get_drvinfo() 201 static void igbvf_get_ringparam(struct net_device *netdev, igbvf_get_ringparam() 214 static int igbvf_set_ringparam(struct net_device *netdev, igbvf_set_ringparam() 306 static void igbvf_diag_test(struct net_device *netdev, igbvf_diag_test() 323 static void igbvf_get_wol(struct net_device *netdev, igbvf_get_wol() 330 static int igbvf_set_wol(struct net_device *netdev, igbvf_set_wol() 336 static int igbvf_get_coalesce(struct net_device *netdev, igbvf_get_coalesce() 349 static int igbvf_set_coalesce(struct net_device *netdev, igbvf_set_coalesce() 384 static int igbvf_nway_reset(struct net_device *netdev) igbvf_nway_reset() 393 static void igbvf_get_ethtool_stats(struct net_device *netdev, igbvf_get_ethtool_stats() 412 static int igbvf_get_sset_count(struct net_device *dev, int stringset) igbvf_get_sset_count() 424 static void igbvf_get_strings(struct net_device *netdev, u32 stringset, igbvf_get_strings() 471 void igbvf_set_ethtool_ops(struct net_device *netdev) igbvf_set_ethtool_ops()
|
/linux-4.4.14/drivers/net/ipvlan/ |
H A D | ipvlan.h | 65 struct net_device *dev; 68 struct net_device *phy_dev; 92 struct net_device *dev; 102 static inline struct ipvl_port *ipvlan_port_get_rcu(const struct net_device *d) ipvlan_port_get_rcu() 107 static inline struct ipvl_port *ipvlan_port_get_rcu_bh(const struct net_device *d) ipvlan_port_get_rcu_bh() 112 static inline struct ipvl_port *ipvlan_port_get_rtnl(const struct net_device *d) ipvlan_port_get_rtnl() 117 void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev); 123 int ipvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev);
|
H A D | ipvlan_main.c | 12 void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev) ipvlan_adjust_mtu() 32 static int ipvlan_port_create(struct net_device *dev) ipvlan_port_create() 72 static void ipvlan_port_destroy(struct net_device *dev) ipvlan_port_destroy() 99 static void ipvlan_set_lockdep_class_one(struct net_device *dev, ipvlan_set_lockdep_class_one() 106 static void ipvlan_set_lockdep_class(struct net_device *dev) ipvlan_set_lockdep_class() 112 static int ipvlan_init(struct net_device *dev) ipvlan_init() 115 const struct net_device *phy_dev = ipvlan->phy_dev; ipvlan_init() 133 static void ipvlan_uninit(struct net_device *dev) ipvlan_uninit() 145 static int ipvlan_open(struct net_device *dev) ipvlan_open() 148 struct net_device *phy_dev = ipvlan->phy_dev; ipvlan_open() 162 static int ipvlan_stop(struct net_device *dev) ipvlan_stop() 165 struct net_device *phy_dev = ipvlan->phy_dev; ipvlan_stop() 180 struct net_device *dev) ipvlan_start_xmit() 202 static netdev_features_t ipvlan_fix_features(struct net_device *dev, ipvlan_fix_features() 210 static void ipvlan_change_rx_flags(struct net_device *dev, int change) ipvlan_change_rx_flags() 213 struct net_device *phy_dev = ipvlan->phy_dev; ipvlan_change_rx_flags() 219 static void ipvlan_set_multicast_mac_filter(struct net_device *dev) ipvlan_set_multicast_mac_filter() 246 static struct rtnl_link_stats64 *ipvlan_get_stats64(struct net_device *dev, ipvlan_get_stats64() 287 static int ipvlan_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) ipvlan_vlan_rx_add_vid() 290 struct net_device *phy_dev = ipvlan->phy_dev; ipvlan_vlan_rx_add_vid() 295 static int ipvlan_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, ipvlan_vlan_rx_kill_vid() 299 struct net_device *phy_dev = ipvlan->phy_dev; ipvlan_vlan_rx_kill_vid() 305 static int ipvlan_get_iflink(const struct net_device *dev) ipvlan_get_iflink() 327 static int ipvlan_hard_header(struct sk_buff *skb, struct net_device *dev, ipvlan_hard_header() 332 struct net_device *phy_dev = ipvlan->phy_dev; ipvlan_hard_header() 349 static int ipvlan_ethtool_get_settings(struct net_device *dev, ipvlan_ethtool_get_settings() 357 static void ipvlan_ethtool_get_drvinfo(struct net_device *dev, ipvlan_ethtool_get_drvinfo() 364 static u32 ipvlan_ethtool_get_msglevel(struct net_device *dev) ipvlan_ethtool_get_msglevel() 371 static void ipvlan_ethtool_set_msglevel(struct net_device *dev, u32 value) ipvlan_ethtool_set_msglevel() 386 static int ipvlan_nl_changelink(struct net_device *dev, ipvlan_nl_changelink() 400 static size_t ipvlan_nl_getsize(const struct net_device *dev) ipvlan_nl_getsize() 419 const struct net_device *dev) ipvlan_nl_fillinfo() 438 static int ipvlan_link_new(struct net *src_net, struct net_device *dev, ipvlan_link_new() 443 struct net_device *phy_dev; ipvlan_link_new() 502 static void ipvlan_link_delete(struct net_device *dev, struct list_head *head) ipvlan_link_delete() 518 static void ipvlan_link_setup(struct net_device *dev) ipvlan_link_setup() 559 struct net_device *dev = netdev_notifier_info_to_dev(ptr); ipvlan_device_event() 654 struct net_device *dev = (struct net_device *)if6->idev->dev; ipvlan_addr6_event() 728 struct net_device *dev = (struct net_device *)if4->ifa_dev->dev; ipvlan_addr4_event()
|
/linux-4.4.14/drivers/net/wan/lmc/ |
H A D | lmc.h | 9 int lmc_probe(struct net_device * dev); 21 int lmc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
|
H A D | lmc_proto.h | 13 static inline lmc_softc_t* dev_to_sc(struct net_device *dev) dev_to_sc()
|
/linux-4.4.14/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac_ethtool.c | 67 pasemi_mac_ethtool_get_settings(struct net_device *netdev, pasemi_mac_ethtool_get_settings() 80 pasemi_mac_ethtool_set_settings(struct net_device *netdev, pasemi_mac_ethtool_set_settings() 93 pasemi_mac_ethtool_get_msglevel(struct net_device *netdev) pasemi_mac_ethtool_get_msglevel() 100 pasemi_mac_ethtool_set_msglevel(struct net_device *netdev, pasemi_mac_ethtool_set_msglevel() 109 pasemi_mac_ethtool_get_ringparam(struct net_device *netdev, pasemi_mac_ethtool_get_ringparam() 120 static int pasemi_mac_get_sset_count(struct net_device *netdev, int sset) pasemi_mac_get_sset_count() 130 static void pasemi_mac_get_ethtool_stats(struct net_device *netdev, pasemi_mac_get_ethtool_stats() 142 static void pasemi_mac_get_strings(struct net_device *netdev, u32 stringset, pasemi_mac_get_strings()
|
/linux-4.4.14/drivers/net/arcnet/ |
H A D | com90io.c | 47 static int com90io_found(struct net_device *dev); 48 static void com90io_command(struct net_device *dev, int command); 49 static int com90io_status(struct net_device *dev); 50 static void com90io_setmask(struct net_device *dev, int mask); 51 static int com90io_reset(struct net_device *dev, int really_reset); 52 static void com90io_copy_to_card(struct net_device *dev, int bufnum, int offset, 54 static void com90io_copy_from_card(struct net_device *dev, int bufnum, 71 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) get_buffer_byte() 82 static void put_buffer_byte(struct net_device *dev, unsigned offset, put_buffer_byte() 95 static void get_whole_buffer(struct net_device *dev, unsigned offset, get_whole_buffer() 111 static void put_whole_buffer(struct net_device *dev, unsigned offset, put_whole_buffer() 130 static int __init com90io_probe(struct net_device *dev) com90io_probe() 218 /* Set up the struct net_device associated with this card. Called after 221 static int __init com90io_found(struct net_device *dev) com90io_found() 279 static int com90io_reset(struct net_device *dev, int really_reset) com90io_reset() 311 static void com90io_command(struct net_device *dev, int cmd) com90io_command() 318 static int com90io_status(struct net_device *dev) com90io_status() 325 static void com90io_setmask(struct net_device *dev, int mask) com90io_setmask() 332 static void com90io_copy_to_card(struct net_device *dev, int bufnum, com90io_copy_to_card() 339 static void com90io_copy_from_card(struct net_device *dev, int bufnum, com90io_copy_from_card() 378 static struct net_device *my_dev; 382 struct net_device *dev; com90io_init() 407 struct net_device *dev = my_dev; com90io_exit()
|
H A D | arc-rimi.c | 46 static int arcrimi_probe(struct net_device *dev); 47 static int arcrimi_found(struct net_device *dev); 48 static void arcrimi_command(struct net_device *dev, int command); 49 static int arcrimi_status(struct net_device *dev); 50 static void arcrimi_setmask(struct net_device *dev, int mask); 51 static int arcrimi_reset(struct net_device *dev, int really_reset); 52 static void arcrimi_copy_to_card(struct net_device *dev, int bufnum, int offset, 54 static void arcrimi_copy_from_card(struct net_device *dev, int bufnum, 67 static int __init arcrimi_probe(struct net_device *dev) arcrimi_probe() 120 /* Set up the struct net_device associated with this card. 123 static int __init arcrimi_found(struct net_device *dev) arcrimi_found() 240 static int arcrimi_reset(struct net_device *dev, int really_reset) arcrimi_reset() 263 static void arcrimi_setmask(struct net_device *dev, int mask) arcrimi_setmask() 271 static int arcrimi_status(struct net_device *dev) arcrimi_status() 279 static void arcrimi_command(struct net_device *dev, int cmd) arcrimi_command() 287 static void arcrimi_copy_to_card(struct net_device *dev, int bufnum, int offset, arcrimi_copy_to_card() 296 static void arcrimi_copy_from_card(struct net_device *dev, int bufnum, arcrimi_copy_from_card() 316 static struct net_device *my_dev; 320 struct net_device *dev; arc_rimi_init() 345 struct net_device *dev = my_dev; arc_rimi_exit()
|
H A D | arcdevice.h | 201 void (*rx)(struct net_device *dev, int bufnum, 203 int (*build_header)(struct sk_buff *skb, struct net_device *dev, 207 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt, 209 int (*continue_tx)(struct net_device *dev, int bufnum); 210 int (*ack_tx)(struct net_device *dev, int acked); 315 void (*command)(struct net_device *dev, int cmd); 316 int (*status)(struct net_device *dev); 317 void (*intmask)(struct net_device *dev, int mask); 318 int (*reset)(struct net_device *dev, int really_reset); 319 void (*open)(struct net_device *dev); 320 void (*close)(struct net_device *dev); 321 void (*datatrigger) (struct net_device * dev, int enable); 322 void (*recontrigger) (struct net_device * dev, int enable); 324 void (*copy_to_card)(struct net_device *dev, int bufnum, 326 void (*copy_from_card)(struct net_device *dev, int bufnum, 340 void arcnet_led_event(struct net_device *netdev, enum arcnet_led_event event); 341 void devm_arcnet_led_init(struct net_device *netdev, int index, int subid); 344 void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc); 347 void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc) arcnet_dump_skb() 354 struct net_device *alloc_arcdev(const char *name); 356 int arcnet_open(struct net_device *dev); 357 int arcnet_close(struct net_device *dev); 359 struct net_device *dev); 360 void arcnet_timeout(struct net_device *dev);
|
H A D | com20020.c | 51 static void com20020_command(struct net_device *dev, int command); 52 static int com20020_status(struct net_device *dev); 53 static void com20020_setmask(struct net_device *dev, int mask); 54 static int com20020_reset(struct net_device *dev, int really_reset); 55 static void com20020_copy_to_card(struct net_device *dev, int bufnum, 57 static void com20020_copy_from_card(struct net_device *dev, int bufnum, 59 static void com20020_set_mc_list(struct net_device *dev); 60 static void com20020_close(struct net_device *); 62 static void com20020_copy_from_card(struct net_device *dev, int bufnum, com20020_copy_from_card() 77 static void com20020_copy_to_card(struct net_device *dev, int bufnum, com20020_copy_to_card() 92 int com20020_check(struct net_device *dev) com20020_check() 154 static int com20020_set_hwaddr(struct net_device *dev, void *addr) com20020_set_hwaddr() 167 static int com20020_netdev_open(struct net_device *dev) com20020_netdev_open() 178 static int com20020_netdev_close(struct net_device *dev) com20020_netdev_close() 200 /* Set up the struct net_device associated with this card. Called after 203 int com20020_found(struct net_device *dev, int shared) com20020_found() 284 static int com20020_reset(struct net_device *dev, int really_reset) com20020_reset() 334 static void com20020_setmask(struct net_device *dev, int mask) com20020_setmask() 342 static void com20020_command(struct net_device *dev, int cmd) com20020_command() 349 static int com20020_status(struct net_device *dev) com20020_status() 357 static void com20020_close(struct net_device *dev) com20020_close() 374 static void com20020_set_mc_list(struct net_device *dev) com20020_set_mc_list()
|
/linux-4.4.14/drivers/net/wan/ |
H A 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) x25_connect_disconnect() 50 static void x25_connected(struct net_device *dev, int reason) x25_connected() 57 static void x25_disconnected(struct net_device *dev, int reason) x25_disconnected() 64 static int x25_data_indication(struct net_device *dev, struct sk_buff *skb) x25_data_indication() 82 static void x25_data_transmit(struct net_device *dev, struct sk_buff *skb) x25_data_transmit() 90 static netdev_tx_t x25_xmit(struct sk_buff *skb, struct net_device *dev) x25_xmit() 135 static int x25_open(struct net_device *dev) x25_open() 155 static void x25_close(struct net_device *dev) x25_close() 164 struct net_device *dev = skb->dev; x25_rx() 190 static int x25_ioctl(struct net_device *dev, struct ifreq *ifr) x25_ioctl()
|
H A D | hdlc.c | 49 int hdlc_change_mtu(struct net_device *dev, int new_mtu) hdlc_change_mtu() 57 static int hdlc_rcv(struct sk_buff *skb, struct net_device *dev, hdlc_rcv() 58 struct packet_type *p, struct net_device *orig_dev) hdlc_rcv() 71 netdev_tx_t hdlc_start_xmit(struct sk_buff *skb, struct net_device *dev) hdlc_start_xmit() 81 static inline void hdlc_proto_start(struct net_device *dev) hdlc_proto_start() 90 static inline void hdlc_proto_stop(struct net_device *dev) hdlc_proto_stop() 102 struct net_device *dev = netdev_notifier_info_to_dev(ptr); hdlc_device_event() 150 int hdlc_open(struct net_device *dev) hdlc_open() 184 void hdlc_close(struct net_device *dev) hdlc_close() 206 int hdlc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) hdlc_ioctl() 232 static void hdlc_setup_dev(struct net_device *dev) hdlc_setup_dev() 246 static void hdlc_setup(struct net_device *dev) hdlc_setup() 256 struct net_device *alloc_hdlcdev(void *priv) alloc_hdlcdev() 258 struct net_device *dev; alloc_hdlcdev() 266 void unregister_hdlc_device(struct net_device *dev) unregister_hdlc_device() 276 int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto, attach_hdlc_protocol() 296 void detach_hdlc_protocol(struct net_device *dev) detach_hdlc_protocol()
|
H A D | lapbether.c | 57 struct net_device *ethdev; /* link to ethernet device */ 58 struct net_device *axdev; /* lapbeth device (lapb#) */ 68 static struct lapbethdev *lapbeth_get_x25_dev(struct net_device *dev) lapbeth_get_x25_dev() 79 static __inline__ int dev_is_ethdev(struct net_device *dev) dev_is_ethdev() 89 static int lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) lapbeth_rcv() 132 static int lapbeth_data_indication(struct net_device *dev, struct sk_buff *skb) lapbeth_data_indication() 152 struct net_device *dev) lapbeth_xmit() 191 static void lapbeth_data_transmit(struct net_device *ndev, struct sk_buff *skb) lapbeth_data_transmit() 195 struct net_device *dev; lapbeth_data_transmit() 215 static void lapbeth_connected(struct net_device *dev, int reason) lapbeth_connected() 232 static void lapbeth_disconnected(struct net_device *dev, int reason) lapbeth_disconnected() 252 static int lapbeth_set_mac_address(struct net_device *dev, void *addr) lapbeth_set_mac_address() 272 static int lapbeth_open(struct net_device *dev) lapbeth_open() 285 static int lapbeth_close(struct net_device *dev) lapbeth_close() 306 static void lapbeth_setup(struct net_device *dev) lapbeth_setup() 319 static int lapbeth_new_device(struct net_device *dev) lapbeth_new_device() 321 struct net_device *ndev; lapbeth_new_device() 372 struct net_device *dev = netdev_notifier_info_to_dev(ptr); lapbeth_device_event()
|
H A 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 * ); 125 static void handle_channel( struct net_device * ); 126 static int recv_frame( struct net_device * ); 127 static void send_frame( struct net_device * ); 128 static int upload_data( struct net_device *, 130 static void download_data( struct net_device *, u32 * ); 132 static void interpret_ack( struct net_device *, unsigned ); 133 static int append_frame_to_pkt( struct net_device *, unsigned, u32 ); 134 static void indicate_pkt( struct net_device * ); 135 static void card_start( struct net_device * ); 136 static void prepare_to_send( struct sk_buff *, struct net_device * ); 137 static void drop_xmit_queue( struct net_device * ); 138 static void send_frame_header( struct net_device *, u32 * ); 141 static void change_level( struct net_device * ); 142 static void timeout_change_level( struct net_device * ); 144 static struct sk_buff * get_rx_buf( struct net_device * ); 145 static int sbni_init( struct net_device * ); 148 static int enslave( struct net_device *, struct net_device * ); 149 static int emancipate( struct net_device * ); 163 static struct net_device *sbni_cards[ SBNI_MAX_NUM_CARDS ]; 194 sbni_isa_probe( struct net_device *dev ) sbni_isa_probe() 219 static void __init sbni_devsetup(struct net_device *dev) sbni_devsetup() 227 struct net_device *dev; sbni_probe() 256 static int __init sbni_init(struct net_device *dev) sbni_init() 296 sbni_pci_probe( struct net_device *dev ) sbni_pci_probe() 347 static struct net_device * __init sbni_probe1() 348 sbni_probe1( struct net_device *dev, unsigned long ioaddr, int irq ) sbni_probe1() 442 sbni_start_xmit( struct sk_buff *skb, struct net_device *dev ) sbni_start_xmit() 444 struct net_device *p; sbni_start_xmit() 470 sbni_start_xmit( struct sk_buff *skb, struct net_device *dev ) sbni_start_xmit() 505 struct net_device *dev = dev_id; sbni_interrupt() 532 handle_channel( struct net_device *dev ) handle_channel() 590 recv_frame( struct net_device *dev ) recv_frame() 624 send_frame( struct net_device *dev ) send_frame() 681 download_data( struct net_device *dev, u32 *crc_p ) download_data() 699 upload_data( struct net_device *dev, unsigned framelen, unsigned frameno, upload_data() 753 send_complete( struct net_device *dev ) send_complete() 775 interpret_ack( struct net_device *dev, unsigned ack ) interpret_ack() 809 append_frame_to_pkt( struct net_device *dev, unsigned framelen, u32 crc ) append_frame_to_pkt() 840 prepare_to_send( struct sk_buff *skb, struct net_device *dev ) prepare_to_send() 871 drop_xmit_queue( struct net_device *dev ) drop_xmit_queue() 901 send_frame_header( struct net_device *dev, u32 *crc_p ) send_frame_header() 990 get_rx_buf( struct net_device *dev ) get_rx_buf() 1003 indicate_pkt( struct net_device *dev ) indicate_pkt() 1035 struct net_device *dev = (struct net_device *) arg; sbni_watchdog() 1087 card_start( struct net_device *dev ) card_start() 1109 change_level( struct net_device *dev ) change_level() 1133 timeout_change_level( struct net_device *dev ) timeout_change_level() 1156 sbni_open( struct net_device *dev ) sbni_open() 1167 struct net_device **p = sbni_cards; sbni_open() 1211 sbni_close( struct net_device *dev ) sbni_close() 1295 sbni_ioctl( struct net_device *dev, struct ifreq *ifr, int cmd ) sbni_ioctl() 1302 struct net_device *slave_dev; sbni_ioctl() 1387 enslave( struct net_device *dev, struct net_device *slave_dev ) enslave() 1421 emancipate( struct net_device *dev ) emancipate() 1424 struct net_device *p = snl->master; emancipate() 1460 set_multicast_list( struct net_device *dev ) set_multicast_list() 1479 struct net_device *dev; init_module() 1512 struct net_device *dev = sbni_cards[i]; cleanup_module()
|
H A D | x25_asy.h | 23 struct net_device *dev; /* easy for intr handling */ 44 int x25_asy_init(struct net_device *dev);
|
/linux-4.4.14/drivers/net/appletalk/ |
H A D | ipddp.h | 16 struct net_device *dev; /* Carrier device */
|
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_xpcs.c | 19 static int sxgbe_xpcs_read(struct net_device *ndev, unsigned int reg) sxgbe_xpcs_read() 29 static int sxgbe_xpcs_write(struct net_device *ndev, int reg, int data) sxgbe_xpcs_write() 38 int sxgbe_xpcs_init(struct net_device *ndev) sxgbe_xpcs_init() 63 int sxgbe_xpcs_init_1G(struct net_device *ndev) sxgbe_xpcs_init_1G()
|
H A D | sxgbe_ethtool.c | 138 static int sxgbe_get_eee(struct net_device *dev, sxgbe_get_eee() 153 static int sxgbe_set_eee(struct net_device *dev, sxgbe_set_eee() 178 static void sxgbe_getdrvinfo(struct net_device *dev, sxgbe_getdrvinfo() 185 static int sxgbe_getsettings(struct net_device *dev, sxgbe_getsettings() 196 static int sxgbe_setsettings(struct net_device *dev, struct ethtool_cmd *cmd) sxgbe_setsettings() 206 static u32 sxgbe_getmsglevel(struct net_device *dev) sxgbe_getmsglevel() 212 static void sxgbe_setmsglevel(struct net_device *dev, u32 level) sxgbe_setmsglevel() 218 static void sxgbe_get_strings(struct net_device *dev, u32 stringset, u8 *data) sxgbe_get_strings() 237 static int sxgbe_get_sset_count(struct net_device *netdev, int sset) sxgbe_get_sset_count() 250 static void sxgbe_get_ethtool_stats(struct net_device *dev, sxgbe_get_ethtool_stats() 271 static void sxgbe_get_channels(struct net_device *dev, sxgbe_get_channels() 300 static int sxgbe_get_coalesce(struct net_device *dev, sxgbe_get_coalesce() 311 static int sxgbe_set_coalesce(struct net_device *dev, sxgbe_set_coalesce() 367 static int sxgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, sxgbe_get_rxnfc() 444 static int sxgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) sxgbe_set_rxnfc() 460 static void sxgbe_get_regs(struct net_device *dev, sxgbe_get_regs() 495 static int sxgbe_get_regs_len(struct net_device *dev) sxgbe_get_regs_len() 521 void sxgbe_set_ethtool_ops(struct net_device *netdev) sxgbe_set_ethtool_ops()
|
H A D | sxgbe_xpcs.h | 35 int sxgbe_xpcs_init(struct net_device *ndev); 36 int sxgbe_xpcs_init_1G(struct net_device *ndev);
|
/linux-4.4.14/arch/um/include/shared/ |
H A D | net_kern.h | 18 struct net_device *dev; 26 struct net_device *dev; 46 void (*init)(struct net_device *, void *); 62 extern struct net_device *ether_init(int);
|
/linux-4.4.14/net/ieee802154/6lowpan/ |
H A D | 6lowpan_i.h | 52 struct net_device *wdev; /* wpan device ptr */ 57 lowpan_dev_info *lowpan_dev_info(const struct net_device *dev) lowpan_dev_info() 69 int lowpan_header_create(struct sk_buff *skb, struct net_device *dev, 72 netdev_tx_t lowpan_xmit(struct sk_buff *skb, struct net_device *dev);
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac.h | 84 struct net_device *dev; 136 int stmmac_mdio_unregister(struct net_device *ndev); 137 int stmmac_mdio_register(struct net_device *ndev); 139 void stmmac_set_ethtool_ops(struct net_device *netdev); 143 int stmmac_resume(struct net_device *ndev); 144 int stmmac_suspend(struct net_device *ndev); 145 int stmmac_dvr_remove(struct net_device *ndev);
|
/linux-4.4.14/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_ethtool.c | 45 static void xgene_get_drvinfo(struct net_device *ndev, xgene_get_drvinfo() 57 static int xgene_get_settings(struct net_device *ndev, struct ethtool_cmd *cmd) xgene_get_settings() 89 static int xgene_set_settings(struct net_device *ndev, struct ethtool_cmd *cmd) xgene_set_settings() 104 static void xgene_get_strings(struct net_device *ndev, u32 stringset, u8 *data) xgene_get_strings() 118 static int xgene_get_sset_count(struct net_device *ndev, int sset) xgene_get_sset_count() 126 static void xgene_get_ethtool_stats(struct net_device *ndev, xgene_get_ethtool_stats() 147 void xgene_enet_set_ethtool_ops(struct net_device *ndev) xgene_enet_set_ethtool_ops()
|
/linux-4.4.14/net/netrom/ |
H A D | nr_dev.c | 43 int nr_rx_ip(struct sk_buff *skb, struct net_device *dev) nr_rx_ip() 68 static int nr_header(struct sk_buff *skb, struct net_device *dev, nr_header() 101 static int __must_check nr_set_mac_address(struct net_device *dev, void *addr) nr_set_mac_address() 122 static int nr_open(struct net_device *dev) nr_open() 135 static int nr_close(struct net_device *dev) nr_close() 142 static netdev_tx_t nr_xmit(struct sk_buff *skb, struct net_device *dev) nr_xmit() 170 void nr_setup(struct net_device *dev) nr_setup()
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
H A D | spider_net_ethtool.c | 50 spider_net_ethtool_get_settings(struct net_device *netdev, spider_net_ethtool_get_settings() 68 spider_net_ethtool_get_drvinfo(struct net_device *netdev, spider_net_ethtool_get_drvinfo() 85 spider_net_ethtool_get_wol(struct net_device *netdev, spider_net_ethtool_get_wol() 94 spider_net_ethtool_get_msglevel(struct net_device *netdev) spider_net_ethtool_get_msglevel() 102 spider_net_ethtool_set_msglevel(struct net_device *netdev, spider_net_ethtool_set_msglevel() 111 spider_net_ethtool_nway_reset(struct net_device *netdev) spider_net_ethtool_nway_reset() 121 spider_net_ethtool_get_ringparam(struct net_device *netdev, spider_net_ethtool_get_ringparam() 132 static int spider_net_get_sset_count(struct net_device *netdev, int sset) spider_net_get_sset_count() 142 static void spider_net_get_ethtool_stats(struct net_device *netdev, spider_net_get_ethtool_stats() 162 static void spider_net_get_strings(struct net_device *netdev, u32 stringset, spider_net_get_strings()
|
H A 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) port_to_netdev() 335 static inline struct gelic_card *netdev_card(struct net_device *d) netdev_card() 339 static inline struct gelic_port *netdev_port(struct net_device *d) 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); 376 int gelic_net_change_mtu(struct net_device *netdev, int new_mtu); 377 int gelic_net_setup_netdev(struct net_device *netdev, struct gelic_card *card); 380 void gelic_net_get_drvinfo(struct net_device *netdev, 382 void gelic_net_poll_controller(struct net_device *netdev);
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
H A D | ethtool.c | 24 static int wil_ethtoolops_begin(struct net_device *ndev) wil_ethtoolops_begin() 35 static void wil_ethtoolops_complete(struct net_device *ndev) wil_ethtoolops_complete() 44 static int wil_ethtoolops_get_coalesce(struct net_device *ndev, wil_ethtoolops_get_coalesce() 66 static int wil_ethtoolops_set_coalesce(struct net_device *ndev, wil_ethtoolops_set_coalesce() 108 void wil_set_ethtoolops(struct net_device *ndev) wil_set_ethtoolops()
|
H A D | netdev.c | 21 static int wil_open(struct net_device *ndev) wil_open() 35 static int wil_stop(struct net_device *ndev) wil_stop() 44 static int wil_change_mtu(struct net_device *ndev, int new_mtu) wil_change_mtu() 59 static int wil_do_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) wil_do_ioctl() 129 static void wil_dev_setup(struct net_device *dev) wil_dev_setup() 137 struct net_device *ndev; wil_if_alloc() 204 struct net_device *ndev = wil_to_ndev(wil); wil_if_free() 221 struct net_device *ndev = wil_to_ndev(wil); wil_if_add() 237 struct net_device *ndev = wil_to_ndev(wil); wil_if_remove()
|
H A D | debug.c | 22 struct net_device *ndev = wil_to_ndev(wil); wil_err() 38 struct net_device *ndev = wil_to_ndev(wil); wil_err_ratelimited() 54 struct net_device *ndev = wil_to_ndev(wil); wil_info()
|
/linux-4.4.14/net/phonet/ |
H A D | pn_dev.c | 39 struct net_device __rcu *table[64]; 63 static struct phonet_device *__phonet_device_alloc(struct net_device *dev) __phonet_device_alloc() 77 static struct phonet_device *__phonet_get(struct net_device *dev) __phonet_get() 90 static struct phonet_device *__phonet_get_rcu(struct net_device *dev) __phonet_get_rcu() 102 static void phonet_device_destroy(struct net_device *dev) phonet_device_destroy() 124 struct net_device *phonet_device_get(struct net *net) phonet_device_get() 128 struct net_device *dev = NULL; phonet_device_get() 146 int phonet_address_add(struct net_device *dev, u8 addr) phonet_address_add() 165 int phonet_address_del(struct net_device *dev, u8 addr) phonet_address_del() 189 u8 phonet_address_get(struct net_device *dev, u8 daddr) phonet_address_get() 210 struct net_device *def_dev; phonet_address_get() 246 static int phonet_device_autoconf(struct net_device *dev) phonet_device_autoconf() 268 static void phonet_route_autodel(struct net_device *dev) phonet_route_autodel() 297 struct net_device *dev = netdev_notifier_info_to_dev(ptr); phonet_device_notify() 367 int phonet_route_add(struct net_device *dev, u8 daddr) phonet_route_add() 384 int phonet_route_del(struct net_device *dev, u8 daddr) phonet_route_del() 404 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr) phonet_route_get_rcu() 408 struct net_device *dev; phonet_route_get_rcu() 415 struct net_device *phonet_route_output(struct net *net, u8 daddr) phonet_route_output() 419 struct net_device *dev; phonet_route_output()
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
H A D | mon.c | 48 static void mon_recv_decrypted(struct net_device *dev, const u8 *data, mon_recv_decrypted() 69 static void mon_recv_encrypted(struct net_device *dev, const u8 *data, mon_recv_encrypted() 82 void rtl88eu_mon_recv_hook(struct net_device *dev, struct recv_frame *frame) rtl88eu_mon_recv_hook() 114 void rtl88eu_mon_xmit_hook(struct net_device *dev, struct xmit_frame *frame, rtl88eu_mon_xmit_hook() 140 static netdev_tx_t mon_xmit(struct sk_buff *skb, struct net_device *dev) mon_xmit() 153 static void mon_setup(struct net_device *dev) mon_setup() 168 struct net_device *rtl88eu_mon_init(void) rtl88eu_mon_init() 170 struct net_device *dev; rtl88eu_mon_init() 189 void rtl88eu_mon_deinit(struct net_device *dev) rtl88eu_mon_deinit()
|
/linux-4.4.14/net/switchdev/ |
H A D | switchdev.c | 91 static void switchdev_trans_items_warn_destroy(struct net_device *dev, switchdev_trans_items_warn_destroy() 102 typedef void switchdev_deferred_func_t(struct net_device *dev, 107 struct net_device *dev; 158 static int switchdev_deferred_enqueue(struct net_device *dev, switchdev_deferred_enqueue() 184 int switchdev_port_attr_get(struct net_device *dev, struct switchdev_attr *attr) switchdev_port_attr_get() 187 struct net_device *lower_dev; switchdev_port_attr_get() 220 static int __switchdev_port_attr_set(struct net_device *dev, __switchdev_port_attr_set() 225 struct net_device *lower_dev; __switchdev_port_attr_set() 255 static int switchdev_port_attr_set_now(struct net_device *dev, switchdev_port_attr_set_now() 298 static void switchdev_port_attr_set_deferred(struct net_device *dev, switchdev_port_attr_set_deferred() 310 static int switchdev_port_attr_set_defer(struct net_device *dev, switchdev_port_attr_set_defer() 330 int switchdev_port_attr_set(struct net_device *dev, switchdev_port_attr_set() 355 static int __switchdev_port_obj_add(struct net_device *dev, __switchdev_port_obj_add() 360 struct net_device *lower_dev; __switchdev_port_obj_add() 381 static int switchdev_port_obj_add_now(struct net_device *dev, switchdev_port_obj_add_now() 425 static void switchdev_port_obj_add_deferred(struct net_device *dev, switchdev_port_obj_add_deferred() 437 static int switchdev_port_obj_add_defer(struct net_device *dev, switchdev_port_obj_add_defer() 458 int switchdev_port_obj_add(struct net_device *dev, switchdev_port_obj_add() 468 static int switchdev_port_obj_del_now(struct net_device *dev, switchdev_port_obj_del_now() 472 struct net_device *lower_dev; switchdev_port_obj_del_now() 493 static void switchdev_port_obj_del_deferred(struct net_device *dev, switchdev_port_obj_del_deferred() 505 static int switchdev_port_obj_del_defer(struct net_device *dev, switchdev_port_obj_del_defer() 522 int switchdev_port_obj_del(struct net_device *dev, switchdev_port_obj_del() 542 int switchdev_port_obj_dump(struct net_device *dev, struct switchdev_obj *obj, switchdev_port_obj_dump() 546 struct net_device *lower_dev; switchdev_port_obj_dump() 619 int call_switchdev_notifiers(unsigned long val, struct net_device *dev, call_switchdev_notifiers() 723 static int switchdev_port_vlan_fill(struct sk_buff *skb, struct net_device *dev, switchdev_port_vlan_fill() 757 struct net_device *dev, u32 filter_mask, switchdev_port_bridge_getlink() 777 static int switchdev_port_br_setflag(struct net_device *dev, switchdev_port_br_setflag() 813 static int switchdev_port_br_setlink_protinfo(struct net_device *dev, switchdev_port_br_setlink_protinfo() 849 static int switchdev_port_br_afspec(struct net_device *dev, switchdev_port_br_afspec() 851 int (*f)(struct net_device *dev, switchdev_port_br_afspec() 913 int switchdev_port_bridge_setlink(struct net_device *dev, switchdev_port_bridge_setlink() 948 int switchdev_port_bridge_dellink(struct net_device *dev, switchdev_port_bridge_dellink() 975 struct net_device *dev, const unsigned char *addr, switchdev_port_fdb_add() 1000 struct net_device *dev, const unsigned char *addr, switchdev_port_fdb_del() 1015 struct net_device *dev; 1077 struct net_device *dev, switchdev_port_fdb_dump() 1078 struct net_device *filter_dev, int idx) switchdev_port_fdb_dump() 1093 static struct net_device *switchdev_get_lowest_dev(struct net_device *dev) switchdev_get_lowest_dev() 1096 struct net_device *lower_dev; switchdev_get_lowest_dev() 1097 struct net_device *port_dev; switchdev_get_lowest_dev() 1116 static struct net_device *switchdev_get_dev_by_nhs(struct fib_info *fi) switchdev_get_dev_by_nhs() 1122 struct net_device *dev = NULL; switchdev_get_dev_by_nhs() 1178 struct net_device *dev; switchdev_fib_ipv4_add() 1230 struct net_device *dev; switchdev_fib_ipv4_del() 1268 static bool switchdev_port_same_parent_id(struct net_device *a, switchdev_port_same_parent_id() 1269 struct net_device *b) switchdev_port_same_parent_id() 1287 static u32 switchdev_port_fwd_mark_get(struct net_device *dev, switchdev_port_fwd_mark_get() 1288 struct net_device *group_dev) switchdev_port_fwd_mark_get() 1290 struct net_device *lower_dev; switchdev_port_fwd_mark_get() 1304 static void switchdev_port_fwd_mark_reset(struct net_device *group_dev, switchdev_port_fwd_mark_reset() 1307 struct net_device *lower_dev; switchdev_port_fwd_mark_reset() 1348 void switchdev_port_fwd_mark_set(struct net_device *dev, switchdev_port_fwd_mark_set() 1349 struct net_device *group_dev, switchdev_port_fwd_mark_set()
|
/linux-4.4.14/drivers/net/cris/ |
H A 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); 198 static struct net_device_stats *e100_get_stats(struct net_device *dev); 199 static void set_multicast_list(struct net_device *dev); 203 static int e100_probe_transceiver(struct net_device* dev); 206 static void e100_set_speed(struct net_device* dev, unsigned long speed); 208 static void e100_set_duplex(struct net_device* dev, enum duplex); 209 static void e100_negotiate(struct net_device* dev); 211 static int e100_get_mdio_reg(struct net_device *dev, int phy_id, int location); 212 static void e100_set_mdio_reg(struct net_device *dev, int phy_id, int location, int value); 217 static void e100_reset_transceiver(struct net_device* net); 224 static void dummy_check_speed(struct net_device* dev); 225 static void dummy_check_duplex(struct net_device* dev); 227 static void broadcom_check_speed(struct net_device* dev); 228 static void broadcom_check_duplex(struct net_device* dev); 229 static void tdk_check_speed(struct net_device* dev); 230 static void tdk_check_duplex(struct net_device* dev); 231 static void intel_check_speed(struct net_device* dev); 232 static void intel_check_duplex(struct net_device* dev); 233 static void generic_check_speed(struct net_device* dev); 234 static void generic_check_duplex(struct net_device* dev); 237 static void e100_netpoll(struct net_device* dev); 287 struct net_device *dev; etrax_ethernet_init() 421 e100_set_mac_address(struct net_device *dev, void *p) e100_set_mac_address() 462 e100_open(struct net_device *dev) e100_open() 632 dummy_check_speed(struct net_device* dev) dummy_check_speed() 638 generic_check_speed(struct net_device* dev) generic_check_speed() 652 tdk_check_speed(struct net_device* dev) tdk_check_speed() 663 broadcom_check_speed(struct net_device* dev) broadcom_check_speed() 674 intel_check_speed(struct net_device* dev) intel_check_speed() 687 struct net_device* dev = (struct net_device*)priv; e100_check_speed() 721 e100_negotiate(struct net_device* dev) e100_negotiate() 791 e100_set_speed(struct net_device* dev, unsigned long speed) e100_set_speed() 806 struct net_device *dev = (struct net_device *)priv; e100_check_duplex() 827 dummy_check_duplex(struct net_device* dev) dummy_check_duplex() 833 generic_check_duplex(struct net_device* dev) generic_check_duplex() 847 tdk_check_duplex(struct net_device* dev) tdk_check_duplex() 858 broadcom_check_duplex(struct net_device* dev) broadcom_check_duplex() 869 intel_check_duplex(struct net_device* dev) intel_check_duplex() 880 e100_set_duplex(struct net_device* dev, enum duplex new_duplex) e100_set_duplex() 893 e100_probe_transceiver(struct net_device* dev) e100_probe_transceiver() 935 e100_get_mdio_reg(struct net_device *dev, int phy_id, int location) e100_get_mdio_reg() 958 e100_set_mdio_reg(struct net_device *dev, int phy_id, int location, int value) e100_set_mdio_reg() 1023 e100_reset_transceiver(struct net_device* dev) e100_reset_transceiver() 1048 e100_tx_timeout(struct net_device *dev) e100_tx_timeout() 1096 e100_send_packet(struct sk_buff *skb, struct net_device *dev) e100_send_packet() 1133 struct net_device *dev = (struct net_device *)dev_id; e100rxtx_interrupt() 1196 struct net_device *dev = (struct net_device *)dev_id; e100nw_interrupt() 1226 e100_rx(struct net_device *dev) e100_rx() 1330 e100_close(struct net_device *dev) e100_close() 1374 e100_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) e100_ioctl() 1418 static int e100_get_settings(struct net_device *dev, e100_get_settings() 1434 static int e100_set_settings(struct net_device *dev, e100_set_settings() 1448 static void e100_get_drvinfo(struct net_device *dev, e100_get_drvinfo() 1457 static int e100_nway_reset(struct net_device *dev) e100_nway_reset() 1473 e100_set_config(struct net_device *dev, struct ifmap *map) e100_set_config() 1534 e100_get_stats(struct net_device *dev) e100_get_stats() 1556 set_multicast_list(struct net_device *dev) set_multicast_list() 1669 struct net_device *dev = (struct net_device *)dummy; e100_clear_network_leds() 1712 e100_netpoll(struct net_device* netdev) e100_netpoll()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
H A D | ucc_geth_ethtool.c | 108 uec_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) uec_get_settings() 124 uec_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) uec_set_settings() 136 uec_get_pauseparam(struct net_device *netdev, uec_get_pauseparam() 150 uec_set_pauseparam(struct net_device *netdev, uec_set_pauseparam() 181 uec_get_msglevel(struct net_device *netdev) uec_get_msglevel() 188 uec_set_msglevel(struct net_device *netdev, uint32_t data) uec_set_msglevel() 195 uec_get_regs_len(struct net_device *netdev) uec_get_regs_len() 201 uec_get_regs(struct net_device *netdev, uec_get_regs() 214 uec_get_ringparam(struct net_device *netdev, uec_get_ringparam() 233 uec_set_ringparam(struct net_device *netdev, uec_set_ringparam() 267 static int uec_get_sset_count(struct net_device *netdev, int sset) uec_get_sset_count() 289 static void uec_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) uec_get_strings() 309 static void uec_get_ethtool_stats(struct net_device *netdev, uec_get_ethtool_stats() 338 static int uec_nway_reset(struct net_device *netdev) uec_nway_reset() 347 uec_get_drvinfo(struct net_device *netdev, uec_get_drvinfo() 358 static void uec_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) uec_get_wol() 371 static int uec_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) uec_set_wol() 416 void uec_set_ethtool_ops(struct net_device *netdev) uec_set_ethtool_ops()
|
/linux-4.4.14/drivers/net/fjes/ |
H A D | fjes_ethtool.c | 52 static void fjes_get_ethtool_stats(struct net_device *netdev, fjes_get_ethtool_stats() 66 static void fjes_get_strings(struct net_device *netdev, fjes_get_strings() 83 static int fjes_get_sset_count(struct net_device *netdev, int sset) fjes_get_sset_count() 93 static void fjes_get_drvinfo(struct net_device *netdev, fjes_get_drvinfo() 110 static int fjes_get_settings(struct net_device *netdev, fjes_get_settings() 132 void fjes_set_ethtool_ops(struct net_device *netdev) fjes_set_ethtool_ops()
|
/linux-4.4.14/drivers/net/hamradio/ |
H A D | bpqether.c | 96 static int bpq_rcv(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *); 111 struct net_device *ethdev; /* link to ethernet device */ 112 struct net_device *axdev; /* bpq device (bpq#) */ 127 static void bpq_set_lockdep_class_one(struct net_device *dev, bpq_set_lockdep_class_one() 134 static void bpq_set_lockdep_class(struct net_device *dev) bpq_set_lockdep_class() 146 static inline struct net_device *bpq_get_ether_dev(struct net_device *dev) bpq_get_ether_dev() 156 static inline struct net_device *bpq_get_ax25_dev(struct net_device *dev) bpq_get_ax25_dev() 167 static inline int dev_is_ethdev(struct net_device *dev) dev_is_ethdev() 178 static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) bpq_rcv() 246 static netdev_tx_t bpq_xmit(struct sk_buff *skb, struct net_device *dev) bpq_xmit() 250 struct net_device *orig_dev; bpq_xmit() 309 static int bpq_set_mac_address(struct net_device *dev, void *addr) bpq_set_mac_address() 325 static int bpq_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) bpq_ioctl() 364 static int bpq_open(struct net_device *dev) bpq_open() 370 static int bpq_close(struct net_device *dev) bpq_close() 476 static void bpq_setup(struct net_device *dev) bpq_setup() 501 static int bpq_new_device(struct net_device *edev) bpq_new_device() 504 struct net_device *ndev; bpq_new_device() 537 static void bpq_free_device(struct net_device *ndev) bpq_free_device() 553 struct net_device *dev = netdev_notifier_info_to_dev(ptr); bpq_device_event()
|
/linux-4.4.14/net/rose/ |
H A D | rose_dev.c | 38 static int rose_header(struct sk_buff *skb, struct net_device *dev, rose_header() 59 static int rose_set_mac_address(struct net_device *dev, void *addr) rose_set_mac_address() 80 static int rose_open(struct net_device *dev) rose_open() 93 static int rose_close(struct net_device *dev) rose_close() 100 static netdev_tx_t rose_xmit(struct sk_buff *skb, struct net_device *dev) rose_xmit() 132 void rose_setup(struct net_device *dev) rose_setup()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_ethtool.c | 29 static int atl1c_get_settings(struct net_device *netdev, atl1c_get_settings() 67 static int atl1c_set_settings(struct net_device *netdev, atl1c_set_settings() 117 static u32 atl1c_get_msglevel(struct net_device *netdev) atl1c_get_msglevel() 123 static void atl1c_set_msglevel(struct net_device *netdev, u32 data) atl1c_set_msglevel() 129 static int atl1c_get_regs_len(struct net_device *netdev) atl1c_get_regs_len() 134 static void atl1c_get_regs(struct net_device *netdev, atl1c_get_regs() 174 static int atl1c_get_eeprom_len(struct net_device *netdev) atl1c_get_eeprom_len() 184 static int atl1c_get_eeprom(struct net_device *netdev, atl1c_get_eeprom() 226 static void atl1c_get_drvinfo(struct net_device *netdev, atl1c_get_drvinfo() 238 static void atl1c_get_wol(struct net_device *netdev, atl1c_get_wol() 258 static int atl1c_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) atl1c_set_wol() 278 static int atl1c_nway_reset(struct net_device *netdev) atl1c_nway_reset() 302 void atl1c_set_ethtool_ops(struct net_device *netdev) atl1c_set_ethtool_ops()
|
/linux-4.4.14/net/appletalk/ |
H A D | dev.c | 12 static void ltalk_setup(struct net_device *dev) ltalk_setup() 40 struct net_device *alloc_ltalkdev(int sizeof_priv) alloc_ltalkdev()
|
/linux-4.4.14/net/openvswitch/ |
H A D | vport-internal_dev.h | 25 int ovs_is_internal_dev(const struct net_device *); 26 struct vport *ovs_internal_dev_get_vport(struct net_device *);
|
H A D | vport-internal_dev.c | 41 static struct internal_dev *internal_dev_priv(struct net_device *netdev) internal_dev_priv() 47 static int internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) internal_dev_xmit() 69 static int internal_dev_open(struct net_device *netdev) internal_dev_open() 75 static int internal_dev_stop(struct net_device *netdev) internal_dev_stop() 81 static void internal_dev_getinfo(struct net_device *netdev, internal_dev_getinfo() 92 static int internal_dev_change_mtu(struct net_device *netdev, int new_mtu) internal_dev_change_mtu() 101 static void internal_dev_destructor(struct net_device *dev) internal_dev_destructor() 110 internal_get_stats(struct net_device *dev, struct rtnl_link_stats64 *stats) internal_get_stats() 154 static void do_setup(struct net_device *netdev) do_setup() 247 struct net_device *netdev = skb->dev; internal_dev_recv() 281 int ovs_is_internal_dev(const struct net_device *netdev) ovs_is_internal_dev() 286 struct vport *ovs_internal_dev_get_vport(struct net_device *netdev) ovs_internal_dev_get_vport()
|
/linux-4.4.14/drivers/net/ethernet/ezchip/ |
H A D | nps_enet.c | 27 static void nps_enet_clean_rx_fifo(struct net_device *ndev, u32 frame_len) nps_enet_clean_rx_fifo() 37 static void nps_enet_read_rx_fifo(struct net_device *ndev, nps_enet_read_rx_fifo() 63 static u32 nps_enet_rx_handler(struct net_device *ndev) nps_enet_rx_handler() 136 static void nps_enet_tx_handler(struct net_device *ndev) nps_enet_tx_handler() 174 struct net_device *ndev = napi->dev; nps_enet_poll() 206 struct net_device *ndev = dev_instance; nps_enet_irq_handler() 223 static void nps_enet_set_hw_mac_address(struct net_device *ndev) nps_enet_set_hw_mac_address() 254 static void nps_enet_hw_reset(struct net_device *ndev) nps_enet_hw_reset() 280 static void nps_enet_hw_enable_control(struct net_device *ndev) nps_enet_hw_enable_control() 346 static void nps_enet_hw_disable_control(struct net_device *ndev) nps_enet_hw_disable_control() 357 static void nps_enet_send_frame(struct net_device *ndev, nps_enet_send_frame() 390 * @ndev: Pointer to net_device structure. 394 * net_device structure and updates the address in HW. 399 static s32 nps_enet_set_mac_address(struct net_device *ndev, void *p) nps_enet_set_mac_address() 422 static void nps_enet_set_rx_mode(struct net_device *ndev) nps_enet_set_rx_mode() 449 static s32 nps_enet_open(struct net_device *ndev) nps_enet_open() 489 static s32 nps_enet_stop(struct net_device *ndev) nps_enet_stop() 504 * @ndev: Pointer to net_device structure. 512 struct net_device *ndev) nps_enet_start_xmit() 527 static void nps_enet_poll_controller(struct net_device *ndev) nps_enet_poll_controller() 549 struct net_device *ndev; nps_enet_probe() 620 struct net_device *ndev = platform_get_drvdata(pdev); nps_enet_remove()
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 106 static int enic_get_settings(struct net_device *netdev, enic_get_settings() 129 static void enic_get_drvinfo(struct net_device *netdev, enic_get_drvinfo() 152 static void enic_get_strings(struct net_device *netdev, u32 stringset, enic_get_strings() 175 static int enic_get_sset_count(struct net_device *netdev, int sset) enic_get_sset_count() 185 static void enic_get_ethtool_stats(struct net_device *netdev, enic_get_ethtool_stats() 209 static u32 enic_get_msglevel(struct net_device *netdev) enic_get_msglevel() 215 static void enic_set_msglevel(struct net_device *netdev, u32 value) enic_set_msglevel() 221 static int enic_get_coalesce(struct net_device *netdev, enic_get_coalesce() 285 static int enic_set_coalesce(struct net_device *netdev, enic_set_coalesce() 397 static int enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, enic_get_rxnfc() 431 static int enic_get_tunable(struct net_device *dev, enic_get_tunable() 449 static int enic_set_tunable(struct net_device *dev, enic_set_tunable() 468 static u32 enic_get_rxfh_key_size(struct net_device *netdev) enic_get_rxfh_key_size() 473 static int enic_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, enic_get_rxfh() 487 static int enic_set_rxfh(struct net_device *netdev, const u32 *indir, enic_set_rxfh() 521 void enic_set_ethtool_ops(struct net_device *netdev) enic_set_ethtool_ops()
|
/linux-4.4.14/net/ipx/ |
H A D | pe2.c | 13 struct net_device *dev = skb->dev; pEII_request()
|
/linux-4.4.14/drivers/staging/gdm72xx/ |
H A D | gdm_wimax.h | 28 struct net_device *netdev; 37 struct net_device *netdev; 46 int gdm_wimax_send_tx(struct sk_buff *skb, struct net_device *dev);
|
/linux-4.4.14/arch/mips/include/asm/mach-bcm63xx/ |
H A D | bcm63xx_dev_enet.h | 37 int (*mii_config)(struct net_device *dev, int probe, 38 int (*mii_read)(struct net_device *dev, 40 void (*mii_write)(struct net_device *dev,
|
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_ethtool.c | 108 static int nicvf_get_settings(struct net_device *netdev, nicvf_get_settings() 135 static u32 nicvf_get_link(struct net_device *netdev) nicvf_get_link() 142 static void nicvf_get_drvinfo(struct net_device *netdev, nicvf_get_drvinfo() 152 static u32 nicvf_get_msglevel(struct net_device *netdev) nicvf_get_msglevel() 159 static void nicvf_set_msglevel(struct net_device *netdev, u32 lvl) nicvf_set_msglevel() 188 static void nicvf_get_strings(struct net_device *netdev, u32 sset, u8 *data) nicvf_get_strings() 226 static int nicvf_get_sset_count(struct net_device *netdev, int sset) nicvf_get_sset_count() 275 static void nicvf_get_ethtool_stats(struct net_device *netdev, nicvf_get_ethtool_stats() 308 static int nicvf_get_regs_len(struct net_device *dev) nicvf_get_regs_len() 313 static void nicvf_get_regs(struct net_device *dev, nicvf_get_regs() 405 static int nicvf_get_coalesce(struct net_device *netdev, nicvf_get_coalesce() 414 static void nicvf_get_ringparam(struct net_device *netdev, nicvf_get_ringparam() 450 static int nicvf_get_rxnfc(struct net_device *dev, nicvf_get_rxnfc() 537 static int nicvf_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info) nicvf_set_rxnfc() 550 static u32 nicvf_get_rxfh_key_size(struct net_device *netdev) nicvf_get_rxfh_key_size() 555 static u32 nicvf_get_rxfh_indir_size(struct net_device *dev) nicvf_get_rxfh_indir_size() 562 static int nicvf_get_rxfh(struct net_device *dev, u32 *indir, u8 *hkey, nicvf_get_rxfh() 583 static int nicvf_set_rxfh(struct net_device *dev, const u32 *indir, nicvf_set_rxfh() 614 static void nicvf_get_channels(struct net_device *dev, nicvf_get_channels() 629 static int nicvf_set_channels(struct net_device *dev, nicvf_set_channels() 699 void nicvf_set_ethtool_ops(struct net_device *netdev) nicvf_set_ethtool_ops()
|
/linux-4.4.14/drivers/net/ethernet/aurora/ |
H A D | nb8800.c | 42 static void nb8800_tx_done(struct net_device *dev); 43 static int nb8800_dma_stop(struct net_device *dev); 172 static void nb8800_mac_tx(struct net_device *dev, bool enable) nb8800_mac_tx() 182 static void nb8800_mac_rx(struct net_device *dev, bool enable) nb8800_mac_rx() 187 static void nb8800_mac_af(struct net_device *dev, bool enable) nb8800_mac_af() 192 static void nb8800_start_rx(struct net_device *dev) nb8800_start_rx() 197 static int nb8800_alloc_rx(struct net_device *dev, unsigned int i, bool napi) nb8800_alloc_rx() 230 static void nb8800_receive(struct net_device *dev, unsigned int i, nb8800_receive() 276 static void nb8800_rx_error(struct net_device *dev, u32 report) nb8800_rx_error() 295 struct net_device *dev = napi->dev; nb8800_poll() 359 static void __nb8800_tx_dma_start(struct net_device *dev) __nb8800_tx_dma_start() 380 static void nb8800_tx_dma_start(struct net_device *dev) nb8800_tx_dma_start() 389 static void nb8800_tx_dma_start_irq(struct net_device *dev) nb8800_tx_dma_start_irq() 398 static int nb8800_xmit(struct sk_buff *skb, struct net_device *dev) nb8800_xmit() 482 static void nb8800_tx_error(struct net_device *dev, u32 report) nb8800_tx_error() 496 static void nb8800_tx_done(struct net_device *dev) nb8800_tx_done() 548 struct net_device *dev = dev_id; nb8800_irq() 597 static void nb8800_mac_config(struct net_device *dev) nb8800_mac_config() 631 static void nb8800_pause_config(struct net_device *dev) nb8800_pause_config() 664 static void nb8800_link_reconfigure(struct net_device *dev) nb8800_link_reconfigure() 696 static void nb8800_update_mac_addr(struct net_device *dev) nb8800_update_mac_addr() 708 static int nb8800_set_mac_address(struct net_device *dev, void *addr) nb8800_set_mac_address() 721 static void nb8800_mc_init(struct net_device *dev, int val) nb8800_mc_init() 730 static void nb8800_set_rx_mode(struct net_device *dev) nb8800_set_rx_mode() 755 static void nb8800_dma_free(struct net_device *dev) nb8800_dma_free() 790 static void nb8800_dma_reset(struct net_device *dev) nb8800_dma_reset() 834 static int nb8800_dma_init(struct net_device *dev) nb8800_dma_init() 880 static int nb8800_dma_stop(struct net_device *dev) nb8800_dma_stop() 935 static void nb8800_pause_adv(struct net_device *dev) nb8800_pause_adv() 952 static int nb8800_open(struct net_device *dev) nb8800_open() 997 static int nb8800_stop(struct net_device *dev) nb8800_stop() 1020 static int nb8800_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) nb8800_ioctl() 1038 static int nb8800_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) nb8800_get_settings() 1048 static int nb8800_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) nb8800_set_settings() 1058 static int nb8800_nway_reset(struct net_device *dev) nb8800_nway_reset() 1068 static void nb8800_get_pauseparam(struct net_device *dev, nb8800_get_pauseparam() 1078 static int nb8800_set_pauseparam(struct net_device *dev, nb8800_set_pauseparam() 1147 static int nb8800_get_sset_count(struct net_device *dev, int sset) nb8800_get_sset_count() 1155 static void nb8800_get_strings(struct net_device *dev, u32 sset, u8 *buf) nb8800_get_strings() 1161 static u32 nb8800_read_stat(struct net_device *dev, int index) nb8800_read_stat() 1170 static void nb8800_get_ethtool_stats(struct net_device *dev, nb8800_get_ethtool_stats() 1196 static int nb8800_hw_init(struct net_device *dev) nb8800_hw_init() 1286 static int nb8800_tangox_init(struct net_device *dev) nb8800_tangox_init() 1316 static int nb8800_tangox_reset(struct net_device *dev) nb8800_tangox_reset() 1338 static int nb8800_tango4_init(struct net_device *dev) nb8800_tango4_init() 1386 struct net_device *dev; nb8800_probe() 1524 struct net_device *ndev = platform_get_drvdata(pdev); nb8800_remove()
|