Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mana/
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()
A Dmain.c884 enum rdma_network_type ntype = rdma_gid_attr_network_type(attr); in mana_ib_gd_add_gid() local
890 if (ntype != RDMA_NETWORK_IPV4 && ntype != RDMA_NETWORK_IPV6) { in mana_ib_gd_add_gid()
891 ibdev_dbg(&mdev->ib_dev, "Unsupported rdma network type %d", ntype); in mana_ib_gd_add_gid()
899 req.sgid_type = (ntype == RDMA_NETWORK_IPV6) ? SGID_TYPE_IPV6 : SGID_TYPE_IPV4; in mana_ib_gd_add_gid()
914 enum rdma_network_type ntype = rdma_gid_attr_network_type(attr); in mana_ib_gd_del_gid() local
920 if (ntype != RDMA_NETWORK_IPV4 && ntype != RDMA_NETWORK_IPV6) { in mana_ib_gd_del_gid()
921 ibdev_dbg(&mdev->ib_dev, "Unsupported rdma network type %d", ntype); in mana_ib_gd_del_gid()
929 req.sgid_type = (ntype == RDMA_NETWORK_IPV6) ? SGID_TYPE_IPV6 : SGID_TYPE_IPV4; in mana_ib_gd_del_gid()
/drivers/infiniband/hw/erdma/
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()
A Derdma_verbs.c1589 av->ntype = ERDMA_NETWORK_TYPE_IPV4; in erdma_attr_to_av()
1591 av->ntype = ERDMA_NETWORK_TYPE_IPV6; in erdma_attr_to_av()
2123 u8 ntype; in erdma_set_gid() local
2130 ntype = ERDMA_NETWORK_TYPE_IPV4; in erdma_set_gid()
2132 ntype = ERDMA_NETWORK_TYPE_IPV6; in erdma_set_gid()
2134 req.cfg |= FIELD_PREP(ERDMA_CMD_SET_GID_NTYPE_MASK, ntype); in erdma_set_gid()
2176 FIELD_PREP(ERDMA_CMD_CREATE_AV_NTYPE_MASK, av->ntype); in erdma_set_av_cfg()
/drivers/scsi/qla2xxx/
A Dqla_edif.c24 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()
1965 node->ntype = ntype; in qla_enode_alloc()
2123 switch (e->ntype) { in qla_edb_clear()
2143 __func__, e->ntype, e); in qla_edb_clear()
2177 __func__, node->ntype); in qla_edb_stop()
[all …]
A Dqla_edif.h127 uint32_t ntype; member
/drivers/mtd/ubi/
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()
A Dubi.h948 int ntype);
949 int ubi_notify_all(struct ubi_device *ubi, int ntype,
/drivers/usb/dwc3/
A Dcore.c1106 int ntype; in dwc3_set_incr_burst_type() local
1119 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type()
1120 if (ntype <= 0) in dwc3_set_incr_burst_type()
1123 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type()
1129 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type()
1138 if (ntype > 1) { in dwc3_set_incr_burst_type()
1141 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
/drivers/scsi/lpfc/
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()
/drivers/infiniband/hw/bnxt_re/
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()

Completed in 48 milliseconds