Home
last modified time | relevance | path

Searched refs:ntype (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/net/wireless/
H A Dutil.c1010 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface()
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()
1009 cfg80211_change_iface(struct cfg80211_registered_device *rdev, struct net_device *dev, enum nl80211_iftype ntype, struct vif_params *params) cfg80211_change_iface() argument
[all...]
H A Dcore.h458 struct net_device *dev, enum nl80211_iftype ntype,
H A Dnl80211.c3759 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local
3765 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
3768 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface()
3769 if (otype != ntype) in nl80211_set_interface()
3776 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface()
3796 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface()
3803 err = nl80211_parse_mon_options(rdev, ntype, info, &params); in nl80211_set_interface()
3810 err = cfg80211_change_iface(rdev, dev, ntype, &params); in nl80211_set_interface()
/kernel/linux/linux-6.6/net/wireless/
H A Dutil.c1097 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface()
1110 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface()
1111 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface()
1115 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
1118 if (ntype != otype) { in cfg80211_change_iface()
1121 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface()
1122 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface()
1123 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface()
1165 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface()
1167 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface()
1096 cfg80211_change_iface(struct cfg80211_registered_device *rdev, struct net_device *dev, enum nl80211_iftype ntype, struct vif_params *params) cfg80211_change_iface() argument
[all...]
H A Dcore.h465 struct net_device *dev, enum nl80211_iftype ntype,
H A Dnl80211.c4173 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local
4179 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
4182 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface()
4183 if (otype != ntype) in nl80211_set_interface()
4190 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface()
4211 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface()
4218 err = nl80211_parse_mon_options(rdev, ntype, info, &params); in nl80211_set_interface()
4225 err = cfg80211_change_iface(rdev, dev, ntype, &params); in nl80211_set_interface()
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_edif.c24 uint32_t ntype; member
1185 ap.event_code = dbnode->ntype; in qla_edif_consume_dbell()
1186 switch (dbnode->ntype) { in qla_edif_consume_dbell()
1206 __func__, dbnode->ntype, dbnode); in qla_edif_consume_dbell()
1219 __func__, dbnode->ntype, dbnode); in qla_edif_consume_dbell()
1845 node->ntype = N_UNDEF; in qla_enode_free()
1903 "%s freeing enode type=%x, cnt=%x\n", __func__, node->ntype, in qla_enode_stop()
1951 qla_enode_alloc(scsi_qla_host_t *vha, uint32_t ntype) in qla_enode_alloc() argument
1964 node->ntype = ntype; in qla_enode_alloc()
1986 qla_enode_find(scsi_qla_host_t *vha, uint32_t ntype, uint32_t p1, uint32_t p2) qla_enode_find() argument
2185 qla_edb_node_alloc(scsi_qla_host_t *vha, uint32_t ntype) qla_edb_node_alloc() argument
[all...]
H A Dqla_edif.h127 uint32_t ntype; member
/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dbuild.c148 * @ntype: notification type to send (%UBI_VOLUME_ADDED, etc)
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()
178 * @ntype: notification type to send (%UBI_VOLUME_ADDED, etc)
181 * This function walks all volumes of UBI device @ubi and sends the @ntype
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()
H A Dubi.h949 int ntype);
950 int ubi_notify_all(struct ubi_device *ubi, int ntype,
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Dbuild.c150 * @ntype: notification type to send (%UBI_VOLUME_ADDED, etc)
156 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument
164 switch (ntype) { in ubi_volume_notify()
174 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify()
180 * @ntype: notification type to send (%UBI_VOLUME_ADDED, etc)
183 * This function walks all volumes of UBI device @ubi and sends the @ntype
188 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all() argument
207 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all()
209 blocking_notifier_call_chain(&ubi_notifiers, ntype, in ubi_notify_all()
H A Dubi.h948 int ntype);
949 int ubi_notify_all(struct ubi_device *ubi, int ntype,
/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A Dcore.c853 int ntype; in dwc3_set_incr_burst_type() local
866 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type()
867 if (ntype <= 0) in dwc3_set_incr_burst_type()
870 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type()
878 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type()
887 if (ntype > 1) { in dwc3_set_incr_burst_type()
890 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Dcore.c947 int ntype; in dwc3_set_incr_burst_type() local
960 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type()
961 if (ntype <= 0) in dwc3_set_incr_burst_type()
964 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type()
970 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type()
979 if (ntype > 1) { in dwc3_set_incr_burst_type()
982 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_nvme.c696 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-6.6/drivers/scsi/lpfc/
H A Dlpfc_nvme.c552 uint16_t ntype, nstate; in __lpfc_nvme_ls_req() local
562 ntype = ndlp->nlp_type; in __lpfc_nvme_ls_req()
564 if ((ntype & NLP_NVME_TARGET && nstate != NLP_STE_MAPPED_NODE) || in __lpfc_nvme_ls_req()
565 (ntype & NLP_NVME_INITIATOR && nstate != NLP_STE_UNMAPPED_NODE)) { in __lpfc_nvme_ls_req()
569 ndlp->nlp_DID, ntype, nstate); in __lpfc_nvme_ls_req()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c613 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument
617 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c702 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument
706 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()

Completed in 74 milliseconds