Home
last modified time | relevance | path

Searched refs:q_sz (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mei/
Dmain.c335 u32 q_sz) in iwl_mei_write_cyclic_buf() argument
342 if (rd > q_sz || wr > q_sz) { in iwl_mei_write_cyclic_buf()
348 room_in_buf = wr >= rd ? q_sz - wr + rd : rd - wr; in iwl_mei_write_cyclic_buf()
357 if (wr + tx_sz <= q_sz) { in iwl_mei_write_cyclic_buf()
360 memcpy(q_head + wr, hdr, q_sz - wr); in iwl_mei_write_cyclic_buf()
361 memcpy(q_head, (const u8 *)hdr + q_sz - wr, tx_sz - (q_sz - wr)); in iwl_mei_write_cyclic_buf()
364 WRITE_ONCE(notif_q->wr_ptr, cpu_to_le32((wr + tx_sz) % q_sz)); in iwl_mei_write_cyclic_buf()
436 u32 q_sz; in iwl_mei_send_sap_msg_payload() local
459 q_sz = mei->shared_mem.q_size[SAP_DIRECTION_HOST_TO_ME][SAP_QUEUE_IDX_NOTIF]; in iwl_mei_send_sap_msg_payload()
460 ret = iwl_mei_write_cyclic_buf(q_head, notif_q, q_head, hdr, q_sz); in iwl_mei_send_sap_msg_payload()
[all …]
/linux-6.12.1/drivers/crypto/caam/
Dcaampkc.c94 size_t q_sz = key->q_sz; in rsa_priv_f2_unmap() local
98 dma_unmap_single(dev, pdb->q_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
100 dma_unmap_single(dev, pdb->tmp2_dma, q_sz, DMA_BIDIRECTIONAL); in rsa_priv_f2_unmap()
111 size_t q_sz = key->q_sz; in rsa_priv_f3_unmap() local
114 dma_unmap_single(dev, pdb->q_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f3_unmap()
116 dma_unmap_single(dev, pdb->dq_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f3_unmap()
119 dma_unmap_single(dev, pdb->tmp2_dma, q_sz, DMA_BIDIRECTIONAL); in rsa_priv_f3_unmap()
507 size_t q_sz = key->q_sz; in set_rsa_priv_f2_pdb() local
521 pdb->q_dma = dma_map_single(dev, key->q, q_sz, DMA_TO_DEVICE); in set_rsa_priv_f2_pdb()
533 pdb->tmp2_dma = dma_map_single(dev, key->tmp2, q_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb()
[all …]
Dcaampkc.h84 size_t q_sz; member
/linux-6.12.1/include/crypto/internal/
Drsa.h44 size_t q_sz; member
/linux-6.12.1/crypto/
Drsa_helper.c101 key->q_sz = vlen; in rsa_get_q()
Drsa.c338 mpi_key->q = mpi_read_raw_data(raw_key.q, raw_key.q_sz); in rsa_set_priv_key()
/linux-6.12.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c1010 rsa_key->q, rsa_key->q_sz); in hpre_rsa_setkey_crt()
1080 u16 len = key->p_sz + key->q_sz + key->dp_sz + key->dq_sz + in hpre_is_crt_key()
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dqat_asym_algs.c1097 len = rsa_key->q_sz; in qat_rsa_setkey_crt()