Searched refs:FDUNIT (Results 1 – 5 of 5) sorted by relevance
60 #define FDUNIT(x) ((x) & 3) /* unit on controller */ macro
57 #define FDUNIT(x) ((getminor(x) >> FDUNITSHIFT) & 0x3) macro
397 (fcp->c_unit[FDUNIT(unit)])->fj_dip) in fdc_bus_ctl()400 (void) sprintf(name, "%d,%d", cntlr, FDUNIT(unit)); in fdc_bus_ctl()403 fjp = fcp->c_unit[FDUNIT(unit)]; in fdc_bus_ctl()
1303 cpy.dki.dki_unit = FDUNIT(fjp->fj_unit); in fd_ioctl()
1896 if (FDUNIT(dev) != 0) in fd_ioctl()1935 cpy.dki.dki_unit = FDUNIT(dev); in fd_ioctl()