Home
last modified time | relevance | path

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

12

/drivers/crypto/qat/qat_common/
Dqat_crypto.c247 int msg_size; in qat_crypto_create_instances() local
293 msg_size = ICP_QAT_FW_REQ_DEFAULT_SZ; in qat_crypto_create_instances()
296 msg_size, key, NULL, 0, &inst->sym_tx)) in qat_crypto_create_instances()
299 msg_size = msg_size >> 1; in qat_crypto_create_instances()
302 msg_size, key, NULL, 0, &inst->pke_tx)) in qat_crypto_create_instances()
305 msg_size = ICP_QAT_FW_RESP_DEFAULT_SZ; in qat_crypto_create_instances()
308 msg_size, key, qat_alg_callback, 0, in qat_crypto_create_instances()
314 msg_size, key, qat_alg_asym_callback, 0, in qat_crypto_create_instances()
Dadf_transport.c69 static int adf_verify_ring_size(uint32_t msg_size, uint32_t msg_num) in adf_verify_ring_size() argument
74 if ((msg_size * msg_num) == ADF_SIZE_TO_RING_SIZE_IN_BYTES(i)) in adf_verify_ring_size()
120 ADF_MAX_INFLIGHTS(ring->ring_size, ring->msg_size)) { in adf_send_message()
126 ADF_MSG_SIZE_TO_BYTES(ring->msg_size)); in adf_send_message()
129 ADF_MSG_SIZE_TO_BYTES(ring->msg_size), in adf_send_message()
147 ADF_MSG_SIZE_TO_BYTES(ring->msg_size), in adf_handle_response()
232 uint32_t msg_size, const char *ring_name, in adf_create_ring() argument
247 if (msg_size > ADF_MSG_SIZE_TO_BYTES(ADF_MAX_MSG_SIZE)) { in adf_create_ring()
251 if (ADF_MAX_INFLIGHTS(adf_verify_ring_size(msg_size, num_msgs), in adf_create_ring()
252 ADF_BYTES_TO_MSG_SIZE(msg_size)) < 2) { in adf_create_ring()
[all …]
Dadf_transport_debug.c66 ADF_MSG_SIZE_TO_BYTES(ring->msg_size))) in adf_ring_start()
70 (ADF_MSG_SIZE_TO_BYTES(ring->msg_size) * (*pos)++); in adf_ring_start()
78 ADF_MSG_SIZE_TO_BYTES(ring->msg_size))) in adf_ring_next()
82 (ADF_MSG_SIZE_TO_BYTES(ring->msg_size) * (*pos)++); in adf_ring_next()
110 ADF_MSG_SIZE_TO_BYTES(ring->msg_size)); in adf_ring_show()
115 v, ADF_MSG_SIZE_TO_BYTES(ring->msg_size), false); in adf_ring_show()
Dadf_transport.h57 uint32_t bank_num, uint32_t num_mgs, uint32_t msg_size,
Dadf_transport_internal.h70 uint8_t msg_size; member
/drivers/net/can/peak_canfd/
Dpeak_canfd.c443 int msg_size = le16_to_cpu(msg->size); in peak_canfd_handle_msg() local
446 if (!msg_size || !msg_type) { in peak_canfd_handle_msg()
472 return msg_size; in peak_canfd_handle_msg()
480 int i, msg_size = 0; in peak_canfd_handle_msgs_list() local
483 msg_size = peak_canfd_handle_msg(priv, msg_ptr); in peak_canfd_handle_msgs_list()
486 if (msg_size <= 0) in peak_canfd_handle_msgs_list()
489 msg_ptr += msg_size; in peak_canfd_handle_msgs_list()
492 if (msg_size < 0) in peak_canfd_handle_msgs_list()
493 return msg_size; in peak_canfd_handle_msgs_list()
641 u16 msg_size, msg_flags; in peak_canfd_start_xmit() local
[all …]
Dpeak_canfd_user.h43 void *(*alloc_tx_msg)(struct peak_canfd_priv *priv, u16 msg_size,
Dpeak_pciefd_main.c512 static void *pciefd_alloc_tx_msg(struct peak_canfd_priv *ucan, u16 msg_size, in pciefd_alloc_tx_msg() argument
522 if (page->offset + msg_size > page->size) { in pciefd_alloc_tx_msg()
564 *room_left += page->size - (page->offset + msg_size); in pciefd_alloc_tx_msg()
/drivers/staging/vc04_services/interface/vchi/connections/
Dconnection.h110 uint32_t *msg_size,
116 uint32_t *msg_size,
133 int32_t *msg_size,
145 uint32_t *msg_size );
/drivers/staging/vc04_services/interface/vchi/
Dvchi.h247 uint32_t *msg_size,
259 uint32_t *msg_size, // } obtained from HELD_MSG_T
293 uint32_t *msg_size );
307 uint32_t *msg_size, // }
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c670 __le16 encap_resp_cpr, u32 msg_size) in bnxt_hwrm_fwd_resp() argument
681 req.encap_resp_len = cpu_to_le16(msg_size); in bnxt_hwrm_fwd_resp()
684 memcpy(req.encap_resp, encap_resp, msg_size); in bnxt_hwrm_fwd_resp()
706 u32 msg_size) in bnxt_hwrm_fwd_err_resp() argument
716 memcpy(req.encap_request, vf->hwrm_cmd_req_addr, msg_size); in bnxt_hwrm_fwd_err_resp()
738 u32 msg_size) in bnxt_hwrm_exec_fwd_resp() argument
748 memcpy(req.encap_request, vf->hwrm_cmd_req_addr, msg_size); in bnxt_hwrm_exec_fwd_resp()
771 u32 msg_size = sizeof(struct hwrm_cfa_l2_filter_alloc_input); in bnxt_vf_validate_set_mac() local
777 return bnxt_hwrm_exec_fwd_resp(bp, vf, msg_size); in bnxt_vf_validate_set_mac()
779 return bnxt_hwrm_fwd_err_resp(bp, vf, msg_size); in bnxt_vf_validate_set_mac()
/drivers/misc/sgi-xp/
Dxpc_uv.c334 size_t msg_size) in xpc_send_gru_msg() argument
340 ret = gru_send_message_gpa(gru_mq_desc, msg, msg_size); in xpc_send_gru_msg()
672 xpc_send_activate_IRQ_uv(struct xpc_partition *part, void *msg, size_t msg_size, in xpc_send_activate_IRQ_uv() argument
681 DBUG_ON(msg_size > XPC_ACTIVATE_MSG_SIZE_UV); in xpc_send_activate_IRQ_uv()
716 msg_size); in xpc_send_activate_IRQ_uv()
729 size_t msg_size, int msg_type) in xpc_send_activate_IRQ_part_uv() argument
733 ret = xpc_send_activate_IRQ_uv(part, msg, msg_size, msg_type); in xpc_send_activate_IRQ_part_uv()
740 void *msg, size_t msg_size, int msg_type) in xpc_send_activate_IRQ_ch_uv() argument
745 ret = xpc_send_activate_IRQ_uv(part, msg, msg_size, msg_type); in xpc_send_activate_IRQ_ch_uv()
1538 size_t msg_size; in xpc_send_payload_uv() local
[all …]
Dxpnet.c367 u16 msg_size = sizeof(struct xpnet_message); in xpnet_send() local
377 msg_size += embedded_bytes - 1; in xpnet_send()
396 msg_size, xpnet_send_completed, queued_msg); in xpnet_send()
/drivers/isdn/hysdn/
Dboardergo.c327 int msg_size; in ergo_waitpofready() local
345 msg_size = dpr->ToPcSize - RDY_MAGIC_SIZE; in ergo_waitpofready()
346 if (msg_size > 0) in ergo_waitpofready()
347 if (EvalSysrTokData(card, dpr->ToPcBuf + RDY_MAGIC_SIZE, msg_size)) in ergo_waitpofready()
/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h46 (_cmd)->msg_size = (_msg_size); \
58 size_t msg_size; member
/drivers/s390/char/
Dsclp_rw.c97 int msg_size; in sclp_initialize_mto() local
100 msg_size = sizeof(struct msg_buf) + max_len; in sclp_initialize_mto()
104 if ((MAX_SCCB_ROOM - sccb->length) < msg_size) in sclp_initialize_mto()
/drivers/staging/greybus/
Doperation.c1031 size_t msg_size; in gb_connection_recv() local
1048 msg_size = le16_to_cpu(header.size); in gb_connection_recv()
1049 if (size < msg_size) { in gb_connection_recv()
1054 header.type, size, msg_size); in gb_connection_recv()
1060 msg_size); in gb_connection_recv()
1063 msg_size); in gb_connection_recv()
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_shim.c99 uint32_t *msg_size, in vchi_msg_peek() argument
115 *msg_size = header->size; in vchi_msg_peek()
457 uint32_t *msg_size, in vchi_msg_hold() argument
474 *msg_size = header->size; in vchi_msg_hold()
/drivers/staging/vc04_services/interface/vchi/message_drivers/
Dmessage.h187 int (*rx_slot_size)( VCHI_MDRIVER_HANDLE_T *handle, int msg_size );
188 int (*tx_slot_size)( VCHI_MDRIVER_HANDLE_T *handle, int msg_size );
/drivers/net/wimax/i2400m/
Dcontrol.c600 size_t msg_size) in i2400m_msg_size_check() argument
606 i2400m, l3l4_hdr, msg_size); in i2400m_msg_size_check()
607 if (msg_size < sizeof(*l3l4_hdr)) { in i2400m_msg_size_check()
610 (size_t) sizeof(*l3l4_hdr), msg_size); in i2400m_msg_size_check()
615 if (msg_size < expected_size) { in i2400m_msg_size_check()
618 expected_size, msg_size); in i2400m_msg_size_check()
625 i2400m, l3l4_hdr, msg_size, result); in i2400m_msg_size_check()
/drivers/media/platform/qcom/venus/
Dhfi_msgs.h263 u32 msg_size; member
271 u32 msg_size; member
/drivers/block/
Dsx8.c448 static inline int carm_lookup_bucket(u32 msg_size) in carm_lookup_bucket() argument
453 if (msg_size <= msg_sizes[i]) in carm_lookup_bucket()
642 unsigned int idx, msg_size; in carm_send_special() local
653 msg_size = func(host, idx, mem); in carm_send_special()
658 rc = carm_lookup_bucket(msg_size); in carm_send_special()
844 unsigned int msg_size; in carm_rq_fn() local
910 msg_size = sizeof(struct carm_msg_rw) - sizeof(msg->sg); in carm_rq_fn()
915 msg_size += sizeof(struct carm_msg_sg); in carm_rq_fn()
918 rc = carm_lookup_bucket(msg_size); in carm_rq_fn()
/drivers/net/ethernet/intel/i40evf/
Di40evf_client.c440 u32 msg_size; in i40evf_client_setup_qvlist() local
458 msg_size = sizeof(struct virtchnl_iwarp_qvlist_info) + in i40evf_client_setup_qvlist()
465 I40E_SUCCESS, (u8 *)v_qvlist_info, msg_size, NULL); in i40evf_client_setup_qvlist()
/drivers/misc/vmw_vmci/
Dvmci_guest.c168 u32 msg_size = sizeof(struct vmci_resource_query_hdr) + in vmci_check_host_caps() local
172 check_msg = kmalloc(msg_size, GFP_KERNEL); in vmci_check_host_caps()
181 check_msg->payload_size = msg_size - VMCI_DG_HEADERSIZE; in vmci_check_host_caps()
/drivers/usb/host/whci/
Dint.c77 dn->msg_size); in process_dn_buf()

12