Home
last modified time | relevance | path

Searched refs:floppy_count (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/block/
Dswim.c213 int floppy_count; member
752 struct floppy_state *fs = &swd->unit[swd->floppy_count]; in swim_add_floppy()
767 swd->floppy_count++; in swim_add_floppy()
818 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()
836 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()
927 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()
934 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()
Dswim3.c220 static int floppy_count = 0; variable
1197 if (floppy_count >= MAX_FLOPPIES) in swim3_attach()
1200 if (floppy_count == 0) { in swim3_attach()
1206 fs = &floppy_states[floppy_count]; in swim3_attach()
1220 rc = swim3_add_device(mdev, floppy_count); in swim3_attach()
1225 disk->first_minor = floppy_count; in swim3_attach()
1231 sprintf(disk->disk_name, "fd%d", floppy_count); in swim3_attach()
1237 disks[floppy_count++] = disk; in swim3_attach()
1245 if (floppy_count == 0) in swim3_attach()