Home
last modified time | relevance | path

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

/Linux-v6.1/net/wireless/
Dutil.c1016 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument
1029 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface()
1030 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface()
1034 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
1037 if (ntype != otype) { in cfg80211_change_iface()
1040 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface()
1041 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface()
1042 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface()
1084 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface()
1086 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface()
[all …]
Dcore.h450 struct net_device *dev, enum nl80211_iftype ntype,
Dnl80211.c4116 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local
4122 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
4125 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface()
4126 if (otype != ntype) in nl80211_set_interface()
4133 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface()
4152 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface()
4159 err = nl80211_parse_mon_options(rdev, ntype, info, &params); in nl80211_set_interface()
4166 err = cfg80211_change_iface(rdev, dev, ntype, &params); in nl80211_set_interface()
/Linux-v6.1/drivers/mtd/ubi/
Dbuild.c155 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()
Dubi.h948 int ntype);
949 int ubi_notify_all(struct ubi_device *ubi, int ntype,
/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_edif.c24 uint32_t ntype; member
1141 ap.event_code = dbnode->ntype; in qla_edif_consume_dbell()
1142 switch (dbnode->ntype) { in qla_edif_consume_dbell()
1162 __func__, dbnode->ntype, dbnode); in qla_edif_consume_dbell()
1175 __func__, dbnode->ntype, dbnode); in qla_edif_consume_dbell()
1801 node->ntype = N_UNDEF; in qla_enode_free()
1859 "%s freeing enode type=%x, cnt=%x\n", __func__, node->ntype, in qla_enode_stop()
1907 qla_enode_alloc(scsi_qla_host_t *vha, uint32_t ntype) in qla_enode_alloc() argument
1920 node->ntype = ntype; in qla_enode_alloc()
1932 __func__, ptr->ntype, ptr->dinfo.nodecnt); in qla_enode_add()
[all …]
Dqla_edif.h127 uint32_t ntype; member
/Linux-v6.1/drivers/usb/dwc3/
Dcore.c960 int ntype; in dwc3_set_incr_burst_type() local
973 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type()
974 if (ntype <= 0) in dwc3_set_incr_burst_type()
977 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type()
983 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type()
992 if (ntype > 1) { in dwc3_set_incr_burst_type()
995 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
/Linux-v6.1/drivers/scsi/lpfc/
Dlpfc_nvme.c550 uint16_t ntype, nstate; in __lpfc_nvme_ls_req() local
560 ntype = ndlp->nlp_type; in __lpfc_nvme_ls_req()
562 if ((ntype & NLP_NVME_TARGET && nstate != NLP_STE_MAPPED_NODE) || in __lpfc_nvme_ls_req()
563 (ntype & NLP_NVME_INITIATOR && nstate != NLP_STE_UNMAPPED_NODE)) { in __lpfc_nvme_ls_req()
567 ndlp->nlp_DID, ntype, nstate); in __lpfc_nvme_ls_req()
/Linux-v6.1/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c624 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument
628 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()