Searched refs:getprm (Results 1 - 2 of 2) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/
H A Dataflop.c1566 struct floppy_struct getprm; local
1605 memset((void *)&getprm, 0, sizeof(getprm));
1606 getprm.size = dtp->blocks;
1607 getprm.sect = dtp->spt;
1608 getprm.head = 2;
1609 getprm.track = dtp->blocks/dtp->spt/2;
1610 getprm.stretch = dtp->stretch;
1611 if (copy_to_user((void *)param, &getprm, sizeof(getprm)))
[all...]
H A Damiflop.c1484 static struct floppy_struct getprm; local
1537 memset((void *)&getprm, 0, sizeof (getprm));
1538 getprm.track=unit[drive].type->tracks;
1539 getprm.head=unit[drive].type->heads;
1540 getprm.sect=unit[drive].dtype->sects * unit[drive].type->sect_mult;
1541 getprm.size=unit[drive].blocks;
1543 (void *)&getprm,

Completed in 32 milliseconds