Linux Audio

Check our new training course

Embedded Linux Audio

Check our new training course
with Creative Commons CC-BY-SA
lecture materials

Bootlin logo

Elixir Cross Referencer

Loading...
1
2
3
4
5
6
7
#define major(x) (((x) >> 8) & 0xff)
#define minor(x) ((x) & 0xff)
#define makedev(x,y) (((x)<<8)|((y)&0xff))

//#define makedev(x,y) \
//	((x)*0x100000001ULL)&(0xfffffffffff0)
//	((y)*0x1001 & 0xffff0ff)