Home
last modified time | relevance | path

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

12345678910>>...18

/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
129 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets() local
162 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets_done() local
170 int nfc_genl_targets_found(struct nfc_dev *dev) in nfc_genl_targets_found()
199 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx) in nfc_genl_target_lost()
229 int nfc_genl_tm_activated(struct nfc_dev *dev, u32 protocol) in nfc_genl_tm_activated()
260 int nfc_genl_tm_deactivated(struct nfc_dev *dev) in nfc_genl_tm_deactivated()
289 static int nfc_genl_setup_device_added(struct nfc_dev *dev, struct sk_buff *msg) in nfc_genl_setup_device_added()
300 int nfc_genl_device_added(struct nfc_dev *dev) in nfc_genl_device_added()
329 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()
99 struct net_device *dev) in vlan_dev_hard_start_xmit()
141 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu()
156 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority()
169 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority()
214 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags()
242 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result) in vlan_dev_get_realdev_name()
247 bool vlan_dev_inherit_address(struct net_device *dev, in vlan_dev_inherit_address()
258 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.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/bridge/
Dbr_device.c28 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit()
112 static void br_set_lockdep_class(struct net_device *dev) in br_set_lockdep_class()
117 static int br_dev_init(struct net_device *dev) in br_dev_init()
159 static void br_dev_uninit(struct net_device *dev) in br_dev_uninit()
171 static int br_dev_open(struct net_device *dev) in br_dev_open()
186 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list()
190 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags()
196 static int br_dev_stop(struct net_device *dev) in br_dev_stop()
211 static void br_get_stats64(struct net_device *dev, in br_get_stats64()
220 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu()
[all …]
/net/dsa/
Dslave.c60 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink()
65 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open()
110 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close()
130 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags()
143 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode()
151 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address()
179 struct net_device *dev; member
231 struct net_device *dev, struct net_device *filter_dev, in dsa_slave_fdb_dump()
249 static int dsa_slave_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in dsa_slave_ioctl()
270 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_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in dsa_master_ioctl()
223 static int dsa_master_ethtool_setup(struct net_device *dev) in dsa_master_ethtool_setup()
249 static void dsa_master_ethtool_teardown(struct net_device *dev) in dsa_master_ethtool_teardown()
257 static void dsa_netdev_ops_set(struct net_device *dev, in dsa_netdev_ops_set()
[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.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/ethtool/
Dioctl.c40 u32 ethtool_op_get_link(struct net_device *dev) in ethtool_op_get_link()
46 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info) in ethtool_op_get_ts_info()
59 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features()
97 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features()
137 static int __ethtool_get_sset_count(struct net_device *dev, int sset) in __ethtool_get_sset_count()
168 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings()
225 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature()
239 static int ethtool_set_one_feature(struct net_device *dev, in ethtool_set_one_feature()
269 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags()
287 static int __ethtool_set_flags(struct net_device *dev, u32 data) in __ethtool_set_flags()
[all …]
/net/core/
Ddev.c236 static struct netdev_name_node *netdev_name_node_alloc(struct net_device *dev, in netdev_name_node_alloc()
251 netdev_name_node_head_alloc(struct net_device *dev) in netdev_name_node_head_alloc()
303 int netdev_name_node_alt_create(struct net_device *dev, const char *name) in netdev_name_node_alt_create()
330 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name) in netdev_name_node_alt_destroy()
350 static void netdev_name_node_alt_flush(struct net_device *dev) in netdev_name_node_alt_flush()
359 static void list_netdevice(struct net_device *dev) in list_netdevice()
378 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
469 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
484 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
727 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check()
[all …]
Dlink_watch.c35 static unsigned char default_operstate(const struct net_device *dev) in default_operstate()
51 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy()
81 void linkwatch_init_dev(struct net_device *dev) in linkwatch_init_dev()
90 static bool linkwatch_urgent_event(struct net_device *dev) in linkwatch_urgent_event()
105 static void linkwatch_add_event(struct net_device *dev) in linkwatch_add_event()
147 static void linkwatch_do_dev(struct net_device *dev) in linkwatch_do_dev()
177 struct net_device *dev; in __linkwatch_run_queue() local
226 void linkwatch_forget_dev(struct net_device *dev) in linkwatch_forget_dev()
257 void linkwatch_fire_event(struct net_device *dev) in linkwatch_fire_event()
Dnet-sysfs.c35 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
41 static ssize_t netdev_show(const struct device *dev, in netdev_show()
77 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
114 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
123 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
128 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
143 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
157 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.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/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()
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()
365 int cfg80211_wext_giwretry(struct net_device *dev, in cfg80211_wext_giwretry()
[all …]
/net/phonet/
Dpn_dev.c48 static struct phonet_device *__phonet_device_alloc(struct net_device *dev) in __phonet_device_alloc()
62 static struct phonet_device *__phonet_get(struct net_device *dev) in __phonet_get()
75 static struct phonet_device *__phonet_get_rcu(struct net_device *dev) in __phonet_get_rcu()
87 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy()
113 struct net_device *dev = NULL; in phonet_device_get() local
131 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add()
150 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del()
174 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get()
231 static int phonet_device_autoconf(struct net_device *dev) in phonet_device_autoconf()
253 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/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.c452 static void __gre_xmit(struct sk_buff *skb, struct net_device *dev, in __gre_xmit()
472 static void gre_fb_xmit(struct sk_buff *skb, struct net_device *dev, in gre_fb_xmit()
511 static void erspan_fb_xmit(struct sk_buff *skb, struct net_device *dev) in erspan_fb_xmit()
593 static int gre_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in gre_fill_metadata_dst()
618 struct net_device *dev) in ipgre_xmit()
669 struct net_device *dev) in erspan_xmit()
723 struct net_device *dev) in gre_tap_xmit()
750 static void ipgre_link_update(struct net_device *dev, bool set_mtu) in ipgre_link_update()
784 static int ipgre_tunnel_ctl(struct net_device *dev, struct ip_tunnel_parm *p, in ipgre_tunnel_ctl()
845 static int ipgre_header(struct sk_buff *skb, struct net_device *dev, in ipgre_header()
[all …]
Dudp_tunnel_nic.c42 struct net_device *dev; member
130 udp_tunnel_nic_is_empty(struct net_device *dev, struct udp_tunnel_nic *utn) in udp_tunnel_nic_is_empty()
143 udp_tunnel_nic_should_replay(struct net_device *dev, struct udp_tunnel_nic *utn) in udp_tunnel_nic_should_replay()
165 __udp_tunnel_nic_get_port(struct net_device *dev, unsigned int table, in __udp_tunnel_nic_get_port()
179 __udp_tunnel_nic_set_port_priv(struct net_device *dev, unsigned int table, in __udp_tunnel_nic_set_port_priv()
209 udp_tunnel_nic_device_sync_one(struct net_device *dev, in udp_tunnel_nic_device_sync_one()
238 udp_tunnel_nic_device_sync_by_port(struct net_device *dev, in udp_tunnel_nic_device_sync_by_port()
250 udp_tunnel_nic_device_sync_by_table(struct net_device *dev, in udp_tunnel_nic_device_sync_by_table()
281 __udp_tunnel_nic_device_sync(struct net_device *dev, struct udp_tunnel_nic *utn) in __udp_tunnel_nic_device_sync()
299 udp_tunnel_nic_device_sync(struct net_device *dev, struct udp_tunnel_nic *utn) in udp_tunnel_nic_device_sync()
[all …]
/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
201 struct net_device *dev) in chnl_net_start_xmit()
246 static int chnl_net_open(struct net_device *dev) in chnl_net_open()
338 static int chnl_net_stop(struct net_device *dev) in chnl_net_stop()
349 static int chnl_net_init(struct net_device *dev) in chnl_net_init()
359 static void chnl_net_uninit(struct net_device *dev) in chnl_net_uninit()
375 static void chnl_net_destructor(struct net_device *dev) in chnl_net_destructor()
381 static void ipcaif_net_setup(struct net_device *dev) in ipcaif_net_setup()
407 static int ipcaif_fill_info(struct sk_buff *skb, const struct net_device *dev) in ipcaif_fill_info()
[all …]
/net/batman-adv/
Dsoft-interface.c83 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open()
89 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release()
115 static struct net_device_stats *batadv_interface_stats(struct net_device *dev) in batadv_interface_stats()
128 static int batadv_interface_set_mac_addr(struct net_device *dev, void *p) in batadv_interface_set_mac_addr()
157 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()
652 static int batadv_interface_add_vid(struct net_device *dev, __be16 proto, in batadv_interface_add_vid()
711 static int batadv_interface_kill_vid(struct net_device *dev, __be16 proto, in batadv_interface_kill_vid()
748 static void batadv_set_lockdep_class_one(struct net_device *dev, in batadv_set_lockdep_class_one()
759 static void batadv_set_lockdep_class(struct net_device *dev) in batadv_set_lockdep_class()
[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>>...18