Searched refs:GPIB_CODE (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/staging/gpib/uapi/ |
H A D | gpib_ioctl.h | 13 #define GPIB_CODE 160 macro 122 IBRD = _IOWR(GPIB_CODE, 100, struct gpib_read_write_ioctl), 123 IBWRT = _IOWR(GPIB_CODE, 101, struct gpib_read_write_ioctl), 124 IBCMD = _IOWR(GPIB_CODE, 102, struct gpib_read_write_ioctl), 125 IBOPENDEV = _IOWR(GPIB_CODE, 3, struct gpib_open_dev_ioctl), 126 IBCLOSEDEV = _IOW(GPIB_CODE, 4, struct gpib_close_dev_ioctl), 127 IBWAIT = _IOWR(GPIB_CODE, 5, struct gpib_wait_ioctl), 128 IBRPP = _IOWR(GPIB_CODE, 6, __u8), 130 IBSIC = _IOW(GPIB_CODE, 9, __u32), 131 IBSRE = _IOW(GPIB_CODE, 1 [all...] |
/linux/drivers/staging/gpib/common/ |
H A D | gpib_os.c | 27 MODULE_ALIAS_CHARDEV_MAJOR(GPIB_CODE); 2180 if (register_chrdev(GPIB_CODE, "gpib", &ib_fops)) { in gpib_common_init_module() 2181 pr_err("gpib: can't get major %d\n", GPIB_CODE); in gpib_common_init_module() 2187 unregister_chrdev(GPIB_CODE, "gpib"); in gpib_common_init_module() 2192 MKDEV(GPIB_CODE, i), NULL, "gpib%i", i); in gpib_common_init_module() 2202 device_destroy(gpib_class, MKDEV(GPIB_CODE, i)); in gpib_common_exit_module() 2205 unregister_chrdev(GPIB_CODE, "gpib"); in gpib_common_exit_module()
|