xref: /openbsd/sys/dev/pci/drm/include/linux/sizes.h (revision c7c72aba)
1 /* Public domain. */
2 
3 #ifndef _LINUX_SIZES_H
4 #define _LINUX_SIZES_H
5 
6 #define SZ_1K	(1 << 10)
7 #define SZ_2K	(2 << 10)
8 #define SZ_4K	(4 << 10)
9 #define SZ_8K	(8 << 10)
10 #define SZ_16K	(16 << 10)
11 #define SZ_32K	(32 << 10)
12 #define SZ_64K	(64 << 10)
13 #define SZ_128K	(128 << 10)
14 #define SZ_256K	(256 << 10)
15 #define SZ_512K	(512 << 10)
16 #define SZ_1M	(1 << 20)
17 #define SZ_2M	(2 << 20)
18 #define SZ_4M	(4 << 20)
19 #define SZ_8M	(8 << 20)
20 #define SZ_16M	(16 << 20)
21 #define SZ_1G	(1 << 30)
22 #define SZ_4G	(4ULL << 30)
23 
24 #endif
25