Searched refs:bi_rdev (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/sys/arch/sandpoint/sandpoint/
H A Dautoconf.c54 static struct btinfo_rootdevice *bi_rdev; variable in typeref:struct:btinfo_rootdevice
93 bi_rdev = lookup_bootinfo(BTINFO_ROOTDEVICE);
127 if (bi_rdev != NULL && bi_rdev->cookie == pa->pa_tag) {
147 if (bi_rdev != NULL && device_is_a(dev, bi_rdev->devname)
148 && bi_rdev->cookie == tag)
166 else if (bi_rdev != NULL && device_class(dev) == DV_DISK
167 && device_is_a(dev, bi_rdev->devname)
168 && device_unit(dev) == (bi_rdev
[all...]
/netbsd-current/sys/arch/evbarm/stand/boot2440/
H A Dnetif.c43 extern struct btinfo_rootdevice bi_rdev;
82 snprintf(bi_rdev.devname, sizeof(bi_rdev.devname), "%s", dv->name);
83 bi_rdev.cookie = tag;
116 snprintf(bi_rdev.devname, sizeof(bi_rdev.devname), "%s", dv->name);
117 bi_rdev.cookie = tag;
H A Ddevopen.c70 extern struct btinfo_rootdevice bi_rdev;
112 snprintf(bi_rdev.devname, sizeof(bi_rdev.devname), "ld");
113 bi_rdev.cookie = unit;
114 bi_rdev.partition = part;
H A Dmain.c102 struct btinfo_rootdevice bi_rdev; variable in typeref:struct:btinfo_rootdevice
258 bi_add(&bi_rdev, BTINFO_ROOTDEVICE, sizeof(bi_rdev));
/netbsd-current/sys/arch/sandpoint/stand/altboot/
H A Dnif.c75 extern struct btinfo_rootdevice bi_rdev;
94 snprintf(bi_rdev.devname, sizeof(bi_rdev.devname), "%s", dv->name);
95 bi_rdev.cookie = tag;
H A Ddsk.c491 extern struct btinfo_rootdevice bi_rdev;
525 snprintf(bi_rdev.devname, sizeof(bi_rdev.devname), "wd");
526 bi_rdev.cookie = (d->unittag << 8) | d->part;
H A Dmain.c81 struct btinfo_rootdevice bi_rdev; variable in typeref:struct:btinfo_rootdevice
366 bi_add(&bi_rdev, BTINFO_ROOTDEVICE, sizeof(bi_rdev));
/netbsd-current/sys/arch/evbarm/mini2440/
H A Dmini2440_machdep.c219 struct btinfo_rootdevice *bi_rdev; variable in typeref:struct:btinfo_rootdevice
495 bi_rdev = lookup_bootinfo(BTINFO_ROOTDEVICE);
1075 if (bi_rdev != NULL && device_is_a(dev, bi_rdev->devname) ) {
1095 if (bi_rdev != NULL && device_class(dev) == DV_DISK
1096 && device_is_a(dev, bi_rdev->devname)
1097 && device_unit(dev) == bi_rdev->cookie) {
1099 booted_partition = bi_rdev->partition;

Completed in 160 milliseconds