Home
last modified time | relevance | path

Searched refs:net_dev (Results 1 – 7 of 7) sorted by relevance

/net/atm/
Dbr2684.c82 struct net_device *net_dev; member
102 static inline struct br2684_dev *BRPRIV(const struct net_device *net_dev) in BRPRIV() argument
104 return (struct br2684_dev *)netdev_priv(net_dev); in BRPRIV()
109 return list_entry(le, struct br2684_dev, br2684_devs)->net_dev; in list_entry_brdev()
126 struct net_device *net_dev; in br2684_find_dev() local
130 net_dev = list_entry_brdev(lh); in br2684_find_dev()
131 if (BRPRIV(net_dev)->number == s->spec.devnum) in br2684_find_dev()
132 return net_dev; in br2684_find_dev()
137 net_dev = list_entry_brdev(lh); in br2684_find_dev()
138 if (!strncmp(net_dev->name, s->spec.ifname, IFNAMSIZ)) in br2684_find_dev()
[all …]
/net/wimax/
Dstack.c129 wimax_dev->net_dev->ifindex); in wimax_gnl_re_state_change_alloc()
273 netif_tx_disable(wimax_dev->net_dev); in __wimax_state_change()
274 netif_carrier_off(wimax_dev->net_dev); in __wimax_state_change()
306 netif_carrier_on(wimax_dev->net_dev); in __wimax_state_change()
307 netif_wake_queue(wimax_dev->net_dev); in __wimax_state_change()
438 int wimax_dev_add(struct wimax_dev *wimax_dev, struct net_device *net_dev) in wimax_dev_add() argument
441 struct device *dev = net_dev->dev.parent; in wimax_dev_add()
444 d_fnstart(3, dev, "(wimax_dev %p net_dev %p)\n", wimax_dev, net_dev); in wimax_dev_add()
448 wimax_dev->net_dev = net_dev; in wimax_dev_add()
467 net_dev->dev_addr, net_dev->addr_len); in wimax_dev_add()
[all …]
Ddebugfs.c42 struct net_device *net_dev = wimax_dev->net_dev; in wimax_debugfs_add() local
43 struct device *dev = net_dev->dev.parent; in wimax_debugfs_add()
47 snprintf(buf, sizeof(buf), "wimax:%s", net_dev->name); in wimax_debugfs_add()
Did-table.c95 if (wimax_dev->net_dev->ifindex == ifindex) { in wimax_dev_get_by_genl_info()
96 dev_hold(wimax_dev->net_dev); in wimax_dev_get_by_genl_info()
141 __func__, wimax_dev, wimax_dev->net_dev->ifindex); in wimax_id_table_release()
Dop-reset.c77 dev_hold(wimax_dev->net_dev); in wimax_reset()
86 dev_put(wimax_dev->net_dev); in wimax_reset()
130 dev_put(wimax_dev->net_dev); in wimax_gnl_doit_reset()
Dop-msg.c118 struct device *dev = wimax_dev->net_dev->dev.parent; in wimax_msg_alloc()
137 wimax_dev->net_dev->ifindex); in wimax_msg_alloc()
262 struct device *dev = wimax_dev->net_dev->dev.parent; in wimax_msg_send()
403 dev_put(wimax_dev->net_dev); in wimax_gnl_doit_msg_from_user()
Dop-rfkill.c518 dev_put(wimax_dev->net_dev); in wimax_gnl_doit_rfkill()