Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/mthca/
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()
Dmthca_provider.h81 u32 pd_num; member
Dmthca_provider.c359 if (ib_copy_to_udata(udata, &pd->pd_num, sizeof (__u32))) { in mthca_alloc_pd()
623 udata ? ucmd.pdn : to_mdev(ibdev)->driver_pd.pd_num, in mthca_create_cq()
813 to_mpd(pd)->pd_num, in mthca_get_dma_mr()
902 err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, PAGE_SHIFT, virt, length, in mthca_reg_user_mr()
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()
Dmthca_allocator.c257 err = mthca_mr_alloc_phys(dev, pd->pd_num, in mthca_buf_alloc()
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()
Dmthca_av.c199 av->port_pd = cpu_to_be32(pd->pd_num | in mthca_create_ah()
Dmthca_qp.c709 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); in __mthca_modify_qp()
/linux-6.6.21/drivers/hwmon/
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()