Home
last modified time | relevance | path

Searched refs:sc_pd (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/firmware/imx/
Dscu-pd.c283 struct imx_sc_pm_domain *sc_pd; in imx_scu_pd_xlate() local
285 sc_pd = to_imx_sc_pd(pd_data->domains[i]); in imx_scu_pd_xlate()
286 if (sc_pd->rsrc == spec->args[0]) { in imx_scu_pd_xlate()
287 domain = &sc_pd->pd; in imx_scu_pd_xlate()
299 struct imx_sc_pm_domain *sc_pd; in imx_scu_add_pm_domain() local
306 sc_pd = devm_kzalloc(dev, sizeof(*sc_pd), GFP_KERNEL); in imx_scu_add_pm_domain()
307 if (!sc_pd) in imx_scu_add_pm_domain()
310 sc_pd->rsrc = pd_ranges->rsrc + idx; in imx_scu_add_pm_domain()
311 sc_pd->pd.power_off = imx_sc_pd_power_off; in imx_scu_add_pm_domain()
312 sc_pd->pd.power_on = imx_sc_pd_power_on; in imx_scu_add_pm_domain()
[all …]
/linux-6.1.9/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c429 newxprt->sc_pd = ib_alloc_pd(dev, 0); in svc_rdma_accept()
430 if (IS_ERR(newxprt->sc_pd)) { in svc_rdma_accept()
431 trace_svcrdma_pd_err(newxprt, PTR_ERR(newxprt->sc_pd)); in svc_rdma_accept()
457 newxprt->sc_cm_id, newxprt->sc_pd); in svc_rdma_accept()
463 ret = rdma_create_qp(newxprt->sc_cm_id, newxprt->sc_pd, &qp_attr); in svc_rdma_accept()
569 if (rdma->sc_pd && !IS_ERR(rdma->sc_pd)) in __svc_rdma_free()
570 ib_dealloc_pd(rdma->sc_pd); in __svc_rdma_free()
Dsvc_rdma_recvfrom.c138 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_recv_ctxt_alloc()
140 if (ib_dma_mapping_error(rdma->sc_pd->device, addr)) in svc_rdma_recv_ctxt_alloc()
156 ctxt->rc_recv_sge.lkey = rdma->sc_pd->local_dma_lkey; in svc_rdma_recv_ctxt_alloc()
172 ib_dma_unmap_single(rdma->sc_pd->device, ctxt->rc_recv_sge.addr, in svc_rdma_recv_ctxt_destroy()
818 ib_dma_sync_single_for_cpu(rdma_xprt->sc_pd->device, in svc_rdma_recvfrom()
Dsvc_rdma_sendto.c140 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_send_ctxt_alloc()
142 if (ib_dma_mapping_error(rdma->sc_pd->device, addr)) in svc_rdma_send_ctxt_alloc()
159 ctxt->sc_sges[i].lkey = rdma->sc_pd->local_dma_lkey; in svc_rdma_send_ctxt_alloc()
182 ib_dma_unmap_single(rdma->sc_pd->device, in svc_rdma_send_ctxts_destroy()
316 ib_dma_sync_single_for_device(rdma->sc_pd->device, in svc_rdma_send()
/linux-6.1.9/include/linux/sunrpc/
Dsvc_rdma.h90 struct ib_pd *sc_pd; member
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c375 struct irdma_sc_pd *sc_pd; in irdma_alloc_pd() local
387 sc_pd = &iwpd->sc_pd; in irdma_alloc_pd()
392 irdma_sc_pd_init(dev, sc_pd, pd_id, ucontext->abi_ver); in irdma_alloc_pd()
400 irdma_sc_pd_init(dev, sc_pd, pd_id, IRDMA_ABI_VER); in irdma_alloc_pd()
420 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_pds, iwpd->sc_pd.pd_id); in irdma_dealloc_pd()
873 init_info.pd = &iwpd->sc_pd; in irdma_create_qp()
910 init_info.qp_uk_init_info.abi_ver = iwpd->sc_pd.abi_ver; in irdma_create_qp()
1172 ctx_info->roce_info->pd_id = iwpd->sc_pd.pd_id; in irdma_modify_qp_roce()
2475 info->pd_id = iwpd->sc_pd.pd_id; in irdma_hw_alloc_mw()
2536 info->pd_id = iwpd->sc_pd.pd_id; in irdma_dealloc_mw()
[all …]
Dpuda.h102 struct irdma_sc_pd sc_pd; member
Dverbs.h26 struct irdma_sc_pd sc_pd; member
Dpuda.c660 qp->pd = &rsrc->sc_pd; in irdma_puda_qp_create()
1051 irdma_sc_pd_init(dev, &rsrc->sc_pd, info->pd_id, info->abi_ver); in irdma_puda_create_rsrc()
Dcm.c3352 iwarp_info->pd_id = iwqp->iwpd->sc_pd.pd_id; in irdma_cm_init_tsa_conn()