Lines Matching refs:minor
434 int minor, rc = 0; in fs3270_open() local
438 minor = iminor(file_inode(filp)); in fs3270_open()
440 if (minor == 0) { in fs3270_open()
446 minor = tty->index; in fs3270_open()
451 fp = (struct fs3270 *) raw3270_find_view(&fs3270_fn, minor); in fs3270_open()
466 rc = raw3270_add_view(&fp->view, &fs3270_fn, minor, in fs3270_open()
528 static void fs3270_create_cb(int minor) in fs3270_create_cb() argument
530 __register_chrdev(IBM_FS3270_MAJOR, minor, 1, "tub", &fs3270_fops); in fs3270_create_cb()
531 device_create(class3270, NULL, MKDEV(IBM_FS3270_MAJOR, minor), in fs3270_create_cb()
532 NULL, "3270/tub%d", minor); in fs3270_create_cb()
535 static void fs3270_destroy_cb(int minor) in fs3270_destroy_cb() argument
537 device_destroy(class3270, MKDEV(IBM_FS3270_MAJOR, minor)); in fs3270_destroy_cb()
538 __unregister_chrdev(IBM_FS3270_MAJOR, minor, 1, "tub"); in fs3270_destroy_cb()