Searched refs:PARTN_BITS (Results 1 – 5 of 5) sorted by relevance
899 int unit = *part >> PARTN_BITS; in ata_probe()920 *part &= (1 << PARTN_BITS) - 1; in exact_match()955 disk->first_minor = unit << PARTN_BITS; in ide_init_disk()1005 blk_register_region(MKDEV(hwif->major, 0), MAX_DRIVES << PARTN_BITS, in hwif_init()1571 blk_unregister_region(MKDEV(hwif->major, 0), MAX_DRIVES<<PARTN_BITS); in ide_unregister()
14 #define IDE_DISK_MINORS (1 << PARTN_BITS)
1756 g = alloc_disk(1 << PARTN_BITS); in ide_cd_probe()
1967 g = alloc_disk(1 << PARTN_BITS); in ide_tape_probe()
161 #define PARTN_BITS 6 /* number of minor dev bits for partitions */ macro