Home
last modified time | relevance | path

Searched refs:ntype (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/net/wireless/
Dutil.c920 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument
933 if (ntype == NL80211_IFTYPE_P2P_DEVICE) in cfg80211_change_iface()
937 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
942 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface()
943 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface()
944 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface()
947 if (ntype != otype) { in cfg80211_change_iface()
978 err = rdev_change_virtual_intf(rdev, dev, ntype, flags, params); in cfg80211_change_iface()
980 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface()
987 switch (ntype) { in cfg80211_change_iface()
[all …]
Dcore.h407 struct net_device *dev, enum nl80211_iftype ntype,
Dnl80211.c2540 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local
2547 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
2550 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface()
2551 if (otype != ntype) in nl80211_set_interface()
2553 if (ntype > NL80211_IFTYPE_MAX) in nl80211_set_interface()
2560 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface()
2578 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface()
2586 if (ntype != NL80211_IFTYPE_MONITOR) in nl80211_set_interface()
2602 err = cfg80211_change_iface(rdev, dev, ntype, flags, &params); in nl80211_set_interface()
/linux-4.1.27/drivers/mtd/ubi/
Dbuild.c156 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument
164 switch (ntype) { in ubi_volume_notify()
174 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify()
188 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all() argument
207 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all()
209 blocking_notifier_call_chain(&ubi_notifiers, ntype, in ubi_notify_all()
Dubi.h891 int ntype);
892 int ubi_notify_all(struct ubi_device *ubi, int ntype,