| /Linux-v5.15/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() 1073 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface() 1075 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface() [all …]
|
| D | core.h | 457 struct net_device *dev, enum nl80211_iftype ntype,
|
| D | nl80211.c | 3881 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local 3887 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface() 3890 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface() 3891 if (otype != ntype) in nl80211_set_interface() 3898 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface() 3916 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface() 3923 err = nl80211_parse_mon_options(rdev, ntype, info, ¶ms); in nl80211_set_interface() 3930 err = cfg80211_change_iface(rdev, dev, ntype, ¶ms); in nl80211_set_interface()
|
| /Linux-v5.15/drivers/mtd/ubi/ |
| D | build.c | 155 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument 163 switch (ntype) { in ubi_volume_notify() 173 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify() 187 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all() argument 206 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all() 208 blocking_notifier_call_chain(&ubi_notifiers, ntype, in ubi_notify_all()
|
| D | ubi.h | 949 int ntype); 950 int ubi_notify_all(struct ubi_device *ubi, int ntype,
|
| /Linux-v5.15/drivers/scsi/qla2xxx/ |
| D | qla_edif.h | 125 uint32_t ntype; member
|
| D | qla_edif.c | 24 uint32_t ntype; member 1588 node->ntype = N_UNDEF; in qla_enode_free() 1646 "%s freeing enode type=%x, cnt=%x\n", __func__, node->ntype, in qla_enode_stop() 1660 qla_enode_alloc(scsi_qla_host_t *vha, uint32_t ntype) in qla_enode_alloc() argument 1673 node->ntype = ntype; in qla_enode_alloc() 1685 __func__, ptr->ntype, ptr->dinfo.nodecnt); in qla_enode_add() 1695 qla_enode_find(scsi_qla_host_t *vha, uint32_t ntype, uint32_t p1, uint32_t p2) in qla_enode_find() argument 1850 node->ntype = N_UNDEF; in qla_edb_node_free() 1876 __func__, node->ntype); in qla_edb_stop() 1889 qla_edb_node_alloc(scsi_qla_host_t *vha, uint32_t ntype) in qla_edb_node_alloc() argument [all …]
|
| /Linux-v5.15/drivers/usb/dwc3/ |
| D | core.c | 847 int ntype; in dwc3_set_incr_burst_type() local 860 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type() 861 if (ntype <= 0) in dwc3_set_incr_burst_type() 864 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type() 872 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type() 881 if (ntype > 1) { in dwc3_set_incr_burst_type() 884 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
|
| /Linux-v5.15/drivers/scsi/lpfc/ |
| D | lpfc_nvme.c | 541 uint16_t ntype, nstate; in __lpfc_nvme_ls_req() local 551 ntype = ndlp->nlp_type; in __lpfc_nvme_ls_req() 553 if ((ntype & NLP_NVME_TARGET && nstate != NLP_STE_MAPPED_NODE) || in __lpfc_nvme_ls_req() 554 (ntype & NLP_NVME_INITIATOR && nstate != NLP_STE_UNMAPPED_NODE)) { in __lpfc_nvme_ls_req() 558 ndlp->nlp_DID, ntype, nstate); in __lpfc_nvme_ls_req()
|
| /Linux-v5.15/drivers/infiniband/hw/bnxt_re/ |
| D | ib_verbs.c | 617 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument 621 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()
|