Searched refs:ntype (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/wireless/ |
D | util.c | 1010 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument 1023 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface() 1024 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface() 1028 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface() 1031 if (ntype != otype) { in cfg80211_change_iface() 1034 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface() 1035 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface() 1036 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface() 1074 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface() 1076 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface() [all …]
|
D | core.h | 458 struct net_device *dev, enum nl80211_iftype ntype,
|
D | nl80211.c | 3744 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local 3750 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface() 3753 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface() 3754 if (otype != ntype) in nl80211_set_interface() 3761 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface() 3779 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface() 3786 err = nl80211_parse_mon_options(rdev, ntype, info, ¶ms); in nl80211_set_interface() 3793 err = cfg80211_change_iface(rdev, dev, ntype, ¶ms); in nl80211_set_interface()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | build.c | 154 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()
|
D | ubi.h | 951 int ntype); 952 int ubi_notify_all(struct ubi_device *ubi, int ntype,
|
/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
D | core.c | 844 int ntype; in dwc3_set_incr_burst_type() local 857 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type() 858 if (ntype <= 0) in dwc3_set_incr_burst_type() 861 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type() 869 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type() 878 if (ntype > 1) { in dwc3_set_incr_burst_type() 881 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_nvme.c | 696 uint16_t ntype, nstate; in __lpfc_nvme_ls_req() local 706 ntype = ndlp->nlp_type; in __lpfc_nvme_ls_req() 708 if ((ntype & NLP_NVME_TARGET && nstate != NLP_STE_MAPPED_NODE) || in __lpfc_nvme_ls_req() 709 (ntype & NLP_NVME_INITIATOR && nstate != NLP_STE_UNMAPPED_NODE)) { in __lpfc_nvme_ls_req() 713 ndlp->nlp_DID, ntype, nstate); in __lpfc_nvme_ls_req()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 615 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument 619 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()
|