Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/firmware/imx/
Dscu-pd.c241 struct imx_sc_pm_domain *sc_pd; in imx_scu_pd_xlate() local
243 sc_pd = to_imx_sc_pd(pd_data->domains[i]); in imx_scu_pd_xlate()
244 if (sc_pd->rsrc == spec->args[0]) { in imx_scu_pd_xlate()
245 domain = &sc_pd->pd; in imx_scu_pd_xlate()
257 struct imx_sc_pm_domain *sc_pd; in imx_scu_add_pm_domain() local
263 sc_pd = devm_kzalloc(dev, sizeof(*sc_pd), GFP_KERNEL); in imx_scu_add_pm_domain()
264 if (!sc_pd) in imx_scu_add_pm_domain()
267 sc_pd->rsrc = pd_ranges->rsrc + idx; in imx_scu_add_pm_domain()
268 sc_pd->pd.power_off = imx_sc_pd_power_off; in imx_scu_add_pm_domain()
269 sc_pd->pd.power_on = imx_sc_pd_power_on; in imx_scu_add_pm_domain()
[all …]
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c426 newxprt->sc_pd = ib_alloc_pd(dev, 0); in svc_rdma_accept()
427 if (IS_ERR(newxprt->sc_pd)) { in svc_rdma_accept()
428 trace_svcrdma_pd_err(newxprt, PTR_ERR(newxprt->sc_pd)); in svc_rdma_accept()
454 newxprt->sc_cm_id, newxprt->sc_pd); in svc_rdma_accept()
460 ret = rdma_create_qp(newxprt->sc_cm_id, newxprt->sc_pd, &qp_attr); in svc_rdma_accept()
573 if (rdma->sc_pd && !IS_ERR(rdma->sc_pd)) in __svc_rdma_free()
574 ib_dealloc_pd(rdma->sc_pd); in __svc_rdma_free()
Dsvc_rdma_recvfrom.c140 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_recv_ctxt_alloc()
142 if (ib_dma_mapping_error(rdma->sc_pd->device, addr)) in svc_rdma_recv_ctxt_alloc()
154 ctxt->rc_recv_sge.lkey = rdma->sc_pd->local_dma_lkey; in svc_rdma_recv_ctxt_alloc()
170 ib_dma_unmap_single(rdma->sc_pd->device, ctxt->rc_recv_sge.addr, in svc_rdma_recv_ctxt_destroy()
334 ib_dma_sync_single_for_cpu(rdma->sc_pd->device, in svc_rdma_wc_receive()
Dsvc_rdma_sendto.c149 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_send_ctxt_alloc()
151 if (ib_dma_mapping_error(rdma->sc_pd->device, addr)) in svc_rdma_send_ctxt_alloc()
167 ctxt->sc_sges[i].lkey = rdma->sc_pd->local_dma_lkey; in svc_rdma_send_ctxt_alloc()
189 ib_dma_unmap_single(rdma->sc_pd->device, in svc_rdma_send_ctxts_destroy()
312 ib_dma_sync_single_for_device(rdma->sc_pd->device, in svc_rdma_send()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_verbs.h50 struct i40iw_sc_pd sc_pd; member
Di40iw_puda.h117 struct i40iw_sc_pd sc_pd; member
Di40iw_verbs.c265 struct i40iw_sc_pd *sc_pd; in i40iw_alloc_pd() local
279 sc_pd = &iwpd->sc_pd; in i40iw_alloc_pd()
284 dev->iw_pd_ops->pd_init(dev, sc_pd, pd_id, ucontext->abi_ver); in i40iw_alloc_pd()
292 dev->iw_pd_ops->pd_init(dev, sc_pd, pd_id, -1); in i40iw_alloc_pd()
601 init_info.pd = &iwpd->sc_pd; in i40iw_create_qp()
1512 info->pd_id = iwpd->sc_pd.pd_id; in i40iw_hw_alloc_stag()
1681 stag_info->pd_id = iwpd->sc_pd.pd_id; in i40iw_hwreg_mr()
2004 info->pd_id = cpu_to_le32(iwpd->sc_pd.pd_id & 0x00007fff); in i40iw_dereg_mr()
Di40iw_puda.c577 qp->pd = &rsrc->sc_pd; in i40iw_puda_qp_create()
934 dev->iw_pd_ops->pd_init(dev, &rsrc->sc_pd, info->pd_id, -1); in i40iw_puda_create_rsrc()
Di40iw_utils.c596 i40iw_free_resource(iwdev, iwdev->allocated_pds, iwpd->sc_pd.pd_id); in i40iw_rem_pdusecount()
Di40iw_cm.c3404 iwarp_info->pd_id = iwqp->iwpd->sc_pd.pd_id; in i40iw_cm_init_tsa_conn()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0018_linux_drivers_firmware.patch1083 struct imx_sc_pm_domain *sc_pd;
1090 if (!sc_pd)
1095 + devm_kfree(dev, sc_pd);
1099 sc_pd->rsrc = pd_ranges->rsrc + idx;
1100 sc_pd->pd.power_off = imx_sc_pd_power_off;
1101 sc_pd->pd.power_on = imx_sc_pd_power_on;
1102 + sc_pd->pd.flags |= GENPD_FLAG_ACTIVE_WAKEUP;
1108 + sc_pd->pd.states = states;
1109 + sc_pd->pd.state_count = 2;
1112 snprintf(sc_pd->name, sizeof(sc_pd->name),
[all …]
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dsvc_rdma.h92 struct ib_pd *sc_pd; member