Home
last modified time | relevance | path

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

/openbsd/sys/dev/isa/
H A Dfd.c256 type = &fd_types[7]; in fdattach()
259 type = &fd_types[0]; in fdattach()
262 type = &fd_types[1]; in fdattach()
265 type = &fd_types[4]; in fdattach()
268 type = &fd_types[3]; in fdattach()
354 return &fd_types[1]; in fd_nvtotype()
357 return &fd_types[7]; in fd_nvtotype()
359 return &fd_types[0]; in fd_nvtotype()
361 return &fd_types[3]; in fd_nvtotype()
363 return &fd_types[4]; in fd_nvtotype()
[all …]
/openbsd/sys/arch/sparc64/dev/
H A Dfd.c236 struct fd_type fd_types[] = { variable
539 fa.fa_deftype = &fd_types[0]; /* XXX */ in fdcattach()
677 if (type > (sizeof(fd_types) / sizeof(fd_types[0]))) in fd_dev_to_type()
679 return (type ? &fd_types[type - 1] : fd->sc_deftype); in fd_dev_to_type()