Home
last modified time | relevance | path

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

/linux/crypto/
H A Ddh_helper.c31 return p->key_size + p->p_size + p->g_size; in dh_data_size()
55 ptr = dh_pack_data(ptr, end, &params->p_size, sizeof(params->p_size)); in crypto_dh_encode_key()
58 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key()
79 ptr = dh_unpack_data(&params->p_size, ptr, sizeof(params->p_size)); in __crypto_dh_decode_key()
89 params->g = (void *)(ptr + params->key_size + params->p_size); in __crypto_dh_decode_key()
106 if (params->key_size > params->p_size || in crypto_dh_decode_key()
107 params->g_size > params->p_size) in crypto_dh_decode_key()
115 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
/linux/include/drm/ttm/
H A Dttm_range_manager.h39 unsigned long p_size);
44 unsigned long p_size) in ttm_range_man_init() argument
47 return ttm_range_man_init_nocheck(bdev, type, use_tt, p_size); in ttm_range_man_init()
/linux/drivers/gpu/drm/ttm/
H A Dttm_range_manager.c182 unsigned long p_size) in ttm_range_man_init_nocheck() argument
196 ttm_resource_manager_init(man, bdev, p_size); in ttm_range_man_init_nocheck()
198 drm_mm_init(&rman->mm, 0, p_size); in ttm_range_man_init_nocheck()
/linux/drivers/net/ethernet/qlogic/qed/
H A 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()
1123 clients[ILT_CLI_CDUC].p_size.reg = ILT_CFG_REG(CDUC, P_SIZE); in qed_cxt_mngr_alloc()
1127 clients[ILT_CLI_QM].p_size.reg = ILT_CFG_REG(QM, P_SIZE); in qed_cxt_mngr_alloc()
1131 clients[ILT_CLI_TM].p_size.reg = ILT_CFG_REG(TM, P_SIZE); in qed_cxt_mngr_alloc()
1135 clients[ILT_CLI_SRC].p_size.reg = ILT_CFG_REG(SRC, P_SIZE); in qed_cxt_mngr_alloc()
[all …]
H A Dqed_cxt.h285 struct ilt_cfg_pair p_size; member
H A Dqed_debug.c5021 (clients[ILT_CLI_CDUC].p_size.val + PXP_ILT_PAGE_SIZE_NUM_BITS_MIN); in qed_ilt_dump()
5023 (clients[ILT_CLI_CDUT].p_size.val + PXP_ILT_PAGE_SIZE_NUM_BITS_MIN); in qed_ilt_dump()
5606 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_protection_override_dump() local
5614 p_size); in qed_dbg_protection_override_dump()
5660 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_fw_asserts_dump() local
5668 p_size); in qed_dbg_fw_asserts_dump()
/linux/include/crypto/
H A Ddh.h37 unsigned int p_size; member
/linux/arch/x86/kernel/cpu/microcode/
H A Damd.c431 u32 p_type, p_size; in __verify_patch_section() local
441 p_size = hdr[1]; in __verify_patch_section()
449 if (p_size < sizeof(struct microcode_header_amd)) { in __verify_patch_section()
450 ucode_dbg("Patch of size %u too short.\n", p_size); in __verify_patch_section()
454 *sh_psize = p_size; in __verify_patch_section()
/linux/sound/soc/atmel/
H A Dmchp-i2s-mcc.c518 int p_size = period_size; in mchp_i2s_mcc_period_to_maxburst() local
521 if (DMA_BURST_ALIGNED(p_size, s_size, MCHP_I2SMCC_DMA_8_WORD_CHUNK)) in mchp_i2s_mcc_period_to_maxburst()
523 if (DMA_BURST_ALIGNED(p_size, s_size, MCHP_I2SMCC_DMA_4_WORD_CHUNK)) in mchp_i2s_mcc_period_to_maxburst()
525 if (DMA_BURST_ALIGNED(p_size, s_size, MCHP_I2SMCC_DMA_2_WORD_CHUNK)) in mchp_i2s_mcc_period_to_maxburst()
H A Dmchp-pdmc.c494 int p_size = period_size; in mchp_pdmc_period_to_maxburst() local
497 if (DMA_BURST_ALIGNED(p_size, s_size, MCHP_PDMC_DMA_8_WORD_CHUNK)) in mchp_pdmc_period_to_maxburst()
499 if (DMA_BURST_ALIGNED(p_size, s_size, MCHP_PDMC_DMA_4_WORD_CHUNK)) in mchp_pdmc_period_to_maxburst()
501 if (DMA_BURST_ALIGNED(p_size, s_size, MCHP_PDMC_DMA_2_WORD_CHUNK)) in mchp_pdmc_period_to_maxburst()
/linux/arch/alpha/boot/tools/
H A Dmkbb.c60 u32 p_size; member
/linux/security/keys/
H A Ddh.c184 dh_inputs.p_size = dlen; in __keyctl_dh_compute()
/linux/drivers/block/drbd/
H A Ddrbd_receiver.c3884 sector_t p_size, p_usize, p_csize, my_usize; in receive_sizes() local
3895 p_size = be64_to_cpu(p->d_size); in receive_sizes()
3901 device->p_size = p_size; in receive_sizes()
3909 p_size, drbd_get_max_capacity(device->ldev)); in receive_sizes()
3988 sector_t new_size = p_csize ?: p_usize ?: p_size; in receive_sizes()
3994 } else if (cur_size != 0 && p_size == 0) { in receive_sizes()
H A Ddrbd_int.h774 sector_t p_size; /* partner's disk size */ member
H A Ddrbd_main.c2017 device->p_size = in drbd_device_cleanup()