Home
last modified time | relevance | path

Searched refs:pd_num (Results 1 – 17 of 17) sorted by relevance

/drivers/infiniband/hw/mthca/
A Dmthca_pd.c46 pd->pd_num = mthca_alloc(&dev->pd_table.alloc); in mthca_pd_alloc()
47 if (pd->pd_num == -1) in mthca_pd_alloc()
51 err = mthca_mr_alloc_notrans(dev, pd->pd_num, in mthca_pd_alloc()
56 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_alloc()
66 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_free()
A Dmthca_provider.h81 u32 pd_num; member
A Dmthca_provider.c359 if (ib_copy_to_udata(udata, &pd->pd_num, sizeof (__u32))) { in mthca_alloc_pd()
624 udata ? ucmd.pdn : to_mdev(ibdev)->driver_pd.pd_num, in mthca_create_cq()
814 to_mpd(pd)->pd_num, in mthca_get_dma_mr()
907 err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, PAGE_SHIFT, virt, length, in mthca_reg_user_mr()
A Dmthca_eq.c518 err = mthca_mr_alloc_phys(dev, dev->driver_pd.pd_num, in mthca_create_eq()
537 eq_context->arbel_pd = cpu_to_be32(dev->driver_pd.pd_num); in mthca_create_eq()
540 eq_context->tavor_pd = cpu_to_be32(dev->driver_pd.pd_num); in mthca_create_eq()
A Dmthca_srq.c109 context->state_pd = cpu_to_be32(pd->pd_num); in mthca_tavor_init_srq_context()
144 context->eq_pd = cpu_to_be32(MTHCA_EQ_ASYNC << 24 | pd->pd_num); in mthca_arbel_init_srq_context()
A Dmthca_allocator.c257 err = mthca_mr_alloc_phys(dev, pd->pd_num, in mthca_buf_alloc()
A Dmthca_av.c199 av->port_pd = cpu_to_be32(pd->pd_num | in mthca_create_ah()
A Dmthca_qp.c709 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); in __mthca_modify_qp()
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dcontext.c70 ret = mlx5_core_alloc_pd(ctx->mdev, &ctx->pd_num); in hws_context_init_pd()
84 mlx5_core_dealloc_pd(ctx->mdev, ctx->pd_num); in hws_context_uninit_pd()
A Dcontext.h40 u32 pd_num; member
A Dsend.c854 MLX5_SET(wq, wq, pd, ctx->pd_num); in hws_send_ring_open_sq()
861 err = hws_send_ring_create_sq_rdy(ctx->mdev, ctx->pd_num, sqc_data, in hws_send_ring_open_sq()
1215 u32 pd_num, in hws_send_wqe_fw() argument
1269 attr.pdn = pd_num; in hws_send_wqe_fw()
1310 pdn = ctx->pd_num; in mlx5hws_send_stes_fw()
A Daction_ste_pool.c57 rtc_attr.pd = ctx->pd_num; in hws_action_ste_table_create_single_rtc()
A Ddebug.c311 ctx->pd_num, in hws_debug_dump_context_attr()
A Dpat_arg.c430 ret = mlx5hws_cmd_arg_create(ctx->mdev, multi_arg_log_sz, ctx->pd_num, &id); in mlx5hws_arg_create()
A Dmatcher.c514 rtc_attr.pd = ctx->pd_num; in hws_matcher_create_rtc()
A Daction.c1635 rtc_attr.pd = ctx->pd_num; in hws_action_create_dest_match_range_table()
/drivers/hwmon/
A Dmr75203.c769 u32 ts_num, vm_num, pd_num, ch_num, val, index, i; in mr75203_probe() local
806 pd_num = (val & PD_NUM_MSK) >> PD_NUM_SFT; in mr75203_probe()
810 pvt->p_num = pd_num; in mr75203_probe()
847 if (pd_num) { in mr75203_probe()

Completed in 38 milliseconds