Home
last modified time | relevance | path

Searched refs:msg_sz (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/input/serio/
Dhyperv-keyboard.c188 u32 msg_sz; in hv_kbd_handle_received_packet() local
214 msg_sz = bytes_recvd - (desc->offset8 << 3); in hv_kbd_handle_received_packet()
215 if (msg_sz <= sizeof(struct synth_kbd_msg_hdr)) { in hv_kbd_handle_received_packet()
222 desc->type, req_id, msg_sz); in hv_kbd_handle_received_packet()
227 hv_kbd_on_receive(hv_dev, msg, msg_sz); in hv_kbd_handle_received_packet()
/linux-6.6.21/drivers/virt/coco/sev-guest/
Dsev-guest.c235 sg_set_buf(&src[1], src_buf, hdr->msg_sz); in enc_dec_message()
240 sg_set_buf(&dst[1], dst_buf, hdr->msg_sz); in enc_dec_message()
288 resp_hdr->msg_seqno, resp_hdr->msg_type, resp_hdr->msg_version, resp_hdr->msg_sz); in verify_and_dec_payload()
306 if (unlikely((resp_hdr->msg_sz + crypto->a_len) > sz)) in verify_and_dec_payload()
310 return dec_payload(snp_dev, resp, payload, resp_hdr->msg_sz + crypto->a_len); in verify_and_dec_payload()
328 hdr->msg_sz = sz; in enc_payload()
335 hdr->msg_seqno, hdr->msg_type, hdr->msg_version, hdr->msg_sz); in enc_payload()
Dsev-guest.h52 u16 msg_sz; member
/linux-6.6.21/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ctrl_net.c333 static u16 msg_sz = sizeof(union octep_ctrl_net_max_data); in octep_ctrl_net_recv_fw_messages() local
338 msg.hdr.s.sz = msg_sz; in octep_ctrl_net_recv_fw_messages()
340 msg.sg_list[0].sz = msg_sz; in octep_ctrl_net_recv_fw_messages()
344 msg.hdr.s.sz = msg_sz; in octep_ctrl_net_recv_fw_messages()
/linux-6.6.21/drivers/misc/mei/hdcp/
Dmei_hdcp.c111 size_t *msg_sz) in mei_hdcp_verify_receiver_cert_prepare_km() argument
118 if (!dev || !data || !rx_cert || !km_stored || !ek_pub_km || !msg_sz) in mei_hdcp_verify_receiver_cert_prepare_km()
161 *msg_sz = sizeof(struct hdcp2_ake_stored_km); in mei_hdcp_verify_receiver_cert_prepare_km()
164 *msg_sz = sizeof(struct hdcp2_ake_no_stored_km); in mei_hdcp_verify_receiver_cert_prepare_km()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_hdcp_gsc.c80 size_t *msg_sz) in gsc_hdcp_verify_receiver_cert_prepare_km() argument
87 if (!dev || !data || !rx_cert || !km_stored || !ek_pub_km || !msg_sz) in gsc_hdcp_verify_receiver_cert_prepare_km()
129 *msg_sz = sizeof(struct hdcp2_ake_stored_km); in gsc_hdcp_verify_receiver_cert_prepare_km()
132 *msg_sz = sizeof(struct hdcp2_ake_no_stored_km); in gsc_hdcp_verify_receiver_cert_prepare_km()
Dintel_hdmi.c1617 ssize_t *msg_sz) in hdcp2_detect_msg_availability() argument
1630 *msg_sz = ((HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(rx_status[1]) << 8) | in hdcp2_detect_msg_availability()
1635 *msg_sz); in hdcp2_detect_msg_availability()
1637 *msg_ready = *msg_sz; in hdcp2_detect_msg_availability()
1649 ssize_t msg_sz = 0; in intel_hdmi_hdcp2_wait_for_msg() local
1657 &msg_sz), in intel_hdmi_hdcp2_wait_for_msg()
1658 !ret && msg_ready && msg_sz, timeout * 1000, in intel_hdmi_hdcp2_wait_for_msg()
1664 return ret ? ret : msg_sz; in intel_hdmi_hdcp2_wait_for_msg()
Dintel_hdcp.c1146 size_t *msg_sz) in hdcp2_verify_rx_cert_prepare_km() argument
1164 ek_pub_km, msg_sz); in hdcp2_verify_rx_cert_prepare_km()
/linux-6.6.21/include/drm/
Di915_hdcp_interface.h138 size_t *msg_sz);
/linux-6.6.21/fs/smb/server/
Dtransport_ipc.c230 size_t msg_sz = sz + sizeof(struct ksmbd_ipc_msg); in ipc_msg_alloc() local
232 msg = kvzalloc(msg_sz, GFP_KERNEL); in ipc_msg_alloc()
/linux-6.6.21/drivers/staging/fieldbus/anybuss/
Dhost.c813 size_t msg_sz = max(msg_in_sz, msg_out_sz); in _anybus_mbox_cmd() local
817 if (msg_sz > MAX_MBOX_MSG_SZ) in _anybus_mbox_cmd()
/linux-6.6.21/drivers/misc/
Dfastrpc.c240 u64 msg_sz; member
955 ctx->msg_sz = pkt_size; in fastrpc_get_args()
1125 msg->size = roundup(ctx->msg_sz, PAGE_SIZE); in fastrpc_invoke_send()