| /linux/drivers/infiniband/hw/mana/ |
| H A D | main.c | 883 enum rdma_network_type ntype = rdma_gid_attr_network_type(attr); in mana_ib_gd_add_gid() local 889 if (ntype != RDMA_NETWORK_IPV4 && ntype != RDMA_NETWORK_IPV6) { in mana_ib_gd_add_gid() 890 ibdev_dbg(&mdev->ib_dev, "Unsupported rdma network type %d", ntype); in mana_ib_gd_add_gid() 898 req.sgid_type = (ntype == RDMA_NETWORK_IPV6) ? SGID_TYPE_IPV6 : SGID_TYPE_IPV4; in mana_ib_gd_add_gid() 913 enum rdma_network_type ntype = rdma_gid_attr_network_type(attr); in mana_ib_gd_del_gid() local 919 if (ntype != RDMA_NETWORK_IPV4 && ntype != RDMA_NETWORK_IPV6) { in mana_ib_gd_del_gid() 920 ibdev_dbg(&mdev->ib_dev, "Unsupported rdma network type %d", ntype); in mana_ib_gd_del_gid() 928 req.sgid_type = (ntype == RDMA_NETWORK_IPV6) ? SGID_TYPE_IPV6 : SGID_TYPE_IPV4; in mana_ib_gd_del_gid()
|
| /linux/net/wireless/ |
| H A D | util.c | 1175 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument 1188 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface() 1189 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface() 1193 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface() 1196 if (ntype != otype) { in cfg80211_change_iface() 1199 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface() 1200 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface() 1201 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface() 1218 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface() 1220 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface() [all …]
|
| H A D | core.h | 463 struct net_device *dev, enum nl80211_iftype ntype,
|
| H A D | nl80211.c | 4640 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local 4648 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface() 4651 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface() 4652 if (otype != ntype) in nl80211_set_interface() 4657 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface() 4674 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface() 4681 err = nl80211_parse_mon_options(rdev, ntype, info, ¶ms); in nl80211_set_interface() 4694 err = cfg80211_change_iface(rdev, dev, ntype, ¶ms); in nl80211_set_interface()
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_edif.c | 24 uint32_t ntype; member 1186 ap.event_code = dbnode->ntype; in qla_edif_consume_dbell() 1187 switch (dbnode->ntype) { in qla_edif_consume_dbell() 1207 __func__, dbnode->ntype, dbnode); in qla_edif_consume_dbell() 1220 __func__, dbnode->ntype, dbnode); in qla_edif_consume_dbell() 1846 node->ntype = N_UNDEF; in qla_enode_free() 1904 "%s freeing enode type=%x, cnt=%x\n", __func__, node->ntype, in qla_enode_stop() 1952 qla_enode_alloc(scsi_qla_host_t *vha, uint32_t ntype) in qla_enode_alloc() argument 1965 node->ntype = ntype; in qla_enode_alloc() 1977 __func__, ptr->ntype, ptr->dinfo.nodecnt); in qla_enode_add() [all …]
|
| H A D | qla_edif.h | 127 uint32_t ntype; member
|
| /linux/drivers/mtd/ubi/ |
| H A D | build.c | 159 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument 167 switch (ntype) { in ubi_volume_notify() 177 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify() 191 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all() argument 210 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all() 212 blocking_notifier_call_chain(&ubi_notifiers, ntype, in ubi_notify_all()
|
| H A D | ubi.h | 948 int ntype); 949 int ubi_notify_all(struct ubi_device *ubi, int ntype,
|
| /linux/drivers/usb/dwc3/ |
| H A D | core.c | 1112 int ntype; in dwc3_set_incr_burst_type() local 1125 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type() 1126 if (ntype <= 0) in dwc3_set_incr_burst_type() 1129 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type() 1135 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type() 1144 if (ntype > 1) { in dwc3_set_incr_burst_type() 1147 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
|
| /linux/drivers/infiniband/hw/erdma/ |
| H A D | erdma_verbs.c | 1620 av->ntype = ERDMA_NETWORK_TYPE_IPV4; in erdma_attr_to_av() 1622 av->ntype = ERDMA_NETWORK_TYPE_IPV6; in erdma_attr_to_av() 2154 u8 ntype; in erdma_set_gid() local 2161 ntype = ERDMA_NETWORK_TYPE_IPV4; in erdma_set_gid() 2163 ntype = ERDMA_NETWORK_TYPE_IPV6; in erdma_set_gid() 2165 req.cfg |= FIELD_PREP(ERDMA_CMD_SET_GID_NTYPE_MASK, ntype); in erdma_set_gid() 2207 FIELD_PREP(ERDMA_CMD_CREATE_AV_NTYPE_MASK, av->ntype); in erdma_set_av_cfg()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_nvme.c | 552 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()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | ib_verbs.c | 804 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument 808 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()
|