Home
last modified time | relevance | path

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

/Linux-v5.4/net/wireless/
Dutil.c915 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument
928 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface()
929 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface()
933 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
938 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface()
939 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface()
940 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface()
943 if (ntype != otype) { in cfg80211_change_iface()
975 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface()
977 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface()
[all …]
Dcore.h453 struct net_device *dev, enum nl80211_iftype ntype,
Dnl80211.c3502 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local
3508 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
3511 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface()
3512 if (otype != ntype) in nl80211_set_interface()
3519 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface()
3537 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface()
3544 err = nl80211_parse_mon_options(rdev, ntype, info, &params); in nl80211_set_interface()
3551 err = cfg80211_change_iface(rdev, dev, ntype, &params); in nl80211_set_interface()
/Linux-v5.4/drivers/mtd/ubi/
Dbuild.c154 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument
162 switch (ntype) { in ubi_volume_notify()
172 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify()
186 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all() argument
205 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all()
207 blocking_notifier_call_chain(&ubi_notifiers, ntype, in ubi_notify_all()
Dubi.h947 int ntype);
948 int ubi_notify_all(struct ubi_device *ubi, int ntype,
/Linux-v5.4/drivers/usb/dwc3/
Dcore.c813 int ntype; in dwc3_set_incr_burst_type() local
826 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type()
827 if (ntype <= 0) in dwc3_set_incr_burst_type()
830 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type()
838 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type()
847 if (ntype > 1) { in dwc3_set_incr_burst_type()
850 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_nvme.c572 uint16_t ntype, nstate; in lpfc_nvme_ls_req() local
607 ntype = ndlp->nlp_type; in lpfc_nvme_ls_req()
609 if ((ntype & NLP_NVME_TARGET && nstate != NLP_STE_MAPPED_NODE) || in lpfc_nvme_ls_req()
610 (ntype & NLP_NVME_INITIATOR && nstate != NLP_STE_UNMAPPED_NODE)) { in lpfc_nvme_ls_req()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c634 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument
638 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()