Searched refs:comp_magic_cnt (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 132 u32 comp_magic_cnt; member 362 p = memchr(p, magic[ctx->comp_magic_cnt], in get_next_header() 365 ctx->comp_magic_cnt = 0; in get_next_header() 369 copy = sizeof(magic) - ctx->comp_magic_cnt; in get_next_header() 373 memcpy(header + ctx->comp_magic_cnt, p, copy); in get_next_header() 374 ctx->comp_magic_cnt += copy; in get_next_header() 375 if (!memcmp(header, magic, ctx->comp_magic_cnt)) { in get_next_header() 380 ctx->comp_magic_cnt = 0; in get_next_header() 382 if (ctx->comp_magic_cnt < sizeof(magic)) { in get_next_header() 450 ctx->comp_magic_cnt in device_run() [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 132 u32 comp_magic_cnt; member 358 p = memchr(p, magic[ctx->comp_magic_cnt], in get_next_header() 361 ctx->comp_magic_cnt = 0; in get_next_header() 365 copy = sizeof(magic) - ctx->comp_magic_cnt; in get_next_header() 369 memcpy(header + ctx->comp_magic_cnt, p, copy); in get_next_header() 370 ctx->comp_magic_cnt += copy; in get_next_header() 371 if (!memcmp(header, magic, ctx->comp_magic_cnt)) { in get_next_header() 376 ctx->comp_magic_cnt = 0; in get_next_header() 378 if (ctx->comp_magic_cnt < sizeof(magic)) { in get_next_header() 446 ctx->comp_magic_cnt in device_run() [all...] |
Completed in 4 milliseconds