minor              65 include/linux/lp.h #define LP_B(minor)	lp_table[(minor)].base		/* IO address */
minor              66 include/linux/lp.h #define LP_F(minor)	lp_table[(minor)].flags		/* flags for busy, etc. */
minor              67 include/linux/lp.h #define LP_S(minor)	inb_p(LP_B((minor)) + 1)	/* status port */
minor              68 include/linux/lp.h #define LP_C(minor)	(lp_table[(minor)].base + 2)	/* control port */
minor              69 include/linux/lp.h #define LP_CHAR(minor)	lp_table[(minor)].chars		/* busy timeout */
minor              70 include/linux/lp.h #define LP_TIME(minor)	lp_table[(minor)].time		/* wait time */
minor              71 include/linux/lp.h #define LP_WAIT(minor)	lp_table[(minor)].wait		/* strobe wait */
minor              99 kernel/blk_drv/genhd.c 	int i, minor = current_minor;
minor             111 kernel/blk_drv/genhd.c 	printk("%s%c :\n\r", hd->major_name, 'a'+(minor >> hd->minor_shift));
minor             115 kernel/blk_drv/genhd.c 		for (i=1 ; i<=4 ; minor++,i++,p++) {
minor             116 kernel/blk_drv/genhd.c 			if (!(hd->part[minor].nr_sects = p->nr_sects))
minor             118 kernel/blk_drv/genhd.c 			hd->part[minor].start_sect = first_sector + p->start_sect;
minor             120 kernel/blk_drv/genhd.c 			       hd->part[minor].start_sect, hd->part[minor].nr_sects, 
minor             121 kernel/blk_drv/genhd.c 			       hd->part[minor].start_sect + hd->part[minor].nr_sects - 1);
minor             125 kernel/blk_drv/genhd.c 				extended_partition(hd, (hd->major << 8) | minor);
minor              68 kernel/blk_drv/ll_rw_blk.c 	int minor,major;
minor              71 kernel/blk_drv/ll_rw_blk.c 	minor = MINOR(dev);
minor              73 kernel/blk_drv/ll_rw_blk.c 	return ro_bits[major][minor >> 5] & (1 << (minor & 31));
minor              78 kernel/blk_drv/ll_rw_blk.c 	int minor,major;
minor              81 kernel/blk_drv/ll_rw_blk.c 	minor = MINOR(dev);
minor              83 kernel/blk_drv/ll_rw_blk.c 	if (flag) ro_bits[major][minor >> 5] |= 1 << (minor & 31);
minor              84 kernel/blk_drv/ll_rw_blk.c 	else ro_bits[major][minor >> 5] &= ~(1 << (minor & 31));
minor              19 kernel/chr_drv/lp.c static int lp_reset(int minor)
minor              24 kernel/chr_drv/lp.c 	outb_p(0, LP_C(minor));
minor              27 kernel/chr_drv/lp.c 	outb_p(LP_PSELECP | LP_PINITP, LP_C(minor));
minor              28 kernel/chr_drv/lp.c 	return LP_S(minor);
minor              35 kernel/chr_drv/lp.c static int lp_char(char lpchar, int minor)
minor              40 kernel/chr_drv/lp.c 	outb_p(lpchar, LP_B(minor));
minor              42 kernel/chr_drv/lp.c 		retval = LP_S(minor);
minor              46 kernel/chr_drv/lp.c 	} while(!(retval & LP_PBUSY) && count < LP_CHAR(minor));
minor              48 kernel/chr_drv/lp.c 	if (count == LP_CHAR(minor)) {
minor              60 kernel/chr_drv/lp.c 	while(wait != LP_WAIT(minor)) wait++;
minor              62 kernel/chr_drv/lp.c 	outb_p(( LP_PSELECP | LP_PINITP | LP_PSTROBE ), ( LP_C( minor )));
minor              65 kernel/chr_drv/lp.c 	outb_p(( LP_PSELECP | LP_PINITP ), ( LP_C( minor )));
minor              67 kernel/chr_drv/lp.c 	return LP_S(minor);
minor              78 kernel/chr_drv/lp.c 	unsigned int minor = MINOR(inode->i_rdev);
minor              82 kernel/chr_drv/lp.c 	if (jiffies-lp_last_call > LP_TIME(minor)) {
minor              92 kernel/chr_drv/lp.c 		retval = lp_char(c, minor);
minor             106 kernel/chr_drv/lp.c 				lp_total_chars, LP_TIME(minor));
minor             110 kernel/chr_drv/lp.c 			current->timeout = jiffies + LP_TIME(minor);
minor             116 kernel/chr_drv/lp.c 			if (!(LP_S(minor) & LP_BUSY)) {
minor             120 kernel/chr_drv/lp.c 				if (!(LP_S(minor) & LP_BUSY))
minor             121 kernel/chr_drv/lp.c 					printk("lp%d timeout\n", minor);
minor             125 kernel/chr_drv/lp.c 				printk("lp%d out of paper\n", minor);
minor             126 kernel/chr_drv/lp.c 				if(LP_F(minor) && LP_ABORT)
minor             134 kernel/chr_drv/lp.c 				printk("lp%d off-line\n", minor);
minor             135 kernel/chr_drv/lp.c 				if(LP_F(minor) && LP_ABORT)
minor             144 kernel/chr_drv/lp.c 				printk("lp%d on fire\n", minor);
minor             145 kernel/chr_drv/lp.c 				if(LP_F(minor) && LP_ABORT)
minor             165 kernel/chr_drv/lp.c 	unsigned int minor = MINOR(inode->i_rdev);
minor             167 kernel/chr_drv/lp.c 	if (minor >= LP_NO)
minor             169 kernel/chr_drv/lp.c 	if ((LP_F(minor) & LP_EXIST) == 0)
minor             171 kernel/chr_drv/lp.c 	if (LP_F(minor) & LP_BUSY)
minor             173 kernel/chr_drv/lp.c 	LP_F(minor) |= LP_BUSY;
minor             179 kernel/chr_drv/lp.c 	unsigned int minor = MINOR(inode->i_rdev);
minor             181 kernel/chr_drv/lp.c 	LP_F(minor) &= ~LP_BUSY;
minor             188 kernel/chr_drv/lp.c 	unsigned int minor = MINOR(inode->i_rdev);
minor             191 kernel/chr_drv/lp.c 	printk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg);
minor             193 kernel/chr_drv/lp.c 	if (minor >= LP_NO)
minor             195 kernel/chr_drv/lp.c 	if ((LP_F(minor) & LP_EXIST) == 0)
minor             199 kernel/chr_drv/lp.c 			LP_TIME(minor) = arg;
minor             202 kernel/chr_drv/lp.c 			LP_CHAR(minor) = arg;
minor             206 kernel/chr_drv/lp.c 				LP_F(minor) |= LP_ABORT;
minor             207 kernel/chr_drv/lp.c 			else	LP_F(minor) &= ~LP_ABORT;
minor             210 kernel/chr_drv/lp.c 			LP_WAIT(minor) = arg;
minor              38 kernel/chr_drv/mouse.c 	int minor = MINOR(inode->i_rdev);
minor              40 kernel/chr_drv/mouse.c 	switch (minor) {
minor              47 mm/mmap.c      	int major, minor;
minor              50 mm/mmap.c      	minor = MINOR(inode->i_rdev);
minor              58 mm/mmap.c      	if (major != 1 || (minor != 1 && minor != 2))
minor             100 tools/build.c  			minor_root = minor(sb.st_rdev);