Go to the documentation of this file.
378 #define DB_MODULE_MASK 0xE0
379 #define DB_IOC_MASK 0x1F
388 #define DB_MODULE_SHIFT 5
391 #define DB_IOC(module, num) \
392 (((module) & DB_MODULE_MASK) | ((num) & DB_IOC_MASK))
394 #define DB_GET_MODULE(cmd) ((cmd) & DB_MODULE_MASK)
396 #define DB_GET_IOC(cmd) ((cmd) & DB_IOC_MASK)
401 #define MGR_ENUMNODE_INFO _IOWR(DB, DB_IOC(DB_MGR, 0), unsigned long)
402 #define MGR_ENUMPROC_INFO _IOWR(DB, DB_IOC(DB_MGR, 1), unsigned long)
403 #define MGR_REGISTEROBJECT _IOWR(DB, DB_IOC(DB_MGR, 2), unsigned long)
404 #define MGR_UNREGISTEROBJECT _IOWR(DB, DB_IOC(DB_MGR, 3), unsigned long)
405 #define MGR_WAIT _IOWR(DB, DB_IOC(DB_MGR, 4), unsigned long)
407 #define MGR_GET_PROC_RES _IOR(DB, DB_IOC(DB_MGR, 5), unsigned long)
410 #define PROC_ATTACH _IOWR(DB, DB_IOC(DB_PROC, 0), unsigned long)
411 #define PROC_CTRL _IOR(DB, DB_IOC(DB_PROC, 1), unsigned long)
413 #define PROC_DETACH _IOR(DB, DB_IOC(DB_PROC, 2), unsigned long)
414 #define PROC_ENUMNODE _IOWR(DB, DB_IOC(DB_PROC, 3), unsigned long)
415 #define PROC_ENUMRESOURCES _IOWR(DB, DB_IOC(DB_PROC, 4), unsigned long)
416 #define PROC_GET_STATE _IOWR(DB, DB_IOC(DB_PROC, 5), unsigned long)
417 #define PROC_GET_TRACE _IOWR(DB, DB_IOC(DB_PROC, 6), unsigned long)
418 #define PROC_LOAD _IOW(DB, DB_IOC(DB_PROC, 7), unsigned long)
419 #define PROC_REGISTERNOTIFY _IOWR(DB, DB_IOC(DB_PROC, 8), unsigned long)
420 #define PROC_START _IOW(DB, DB_IOC(DB_PROC, 9), unsigned long)
421 #define PROC_RSVMEM _IOWR(DB, DB_IOC(DB_PROC, 10), unsigned long)
422 #define PROC_UNRSVMEM _IOW(DB, DB_IOC(DB_PROC, 11), unsigned long)
423 #define PROC_MAPMEM _IOWR(DB, DB_IOC(DB_PROC, 12), unsigned long)
424 #define PROC_UNMAPMEM _IOR(DB, DB_IOC(DB_PROC, 13), unsigned long)
425 #define PROC_FLUSHMEMORY _IOW(DB, DB_IOC(DB_PROC, 14), unsigned long)
426 #define PROC_STOP _IOWR(DB, DB_IOC(DB_PROC, 15), unsigned long)
427 #define PROC_INVALIDATEMEMORY _IOW(DB, DB_IOC(DB_PROC, 16), unsigned long)
428 #define PROC_BEGINDMA _IOW(DB, DB_IOC(DB_PROC, 17), unsigned long)
429 #define PROC_ENDDMA _IOW(DB, DB_IOC(DB_PROC, 18), unsigned long)
432 #define NODE_ALLOCATE _IOWR(DB, DB_IOC(DB_NODE, 0), unsigned long)
433 #define NODE_ALLOCMSGBUF _IOWR(DB, DB_IOC(DB_NODE, 1), unsigned long)
434 #define NODE_CHANGEPRIORITY _IOW(DB, DB_IOC(DB_NODE, 2), unsigned long)
435 #define NODE_CONNECT _IOW(DB, DB_IOC(DB_NODE, 3), unsigned long)
436 #define NODE_CREATE _IOW(DB, DB_IOC(DB_NODE, 4), unsigned long)
437 #define NODE_DELETE _IOW(DB, DB_IOC(DB_NODE, 5), unsigned long)
438 #define NODE_FREEMSGBUF _IOW(DB, DB_IOC(DB_NODE, 6), unsigned long)
439 #define NODE_GETATTR _IOWR(DB, DB_IOC(DB_NODE, 7), unsigned long)
440 #define NODE_GETMESSAGE _IOWR(DB, DB_IOC(DB_NODE, 8), unsigned long)
441 #define NODE_PAUSE _IOW(DB, DB_IOC(DB_NODE, 9), unsigned long)
442 #define NODE_PUTMESSAGE _IOW(DB, DB_IOC(DB_NODE, 10), unsigned long)
443 #define NODE_REGISTERNOTIFY _IOWR(DB, DB_IOC(DB_NODE, 11), unsigned long)
444 #define NODE_RUN _IOW(DB, DB_IOC(DB_NODE, 12), unsigned long)
445 #define NODE_TERMINATE _IOWR(DB, DB_IOC(DB_NODE, 13), unsigned long)
446 #define NODE_GETUUIDPROPS _IOWR(DB, DB_IOC(DB_NODE, 14), unsigned long)
449 #define STRM_ALLOCATEBUFFER _IOWR(DB, DB_IOC(DB_STRM, 0), unsigned long)
450 #define STRM_CLOSE _IOW(DB, DB_IOC(DB_STRM, 1), unsigned long)
451 #define STRM_FREEBUFFER _IOWR(DB, DB_IOC(DB_STRM, 2), unsigned long)
452 #define STRM_GETEVENTHANDLE _IO(DB, DB_IOC(DB_STRM, 3))
453 #define STRM_GETINFO _IOWR(DB, DB_IOC(DB_STRM, 4), unsigned long)
454 #define STRM_IDLE _IOW(DB, DB_IOC(DB_STRM, 5), unsigned long)
455 #define STRM_ISSUE _IOW(DB, DB_IOC(DB_STRM, 6), unsigned long)
456 #define STRM_OPEN _IOWR(DB, DB_IOC(DB_STRM, 7), unsigned long)
457 #define STRM_RECLAIM _IOWR(DB, DB_IOC(DB_STRM, 8), unsigned long)
458 #define STRM_REGISTERNOTIFY _IOWR(DB, DB_IOC(DB_STRM, 9), unsigned long)
459 #define STRM_SELECT _IOWR(DB, DB_IOC(DB_STRM, 10), unsigned long)
462 #define CMM_ALLOCBUF _IO(DB, DB_IOC(DB_CMM, 0))
463 #define CMM_FREEBUF _IO(DB, DB_IOC(DB_CMM, 1))
464 #define CMM_GETHANDLE _IOR(DB, DB_IOC(DB_CMM, 2), unsigned long)
465 #define CMM_GETINFO _IOR(DB, DB_IOC(DB_CMM, 3), unsigned long)