Lines Matching refs:drvid
52 int drvid; /* index in driver array */
233 drvp = &dlist[devp->drvid];
271 int drvid;
280 for (drvid = 0; drvid < ndrivers; drvid++) {
281 if (strcmp(dlist[drvid].name, dname) == 0) {
282 dp = &dlist[drvid];
293 drvid = alloc_driver(dname, cf, datap);
294 dp = &dlist[drvid];
301 if (devp->drvid == drvid)
310 devp = alloc_dev(drvid);
365 devp->drvid = did;
415 struct driver *drvp = &dlist[dev->drvid];
450 drvp = &dlist[devp->drvid];