Home
last modified time | relevance | path

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

/linux-6.15/drivers/infiniband/hw/mana/
H A Dah.c15 enum rdma_network_type ntype; in mana_ib_create_ah() local
29 ntype = rdma_gid_attr_network_type(grh->sgid_attr); in mana_ib_create_ah()
35 ah->av->is_ipv6 = (ntype == RDMA_NETWORK_IPV6); in mana_ib_create_ah()
H A Dmain.c834 enum rdma_network_type ntype = rdma_gid_attr_network_type(attr); in mana_ib_gd_add_gid() local
840 if (ntype != RDMA_NETWORK_IPV4 && ntype != RDMA_NETWORK_IPV6) { in mana_ib_gd_add_gid()
841 ibdev_dbg(&mdev->ib_dev, "Unsupported rdma network type %d", ntype); in mana_ib_gd_add_gid()
849 req.sgid_type = (ntype == RDMA_NETWORK_IPV6) ? SGID_TYPE_IPV6 : SGID_TYPE_IPV4; in mana_ib_gd_add_gid()
864 enum rdma_network_type ntype = rdma_gid_attr_network_type(attr); in mana_ib_gd_del_gid() local
870 if (ntype != RDMA_NETWORK_IPV4 && ntype != RDMA_NETWORK_IPV6) { in mana_ib_gd_del_gid()
871 ibdev_dbg(&mdev->ib_dev, "Unsupported rdma network type %d", ntype); in mana_ib_gd_del_gid()
879 req.sgid_type = (ntype == RDMA_NETWORK_IPV6) ? SGID_TYPE_IPV6 : SGID_TYPE_IPV4; in mana_ib_gd_del_gid()
/linux-6.15/drivers/infiniband/hw/erdma/
H A Derdma_verbs.h149 enum erdma_network_type ntype; member
416 u8 ntype = rdma_gid_attr_network_type(attr); in erdma_check_gid_attr() local
418 if (ntype != RDMA_NETWORK_IPV4 && ntype != RDMA_NETWORK_IPV6) in erdma_check_gid_attr()
H A Derdma_verbs.c1584 av->ntype = ERDMA_NETWORK_TYPE_IPV4; in erdma_attr_to_av()
1586 av->ntype = ERDMA_NETWORK_TYPE_IPV6; in erdma_attr_to_av()
2118 u8 ntype; in erdma_set_gid() local
2125 ntype = ERDMA_NETWORK_TYPE_IPV4; in erdma_set_gid()
2127 ntype = ERDMA_NETWORK_TYPE_IPV6; in erdma_set_gid()
2129 req.cfg |= FIELD_PREP(ERDMA_CMD_SET_GID_NTYPE_MASK, ntype); in erdma_set_gid()
2171 FIELD_PREP(ERDMA_CMD_CREATE_AV_NTYPE_MASK, av->ntype); in erdma_set_av_cfg()
/linux-6.15/net/wireless/
H A Dutil.c1166 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface()
1167 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface()
1171 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
1174 if (ntype != otype) { in cfg80211_change_iface()
1177 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface()
1178 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface()
1179 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface()
1219 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface()
1226 switch (ntype) { in cfg80211_change_iface()
1257 if (!err && ntype != otype && netif_running(dev)) { in cfg80211_change_iface()
[all …]
H A Dcore.h455 struct net_device *dev, enum nl80211_iftype ntype,
H A Dnl80211.c4360 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local
4368 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
4371 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface()
4372 if (otype != ntype) in nl80211_set_interface()
4377 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface()
4394 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface()
4401 err = nl80211_parse_mon_options(rdev, ntype, info, &params); in nl80211_set_interface()
4414 err = cfg80211_change_iface(rdev, dev, ntype, &params); in nl80211_set_interface()
/linux-6.15/drivers/mtd/ubi/
H A Dbuild.c159 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 Dubi.h948 int ntype);
949 int ubi_notify_all(struct ubi_device *ubi, int ntype,
/linux-6.15/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()
1964 node->ntype = ntype; in qla_enode_alloc()
2122 switch (e->ntype) { in qla_edb_clear()
2142 __func__, e->ntype, e); in qla_edb_clear()
2176 __func__, node->ntype); in qla_edb_stop()
[all …]
H A Dqla_edif.h127 uint32_t ntype; member
/linux-6.15/drivers/usb/dwc3/
H A Dcore.c1104 int ntype; in dwc3_set_incr_burst_type() local
1117 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type()
1118 if (ntype <= 0) in dwc3_set_incr_burst_type()
1121 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type()
1127 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type()
1136 if (ntype > 1) { in dwc3_set_incr_burst_type()
1139 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
/linux-6.15/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()
/linux-6.15/fs/f2fs/
H A Dnode.c1461 enum node_type ntype) in sanity_check_node_footer() argument
1464 (ntype == NODE_TYPE_INODE && !IS_INODE(page)) || in sanity_check_node_footer()
1465 (ntype == NODE_TYPE_XATTR && in sanity_check_node_footer()
1470 ntype, nid, nid_of_node(page), ino_of_node(page), in sanity_check_node_footer()
1482 enum node_type ntype) in __get_node_folio() argument
1524 err = sanity_check_node_footer(sbi, &folio->page, nid, ntype); in __get_node_folio()
/linux-6.15/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c784 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument
788 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()