162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * MEI UUID definition 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (C) 2010, Intel Corp. 662306a36Sopenharmony_ci * Huang Ying <ying.huang@intel.com> 762306a36Sopenharmony_ci */ 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#ifndef _UAPI_LINUX_MEI_UUID_H_ 1062306a36Sopenharmony_ci#define _UAPI_LINUX_MEI_UUID_H_ 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#include <linux/types.h> 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_citypedef struct { 1562306a36Sopenharmony_ci __u8 b[16]; 1662306a36Sopenharmony_ci} uuid_le; 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci#define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ 1962306a36Sopenharmony_ci((uuid_le) \ 2062306a36Sopenharmony_ci{{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, \ 2162306a36Sopenharmony_ci (b) & 0xff, ((b) >> 8) & 0xff, \ 2262306a36Sopenharmony_ci (c) & 0xff, ((c) >> 8) & 0xff, \ 2362306a36Sopenharmony_ci (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }}) 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci#define NULL_UUID_LE \ 2662306a36Sopenharmony_ci UUID_LE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, \ 2762306a36Sopenharmony_ci 0x00, 0x00, 0x00, 0x00) 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci#endif /* _UAPI_LINUX_MEI_UUID_H_ */ 30