Lines Matching refs:xd_drives
149 static u8 xd_drives, xd_irq = 5, xd_dma = 3, xd_maxsectors; variable
236 xd_drives = xd_initdrives(xd_sigs[controller].init_drive); in xd_geninit()
239 xd_drives,xd_drives == 1 ? "" : "s",xd_irq,xd_dma); in xd_geninit()
240 for (i = 0; i < xd_drives; i++) in xd_geninit()
246 if (xd_drives) { in xd_geninit()
261 for (i = 0; i < xd_drives; i++) { in xd_geninit()
268 xd_gendisk.nr_real = xd_drives; in xd_geninit()
277 if (dev < xd_drives) { in xd_open()
299 …if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd_struct[MINOR(CURRENT->r… in do_xd_request()
327 if (dev >= xd_drives) return -EINVAL; in xd_ioctl()
385 if (target < xd_drives) in xd_release()
1140 if (!xd_drives) { in init_module()
1155 if (xd_drives) { in cleanup_module()