Home
last modified time | relevance | path

Searched refs:p_size (Results 1 – 13 of 13) sorted by relevance

/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c154 unsigned int p_size; member
197 dma_free_coherent(dev, req->ctx.dh->p_size, in qat_dh_cb()
201 req->ctx.dh->p_size, DMA_TO_DEVICE); in qat_dh_cb()
204 areq->dst_len = req->ctx.dh->p_size; in qat_dh_cb()
209 dma_free_coherent(dev, req->ctx.dh->p_size, req->dst_align, in qat_dh_cb()
212 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb()
272 if (req->dst_len < ctx->p_size) { in qat_dh_compute_value()
273 req->dst_len = ctx->p_size; in qat_dh_compute_value()
280 msg->pke_hdr.cd_pars.func_id = qat_dh_fn_id(ctx->p_size, in qat_dh_compute_value()
322 if (sg_is_last(req->src) && req->src_len == ctx->p_size) { in qat_dh_compute_value()
[all …]
/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c178 struct ilt_cfg_pair p_size; member
448 u32 page_sz = p_mgr->clients[ILT_CLI_CDUC].p_size.val; in qed_cxt_set_proto_cid_count()
501 u32 ilt_size = ILT_PAGE_IN_BYTES(p_cli->p_size.val); in qed_ilt_cli_blk_fill()
547 cxts_per_p = ILT_PAGE_IN_BYTES(p_cli->p_size.val) / in qed_ilt_get_dynamic_line_cnt()
863 ilt_page_size = ILT_PAGE_IN_BYTES(p_cli->p_size.val); in qed_cxt_cfg_ilt_compute_excess()
923 psz = ILT_PAGE_IN_BYTES(p_src->p_size.val); in qed_cxt_src_t2_alloc()
1219 clients[ILT_CLI_CDUC].p_size.reg = ILT_CFG_REG(CDUC, P_SIZE); in qed_cxt_mngr_alloc()
1223 clients[ILT_CLI_QM].p_size.reg = ILT_CFG_REG(QM, P_SIZE); in qed_cxt_mngr_alloc()
1227 clients[ILT_CLI_TM].p_size.reg = ILT_CFG_REG(TM, P_SIZE); in qed_cxt_mngr_alloc()
1231 clients[ILT_CLI_SRC].p_size.reg = ILT_CFG_REG(SRC, P_SIZE); in qed_cxt_mngr_alloc()
[all …]
Dqed_debug.c5480 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_protection_override_dump() local
5488 p_size); in qed_dbg_protection_override_dump()
5534 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_fw_asserts_dump() local
5542 p_size); in qed_dbg_fw_asserts_dump()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmrid_manager.c100 unsigned long p_size) in vmw_gmrid_man_init() argument
114 switch (p_size) { in vmw_gmrid_man_init()
/drivers/gpu/drm/ttm/
Dttm_bo_manager.c108 unsigned long p_size) in ttm_bo_man_init() argument
116 drm_mm_init(&rman->mm, 0, p_size); in ttm_bo_man_init()
Dttm_bo.c1585 unsigned long p_size) in ttm_bo_init_mm() argument
1606 ret = (*man->func->init)(man, p_size); in ttm_bo_init_mm()
1612 man->size = p_size; in ttm_bo_init_mm()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gtt_mgr.c88 unsigned long p_size) in amdgpu_gtt_mgr_init() argument
103 atomic64_set(&mgr->available, p_size); in amdgpu_gtt_mgr_init()
Damdgpu_vram_mgr.c122 unsigned long p_size) in amdgpu_vram_mgr_init() argument
132 drm_mm_init(&mgr->mm, 0, p_size); in amdgpu_vram_mgr_init()
/drivers/gpu/drm/virtio/
Dvirtgpu_ttm.c92 unsigned long p_size) in ttm_bo_man_init() argument
/drivers/block/drbd/
Ddrbd_nl.c1095 sector_t p_size = device->p_size; /* partner's disk size. */ in drbd_new_dev_size() local
1104 p_size = m_size; in drbd_new_dev_size()
1107 if (p_size && m_size) { in drbd_new_dev_size()
1108 size = min_t(sector_t, p_size, m_size); in drbd_new_dev_size()
1114 if (p_size && p_size < size) in drbd_new_dev_size()
1115 size = p_size; in drbd_new_dev_size()
1119 if (p_size) in drbd_new_dev_size()
1120 size = p_size; in drbd_new_dev_size()
Ddrbd_receiver.c4110 sector_t p_size, p_usize, p_csize, my_usize; in receive_sizes() local
4121 p_size = be64_to_cpu(p->d_size); in receive_sizes()
4127 device->p_size = p_size; in receive_sizes()
4135 p_size, drbd_get_max_capacity(device->ldev)); in receive_sizes()
4216 sector_t new_size = p_csize ?: p_usize ?: p_size; in receive_sizes()
4222 } else if (cur_size != 0 && p_size == 0) { in receive_sizes()
Ddrbd_int.h842 sector_t p_size; /* partner's disk size */ member
Ddrbd_main.c2059 device->p_size = in drbd_device_cleanup()