Home
last modified time | relevance | path

Searched refs:pdid (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dmem.c271 u32 *stag, u8 stag_state, u32 pdid, in write_tpt_entry() argument
309 stag_state, type, pdid, stag_idx); in write_tpt_entry()
318 FW_RI_TPTE_STAGTYPE_V(type) | FW_RI_TPTE_PDID_V(pdid)); in write_tpt_entry()
368 static int allocate_window(struct c4iw_rdev *rdev, u32 *stag, u32 pdid, in allocate_window() argument
372 return write_tpt_entry(rdev, 0, stag, 0, pdid, FW_RI_STAG_MW, 0, 0, 0, in allocate_window()
384 static int allocate_stag(struct c4iw_rdev *rdev, u32 *stag, u32 pdid, in allocate_stag() argument
389 return write_tpt_entry(rdev, 0, stag, 0, pdid, FW_RI_STAG_NSMR, 0, 0, 0, in allocate_stag()
414 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, mhp->attr.pdid, in register_mem()
476 mhp->attr.pdid = php->pdid; in c4iw_get_dma_mr()
485 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, php->pdid, in c4iw_get_dma_mr()
[all …]
Dprovider.c200 pr_debug("ibpd %p pdid 0x%x\n", pd, php->pdid); in c4iw_deallocate_pd()
201 c4iw_put_resource(&rhp->rdev.resource.pdid_table, php->pdid); in c4iw_deallocate_pd()
211 u32 pdid; in c4iw_allocate_pd() local
216 pdid = c4iw_get_resource(&rhp->rdev.resource.pdid_table); in c4iw_allocate_pd()
217 if (!pdid) in c4iw_allocate_pd()
220 php->pdid = pdid; in c4iw_allocate_pd()
223 struct c4iw_alloc_pd_resp uresp = {.pdid = php->pdid}; in c4iw_allocate_pd()
235 pr_debug("pdid 0x%0x ptr 0x%p\n", pdid, php); in c4iw_allocate_pd()
Diw_cxgb4.h368 u32 pdid; member
382 u32 pdid; member
514 u32 pdid; member
Dt4fw_ri_api.h312 __be32 pdid; member
784 __be32 pdid; member
Dqp.c800 FW_RI_TPTE_PDID_V(mhp->attr.pdid)); in build_tpte_memreg()
1799 wqe->u.init.pdid = cpu_to_be32(qhp->attr.pd); in rdma_init()
2196 qhp->attr.pd = php->pdid; in c4iw_create_qp()
2616 res->u.srq.pdid = cpu_to_be32(srq->pdid); in alloc_srq_queue()
2629 __func__, srq->idx, wq->qid, srq->pdid, wq->queue, in alloc_srq_queue()
2722 srq->pdid = php->pdid; in c4iw_create_srq()
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Dcxio_hal.h171 int cxio_register_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid,
174 int cxio_reregister_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid,
179 int cxio_allocate_window(struct cxio_rdev *rdev, u32 * stag, u32 pdid);
180 int cxio_allocate_stag(struct cxio_rdev *rdev, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr);
186 void cxio_hal_put_pdid(struct cxio_hal_resource *rscp, u32 pdid);
Diwch_provider.c300 pr_debug("%s ibpd %p pdid 0x%x\n", __func__, pd, php->pdid); in iwch_deallocate_pd()
301 cxio_hal_put_pdid(rhp->rdev.rscp, php->pdid); in iwch_deallocate_pd()
308 u32 pdid; in iwch_allocate_pd() local
313 pdid = cxio_hal_get_pdid(rhp->rdev.rscp); in iwch_allocate_pd()
314 if (!pdid) in iwch_allocate_pd()
317 php->pdid = pdid; in iwch_allocate_pd()
320 struct iwch_alloc_pd_resp resp = {.pdid = php->pdid}; in iwch_allocate_pd()
327 pr_debug("%s pdid 0x%0x ptr 0x%p\n", __func__, pdid, php); in iwch_allocate_pd()
410 mhp->attr.pdid = php->pdid; in iwch_get_dma_mr()
496 mhp->attr.pdid = php->pdid; in iwch_reg_user_mr()
[all …]
Dcxio_hal.c673 u32 *stag, u8 stag_state, u32 pdid, in __cxio_tpt_op() argument
696 __func__, stag_state, type, pdid, stag_idx); in __cxio_tpt_op()
707 V_TPT_STAG_TYPE(type) | V_TPT_PDID(pdid)); in __cxio_tpt_op()
765 int cxio_register_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_register_phys_mem() argument
770 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_register_phys_mem()
774 int cxio_reregister_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_reregister_phys_mem() argument
778 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_reregister_phys_mem()
789 int cxio_allocate_window(struct cxio_rdev *rdev_p, u32 * stag, u32 pdid) in cxio_allocate_window() argument
792 return __cxio_tpt_op(rdev_p, 0, stag, 0, pdid, TPT_MW, 0, 0, 0ULL, 0, 0, in cxio_allocate_window()
802 int cxio_allocate_stag(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr) in cxio_allocate_stag() argument
[all …]
Diwch_provider.h46 u32 pdid; member
66 u32 pdid; member
Diwch_mem.c62 &stag, mhp->attr.pdid, in iwch_register_mem()
Dcxio_resource.c237 void cxio_hal_put_pdid(struct cxio_hal_resource *rscp, u32 pdid) in cxio_hal_put_pdid() argument
239 cxio_hal_put_resource(&rscp->pdid_fifo, &rscp->pdid_fifo_lock, pdid); in cxio_hal_put_pdid()
Dcxio_wr.h338 u32 pdid; member
361 __be32 pdid; member
/Linux-v5.4/drivers/staging/rtl8712/
Dusb_intf.c34 const struct usb_device_id *pdid);
313 static void disable_ht_for_spec_devid(const struct usb_device_id *pdid, in disable_ht_for_spec_devid() argument
326 if ((pdid->idVendor == vid) && (pdid->idProduct == pid) && in disable_ht_for_spec_devid()
346 const struct usb_device_id *pdid) in r871xu_drv_init() argument
366 disable_ht_for_spec_devid(pdid, padapter); in r871xu_drv_init()
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c75 int pdid, bool *isvlan, u16 vlan_tag) in set_av_attr() argument
130 ipv4.id = cpu_to_be16(pdid); in set_av_attr()
147 grh.pdid_hoplimit = cpu_to_be32((pdid << 16) | in set_av_attr()
Docrdma_hw.h96 static inline u64 ocrdma_get_db_addr(struct ocrdma_dev *dev, u32 pdid) in ocrdma_get_db_addr() argument
98 return dev->nic_info.unmapped_db + (pdid * dev->nic_info.db_page_size); in ocrdma_get_db_addr()
Docrdma_hw.c1910 u32 pdid, int addr_check) in ocrdma_mbx_alloc_lkey() argument
1919 cmd->pdid = pdid; in ocrdma_mbx_alloc_lkey()
1960 u32 pdid, u32 pbl_cnt, u32 pbe_size, u32 last) in ocrdma_mbx_reg_mr() argument
1971 pdid | (hwmr->num_pbls << OCRDMA_REG_NSMR_NUM_PBL_SHIFT); in ocrdma_mbx_reg_mr()
2039 struct ocrdma_hw_mr *hwmr, u32 pdid, int acc) in ocrdma_reg_mr() argument
2051 status = ocrdma_mbx_reg_mr(dev, hwmr, pdid, in ocrdma_reg_mr()
Docrdma_verbs.c700 u32 pdid, int acc, u32 num_pbls, u32 addr_check) in ocrdma_alloc_lkey() argument
713 status = ocrdma_mbx_alloc_lkey(dev, &mr->hwmr, pdid, addr_check); in ocrdma_alloc_lkey()
1072 int pdid = 0; in ocrdma_destroy_cq() local
1085 pdid = cq->ucontext->cntxt_pd->id; in ocrdma_destroy_cq()
1089 ocrdma_get_db_addr(dev, pdid), in ocrdma_destroy_cq()
Docrdma_sli.h1462 u32 pdid; member
1611 u32 pdid; member
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dsrq.h47 u16 pdid; member
Dsrq.c130 e->pdid = SRQT_PDID_G(be64_to_cpu(rpl->rsvd_pdid)); in do_srq_table_rpl()
/Linux-v5.4/include/uapi/rdma/
Dcxgb3-abi.h79 __u32 pdid; member
Dbnxt_re-abi.h73 __u32 pdid; member
Dcxgb4-abi.h112 __u32 pdid; member
/Linux-v5.4/drivers/staging/rtl8188eu/os_dep/
Dusb_intf.c321 struct usb_interface *pusb_intf, const struct usb_device_id *pdid) in rtw_usb_if1_init() argument
450 static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device_id *pdid) in rtw_drv_init() argument
463 if1 = rtw_usb_if1_init(dvobj, pusb_intf, pdid); in rtw_drv_init()
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dsdio_intf.c318 …tic struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, const struct sdio_device_id *pdid) in rtw_sdio_if1_init() argument

12