Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 392) sorted by relevance

12345678910>>...16

/net/switchdev/
Dswitchdev.c30 struct net_device *dev; member
81 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
102 struct net_device *dev, in switchdev_port_attr_notify()
129 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
162 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
176 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
196 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
222 struct net_device *dev, in switchdev_port_obj_notify()
247 static int switchdev_port_obj_add_now(struct net_device *dev, in switchdev_port_obj_add_now()
282 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
[all …]
/net/nfc/
Dcore.c33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download()
73 int nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name, in nfc_fw_download_done()
89 int nfc_dev_up(struct nfc_dev *dev) in nfc_dev_up()
137 int nfc_dev_down(struct nfc_dev *dev) in nfc_dev_down()
172 struct nfc_dev *dev = data; in nfc_rfkill_set_block() local
197 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll()
240 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll()
267 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target()
279 int nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) in nfc_dep_link_up()
326 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down()
[all …]
Dnetlink.c110 struct nfc_dev *dev; in __get_device_from_cb() local
137 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets() local
170 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets_done() local
178 int nfc_genl_targets_found(struct nfc_dev *dev) in nfc_genl_targets_found()
207 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx) in nfc_genl_target_lost()
237 int nfc_genl_tm_activated(struct nfc_dev *dev, u32 protocol) in nfc_genl_tm_activated()
268 int nfc_genl_tm_deactivated(struct nfc_dev *dev) in nfc_genl_tm_deactivated()
297 static int nfc_genl_setup_device_added(struct nfc_dev *dev, struct sk_buff *msg) in nfc_genl_setup_device_added()
308 int nfc_genl_device_added(struct nfc_dev *dev) in nfc_genl_device_added()
337 int nfc_genl_device_removed(struct nfc_dev *dev) in nfc_genl_device_removed()
[all …]
/net/8021q/
Dvlan_dev.c44 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, in vlan_dev_hard_header()
100 struct net_device *dev) in vlan_dev_hard_start_xmit()
142 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu()
157 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority()
170 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority()
215 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags()
243 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result) in vlan_dev_get_realdev_name()
248 bool vlan_dev_inherit_address(struct net_device *dev, in vlan_dev_inherit_address()
259 static int vlan_dev_open(struct net_device *dev) in vlan_dev_open()
311 static int vlan_dev_stop(struct net_device *dev) in vlan_dev_stop()
[all …]
Dvlan_core.c75 struct net_device *__vlan_find_dev_deep_rcu(struct net_device *dev, in __vlan_find_dev_deep_rcu()
101 struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev()
112 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id()
118 __be16 vlan_dev_vlan_proto(const struct net_device *dev) in vlan_dev_vlan_proto()
148 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc()
168 static bool vlan_hw_filter_capable(const struct net_device *dev, __be16 proto) in vlan_hw_filter_capable()
204 static int vlan_add_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_add_rx_filter_info()
215 static int vlan_kill_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_kill_rx_filter_info()
226 int vlan_for_each(struct net_device *dev, in vlan_for_each()
227 int (*action)(struct net_device *dev, int vid, void *arg), in vlan_for_each()
[all …]
/net/dsa/
Dslave.c62 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink()
67 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open()
112 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close()
135 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags()
148 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode()
156 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address()
184 struct net_device *dev; member
236 struct net_device *dev, struct net_device *filter_dev, in dsa_slave_fdb_dump()
254 static int dsa_slave_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in dsa_slave_ioctl()
275 static int dsa_slave_port_attr_set(struct net_device *dev, in dsa_slave_port_attr_set()
[all …]
Dmaster.c11 static int dsa_master_get_regs_len(struct net_device *dev) in dsa_master_get_regs_len()
40 static void dsa_master_get_regs(struct net_device *dev, in dsa_master_get_regs()
75 static void dsa_master_get_ethtool_stats(struct net_device *dev, in dsa_master_get_ethtool_stats()
94 static void dsa_master_get_ethtool_phy_stats(struct net_device *dev, in dsa_master_get_ethtool_phy_stats()
120 static int dsa_master_get_sset_count(struct net_device *dev, int sset) in dsa_master_get_sset_count()
142 static void dsa_master_get_strings(struct net_device *dev, uint32_t stringset, in dsa_master_get_strings()
190 static int dsa_master_get_phys_port_name(struct net_device *dev, in dsa_master_get_phys_port_name()
201 static int dsa_master_ethtool_setup(struct net_device *dev) in dsa_master_ethtool_setup()
227 static void dsa_master_ethtool_teardown(struct net_device *dev) in dsa_master_ethtool_teardown()
235 static int dsa_master_ndo_setup(struct net_device *dev) in dsa_master_ndo_setup()
[all …]
/net/bluetooth/rfcomm/
Dtty.c83 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_destruct() local
113 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_activate() local
125 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_carrier_raised() local
133 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_shutdown() local
151 struct rfcomm_dev *dev; in __rfcomm_dev_lookup() local
162 struct rfcomm_dev *dev; in rfcomm_dev_get() local
176 static void rfcomm_reparent_device(struct rfcomm_dev *dev) in rfcomm_reparent_device()
203 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in show_address() local
209 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in show_channel() local
219 struct rfcomm_dev *dev, *entry; in __rfcomm_dev_add() local
[all …]
/net/bridge/
Dbr_device.c28 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit()
109 static int br_dev_init(struct net_device *dev) in br_dev_init()
150 static void br_dev_uninit(struct net_device *dev) in br_dev_uninit()
162 static int br_dev_open(struct net_device *dev) in br_dev_open()
177 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list()
181 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags()
187 static int br_dev_stop(struct net_device *dev) in br_dev_stop()
202 static void br_get_stats64(struct net_device *dev, in br_get_stats64()
230 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu()
247 static int br_set_mac_address(struct net_device *dev, void *p) in br_set_mac_address()
[all …]
/net/core/
Ddev.c234 static void list_netdevice(struct net_device *dev) in list_netdevice()
253 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
519 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check()
613 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink()
631 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in dev_fill_metadata_dst()
662 struct net_device *dev; in __dev_get_by_name() local
687 struct net_device *dev; in dev_get_by_name_rcu() local
712 struct net_device *dev; in dev_get_by_name() local
737 struct net_device *dev; in __dev_get_by_index() local
761 struct net_device *dev; in dev_get_by_index_rcu() local
[all …]
Dethtool.c36 u32 ethtool_op_get_link(struct net_device *dev) in ethtool_op_get_link()
42 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info) in ethtool_op_get_ts_info()
140 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features()
178 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features()
218 static int __ethtool_get_sset_count(struct net_device *dev, int sset) in __ethtool_get_sset_count()
244 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings()
295 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature()
309 static int ethtool_set_one_feature(struct net_device *dev, in ethtool_set_one_feature()
339 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags()
357 static int __ethtool_set_flags(struct net_device *dev, u32 data) in __ethtool_set_flags()
[all …]
Dlink_watch.c35 static unsigned char default_operstate(const struct net_device *dev) in default_operstate()
48 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy()
74 void linkwatch_init_dev(struct net_device *dev) in linkwatch_init_dev()
82 static bool linkwatch_urgent_event(struct net_device *dev) in linkwatch_urgent_event()
97 static void linkwatch_add_event(struct net_device *dev) in linkwatch_add_event()
139 static void linkwatch_do_dev(struct net_device *dev) in linkwatch_do_dev()
169 struct net_device *dev; in __linkwatch_run_queue() local
218 void linkwatch_forget_dev(struct net_device *dev) in linkwatch_forget_dev()
249 void linkwatch_fire_event(struct net_device *dev) in linkwatch_fire_event()
Dnet-sysfs.c34 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
40 static ssize_t netdev_show(const struct device *dev, in netdev_show()
76 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
113 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
122 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
127 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
142 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
156 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
167 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier()
174 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
[all …]
Ddev_addr_lists.c238 struct net_device *dev, in __hw_addr_sync_dev()
293 struct net_device *dev, in __hw_addr_ref_sync_dev()
352 struct net_device *dev, in __hw_addr_ref_unsync_dev()
386 struct net_device *dev, in __hw_addr_unsync_dev()
436 void dev_addr_flush(struct net_device *dev) in dev_addr_flush()
454 int dev_addr_init(struct net_device *dev) in dev_addr_init()
490 int dev_addr_add(struct net_device *dev, const unsigned char *addr, in dev_addr_add()
518 int dev_addr_del(struct net_device *dev, const unsigned char *addr, in dev_addr_del()
553 int dev_uc_add_excl(struct net_device *dev, const unsigned char *addr) in dev_uc_add_excl()
584 int dev_uc_add(struct net_device *dev, const unsigned char *addr) in dev_uc_add()
[all …]
/net/mac802154/
Dmib.c21 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan) in mac802154_dev_set_page_channel()
40 int mac802154_get_params(struct net_device *dev, in mac802154_get_params()
55 int mac802154_set_params(struct net_device *dev, in mac802154_set_params()
71 int mac802154_add_key(struct net_device *dev, in mac802154_add_key()
87 int mac802154_del_key(struct net_device *dev, in mac802154_del_key()
102 int mac802154_add_dev(struct net_device *dev, in mac802154_add_dev()
117 int mac802154_del_dev(struct net_device *dev, __le64 dev_addr) in mac802154_del_dev()
131 int mac802154_add_devkey(struct net_device *dev, in mac802154_add_devkey()
147 int mac802154_del_devkey(struct net_device *dev, in mac802154_del_devkey()
163 int mac802154_add_seclevel(struct net_device *dev, in mac802154_add_seclevel()
[all …]
/net/wireless/
Drdev-ops.h64 struct net_device *dev, enum nl80211_iftype type, in rdev_change_virtual_intf()
153 struct net_device *dev, in rdev_start_ap()
164 struct net_device *dev, in rdev_change_beacon()
175 struct net_device *dev) in rdev_stop_ap()
185 struct net_device *dev, u8 *mac, in rdev_add_station()
196 struct net_device *dev, in rdev_del_station()
207 struct net_device *dev, u8 *mac, in rdev_change_station()
218 struct net_device *dev, const u8 *mac, in rdev_get_station()
229 struct net_device *dev, int idx, u8 *mac, in rdev_dump_station()
240 struct net_device *dev, u8 *dst, u8 *next_hop) in rdev_add_mpath()
[all …]
Dwext-compat.c26 int cfg80211_wext_giwname(struct net_device *dev, in cfg80211_wext_giwname()
35 int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, in cfg80211_wext_siwmode()
71 int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, in cfg80211_wext_giwmode()
107 int cfg80211_wext_giwrange(struct net_device *dev, in cfg80211_wext_giwrange()
251 int cfg80211_wext_siwrts(struct net_device *dev, in cfg80211_wext_siwrts()
275 int cfg80211_wext_giwrts(struct net_device *dev, in cfg80211_wext_giwrts()
289 int cfg80211_wext_siwfrag(struct net_device *dev, in cfg80211_wext_siwfrag()
315 int cfg80211_wext_giwfrag(struct net_device *dev, in cfg80211_wext_giwfrag()
329 static int cfg80211_wext_siwretry(struct net_device *dev, in cfg80211_wext_siwretry()
366 int cfg80211_wext_giwretry(struct net_device *dev, in cfg80211_wext_giwretry()
[all …]
/net/phonet/
Dpn_dev.c50 static struct phonet_device *__phonet_device_alloc(struct net_device *dev) in __phonet_device_alloc()
64 static struct phonet_device *__phonet_get(struct net_device *dev) in __phonet_get()
77 static struct phonet_device *__phonet_get_rcu(struct net_device *dev) in __phonet_get_rcu()
89 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy()
115 struct net_device *dev = NULL; in phonet_device_get() local
133 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add()
152 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del()
176 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get()
233 static int phonet_device_autoconf(struct net_device *dev) in phonet_device_autoconf()
255 static void phonet_route_autodel(struct net_device *dev) in phonet_route_autodel()
[all …]
Dpep-gprs.c30 struct net_device *dev; member
53 struct net_device *dev = gp->dev; in gprs_writeable() local
68 struct net_device *dev = gp->dev; in gprs_state_change() local
77 struct net_device *dev = gp->dev; in gprs_recv() local
159 static int gprs_open(struct net_device *dev) in gprs_open()
167 static int gprs_close(struct net_device *dev) in gprs_close()
173 static netdev_tx_t gprs_xmit(struct sk_buff *skb, struct net_device *dev) in gprs_xmit()
213 static void gprs_setup(struct net_device *dev) in gprs_setup()
241 struct net_device *dev; in gprs_attach() local
294 struct net_device *dev = gp->dev; in gprs_detach() local
/net/ethernet/
Deth.c79 int eth_header(struct sk_buff *skb, struct net_device *dev, in eth_header()
125 u32 eth_get_headlen(const struct net_device *dev, void *data, unsigned int len) in eth_get_headlen()
155 __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev) in eth_type_trans()
236 const struct net_device *dev = neigh->dev; in eth_header_cache() local
266 const struct net_device *dev, in eth_header_cache_update()
291 int eth_prepare_mac_addr_change(struct net_device *dev, void *p) in eth_prepare_mac_addr_change()
308 void eth_commit_mac_addr_change(struct net_device *dev, void *p) in eth_commit_mac_addr_change()
326 int eth_mac_addr(struct net_device *dev, void *p) in eth_mac_addr()
346 int eth_change_mtu(struct net_device *dev, int new_mtu) in eth_change_mtu()
354 int eth_validate_addr(struct net_device *dev) in eth_validate_addr()
[all …]
/net/netrom/
Dnr_dev.c40 int nr_rx_ip(struct sk_buff *skb, struct net_device *dev) in nr_rx_ip()
65 static int nr_header(struct sk_buff *skb, struct net_device *dev, in nr_header()
98 static int __must_check nr_set_mac_address(struct net_device *dev, void *addr) in nr_set_mac_address()
119 static int nr_open(struct net_device *dev) in nr_open()
132 static int nr_close(struct net_device *dev) in nr_close()
139 static netdev_tx_t nr_xmit(struct sk_buff *skb, struct net_device *dev) in nr_xmit()
167 void nr_setup(struct net_device *dev) in nr_setup()
/net/ipv4/
Dip_gre.c453 static void __gre_xmit(struct sk_buff *skb, struct net_device *dev, in __gre_xmit()
473 static void gre_fb_xmit(struct sk_buff *skb, struct net_device *dev, in gre_fb_xmit()
512 static void erspan_fb_xmit(struct sk_buff *skb, struct net_device *dev) in erspan_fb_xmit()
594 static int gre_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in gre_fill_metadata_dst()
619 struct net_device *dev) in ipgre_xmit()
670 struct net_device *dev) in erspan_xmit()
724 struct net_device *dev) in gre_tap_xmit()
751 static void ipgre_link_update(struct net_device *dev, bool set_mtu) in ipgre_link_update()
785 static int ipgre_tunnel_ioctl(struct net_device *dev, in ipgre_tunnel_ioctl()
854 static int ipgre_header(struct sk_buff *skb, struct net_device *dev, in ipgre_header()
[all …]
/net/l3mdev/
Dl3mdev.c17 int l3mdev_master_ifindex_rcu(const struct net_device *dev) in l3mdev_master_ifindex_rcu()
53 struct net_device *dev; in l3mdev_master_upper_ifindex_by_index_rcu() local
69 u32 l3mdev_fib_table_rcu(const struct net_device *dev) in l3mdev_fib_table_rcu()
98 struct net_device *dev; in l3mdev_fib_table_by_index() local
129 struct net_device *dev; in l3mdev_link_scope_lookup() local
156 struct net_device *dev; in l3mdev_fib_rule_match() local
185 struct net_device *dev; in l3mdev_update_flow() local
/net/caif/
Dchnl_net.c116 static int delete_device(struct chnl_net *dev) in delete_device()
126 struct chnl_net *dev = NULL; in close_work() local
200 static int chnl_net_start_xmit(struct sk_buff *skb, struct net_device *dev) in chnl_net_start_xmit()
245 static int chnl_net_open(struct net_device *dev) in chnl_net_open()
337 static int chnl_net_stop(struct net_device *dev) in chnl_net_stop()
348 static int chnl_net_init(struct net_device *dev) in chnl_net_init()
358 static void chnl_net_uninit(struct net_device *dev) in chnl_net_uninit()
374 static void chnl_net_destructor(struct net_device *dev) in chnl_net_destructor()
380 static void ipcaif_net_setup(struct net_device *dev) in ipcaif_net_setup()
406 static int ipcaif_fill_info(struct sk_buff *skb, const struct net_device *dev) in ipcaif_fill_info()
[all …]
/net/ieee802154/
Dnl-mac.c51 static int ieee802154_nl_start_confirm(struct net_device *dev, u8 status) in ieee802154_nl_start_confirm()
75 u32 seq, int flags, struct net_device *dev) in ieee802154_nl_fill_iface()
147 struct net_device *dev; in ieee802154_nl_get_dev() local
175 struct net_device *dev; in ieee802154_associate_req() local
222 struct net_device *dev; in ieee802154_associate_resp() local
255 struct net_device *dev; in ieee802154_disassociate_req() local
297 struct net_device *dev; in ieee802154_start_req() local
369 struct net_device *dev; in ieee802154_scan_req() local
410 struct net_device *dev = NULL; in ieee802154_list_iface() local
441 struct net_device *dev; in ieee802154_dump_iface() local
[all …]

12345678910>>...16