Searched refs:length (Results 1 – 5 of 5) sorted by relevance
/samples/vfio-mdev/ |
D | mdpy-fb.c | 46 .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/ |
D | mei-amt-version.c | 236 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/ |
D | dma-example.c | 77 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/ |
D | xdpsock_user.c | 241 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()
|
D | ibumad_kern.c | 55 u32 length; member
|