Home
last modified time | relevance | path

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

/linux/net/wireless/
A Dutil.c1025 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface()
1026 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface()
1030 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
1033 if (ntype != otype) { in cfg80211_change_iface()
1036 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface()
1037 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface()
1038 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface()
1078 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface()
1085 switch (ntype) { in cfg80211_change_iface()
1116 if (!err && ntype != otype && netif_running(dev)) { in cfg80211_change_iface()
[all …]
A Dcore.h457 struct net_device *dev, enum nl80211_iftype ntype,
A Dnl80211.c3931 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local
3937 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
3940 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface()
3941 if (otype != ntype) in nl80211_set_interface()
3948 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface()
3966 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface()
3973 err = nl80211_parse_mon_options(rdev, ntype, info, &params); in nl80211_set_interface()
3980 err = cfg80211_change_iface(rdev, dev, ntype, &params); in nl80211_set_interface()
/linux/drivers/scsi/qla2xxx/
A Dqla_edif.c24 uint32_t ntype; member
1527 node->ntype = N_UNDEF; in qla_enode_free()
1646 node->ntype = ntype; in qla_enode_alloc()
1808 node->ntype = N_UNDEF; in qla_edb_node_free()
1828 switch (e->ntype) { in qla_edb_clear()
1848 __func__, e->ntype, e); in qla_edb_clear()
1885 __func__, node->ntype); in qla_edb_stop()
1910 node->ntype = ntype; in qla_edb_node_alloc()
2104 ap->event_code = dbnode->ntype; in edif_doorbell_show()
2105 switch (dbnode->ntype) { in edif_doorbell_show()
[all …]
A Dqla_edif.h126 uint32_t ntype; member
/linux/drivers/mtd/ubi/
A 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()
A Dubi.h949 int ntype);
950 int ubi_notify_all(struct ubi_device *ubi, int ntype,
/linux/drivers/usb/dwc3/
A Dcore.c871 int ntype; in dwc3_set_incr_burst_type() local
884 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type()
885 if (ntype <= 0) in dwc3_set_incr_burst_type()
888 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type()
896 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type()
905 if (ntype > 1) { in dwc3_set_incr_burst_type()
908 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
/linux/drivers/scsi/lpfc/
A Dlpfc_nvme.c542 uint16_t ntype, nstate; in __lpfc_nvme_ls_req() local
552 ntype = ndlp->nlp_type; in __lpfc_nvme_ls_req()
554 if ((ntype & NLP_NVME_TARGET && nstate != NLP_STE_MAPPED_NODE) || in __lpfc_nvme_ls_req()
555 (ntype & NLP_NVME_INITIATOR && nstate != NLP_STE_UNMAPPED_NODE)) { in __lpfc_nvme_ls_req()
559 ndlp->nlp_DID, ntype, nstate); in __lpfc_nvme_ls_req()
/linux/drivers/infiniband/hw/bnxt_re/
A Dib_verbs.c625 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument
629 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()

Completed in 61 milliseconds