Home
last modified time | relevance | path

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

/samples/vfio-mdev/
Dmdpy-fb.c46 .transp.length = 8,
47 .red.length = 8,
48 .green.length = 8,
49 .blue.length = 8,
62 u32 cr = red >> (16 - info->var.red.length); in mdpy_fb_setcolreg()
63 u32 cg = green >> (16 - info->var.green.length); in mdpy_fb_setcolreg()
64 u32 cb = blue >> (16 - info->var.blue.length); in mdpy_fb_setcolreg()
73 if (info->var.transp.length > 0) { in mdpy_fb_setcolreg()
74 mask = (1 << info->var.transp.length) - 1; in mdpy_fb_setcolreg()
/samples/mei/
Dmei-amt-version.c236 uint16_t length; member
264 uint32_t length; member
283 .length = 0
319 code_ver_len = resp->header.length - sizeof(uint32_t); in amt_verify_code_versions()
329 len = code_ver->versions[i].description.length; in amt_verify_code_versions()
336 len = code_ver->versions[i].version.length; in amt_verify_code_versions()
353 } else if (response_size != (resp_hdr->length + in amt_verify_response_header()
/samples/kfifo/
Ddma-example.c77 i, sg_page(&sg[i]), sg[i].offset, sg[i].length); in example_init()
106 i, sg_page(&sg[i]), sg[i].offset, sg[i].length); in example_init()
/samples/bpf/
Dxdpsock_user.c241 static void hex_dump(void *pkt, size_t length, u64 addr) in hex_dump() argument
254 printf("length = %zu\n", length); in hex_dump()
256 while (length-- > 0) { in hex_dump()
258 if (!(++i % line_size) || (length == 0 && i % line_size)) { in hex_dump()
259 if (length == 0) { in hex_dump()
269 if (length > 0) in hex_dump()
Dibumad_kern.c55 u32 length; member