Searched refs:ntype (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/net/wireless/ |
D | util.c | 876 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument 889 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface() 890 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface() 894 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface() 899 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface() 900 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface() 901 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface() 904 if (ntype != otype) { in cfg80211_change_iface() 935 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface() 937 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface() [all …]
|
D | core.h | 425 struct net_device *dev, enum nl80211_iftype ntype,
|
D | nl80211.c | 3110 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local 3116 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface() 3119 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface() 3120 if (otype != ntype) in nl80211_set_interface() 3122 if (ntype > NL80211_IFTYPE_MAX) in nl80211_set_interface() 3129 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface() 3147 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface() 3154 err = nl80211_parse_mon_options(rdev, ntype, info, ¶ms); in nl80211_set_interface() 3161 err = cfg80211_change_iface(rdev, dev, ntype, ¶ms); in nl80211_set_interface()
|
/Linux-v4.19/drivers/mtd/ubi/ |
D | build.c | 167 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument 175 switch (ntype) { in ubi_volume_notify() 185 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify() 199 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all() argument 218 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all() 220 blocking_notifier_call_chain(&ubi_notifiers, ntype, in ubi_notify_all()
|
D | ubi.h | 959 int ntype); 960 int ubi_notify_all(struct ubi_device *ubi, int ntype,
|
/Linux-v4.19/drivers/usb/dwc3/ |
D | core.c | 799 int ntype; in dwc3_set_incr_burst_type() local 812 ntype = device_property_read_u32_array(dev, in dwc3_set_incr_burst_type() 814 if (ntype <= 0) in dwc3_set_incr_burst_type() 817 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type() 825 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type() 833 if (ntype > 1) { in dwc3_set_incr_burst_type() 836 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_nvme.c | 569 uint16_t ntype, nstate; in lpfc_nvme_ls_req() local 604 ntype = ndlp->nlp_type; in lpfc_nvme_ls_req() 606 if ((ntype & NLP_NVME_TARGET && nstate != NLP_STE_MAPPED_NODE) || in lpfc_nvme_ls_req() 607 (ntype & NLP_NVME_INITIATOR && nstate != NLP_STE_UNMAPPED_NODE)) { in lpfc_nvme_ls_req()
|