Home
last modified time | relevance | path

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

12345678910>>...14

/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.c127 struct nfc_dev *dev; in __get_device_from_cb() local
154 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets() local
187 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets_done() local
195 int nfc_genl_targets_found(struct nfc_dev *dev) in nfc_genl_targets_found()
225 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx) in nfc_genl_target_lost()
256 int nfc_genl_tm_activated(struct nfc_dev *dev, u32 protocol) in nfc_genl_tm_activated()
288 int nfc_genl_tm_deactivated(struct nfc_dev *dev) in nfc_genl_tm_deactivated()
318 int nfc_genl_device_added(struct nfc_dev *dev) in nfc_genl_device_added()
351 int nfc_genl_device_removed(struct nfc_dev *dev) in nfc_genl_device_removed()
381 int nfc_genl_llc_send_sdres(struct nfc_dev *dev, struct hlist_head *sdres_list) in nfc_genl_llc_send_sdres()
[all …]
/net/8021q/
Dvlan_dev.c49 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, in vlan_dev_hard_header()
105 struct net_device *dev) in vlan_dev_hard_start_xmit()
147 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu()
160 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority()
173 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority()
216 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()
310 static int vlan_dev_stop(struct net_device *dev) in vlan_dev_stop()
[all …]
Dvlan_core.c68 struct net_device *__vlan_find_dev_deep_rcu(struct net_device *dev, in __vlan_find_dev_deep_rcu()
94 struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev()
105 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id()
111 __be16 vlan_dev_vlan_proto(const struct net_device *dev) in vlan_dev_vlan_proto()
141 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc()
161 static bool vlan_hw_filter_capable(const struct net_device *dev, in vlan_hw_filter_capable()
201 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_add() local
226 int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_add()
265 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_del() local
286 void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_del()
[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()
116 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features()
154 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features()
194 static int __ethtool_get_sset_count(struct net_device *dev, int sset) in __ethtool_get_sset_count()
213 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings()
262 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature()
276 static int ethtool_set_one_feature(struct net_device *dev, in ethtool_set_one_feature()
306 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags()
324 static int __ethtool_set_flags(struct net_device *dev, u32 data) in __ethtool_set_flags()
[all …]
Ddev.c223 static void list_netdevice(struct net_device *dev) in list_netdevice()
242 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
333 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
347 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
583 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check()
677 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink()
695 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in dev_fill_metadata_dst()
726 struct net_device *dev; in __dev_get_by_name() local
751 struct net_device *dev; in dev_get_by_name_rcu() local
776 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.c37 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
43 static ssize_t netdev_show(const struct device *dev, in netdev_show()
79 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
115 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
124 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
129 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
144 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
158 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
168 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier()
175 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/bridge/
Dbr_device.c34 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit()
93 static void br_set_lockdep_class(struct net_device *dev) in br_set_lockdep_class()
98 static int br_dev_init(struct net_device *dev) in br_dev_init()
115 static int br_dev_open(struct net_device *dev) in br_dev_open()
127 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list()
131 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags()
137 static int br_dev_stop(struct net_device *dev) in br_dev_stop()
149 static struct rtnl_link_stats64 *br_get_stats64(struct net_device *dev, in br_get_stats64()
179 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu()
196 static int br_set_mac_address(struct net_device *dev, void *p) in br_set_mac_address()
[all …]
/net/dsa/
Dslave.c59 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink()
71 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open()
127 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close()
155 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags()
170 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode()
179 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address()
212 struct net_device *dev, *vlan_br; in dsa_bridge_check_vlan_range() local
248 static int dsa_slave_port_vlan_add(struct net_device *dev, in dsa_slave_port_vlan_add()
281 static int dsa_slave_port_vlan_del(struct net_device *dev, in dsa_slave_port_vlan_del()
293 static int dsa_slave_port_vlan_dump(struct net_device *dev, in dsa_slave_port_vlan_dump()
[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/switchdev/
Dswitchdev.c91 static void switchdev_trans_items_warn_destroy(struct net_device *dev, in switchdev_trans_items_warn_destroy()
107 struct net_device *dev; member
158 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
184 int switchdev_port_attr_get(struct net_device *dev, struct switchdev_attr *attr) in switchdev_port_attr_get()
220 static int __switchdev_port_attr_set(struct net_device *dev, in __switchdev_port_attr_set()
255 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
298 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
310 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
330 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
355 static int __switchdev_port_obj_add(struct net_device *dev, in __switchdev_port_obj_add()
[all …]
/net/batman-adv/
Dsoft-interface.c104 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open()
110 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release()
116 static struct net_device_stats *batadv_interface_stats(struct net_device *dev) in batadv_interface_stats()
129 static int batadv_interface_set_mac_addr(struct net_device *dev, void *p) in batadv_interface_set_mac_addr()
158 static int batadv_interface_change_mtu(struct net_device *dev, int new_mtu) in batadv_interface_change_mtu()
177 static void batadv_interface_set_rx_mode(struct net_device *dev) in batadv_interface_set_rx_mode()
613 static int batadv_interface_add_vid(struct net_device *dev, __be16 proto, in batadv_interface_add_vid()
671 static int batadv_interface_kill_vid(struct net_device *dev, __be16 proto, in batadv_interface_kill_vid()
708 static void batadv_set_lockdep_class_one(struct net_device *dev, in batadv_set_lockdep_class_one()
719 static void batadv_set_lockdep_class(struct net_device *dev) in batadv_set_lockdep_class()
[all …]
/net/phonet/
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()
220 static int gprs_set_mtu(struct net_device *dev, int new_mtu) in gprs_set_mtu()
236 static void gprs_setup(struct net_device *dev) in gprs_setup()
262 struct net_device *dev; in gprs_attach() local
[all …]
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 …]
/net/decnet/
Ddn_dev.c208 static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms *parms) in dn_dev_sysctl_register()
251 struct net_device *dev = table->extra1; in dn_forwarding_proc() local
294 static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms *parms) in dn_dev_sysctl_register()
300 static inline __u16 mtu2blksize(struct net_device *dev) in mtu2blksize()
333 struct net_device *dev = dn_db->dev; in dn_dev_del_ifa() local
358 struct net_device *dev = dn_db->dev; in dn_dev_insert_ifa() local
388 static int dn_dev_set_ifa(struct net_device *dev, struct dn_ifaddr *ifa) in dn_dev_set_ifa()
418 struct net_device *dev; in dn_dev_ioctl() local
496 struct net_device *dev; in dn_dev_get_default() local
511 int dn_dev_set_default(struct net_device *dev, int force) in dn_dev_set_default()
[all …]
/net/wireless/
Drdev-ops.h63 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.c24 int cfg80211_wext_giwname(struct net_device *dev, in cfg80211_wext_giwname()
68 int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, in cfg80211_wext_siwmode()
104 int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, in cfg80211_wext_giwmode()
140 int cfg80211_wext_giwrange(struct net_device *dev, in cfg80211_wext_giwrange()
284 int cfg80211_wext_siwrts(struct net_device *dev, in cfg80211_wext_siwrts()
308 int cfg80211_wext_giwrts(struct net_device *dev, in cfg80211_wext_giwrts()
322 int cfg80211_wext_siwfrag(struct net_device *dev, in cfg80211_wext_siwfrag()
348 int cfg80211_wext_giwfrag(struct net_device *dev, in cfg80211_wext_giwfrag()
362 static int cfg80211_wext_siwretry(struct net_device *dev, in cfg80211_wext_siwretry()
402 int cfg80211_wext_giwretry(struct net_device *dev, in cfg80211_wext_giwretry()
[all …]
Dibss.c17 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, in __cfg80211_ibss_joined()
57 void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, in cfg80211_ibss_joined()
86 struct net_device *dev, in __cfg80211_join_ibss()
140 struct net_device *dev, in cfg80211_join_ibss()
156 static void __cfg80211_clear_ibss(struct net_device *dev, bool nowext) in __cfg80211_clear_ibss()
191 void cfg80211_clear_ibss(struct net_device *dev, bool nowext) in cfg80211_clear_ibss()
201 struct net_device *dev, bool nowext) in __cfg80211_leave_ibss()
222 struct net_device *dev, bool nowext) in cfg80211_leave_ibss()
309 int cfg80211_ibss_wext_siwfreq(struct net_device *dev, in cfg80211_ibss_wext_siwfreq()
366 int cfg80211_ibss_wext_giwfreq(struct net_device *dev, in cfg80211_ibss_wext_giwfreq()
[all …]
/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/bluetooth/
Dhci_sysfs.c26 static ssize_t show_link_type(struct device *dev, in show_link_type()
33 static ssize_t show_link_address(struct device *dev, in show_link_address()
54 static void bt_link_release(struct device *dev) in bt_link_release()
71 static int __match_tty(struct device *dev, void *data) in __match_tty()
113 struct device *dev; in hci_conn_del_sysfs() local
139 static ssize_t show_type(struct device *dev, in show_type()
146 static ssize_t show_name(struct device *dev, in show_name()
160 static ssize_t show_address(struct device *dev, in show_address()
180 static void bt_host_release(struct device *dev) in bt_host_release()
198 struct device *dev = &hdev->dev; in hci_init_sysfs() local
/net/irda/irlan/
Dirlan_eth.c64 static void irlan_eth_setup(struct net_device *dev) in irlan_eth_setup()
109 static int irlan_eth_open(struct net_device *dev) in irlan_eth_open()
134 static int irlan_eth_close(struct net_device *dev) in irlan_eth_close()
162 struct net_device *dev) in irlan_eth_xmit()
223 struct net_device *dev = self->dev; in irlan_eth_receive() local
269 struct net_device *dev; in irlan_eth_flow_indication() local
305 static void irlan_eth_set_multicast_list(struct net_device *dev) in irlan_eth_set_multicast_list()
/net/l2tp/
Dl2tp_eth.c44 struct net_device *dev; member
57 struct net_device __rcu *dev; member
62 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()
85 static int l2tp_eth_dev_xmit(struct sk_buff *skb, struct net_device *dev) in l2tp_eth_dev_xmit()
101 static struct rtnl_link_stats64 *l2tp_eth_get_stats64(struct net_device *dev, in l2tp_eth_get_stats64()
124 static void l2tp_eth_dev_setup(struct net_device *dev) in l2tp_eth_dev_setup()
136 struct net_device *dev; in l2tp_eth_dev_recv() local
186 struct net_device *dev; in l2tp_eth_delete() local
208 struct net_device *dev; in l2tp_eth_show() local
[all …]

12345678910>>...14