Home
last modified time | relevance | path

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

/linux/drivers/accel/qaic/
H A Dqaic_control.c751 static int encode_message(struct qaic_device *qdev, struct manage_msg *user_msg, in encode_message() argument
762 if (!user_msg->count || in encode_message()
763 user_msg->len < sizeof(*trans_hdr)) { in encode_message()
779 for (i = 0; i < user_msg->count; ++i) { in encode_message()
780 if (user_len > user_msg->len - sizeof(*trans_hdr)) { in encode_message()
784 trans_hdr = (struct qaic_manage_trans_hdr *)(user_msg->data + user_len); in encode_message()
786 size_add(user_len, trans_hdr->len) > user_msg->len) { in encode_message()
816 if (user_len != user_msg->len) in encode_message()
828 static int decode_passthrough(struct qaic_device *qdev, void *trans, struct manage_msg *user_msg, in decode_passthrough() argument
835 out_trans = (void *)user_msg->data + user_msg->len; in decode_passthrough()
[all …]