Home
last modified time | relevance | path

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

/drivers/infiniband/hw/cxgb4/
Dmem.c256 u32 *stag, u8 stag_state, u32 pdid, in write_tpt_entry() argument
294 __func__, stag_state, type, pdid, stag_idx); in write_tpt_entry()
303 FW_RI_TPTE_STAGTYPE_V(type) | FW_RI_TPTE_PDID_V(pdid)); in write_tpt_entry()
351 static int allocate_window(struct c4iw_rdev *rdev, u32 * stag, u32 pdid) in allocate_window() argument
354 return write_tpt_entry(rdev, 0, stag, 0, pdid, FW_RI_STAG_MW, 0, 0, 0, in allocate_window()
365 static int allocate_stag(struct c4iw_rdev *rdev, u32 *stag, u32 pdid, in allocate_stag() argument
369 return write_tpt_entry(rdev, 0, stag, 0, pdid, FW_RI_STAG_NSMR, 0, 0, 0, in allocate_stag()
391 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, mhp->attr.pdid, in register_mem()
446 mhp->attr.pdid = php->pdid; in c4iw_get_dma_mr()
455 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, php->pdid, in c4iw_get_dma_mr()
[all …]
Dprovider.c254 pr_debug("%s ibpd %p pdid 0x%x\n", __func__, pd, php->pdid); in c4iw_deallocate_pd()
255 c4iw_put_resource(&rhp->rdev.resource.pdid_table, php->pdid); in c4iw_deallocate_pd()
268 u32 pdid; in c4iw_allocate_pd() local
273 pdid = c4iw_get_resource(&rhp->rdev.resource.pdid_table); in c4iw_allocate_pd()
274 if (!pdid) in c4iw_allocate_pd()
278 c4iw_put_resource(&rhp->rdev.resource.pdid_table, pdid); in c4iw_allocate_pd()
281 php->pdid = pdid; in c4iw_allocate_pd()
284 if (ib_copy_to_udata(udata, &php->pdid, sizeof(u32))) { in c4iw_allocate_pd()
294 pr_debug("%s pdid 0x%0x ptr 0x%p\n", __func__, pdid, php); in c4iw_allocate_pd()
Diw_cxgb4.h363 u32 pdid; member
377 u32 pdid; member
Dt4fw_ri_api.h722 __be32 pdid; member
Dqp.c625 FW_RI_TPTE_PDID_V(mhp->attr.pdid)); in build_tpte_memreg()
1536 wqe->u.init.pdid = cpu_to_be32(qhp->attr.pd); in rdma_init()
1911 qhp->attr.pd = php->pdid; in c4iw_create_qp()
/drivers/infiniband/hw/cxgb3/
Dcxio_hal.h172 int cxio_register_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid,
175 int cxio_reregister_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid,
180 int cxio_allocate_window(struct cxio_rdev *rdev, u32 * stag, u32 pdid);
181 int cxio_allocate_stag(struct cxio_rdev *rdev, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr);
187 void cxio_hal_put_pdid(struct cxio_hal_resource *rscp, u32 pdid);
Diwch_provider.c416 pr_debug("%s ibpd %p pdid 0x%x\n", __func__, pd, php->pdid); in iwch_deallocate_pd()
417 cxio_hal_put_pdid(rhp->rdev.rscp, php->pdid); in iwch_deallocate_pd()
427 u32 pdid; in iwch_allocate_pd() local
432 pdid = cxio_hal_get_pdid(rhp->rdev.rscp); in iwch_allocate_pd()
433 if (!pdid) in iwch_allocate_pd()
437 cxio_hal_put_pdid(rhp->rdev.rscp, pdid); in iwch_allocate_pd()
440 php->pdid = pdid; in iwch_allocate_pd()
443 if (ib_copy_to_udata(udata, &php->pdid, sizeof (__u32))) { in iwch_allocate_pd()
448 pr_debug("%s pdid 0x%0x ptr 0x%p\n", __func__, pdid, php); in iwch_allocate_pd()
532 mhp->attr.pdid = php->pdid; in iwch_get_dma_mr()
[all …]
Dcxio_hal.c695 u32 *stag, u8 stag_state, u32 pdid, in __cxio_tpt_op() argument
718 __func__, stag_state, type, pdid, stag_idx); in __cxio_tpt_op()
729 V_TPT_STAG_TYPE(type) | V_TPT_PDID(pdid)); in __cxio_tpt_op()
787 int cxio_register_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_register_phys_mem() argument
792 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_register_phys_mem()
796 int cxio_reregister_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_reregister_phys_mem() argument
800 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_reregister_phys_mem()
811 int cxio_allocate_window(struct cxio_rdev *rdev_p, u32 * stag, u32 pdid) in cxio_allocate_window() argument
814 return __cxio_tpt_op(rdev_p, 0, stag, 0, pdid, TPT_MW, 0, 0, 0ULL, 0, 0, in cxio_allocate_window()
824 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
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()
Diwch_mem.c62 &stag, mhp->attr.pdid, in iwch_register_mem()
Dcxio_wr.h338 u32 pdid; member
361 __be32 pdid; member
Diwch_qp.c821 init_attr.pdid = qhp->attr.pd; in rdma_init()
/drivers/staging/rtl8712/
Dusb_intf.c46 const struct usb_device_id *pdid);
341 static void disable_ht_for_spec_devid(const struct usb_device_id *pdid, in disable_ht_for_spec_devid() argument
354 if ((pdid->idVendor == vid) && (pdid->idProduct == pid) && in disable_ht_for_spec_devid()
374 const struct usb_device_id *pdid) in r871xu_drv_init() argument
394 disable_ht_for_spec_devid(pdid, padapter); in r871xu_drv_init()
/drivers/infiniband/hw/ocrdma/
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_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.c1915 u32 pdid, int addr_check) in ocrdma_mbx_alloc_lkey() argument
1924 cmd->pdid = pdid; in ocrdma_mbx_alloc_lkey()
1967 u32 pdid, u32 pbl_cnt, u32 pbe_size, u32 last) in ocrdma_mbx_reg_mr() argument
1978 pdid | (hwmr->num_pbls << OCRDMA_REG_NSMR_NUM_PBL_SHIFT); in ocrdma_mbx_reg_mr()
2048 struct ocrdma_hw_mr *hwmr, u32 pdid, int acc) in ocrdma_reg_mr() argument
2060 status = ocrdma_mbx_reg_mr(dev, hwmr, pdid, in ocrdma_reg_mr()
Docrdma_verbs.c781 u32 pdid, int acc, u32 num_pbls, u32 addr_check) in ocrdma_alloc_lkey() argument
794 status = ocrdma_mbx_alloc_lkey(dev, &mr->hwmr, pdid, addr_check); in ocrdma_alloc_lkey()
1167 int pdid = 0; in ocrdma_destroy_cq() local
1181 pdid = cq->ucontext->cntxt_pd->id; in ocrdma_destroy_cq()
1185 ocrdma_get_db_addr(dev, pdid), in ocrdma_destroy_cq()
Docrdma_sli.h1462 u32 pdid; member
1611 u32 pdid; member
/drivers/staging/rtl8188eu/os_dep/
Dusb_intf.c333 struct usb_interface *pusb_intf, const struct usb_device_id *pdid) in rtw_usb_if1_init() argument
462 static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device_id *pdid) in rtw_drv_init() argument
475 if1 = rtw_usb_if1_init(dvobj, pusb_intf, pdid); in rtw_drv_init()
/drivers/staging/rtl8723bs/os_dep/
Dsdio_intf.c328 …tic struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, const struct sdio_device_id *pdid) in rtw_sdio_if1_init() argument
/drivers/scsi/be2iscsi/
Dbe_cmds.h645 u8 pdid[9]; member
/drivers/staging/irda/drivers/
Ddonauboe.c1513 toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid) in toshoboe_open() argument
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h540 u8 pdid[9]; member
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c618 resp.pdid = pd->qplib_pd.id; in bnxt_re_alloc_pd()