Home
last modified time | relevance | path

Searched refs:attr_p (Results 1 – 25 of 36) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_qp.c68 ibt_qp_alloc_attr_t *attr_p; in hermon_qp_alloc() local
94 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*attr_p, *queuesz_p)) in hermon_qp_alloc()
99 attr_p = qpinfo->qpi_attrp; in hermon_qp_alloc()
105 alloc_flags = attr_p->qp_alloc_flags; in hermon_qp_alloc()
128 switch (attr_p->qp_fc.fc_hca_port) { in hermon_qp_alloc()
176 if (attr_p->qp_ibc_srq_hdl == NULL) { in hermon_qp_alloc()
180 srq = (hermon_srqhdl_t)attr_p->qp_ibc_srq_hdl; in hermon_qp_alloc()
196 if (attr_p->qp_pd_hdl == NULL) { in hermon_qp_alloc()
200 pd = (hermon_pdhdl_t)attr_p->qp_pd_hdl; in hermon_qp_alloc()
218 if (attr_p->qp_ibc_scq_hdl == NULL) { in hermon_qp_alloc()
[all …]
H A Dhermon_ci.c540 ibt_adds_vect_t *attr_p, ibc_ah_hdl_t *ah_p) in hermon_ci_alloc_ah() argument
552 status = hermon_ah_alloc(state, pdhdl, attr_p, &ahhdl, HERMON_NOSLEEP); in hermon_ci_alloc_ah()
594 ibt_adds_vect_t *attr_p) in hermon_ci_query_ah() argument
606 status = hermon_ah_query(state, ahhdl, &pdhdl, attr_p); in hermon_ci_query_ah()
624 hermon_ci_modify_ah(ibc_hca_hdl_t hca, ibc_ah_hdl_t ah, ibt_adds_vect_t *attr_p) in hermon_ci_modify_ah() argument
635 status = hermon_ah_modify(state, ahhdl, attr_p); in hermon_ci_modify_ah()
648 ibt_qp_type_t type, ibt_qp_alloc_attr_t *attr_p, in hermon_ci_alloc_qp() argument
655 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*attr_p)) in hermon_ci_alloc_qp()
662 qpinfo.qpi_attrp = attr_p; in hermon_ci_alloc_qp()
687 ibt_qp_alloc_attr_t *attr_p, ibt_chan_sizes_t *queue_sizes_p, in hermon_ci_alloc_special_qp() argument
[all …]
H A Dhermon_misc.c488 ibt_adds_vect_t *attr_p, hermon_ahhdl_t *ahhdl, uint_t sleepflag) in hermon_ah_alloc() argument
502 if (!hermon_portnum_is_valid(state, attr_p->av_port_num)) { in hermon_ah_alloc()
529 status = hermon_set_addr_path(state, attr_p, in hermon_ah_alloc()
537 udav->sl = attr_p->av_srvl; in hermon_ah_alloc()
551 ah->ah_save_guid = attr_p->av_dgid.gid_guid; in hermon_ah_alloc()
605 ibt_adds_vect_t *attr_p) in hermon_ah_query() argument
608 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*attr_p)) in hermon_ah_query()
624 attr_p, HERMON_ADDRPATH_UDAV); in hermon_ah_query()
626 attr_p->av_dgid.gid_guid = ah->ah_save_guid; in hermon_ah_query()
640 ibt_adds_vect_t *attr_p) in hermon_ah_modify() argument
[all …]
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_qp.c68 ibt_qp_alloc_attr_t *attr_p; in tavor_qp_alloc() local
93 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*attr_p, *queuesz_p)) in tavor_qp_alloc()
109 attr_p = qpinfo->qpi_attrp; in tavor_qp_alloc()
124 qp_is_umap = (attr_p->qp_alloc_flags & IBT_QP_USER_MAP) ? 1 : 0; in tavor_qp_alloc()
139 qp_srq_en = (attr_p->qp_alloc_flags & IBT_QP_USES_SRQ) ? 1 : 0; in tavor_qp_alloc()
144 if (attr_p->qp_ibc_srq_hdl == NULL) { in tavor_qp_alloc()
150 srq = (tavor_srqhdl_t)attr_p->qp_ibc_srq_hdl; in tavor_qp_alloc()
176 if (attr_p->qp_pd_hdl == NULL) { in tavor_qp_alloc()
181 pd = (tavor_pdhdl_t)attr_p->qp_pd_hdl; in tavor_qp_alloc()
198 if ((attr_p->qp_ibc_scq_hdl == NULL) || in tavor_qp_alloc()
[all …]
H A Dtavor_misc.c75 ibt_adds_vect_t *attr_p, tavor_ahhdl_t *ahhdl, uint_t sleepflag) in tavor_ah_alloc() argument
97 if (!tavor_portnum_is_valid(state, attr_p->av_port_num)) { in tavor_ah_alloc()
141 status = tavor_set_addr_path(state, attr_p, in tavor_ah_alloc()
213 ah->ah_save_guid = attr_p->av_dgid.gid_guid; in tavor_ah_alloc()
214 ah->ah_save_srate = attr_p->av_srate; in tavor_ah_alloc()
318 ibt_adds_vect_t *attr_p) in tavor_ah_query() argument
329 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*attr_p)) in tavor_ah_query()
360 attr_p, TAVOR_ADDRPATH_UDAV, NULL); in tavor_ah_query()
362 attr_p->av_dgid.gid_guid = ah->ah_save_guid; in tavor_ah_query()
363 attr_p->av_srate = ah->ah_save_srate; in tavor_ah_query()
[all …]
H A Dtavor_ci.c619 ibt_adds_vect_t *attr_p, ibc_ah_hdl_t *ah_p) in tavor_ci_alloc_ah() argument
649 status = tavor_ah_alloc(state, pdhdl, attr_p, &ahhdl, TAVOR_NOSLEEP); in tavor_ci_alloc_ah()
720 ibt_adds_vect_t *attr_p) in tavor_ci_query_ah() argument
750 status = tavor_ah_query(state, ahhdl, &pdhdl, attr_p); in tavor_ci_query_ah()
772 tavor_ci_modify_ah(ibc_hca_hdl_t hca, ibc_ah_hdl_t ah, ibt_adds_vect_t *attr_p) in tavor_ci_modify_ah() argument
801 status = tavor_ah_modify(state, ahhdl, attr_p); in tavor_ci_modify_ah()
821 ibt_qp_type_t type, ibt_qp_alloc_attr_t *attr_p, in tavor_ci_alloc_qp() argument
831 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*attr_p)) in tavor_ci_alloc_qp()
846 qpinfo.qpi_attrp = attr_p; in tavor_ci_alloc_qp()
876 ibt_qp_alloc_attr_t *attr_p, ibt_chan_sizes_t *queue_sizes_p, in tavor_ci_alloc_special_qp() argument
[all …]
/titanic_41/usr/src/uts/common/sys/ib/ibtl/
H A Dibci.h217 ibc_pd_hdl_t pd, ibt_adds_vect_t *attr_p, ibc_ah_hdl_t *ah_p);
220 ibc_pd_hdl_t *pd_p, ibt_adds_vect_t *attr_p);
222 ibt_adds_vect_t *attr_p);
226 ibt_qp_type_t type, ibt_qp_alloc_attr_t *attr_p,
230 ibt_qp_alloc_attr_t *attr_p, ibt_chan_sizes_t *queue_sizes_p,
234 ibt_qp_alloc_attr_t *attr_p, ibt_chan_sizes_t *queue_sizes_p,
241 ibt_qp_query_attr_t *attr_p);
248 ibt_cq_attr_t *attr_p, ibc_cq_hdl_t *cq_p, uint_t *actual_size);
269 ibt_eec_query_attr_t *attr_p);
275 ibt_mr_attr_t *attr_p, void *ibtl_reserved, ibc_mr_hdl_t *mr_p,
[all …]
/titanic_41/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_mr.h310 ibt_dmr_attr_t *attr_p, tavor_mrhdl_t *mrhdl);
312 ibt_mr_attr_t *attr_p, tavor_mrhdl_t *mrhdl, tavor_mr_options_t *op);
321 tavor_pdhdl_t pdhdl, ibt_smr_attr_t *attr_p, tavor_mrhdl_t *mrhdl_new);
327 tavor_pdhdl_t pdhdl, ibt_mr_attr_t *attr_p, tavor_mrhdl_t *mrhdl_new,
H A Dtavor_misc.h504 ibt_adds_vect_t *attr_p, tavor_ahhdl_t *ahhdl, uint_t sleepflag);
508 tavor_pdhdl_t *pdhdl, ibt_adds_vect_t *attr_p);
510 ibt_adds_vect_t *attr_p);
H A Dtavor_cq.h259 ibt_cq_attr_t *attr_p, uint_t *actual_size, tavor_cqhdl_t *cqhdl,
H A Dtavor_qp.h406 ibt_qp_query_attr_t *attr_p);
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_mr.h292 ibt_dmr_attr_t *attr_p, hermon_mrhdl_t *mrhdl);
294 ibt_mr_attr_t *attr_p, hermon_mrhdl_t *mrhdl, hermon_mr_options_t *op,
305 hermon_pdhdl_t pdhdl, ibt_smr_attr_t *attr_p, hermon_mrhdl_t *mrhdl_new);
311 hermon_pdhdl_t pdhdl, ibt_mr_attr_t *attr_p, hermon_mrhdl_t *mrhdl_new,
H A Dhermon_misc.h646 ibt_adds_vect_t *attr_p, hermon_ahhdl_t *ahhdl, uint_t sleepflag);
650 hermon_pdhdl_t *pdhdl, ibt_adds_vect_t *attr_p);
652 ibt_adds_vect_t *attr_p);
H A Dhermon_cq.h268 ibt_cq_attr_t *attr_p, uint_t *actual_size, hermon_cqhdl_t *cqhdl,
H A Dhermon_qp.h380 ibt_qp_query_attr_t *attr_p);
/titanic_41/usr/src/uts/sun4/io/px/
H A Dpx_lib.h88 io_attributes_t *attr_p, r_addr_t *r_addr_p);
89 extern int px_lib_dma_bypass_rngchk(dev_info_t *dip, ddi_dma_attr_t *attr_p,
H A Dpx_dma.c180 ddi_dma_attr_t *attr_p; in px_dma_lmts2hdl() local
200 attr_p = PX_DEV_ATTR(mp); in px_dma_lmts2hdl()
201 SET_DMAATTR(attr_p, lo, hi, -1, count_max); in px_dma_lmts2hdl()
202 SET_DMAALIGN(attr_p, 1); in px_dma_lmts2hdl()
222 attr_p = &mp->dmai_attr; in px_dma_lmts2hdl()
223 SET_DMAATTR(attr_p, lo, hi, -1, count_max); in px_dma_lmts2hdl()
224 SET_DMAALIGN(attr_p, 1); in px_dma_lmts2hdl()
/titanic_41/usr/src/uts/common/io/pciex/
H A Dpcieb.c87 ddi_dma_attr_t *attr_p, int (*waitfp)(caddr_t), caddr_t arg,
1446 ddi_dma_attr_t *attr_p, int (*waitfp)(caddr_t), caddr_t arg, in pcieb_dma_allochdl() argument
1457 lim = attr_p->dma_attr_addr_lo; in pcieb_dma_allochdl()
1458 attr_p->dma_attr_addr_lo = MAX(lim, PCIEB_ADDR_LIMIT_LO); in pcieb_dma_allochdl()
1460 lim = attr_p->dma_attr_addr_hi; in pcieb_dma_allochdl()
1461 attr_p->dma_attr_addr_hi = MIN(lim, PCIEB_ADDR_LIMIT_HI); in pcieb_dma_allochdl()
1473 if ((ret = ddi_dma_allochdl(dip, rdip, attr_p, waitfp, arg, in pcieb_dma_allochdl()
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c361 ddi_dma_attr_t *attr_p; in pci_dma_lmts2hdl() local
381 attr_p = DEV_ATTR(mp); in pci_dma_lmts2hdl()
382 SET_DMAATTR(attr_p, lo, hi, -1, count_max); in pci_dma_lmts2hdl()
383 SET_DMAALIGN(attr_p, 1); in pci_dma_lmts2hdl()
404 attr_p = &mp->dmai_attr; in pci_dma_lmts2hdl()
405 SET_DMAATTR(attr_p, lo, hi, -1, count_max); in pci_dma_lmts2hdl()
406 SET_DMAALIGN(attr_p, 1); in pci_dma_lmts2hdl()
/titanic_41/usr/src/uts/sun4v/io/px/
H A Dpx_lib4v.c535 px_lib_iommu_getmap(dev_info_t *dip, tsbid_t tsbid, io_attributes_t *attr_p, in px_lib_iommu_getmap() argument
544 attr_p, r_addr_p)) != H_EOK) { in px_lib_iommu_getmap()
552 "r_addr 0x%llx\n", *attr_p, *r_addr_p); in px_lib_iommu_getmap()
578 px_lib_dma_bypass_rngchk(dev_info_t *dip, ddi_dma_attr_t *attr_p, in px_lib_dma_bypass_rngchk() argument
581 if ((attr_p->dma_attr_addr_lo != 0ull) || in px_lib_dma_bypass_rngchk()
582 (attr_p->dma_attr_addr_hi != UINT64_MAX)) { in px_lib_dma_bypass_rngchk()
H A Dpx_lib4v.h135 io_attributes_t *attr_p, r_addr_t *r_addr_p);
H A Dpx_hcall.s54 hvio_iommu_getmap(devhandle_t dev_hdl, tsbid_t tsbid, io_attributes_t *attr_p,
/titanic_41/usr/src/uts/sun4u/io/px/
H A Dpx_lib4u.h326 tsbid_t tsbid, io_attributes_t *attr_p, r_addr_t *r_addr_p);
H A Dpx_lib4u.c552 px_lib_iommu_getmap(dev_info_t *dip, tsbid_t tsbid, io_attributes_t *attr_p, in px_lib_iommu_getmap() argument
563 attr_p, r_addr_p)) != H_EOK) { in px_lib_iommu_getmap()
571 "r_addr 0x%llx\n", *attr_p, *r_addr_p); in px_lib_iommu_getmap()
595 px_lib_dma_bypass_rngchk(dev_info_t *dip, ddi_dma_attr_t *attr_p, in px_lib_dma_bypass_rngchk() argument
/titanic_41/usr/src/uts/common/io/nge/
H A Dnge.h984 ddi_device_acc_attr_t *attr_p, uint_t dma_flags, dma_area_t *dma_p);

12