Home
last modified time | relevance | path

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

12345678910>>...15

/net/nfc/
Dcore.c45 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download()
85 int nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name, in nfc_fw_download_done()
101 int nfc_dev_up(struct nfc_dev *dev) in nfc_dev_up()
149 int nfc_dev_down(struct nfc_dev *dev) in nfc_dev_down()
184 struct nfc_dev *dev = data; in nfc_rfkill_set_block() local
209 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll()
252 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll()
279 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target()
291 int nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) in nfc_dep_link_up()
338 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down()
[all …]
Dnetlink.c121 struct nfc_dev *dev; in __get_device_from_cb() local
147 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets() local
180 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets_done() local
188 int nfc_genl_targets_found(struct nfc_dev *dev) in nfc_genl_targets_found()
218 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx) in nfc_genl_target_lost()
249 int nfc_genl_tm_activated(struct nfc_dev *dev, u32 protocol) in nfc_genl_tm_activated()
281 int nfc_genl_tm_deactivated(struct nfc_dev *dev) in nfc_genl_tm_deactivated()
311 static int nfc_genl_setup_device_added(struct nfc_dev *dev, struct sk_buff *msg) in nfc_genl_setup_device_added()
322 int nfc_genl_device_added(struct nfc_dev *dev) in nfc_genl_device_added()
352 int nfc_genl_device_removed(struct nfc_dev *dev) in nfc_genl_device_removed()
[all …]
/net/8021q/
Dvlan_dev.c50 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, in vlan_dev_hard_header()
106 struct net_device *dev) in vlan_dev_hard_start_xmit()
148 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu()
163 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority()
176 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority()
219 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags()
246 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result) in vlan_dev_get_realdev_name()
251 bool vlan_dev_inherit_address(struct net_device *dev, in vlan_dev_inherit_address()
262 static int vlan_dev_open(struct net_device *dev) in vlan_dev_open()
313 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, in vlan_hw_filter_capable()
208 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_add() local
233 int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_add()
272 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_del() local
293 void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_del()
[all …]
/net/bridge/
Dbr_device.c34 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit()
94 static void br_set_lockdep_class(struct net_device *dev) in br_set_lockdep_class()
99 static int br_dev_init(struct net_device *dev) in br_dev_init()
124 static void br_dev_uninit(struct net_device *dev) in br_dev_uninit()
134 static int br_dev_open(struct net_device *dev) in br_dev_open()
146 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list()
150 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags()
156 static int br_dev_stop(struct net_device *dev) in br_dev_stop()
168 static void br_get_stats64(struct net_device *dev, in br_get_stats64()
195 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu()
[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/mac802154/
Dmib.c29 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan) in mac802154_dev_set_page_channel()
48 int mac802154_get_params(struct net_device *dev, in mac802154_get_params()
63 int mac802154_set_params(struct net_device *dev, in mac802154_set_params()
79 int mac802154_add_key(struct net_device *dev, in mac802154_add_key()
95 int mac802154_del_key(struct net_device *dev, in mac802154_del_key()
110 int mac802154_add_dev(struct net_device *dev, in mac802154_add_dev()
125 int mac802154_del_dev(struct net_device *dev, __le64 dev_addr) in mac802154_del_dev()
139 int mac802154_add_devkey(struct net_device *dev, in mac802154_add_devkey()
155 int mac802154_del_devkey(struct net_device *dev, in mac802154_del_devkey()
171 int mac802154_add_seclevel(struct net_device *dev, in mac802154_add_seclevel()
[all …]
/net/core/
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()
131 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features()
169 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features()
226 static int __ethtool_get_sset_count(struct net_device *dev, int sset) in __ethtool_get_sset_count()
255 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings()
313 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature()
327 static int ethtool_set_one_feature(struct net_device *dev, in ethtool_set_one_feature()
357 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags()
375 static int __ethtool_set_flags(struct net_device *dev, u32 data) in __ethtool_set_flags()
[all …]
Ddev.c232 static void list_netdevice(struct net_device *dev) in list_netdevice()
251 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
342 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
356 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
593 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check()
687 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink()
705 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in dev_fill_metadata_dst()
736 struct net_device *dev; in __dev_get_by_name() local
761 struct net_device *dev; in dev_get_by_name_rcu() local
786 struct net_device *dev; in dev_get_by_name() local
[all …]
Dlink_watch.c40 static unsigned char default_operstate(const struct net_device *dev) in default_operstate()
53 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy()
79 void linkwatch_init_dev(struct net_device *dev) in linkwatch_init_dev()
87 static bool linkwatch_urgent_event(struct net_device *dev) in linkwatch_urgent_event()
102 static void linkwatch_add_event(struct net_device *dev) in linkwatch_add_event()
144 static void linkwatch_do_dev(struct net_device *dev) in linkwatch_do_dev()
171 struct net_device *dev; in __linkwatch_run_queue() local
211 void linkwatch_forget_dev(struct net_device *dev) in linkwatch_forget_dev()
242 void linkwatch_fire_event(struct net_device *dev) in linkwatch_fire_event()
Dnet-sysfs.c38 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
44 static ssize_t netdev_show(const struct device *dev, in netdev_show()
80 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
117 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
126 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
131 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
146 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
160 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
171 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier()
178 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
[all …]
Ddev_addr_lists.c242 struct net_device *dev, in __hw_addr_sync_dev()
293 struct net_device *dev, in __hw_addr_unsync_dev()
343 void dev_addr_flush(struct net_device *dev) in dev_addr_flush()
361 int dev_addr_init(struct net_device *dev) in dev_addr_init()
397 int dev_addr_add(struct net_device *dev, const unsigned char *addr, in dev_addr_add()
422 int dev_addr_del(struct net_device *dev, const unsigned char *addr, in dev_addr_del()
457 int dev_uc_add_excl(struct net_device *dev, const unsigned char *addr) in dev_uc_add_excl()
488 int dev_uc_add(struct net_device *dev, const unsigned char *addr) in dev_uc_add()
510 int dev_uc_del(struct net_device *dev, const unsigned char *addr) in dev_uc_del()
612 void dev_uc_flush(struct net_device *dev) in dev_uc_flush()
[all …]
/net/dsa/
Dslave.c65 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink()
72 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open()
127 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close()
154 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags()
169 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode()
178 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address()
207 struct net_device *dev; member
259 struct net_device *dev, struct net_device *filter_dev, in dsa_slave_fdb_dump()
283 static int dsa_slave_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in dsa_slave_ioctl()
293 static int dsa_slave_port_attr_set(struct net_device *dev, in dsa_slave_port_attr_set()
[all …]
/net/switchdev/
Dswitchdev.c90 static void switchdev_trans_items_warn_destroy(struct net_device *dev, in switchdev_trans_items_warn_destroy()
106 struct net_device *dev; member
157 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
183 int switchdev_port_attr_get(struct net_device *dev, struct switchdev_attr *attr) in switchdev_port_attr_get()
219 static int __switchdev_port_attr_set(struct net_device *dev, in __switchdev_port_attr_set()
254 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
297 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
311 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
331 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
354 static int __switchdev_port_obj_add(struct net_device *dev, in __switchdev_port_obj_add()
[all …]
/net/wireless/
Drdev-ops.h64 struct net_device *dev, enum nl80211_iftype type, in rdev_change_virtual_intf()
139 struct net_device *dev, in rdev_start_ap()
150 struct net_device *dev, in rdev_change_beacon()
161 struct net_device *dev) in rdev_stop_ap()
171 struct net_device *dev, u8 *mac, in rdev_add_station()
182 struct net_device *dev, in rdev_del_station()
193 struct net_device *dev, u8 *mac, in rdev_change_station()
204 struct net_device *dev, const u8 *mac, in rdev_get_station()
215 struct net_device *dev, int idx, u8 *mac, in rdev_dump_station()
226 struct net_device *dev, u8 *dst, u8 *next_hop) in rdev_add_mpath()
[all …]
Dwext-compat.c25 int cfg80211_wext_giwname(struct net_device *dev, in cfg80211_wext_giwname()
34 int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, in cfg80211_wext_siwmode()
70 int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, in cfg80211_wext_giwmode()
106 int cfg80211_wext_giwrange(struct net_device *dev, in cfg80211_wext_giwrange()
250 int cfg80211_wext_siwrts(struct net_device *dev, in cfg80211_wext_siwrts()
274 int cfg80211_wext_giwrts(struct net_device *dev, in cfg80211_wext_giwrts()
288 int cfg80211_wext_siwfrag(struct net_device *dev, in cfg80211_wext_siwfrag()
314 int cfg80211_wext_giwfrag(struct net_device *dev, in cfg80211_wext_giwfrag()
328 static int cfg80211_wext_siwretry(struct net_device *dev, in cfg80211_wext_siwretry()
368 int cfg80211_wext_giwretry(struct net_device *dev, in cfg80211_wext_giwretry()
[all …]
Dibss.c18 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, in __cfg80211_ibss_joined()
59 void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, in cfg80211_ibss_joined()
88 struct net_device *dev, in __cfg80211_join_ibss()
145 struct net_device *dev, in cfg80211_join_ibss()
161 static void __cfg80211_clear_ibss(struct net_device *dev, bool nowext) in __cfg80211_clear_ibss()
197 void cfg80211_clear_ibss(struct net_device *dev, bool nowext) in cfg80211_clear_ibss()
207 struct net_device *dev, bool nowext) in __cfg80211_leave_ibss()
228 struct net_device *dev, bool nowext) in cfg80211_leave_ibss()
313 int cfg80211_ibss_wext_siwfreq(struct net_device *dev, in cfg80211_ibss_wext_siwfreq()
370 int cfg80211_ibss_wext_giwfreq(struct net_device *dev, in cfg80211_ibss_wext_giwfreq()
[all …]
/net/decnet/
Ddn_dev.c209 static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms *parms) in dn_dev_sysctl_register()
252 struct net_device *dev = table->extra1; in dn_forwarding_proc() local
295 static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms *parms) in dn_dev_sysctl_register()
301 static inline __u16 mtu2blksize(struct net_device *dev) in mtu2blksize()
334 struct net_device *dev = dn_db->dev; in dn_dev_del_ifa() local
359 struct net_device *dev = dn_db->dev; in dn_dev_insert_ifa() local
389 static int dn_dev_set_ifa(struct net_device *dev, struct dn_ifaddr *ifa) in dn_dev_set_ifa()
419 struct net_device *dev; in dn_dev_ioctl() local
497 struct net_device *dev; in dn_dev_get_default() local
512 int dn_dev_set_default(struct net_device *dev, int force) in dn_dev_set_default()
[all …]
/net/phonet/
Dpn_dev.c63 static struct phonet_device *__phonet_device_alloc(struct net_device *dev) in __phonet_device_alloc()
77 static struct phonet_device *__phonet_get(struct net_device *dev) in __phonet_get()
90 static struct phonet_device *__phonet_get_rcu(struct net_device *dev) in __phonet_get_rcu()
102 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy()
128 struct net_device *dev = NULL; in phonet_device_get() local
146 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add()
165 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del()
189 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get()
246 static int phonet_device_autoconf(struct net_device *dev) in phonet_device_autoconf()
268 static void phonet_route_autodel(struct net_device *dev) in phonet_route_autodel()
[all …]
Dpep-gprs.c43 struct net_device *dev; member
66 struct net_device *dev = gp->dev; in gprs_writeable() local
81 struct net_device *dev = gp->dev; in gprs_state_change() local
90 struct net_device *dev = gp->dev; in gprs_recv() local
172 static int gprs_open(struct net_device *dev) in gprs_open()
180 static int gprs_close(struct net_device *dev) in gprs_close()
186 static netdev_tx_t gprs_xmit(struct sk_buff *skb, struct net_device *dev) in gprs_xmit()
226 static void gprs_setup(struct net_device *dev) in gprs_setup()
254 struct net_device *dev; in gprs_attach() local
307 struct net_device *dev = gp->dev; in gprs_detach() local
/net/netrom/
Dnr_dev.c43 int nr_rx_ip(struct sk_buff *skb, struct net_device *dev) in nr_rx_ip()
68 static int nr_header(struct sk_buff *skb, struct net_device *dev, in nr_header()
101 static int __must_check nr_set_mac_address(struct net_device *dev, void *addr) in nr_set_mac_address()
122 static int nr_open(struct net_device *dev) in nr_open()
135 static int nr_close(struct net_device *dev) in nr_close()
142 static netdev_tx_t nr_xmit(struct sk_buff *skb, struct net_device *dev) in nr_xmit()
170 void nr_setup(struct net_device *dev) in nr_setup()
/net/batman-adv/
Dsoft-interface.c86 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open()
92 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release()
118 static struct net_device_stats *batadv_interface_stats(struct net_device *dev) in batadv_interface_stats()
131 static int batadv_interface_set_mac_addr(struct net_device *dev, void *p) in batadv_interface_set_mac_addr()
160 static int batadv_interface_change_mtu(struct net_device *dev, int new_mtu) in batadv_interface_change_mtu()
179 static void batadv_interface_set_rx_mode(struct net_device *dev) in batadv_interface_set_rx_mode()
653 static int batadv_interface_add_vid(struct net_device *dev, __be16 proto, in batadv_interface_add_vid()
712 static int batadv_interface_kill_vid(struct net_device *dev, __be16 proto, in batadv_interface_kill_vid()
749 static void batadv_set_lockdep_class_one(struct net_device *dev, in batadv_set_lockdep_class_one()
760 static void batadv_set_lockdep_class(struct net_device *dev) in batadv_set_lockdep_class()
[all …]
/net/ethernet/
Deth.c82 int eth_header(struct sk_buff *skb, struct net_device *dev, in eth_header()
156 __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev) in eth_type_trans()
231 const struct net_device *dev = neigh->dev; in eth_header_cache() local
261 const struct net_device *dev, in eth_header_cache_update()
274 int eth_prepare_mac_addr_change(struct net_device *dev, void *p) in eth_prepare_mac_addr_change()
291 void eth_commit_mac_addr_change(struct net_device *dev, void *p) in eth_commit_mac_addr_change()
309 int eth_mac_addr(struct net_device *dev, void *p) in eth_mac_addr()
329 int eth_change_mtu(struct net_device *dev, int new_mtu) in eth_change_mtu()
337 int eth_validate_addr(struct net_device *dev) in eth_validate_addr()
359 void ether_setup(struct net_device *dev) in ether_setup()
[all …]
/net/sched/
Dsch_generic.c171 struct net_device *dev, struct netdev_queue *txq, in sch_direct_xmit()
235 struct net_device *dev; in qdisc_restart() local
273 unsigned long dev_trans_start(struct net_device *dev) in dev_trans_start()
293 struct net_device *dev = (struct net_device *)arg; in dev_watchdog() local
334 void __netdev_watchdog_up(struct net_device *dev) in __netdev_watchdog_up()
345 static void dev_watchdog_up(struct net_device *dev) in dev_watchdog_up()
350 static void dev_watchdog_down(struct net_device *dev) in dev_watchdog_down()
364 void netif_carrier_on(struct net_device *dev) in netif_carrier_on()
383 void netif_carrier_off(struct net_device *dev) in netif_carrier_off()
606 struct net_device *dev = dev_queue->dev; in qdisc_alloc() local
[all …]
/net/l2tp/
Dl2tp_eth.c44 struct net_device *dev; member
57 struct net_device *dev; member
61 static int l2tp_eth_dev_init(struct net_device *dev) in l2tp_eth_dev_init()
73 static void l2tp_eth_dev_uninit(struct net_device *dev) in l2tp_eth_dev_uninit()
78 static int l2tp_eth_dev_xmit(struct sk_buff *skb, struct net_device *dev) in l2tp_eth_dev_xmit()
94 static void l2tp_eth_get_stats64(struct net_device *dev, in l2tp_eth_get_stats64()
120 static void l2tp_eth_dev_setup(struct net_device *dev) in l2tp_eth_dev_setup()
133 struct net_device *dev = spriv->dev; in l2tp_eth_dev_recv() local
174 struct net_device *dev; in l2tp_eth_delete() local
192 struct net_device *dev = spriv->dev; in l2tp_eth_show() local
[all …]

12345678910>>...15