Home
last modified time | relevance | path

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

/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c110 unsigned int p_size; member
167 dma_unmap_single(dev, req->in.dh.in.b, req->ctx.dh->p_size, in qat_dh_cb()
172 areq->dst_len = req->ctx.dh->p_size; in qat_dh_cb()
173 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb()
234 if (req->dst_len < ctx->p_size) { in qat_dh_compute_value()
235 req->dst_len = ctx->p_size; in qat_dh_compute_value()
239 if (req->src_len > ctx->p_size) in qat_dh_compute_value()
246 msg->pke_hdr.cd_pars.func_id = qat_dh_fn_id(ctx->p_size, in qat_dh_compute_value()
288 if (sg_is_last(req->src) && req->src_len == ctx->p_size) { in qat_dh_compute_value()
292 int shift = ctx->p_size - req->src_len; in qat_dh_compute_value()
[all …]
/drivers/gpu/drm/ttm/
Dttm_range_manager.c143 unsigned long p_size) in ttm_range_man_init() argument
157 ttm_resource_manager_init(man, p_size); in ttm_range_man_init()
159 drm_mm_init(&rman->mm, 0, p_size); in ttm_range_man_init()
Dttm_resource.c79 unsigned long p_size) in ttm_resource_manager_init() argument
84 man->size = p_size; in ttm_resource_manager_init()
/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c286 return ILT_PAGE_IN_BYTES(p_cli->p_size.val); in qed_cxt_get_ilt_page_size()
319 u32 page_sz = p_mgr->clients[ILT_CLI_CDUC].p_size.val; in qed_cxt_set_proto_cid_count()
372 u32 ilt_size = ILT_PAGE_IN_BYTES(p_cli->p_size.val); in qed_ilt_cli_blk_fill()
418 cxts_per_p = ILT_PAGE_IN_BYTES(p_cli->p_size.val) / in qed_ilt_get_dynamic_line_cnt()
753 ilt_page_size = ILT_PAGE_IN_BYTES(p_cli->p_size.val); in qed_cxt_cfg_ilt_compute_excess()
843 psz = ILT_PAGE_IN_BYTES(p_src->p_size.val); in qed_cxt_src_t2_alloc()
1130 clients[ILT_CLI_CDUC].p_size.reg = ILT_CFG_REG(CDUC, P_SIZE); in qed_cxt_mngr_alloc()
1134 clients[ILT_CLI_QM].p_size.reg = ILT_CFG_REG(QM, P_SIZE); in qed_cxt_mngr_alloc()
1138 clients[ILT_CLI_TM].p_size.reg = ILT_CFG_REG(TM, P_SIZE); in qed_cxt_mngr_alloc()
1142 clients[ILT_CLI_SRC].p_size.reg = ILT_CFG_REG(SRC, P_SIZE); in qed_cxt_mngr_alloc()
[all …]
Dqed_cxt.h285 struct ilt_cfg_pair p_size; member
Dqed_debug.c4645 (clients[ILT_CLI_CDUC].p_size.val + PXP_ILT_PAGE_SIZE_NUM_BITS_MIN); in qed_ilt_dump()
4647 (clients[ILT_CLI_CDUT].p_size.val + PXP_ILT_PAGE_SIZE_NUM_BITS_MIN); in qed_ilt_dump()
5212 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_protection_override_dump() local
5220 p_size); in qed_dbg_protection_override_dump()
5266 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_fw_asserts_dump() local
5274 p_size); in qed_dbg_fw_asserts_dump()
/drivers/block/drbd/
Ddrbd_nl.c1096 sector_t p_size = device->p_size; /* partner's disk size. */ in drbd_new_dev_size() local
1105 p_size = m_size; in drbd_new_dev_size()
1108 if (p_size && m_size) { in drbd_new_dev_size()
1109 size = min_t(sector_t, p_size, m_size); in drbd_new_dev_size()
1115 if (p_size && p_size < size) in drbd_new_dev_size()
1116 size = p_size; in drbd_new_dev_size()
1120 if (p_size) in drbd_new_dev_size()
1121 size = p_size; in drbd_new_dev_size()
Ddrbd_receiver.c4107 sector_t p_size, p_usize, p_csize, my_usize; in receive_sizes() local
4118 p_size = be64_to_cpu(p->d_size); in receive_sizes()
4124 device->p_size = p_size; in receive_sizes()
4132 p_size, drbd_get_max_capacity(device->ldev)); in receive_sizes()
4212 sector_t new_size = p_csize ?: p_usize ?: p_size; in receive_sizes()
4218 } 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.c2047 device->p_size = in drbd_device_cleanup()
/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c642 if (params->p_size > HPRE_DH_MAX_P_SZ) in hpre_dh_set_params()
645 if (hpre_is_dh_params_length_valid(params->p_size << in hpre_dh_set_params()
649 sz = ctx->key_sz = params->p_size; in hpre_dh_set_params()