Searched refs:ntype (Results 1 – 5 of 5) sorted by relevance
| /linux-4.4.14/net/wireless/ |
| D | util.c | 921 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument 934 if (ntype == NL80211_IFTYPE_P2P_DEVICE) in cfg80211_change_iface() 938 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface() 943 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface() 944 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface() 945 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface() 948 if (ntype != otype) { in cfg80211_change_iface() 979 err = rdev_change_virtual_intf(rdev, dev, ntype, flags, params); in cfg80211_change_iface() 981 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface() 988 switch (ntype) { in cfg80211_change_iface() [all …]
|
| D | core.h | 414 struct net_device *dev, enum nl80211_iftype ntype,
|
| D | nl80211.c | 2565 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local 2572 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface() 2575 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface() 2576 if (otype != ntype) in nl80211_set_interface() 2578 if (ntype > NL80211_IFTYPE_MAX) in nl80211_set_interface() 2585 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface() 2603 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface() 2611 if (ntype != NL80211_IFTYPE_MONITOR) in nl80211_set_interface() 2627 err = cfg80211_change_iface(rdev, dev, ntype, flags, ¶ms); in nl80211_set_interface()
|
| /linux-4.4.14/drivers/mtd/ubi/ |
| D | build.c | 163 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument 171 switch (ntype) { in ubi_volume_notify() 181 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify() 195 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all() argument 214 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all() 216 blocking_notifier_call_chain(&ubi_notifiers, ntype, in ubi_notify_all()
|
| D | ubi.h | 891 int ntype); 892 int ubi_notify_all(struct ubi_device *ubi, int ntype,
|