Searched refs:fd_types (Results 1 – 10 of 10) sorted by relevance
206 struct fd_type fd_types[] = { variable549 return &fd_types[0]; in fd_nvtotype()562 if (type > (sizeof(fd_types) / sizeof(fd_types[0]))) in fd_dev_to_type()564 return type ? &fd_types[type - 1] : fd->sc_deftype; in fd_dev_to_type()1520 floppysize = fd_types[type].size << (fd_types[type].secsize + 7); in load_memory_disc_from_floppy()1533 bp = geteblk(fd_types[type].sectrac * DEV_BSIZE); in load_memory_disc_from_floppy()1548 loop < (floppysize / DEV_BSIZE / fd_types[type].sectrac); in load_memory_disc_from_floppy()1551 loop * fd_types[type].sectrac * DEV_BSIZE / 1024); in load_memory_disc_from_floppy()1552 bp->b_blkno = loop * fd_types[type].sectrac; in load_memory_disc_from_floppy()1553 bp->b_bcount = fd_types[type].sectrac * DEV_BSIZE; in load_memory_disc_from_floppy()[all …]
127 const static struct fd_type fd_types[] = { variable283 fa.fa_deftype = &fd_types[type]; in fdcattach()402 return &fd_types[1];407 return &fd_types[0];409 return &fd_types[3];411 return &fd_types[4];418 return &fd_types[0]; /* Use only 1.44 for now */428 if (type > __arraycount(fd_types)) in fd_dev_to_type()430 return type ? &fd_types[type - 1] : fd->sc_deftype; in fd_dev_to_type()
183 const struct fd_type fd_types[] = { variable189 const struct fd_type fd_types[] = { variable462 fa.fa_deftype = &fd_types[2]; in fdcfinishattach()471 fa.fa_deftype = &fd_types[0]; in fdcfinishattach()661 return &fd_types[1]; in fd_nvtotype()671 return &fd_types[0]; in fd_nvtotype()673 return &fd_types[3]; in fd_nvtotype()680 return &fd_types[4]; in fd_nvtotype()694 if (type > __arraycount(fd_types)) in fd_dev_to_type()696 return type ? &fd_types[type - 1] : fd->sc_deftype; in fd_dev_to_type()
238 struct fd_type fd_types[] = { variable466 fa.fa_deftype = &fd_types[2]; /* 1.44MB */ in fdcattach()600 if (type > (sizeof(fd_types) / sizeof(fd_types[0]))) in fd_dev_to_type()602 return type ? &fd_types[type - 1] : fd->sc_deftype; in fd_dev_to_type()
167 struct fd_types { struct 399 struct fd_types *type; in fdattach() 168 nheadsfd_types global() argument 169 nsectorsfd_types global() argument 170 nblocksfd_types global() argument 171 densityfd_types global() argument 172 descrfd_types global() argument
183 fa.fa_deftype = &fd_types[0]; in fdc_pcmcia_attach()
219 static struct fd_type fd_types[] = { variable 496 fa.fa_deftype = &fd_types[0]; /* XXX */ in fdcattach() 652 if (type > (sizeof(fd_types) / sizeof(fd_types[0]))) in fd_dev_to_type() 654 return type ? &fd_types[type - 1] : fd->sc_deftype; in fd_dev_to_type()
197 static struct fd_type fd_types[] = { variable565 type = &fd_types[0]; /* XXX 1.2MB */ in fdprobe()631 struct fd_type *type = &fd_types[0]; /* XXX 1.2MB */ in fdattach()680 if (type >= __arraycount(fd_types)) in fd_dev_to_type()682 return &fd_types[type]; in fd_dev_to_type()
253 struct fd_type fd_types[] = { variable690 fa.fa_deftype = &fd_types[0]; /* XXX */ in fdcattach()848 if (type > (sizeof(fd_types) / sizeof(fd_types[0]))) in fd_dev_to_type()850 return (type ? &fd_types[type - 1] : fd->sc_deftype); in fd_dev_to_type()
285 struct fd_type fd_types[] = { variable858 fa.fa_deftype = &fd_types[0]; /* XXX */1021 if (type > (sizeof(fd_types) / sizeof(fd_types[0])))1023 return type ? &fd_types[type - 1] : fd->sc_deftype;