Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pmdomain/imx/
Dscu-pd.c399 struct imx_sc_pm_domain *sc_pd; in imx_scu_pd_xlate() local
401 sc_pd = to_imx_sc_pd(pd_data->domains[i]); in imx_scu_pd_xlate()
402 if (sc_pd->rsrc == spec->args[0]) { in imx_scu_pd_xlate()
403 domain = &sc_pd->pd; in imx_scu_pd_xlate()
415 struct imx_sc_pm_domain *sc_pd; in imx_scu_add_pm_domain() local
422 sc_pd = devm_kzalloc(dev, sizeof(*sc_pd), GFP_KERNEL); in imx_scu_add_pm_domain()
423 if (!sc_pd) in imx_scu_add_pm_domain()
426 sc_pd->rsrc = pd_ranges->rsrc + idx; in imx_scu_add_pm_domain()
427 sc_pd->pd.power_off = imx_sc_pd_power_off; in imx_scu_add_pm_domain()
428 sc_pd->pd.power_on = imx_sc_pd_power_on; in imx_scu_add_pm_domain()
[all …]
/linux-6.12.1/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c476 newxprt->sc_pd = ib_alloc_pd(dev, 0); in svc_rdma_accept()
477 if (IS_ERR(newxprt->sc_pd)) { in svc_rdma_accept()
478 trace_svcrdma_pd_err(newxprt, PTR_ERR(newxprt->sc_pd)); in svc_rdma_accept()
509 ret = rdma_create_qp(newxprt->sc_cm_id, newxprt->sc_pd, &qp_attr); in svc_rdma_accept()
618 if (rdma->sc_pd && !IS_ERR(rdma->sc_pd)) in __svc_rdma_free()
619 ib_dealloc_pd(rdma->sc_pd); in __svc_rdma_free()
Dsvc_rdma_recvfrom.c132 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_recv_ctxt_alloc()
134 if (ib_dma_mapping_error(rdma->sc_pd->device, addr)) in svc_rdma_recv_ctxt_alloc()
150 ctxt->rc_recv_sge.lkey = rdma->sc_pd->local_dma_lkey; in svc_rdma_recv_ctxt_alloc()
166 ib_dma_unmap_single(rdma->sc_pd->device, ctxt->rc_recv_sge.addr, in svc_rdma_recv_ctxt_destroy()
955 ib_dma_sync_single_for_cpu(rdma_xprt->sc_pd->device, in svc_rdma_recvfrom()
Dsvc_rdma_sendto.c132 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_send_ctxt_alloc()
134 if (ib_dma_mapping_error(rdma->sc_pd->device, addr)) in svc_rdma_send_ctxt_alloc()
151 ctxt->sc_sges[i].lkey = rdma->sc_pd->local_dma_lkey; in svc_rdma_send_ctxt_alloc()
174 ib_dma_unmap_single(rdma->sc_pd->device, in svc_rdma_send_ctxts_destroy()
350 ib_dma_sync_single_for_device(rdma->sc_pd->device, in svc_rdma_post_send()
/linux-6.12.1/drivers/infiniband/hw/irdma/
Dpuda.h102 struct irdma_sc_pd sc_pd; member
Dverbs.c380 struct irdma_sc_pd *sc_pd; in irdma_alloc_pd() local
392 sc_pd = &iwpd->sc_pd; in irdma_alloc_pd()
397 irdma_sc_pd_init(dev, sc_pd, pd_id, ucontext->abi_ver); in irdma_alloc_pd()
405 irdma_sc_pd_init(dev, sc_pd, pd_id, IRDMA_ABI_VER); in irdma_alloc_pd()
425 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_pds, iwpd->sc_pd.pd_id); in irdma_dealloc_pd()
945 init_info.pd = &iwpd->sc_pd; in irdma_create_qp()
954 init_info.qp_uk_init_info.abi_ver = iwpd->sc_pd.abi_ver; in irdma_create_qp()
1248 ctx_info->roce_info->pd_id = iwpd->sc_pd.pd_id; in irdma_modify_qp_roce()
2558 info->pd_id = iwpd->sc_pd.pd_id; in irdma_hw_alloc_mw()
2619 info->pd_id = iwpd->sc_pd.pd_id; in irdma_dealloc_mw()
[all …]
Dverbs.h27 struct irdma_sc_pd sc_pd; member
Dpuda.c666 qp->pd = &rsrc->sc_pd; in irdma_puda_qp_create()
1057 irdma_sc_pd_init(dev, &rsrc->sc_pd, info->pd_id, info->abi_ver); in irdma_puda_create_rsrc()
Dcm.c3407 iwarp_info->pd_id = iwqp->iwpd->sc_pd.pd_id; in irdma_cm_init_tsa_conn()
/linux-6.12.1/include/linux/sunrpc/
Dsvc_rdma.h93 struct ib_pd *sc_pd; member