Displaying 3 results from an estimated 3 matches for "decode_message".
2017 Jul 19
0
[ANNOUNCE] libdrm 2.4.82
...amdgpu: separate decode messages
tests/amdgpu: move decode sum to common
tests/amdgpu: add vcn tests support and sets
tests/amdgpu: implement vcn dec unit tests
Lucas Stach (1):
configure.ac: bump version for release
Michel Dänzer (2):
tests/amdgpu: s/uvd_messages.h/decode_messages.h/ in Makefile.am
amdgpu: Add .editorconfig file for amdgpu coding style
Paulo Zanoni (1):
intel: add GEN10 to IS_9XX.
Rob Herring (1):
Android: fix missing trailing \
Rodrigo Vivi (3):
intel: Add Cannonlake PCI IDs for U-skus.
intel: Add Cannonlake PCI IDs for Y-s...
2006 Aug 21
1
[PATCH 3 of 6] dm-userspace internal libdmu support for userspace tool
...SERSPACE_SYNC_COMPLETE:
+ user_code = DMU_STATUS_SYNC_COMPLETE;
+ break;
+ default:
+ user_code = DMU_STATUS_UNKNOWN;
+ };
+
+ if (ctx->events.status_fn)
+ ctx->events.status_fn(ctx->event_data.status_user_data,
+ status->id_of_op, user_code);
+
+ return 0;
+}
+
+static int decode_message(struct dmu_context *ctx, int type, uint32_t id,
+ uint8_t *msg)
+{
+ switch (type) {
+ case DM_USERSPACE_MAP_BLOCK_REQ:
+ DPRINTF("Request event: %u\n", id);
+ return fire_map_req_event(ctx,
+ (struct dmu_msg_map_request *)msg,
+ id);
+ case DM_USERSPACE_STATUS:
+ DPRIN...
2012 Sep 17
9
[PATCH] Upgrade vtpmd to berlios version 0.7.4
...quot;TCPA", 4);
-+ sha1_update(&ctx, (uint8_t *) "TCPA", 4);
- sha1_final(&ctx, &msg[1 + SHA1_DIGEST_LENGTH]);
- memset(&msg[1 + 2 * SHA1_DIGEST_LENGTH], 0x00,
- msg_len - data_len - 2 * SHA1_DIGEST_LENGTH - 2);
-@@ -429,7 +430,7 @@ static int decode_message(int type, uint
- mask_generation(&msg[1], SHA1_DIGEST_LENGTH,
- &msg[1 + SHA1_DIGEST_LENGTH], msg_len - SHA1_DIGEST_LENGTH - 1);
- sha1_init(&ctx);
-- sha1_update(&ctx, "TCPA", 4);
-+ sha1_update(&ctx, (uint8_t *) "TCPA", 4);
-...